[...]
> That is great for components that ship as part of
> OpenSolaris, but
> third parties haven't really bought into the
> share/man idea.  I was
> initially going down the route that OpenSolaris has
> symbolic links
> pointing man to share/man.  Perhaps the thing to do
> is use share/man
> if it exists, else man.

That's pretty much what I did for my own version of this;
all the pathnames of commands that I knew had man pages in
/usr/[share]/man ( /usr/bin, /sbin, /usr/sbin, /usr/ucb) were
mapped to /usr/share/man; all others used a derived name
(with share/man tried first, then just man).  May take a bit more
tweaking to get it as good as possible, but it pretty much works.

For the heck of it, in ksh93 (or dtksh), I'd tried a PATH.set
discipline function that recalculates MANPATH any time PATH is reset.
That only works within ksh93 of course, but I thought it was kind of neat.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to