Subject: Re: login_cap(2)
To: None <itojun@iijlab.net>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 01/25/2001 18:39:46
On Thu, Jan 25, 2001 at 05:14:08PM +0900, itojun@iijlab.net wrote:
>
> > it looks that NetBSD login_cap code do not look at "manpath".
> > so we need to remove it from example. thanks for the catch.
> > it looks that freebsd login.conf was not a good starting point
> > it has so many extensions, which is not present in NetBSD login_cap.
>
> actually, "setenv" directive covers most of the extension freebsd
> have made, like "manpath" or "lang".
> (they are useful to define localized accounts, like "japanese" to set
> environment variable LANG to ja_JP.ISO2022-JP by default)
How do you use setenv? I tried the following with no success (variables not
defined)
default|Everyone including bash users:\
path=/bin /usr/bin /usr/local/bin /usr/local/Hughes/bin /usr/X11R6/bin /usr/local/teTeX/bin/i386-netbsd1.3F /usr/local/pgsql/bin /usr/local/jdk1.1.8-elf/bin /usr/games /usr/games/bin:\
setenv=LC_CTYPE,en_GB.ISO8859-1,\
MOZILLA_HOME,/usr/local/share/netscape,\
XNLSPATH,$MOZILLA_HOME/nls/,\
XKEYSYMDB,/usr/X11R6/lib/X11/XKeysymDB,\
POVINI,/usr/local/share/povray31/povray.ini,\
CVS_RSH,/usr/bin/ssh,\
CVSROOT,/usr/cvs,\
PGLIB,/usr/local/pgsql/lib,\
PGDATA,/usr/local/pgsql/data,\
PGDATESTYLE,"Postgres,European",\
FTPMODE,active
#
#setenv CLASSPATH /usr/local/jdk1.1.8-elf/lib/classes.zip:/usr/local/swing-1.1.1fcs/swingall.jar:$MOZILLA_HOME/java40.jar:.