SfinxLite $OSdir/local/envcap and ~/.envcap

The standard SfinxLite .cshrc will (among other things) read the system settings, which will set all necessary environment variables from the envcap database. The system copy is stored in $OSdir/local/envcap, and these definitions are augmented/superceded by those in the user's .envcap file (if it exists).

The format of those files is:

variable:hosts:values
where variable is the name of the variable to set, host is a list of hosts or host-types for which this variable should be set and value is the value.

Hosts

As mentioned above, the 2nd field on the line can be a mixture of host names (without domain name) or machine types. Names are separated by spaces. Currently, the following machine types are known:

Examples

Different variables or values

ENSCRIPT:Sun Solaris:-fCourier8
NENSCRIPT:Linux:-fCourier8
This sets the font for both enscript and nenscript on the systems wgere the respective programs are available

Modify system defaults

PATH:Sun Solaris:$PATH\:$SOFTWARE/bin:$SOFTWARE/$SFINX_MACHINE/bin:./bin
TAPE:vecht:/dev/nrst17
This adds $SOFTWARE directories to the path on both versions of the SUN operating system. And on vecht, it selects the exabyte as your default tape device (system default is DAT).

Notes:

Be careful with quotes and colons in the value of the variable. Colons should be preceded by a backslash (\:)



David.Jansen@strw.leidenuniv.nl
Last modified: Wed Nov 12 15:10:04 1997