On Nov 26, 2007 9:10 AM, James Carlson <[EMAIL PROTECTED]> wrote:
> Mike Gerdts writes:
> > > and have this expand to something akin to:
> > >
> > >         man -M /usr/bin/../share/man ps
> > >
> > > (again, tricky for /usr/ucb which needs to be special cased, if we 
> > > actually
> > > care about that as the man behaviour is currently broken in that case
> > > anyway)
> >
> > This would involve possibly overriding the behavior configured by
> > man.cf.  Since *Solaris ships with /usr/share/man/man.cf adding this
> > functionality only in the absence of man.cf would be pointless.
> > Overriding the behavior configured by man.cf just because MANPATH is
> > not set seems like a confusing configuration option.
>
> I would suggest converting (as a special case) "/usr/ucb" in PATH into
> "/usr/man,1b" in the generated MANPATH.  You don't have to override
> man.cf completely, because translating this:
>
>         /usr/ucb:/usr/bin
>
> to this:
>
>         /usr/man,1b:/usr/man
>
> works fine and results in the expected man page search path.

I wasn't aware of that syntax for MANPATH.  I like it and will be
happy to add it in.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to