From owner-cvs-all Tue Dec 21 22:51:55 1999 Delivered-To: cvs-all@freebsd.org Received: from sonet.crimea.ua (OTC-sl3-FLY.CRIS.NET [212.110.136.71]) by hub.freebsd.org (Postfix) with ESMTP id 60F1915037; Tue, 21 Dec 1999 22:51:31 -0800 (PST) (envelope-from phantom@scorpion.crimea.ua) Received: (from uucp@localhost) by sonet.crimea.ua (8.9.3/8.9.3) with UUCP id IAA10686; Wed, 22 Dec 1999 08:57:37 +0300 (MSK) Received: (from phantom@localhost) by scorpion.crimea.ua (8.8.8/8.8.5+ssl+keepalive) id IAA04521; Wed, 22 Dec 1999 08:34:43 +0300 (MSK) Date: Wed, 22 Dec 1999 08:34:43 +0300 From: Alexey Zelkin To: Greg Lehey Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: MANPATH (was: cvs commit: src/share/skel dot.login) Message-ID: <19991222083443.C15545@scorpion.crimea.ua> References: <199912211718.JAA32643@freefall.freebsd.org> <19991222122918.Q60684@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i In-Reply-To: <19991222122918.Q60684@freebie.lemis.com> X-Operating-System: FreeBSD 2.2.7-RELEASE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk hi, On Wed, Dec 22, 1999 at 12:29:18PM +1030, Greg Lehey wrote: > On Tuesday, 21 December 1999 at 9:18:20 -0800, Alexey Zelkin wrote: > > phantom 1999/12/21 09:18:20 PST > > > > Modified files: > > share/skel dot.login > > Log: > > Comment out explicit MANPATH setting. > > > > (BTW, it's very bad practice to have MANPATH environment variable set) > > Why? I agree it makes no sense if it's just set to the defaults, but > for example I have: > > /opt/man:/usr/share/man:/usr/X11R6/man:/usr/share/man/4.4BSD:/usr/share/man/BSDI-3.0:/home/S/pdp11/Archive/Trees/V7/usr/man:/home/S/pdp11/Archive/Trees/V6/usr/man:/home/S/pdp11/3bsd/usr/man:/T/src/2.11BSD/man:/usr/share/man/IRIX-5.3/u_man:/usr/share/man/IRIX-5.3/p_man:/usr/share/man/IRIX-5.3/a_man:/usr/share/man/IRIX-5.3/g_man:/usr/share/man/ISC-3.2/p_man:/usr/share/man/ISC-3.2/u_man:/usr/share/man/NonStop-UX-B23:/usr/share/man/NonStop-UX-C10:/usr/share/man/SCO-3.2.2:/usr/share/man/SCO-3.5.0:/usr/share/man/SVR4.2:/usr/share/man/Solaris-2.5:/usr/share/man/SunOS-4.1.3:/usr/share/man/Xenix-2.3.2 > > Obviously I can't get that any other way. $MANPATH has more priority than manpath(1). If $MANPATH is not set then manpath(1) should be asked for pathes. Now try to think -- you have 1000 customers/usrs which have predefined (as was by default) MANPATH and you're installing some new additional packages (like postgres or inn -- they by default stored manpages in /usr/local/$name/man/) or some commercial soft. How you'll give users access there (if this directory not listed in $MANPATH then users never will get it by invoking man(1)) ? By changing $MANPATH in each ~/.login ? Or maybe it's much easy to edit /etc/manpath.conf and forget about problem ? PS: We have to think about all FreeBSD users, not experienced users only. > Greg > -- > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers -- /* Alexey Zelkin && phantom@cris.net */ /* Tavric National University && phantom@crimea.edu */ /* http://www.ccssu.crimea.ua/~phantom && phantom@FreeBSD.org */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message