From owner-cvs-all Thu Aug 12 2:13:29 1999 Delivered-To: cvs-all@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 5897014D18; Thu, 12 Aug 1999 02:12:15 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id MAA30787; Thu, 12 Aug 1999 12:08:25 +0300 (EEST) (envelope-from ru) Date: Thu, 12 Aug 1999 12:08:25 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav 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> References: <199908111732.KAA91686@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Dag-Erling Smorgrav on Thu, Aug 12, 1999 at 10:21:00AM +0200 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thu, Aug 12, 1999 at 10:21:00AM +0200, Dag-Erling Smorgrav wrote: > Dag-Erling Smorgrav writes: > > > Ruslan Ermilov 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