On Thu, May 04, 2006 at 02:49:05PM -0700, Danek Duvall wrote: > On Thu, May 04, 2006 at 11:29:31PM +0200, Rainer Orth wrote: > > > Stephen Hahn <sch at eng.sun.com> writes: > > > > > MANPATH=/usr/man,1gnu,1 > > > > Although I've raised this before, I'd like to do so again: what is the > > advantage of using this Solaris-specific way of handling this preference > > selection, compared to the perfectly well-established and -understood way > > of having several directories in MANPATH? > > I just noticed that Stephen did something weird with his definitions of > MANPATH above. That's not valid MANPATH syntax on Solaris any more than it > is anywhere else. I think he meant "MANSECTS", as in > /usr/share/man/man.cf, but without the path. Thus the default MANPATH > would stay "/usr/share/man", but /usr/share/man/man.cf would ship with > "1gnu" immediately following "1" (or possibly following "1m"?).
% echo $MANPATH /usr/share/man,2,3c,3,3m,1,1c,1m,1s,5:/usr/perl5/man:/usr/openwin/man:/opt/SUNWspro/man:/usr/share/man:/opt/onbld/man:/usr/sfw/man:/opt/sfw/man:/home/kg/man works quite well on Sun's man; I care about system calls and library interfaces more than I care about commands. But it's undocumented... Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development
