Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 16:31:23 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>, Greg Lehey <grog@FreeBSD.ORG>
Cc:        Peter Wemm <peter@wemm.org>, Nik Clayton <nik@FreeBSD.ORG>, Warner Losh <imp@harmony.village.org>, ache@FreeBSD.ORG, freebsd-arch@FreeBSD.ORG
Subject:   Re: Changing 'man' to check alternate destination for 'cat' pages
Message-ID:  <p05101007b8416de8423a@[128.113.24.47]>
In-Reply-To: <20011214101857.C35094@sunbay.com>
References:  <20011212001610.9AEA739EA@overcee.netplex.com.au> <p0510100bb83ddfa9e683@[128.113.24.47]> <20011214112255.L3448@monorchid.lemis.com> <20011214101857.C35094@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help

At 10:18 AM +0200 12/14/01, Ruslan Ermilov wrote:
>  > As regards the cat files, it seems to me that an obvious solution
>>  would be to add a CATMAN environment variable which would specify the
>  > location of the catman pages, and default to /usr/share/man/cat.
>
>Just having a CATMAN envariable is not enough, this would break many
>things.  There are hosts on which people use different locales
>simultaneously.  Look at how the usr/share/man/en.ISO8859-1 is
>organized nowadays, and realize why, while sharing the man?
>directories with the .., it has its own cat? directories.

Note that my suggestion does not use an environment variable.  What I
wanted was something that the system administrator could decide to
use, and if the sysadmin did want this, then the decision would effect
all users on the system.  I do not consider environment variables a
good way to set system-wide policies.

My thought was that if the administrator did create these new
directories under /var/man, then 'man' would always prefer to
use those for cat pages.

>The "cat" feature of man(1) is insecure, and is probably going to
>be nuked after a release of 4.5.

Well, if this expected to disappear soon, then that certainly
reduces my eagerness to make any changes to it!   :-)

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101007b8416de8423a>