Date: Thu, 12 Aug 1999 12:08:25 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/man/manpath manpath.config Message-ID: <19990812120825.A87115@relay.ucb.crimea.ua> In-Reply-To: <xzpu2q5tno3.fsf@flood.ping.uio.no>; from Dag-Erling Smorgrav on Thu, Aug 12, 1999 at 10:21:00AM %2B0200 References: <199908111732.KAA91686@freefall.freebsd.org> <xzpvhalto0u.fsf@flood.ping.uio.no> <xzpu2q5tno3.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 12, 1999 at 10:21:00AM +0200, Dag-Erling Smorgrav wrote: > Dag-Erling Smorgrav <des@flood.ping.uio.no> writes: > > > Ruslan Ermilov <ru@FreeBSD.org> writes: > > > Log: > > > MFC: revision 1.11 > > > /usr/local is not mandatory, remove it from MANDATORY_MANPATH. > > > > No! The correct fix is to make manpath just ignore inexistent > > directories instead of bitching about them. > > Actually, the correct fix is to do nothing, since the manpath() > function already ignores the error if called with an argument of 0, > which happens when it is called by man, or if you give the -q option > to manpath. Please back this out in -CURRENT and -STABLE. It makes it > unnecessarily difficult for (new) users to find their man pages. > MANDATORY_MANPATH should list only _mandatory_ paths! Neither of /usr/local/man, /usr/local/lib/perl5/5.00503/man and /usr/X11R6/man is guaranteed to exist on a system. But it's not a problem for a new user since: 1) /usr/local/bin is put to the PATH by default (/etc/login.conf) as well as /usr/X11R6/bin. 2) `MANPATH_MAP /usr/local/bin /usr/local/man' will add /usr/local/man to manpath if /usr/local/bin is set in the user's PATH (see the output of the `manpath -d') IMHO, the correct fix would be to comment out MANDATORY_MANPATH /usr/X11R6/man as well. -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990812120825.A87115>