Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ environ.bsd(7) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

env(1)

login(1)

sh(1)

csh(1)

nice(1)

nohup(1)

time(1)

exec(2)

ENVIRON(7)

NAME

environ − environment variables

DESCRIPTION

The exec(2) call makes an array of strings called the “environment” available when a process is started.  By convention, these strings have the form “name=value”.  The following names are used by various commands:

PATH The sequence of directory prefixes that sh(1), time(1), nice(1), nohup(1), and so on, apply in searching for a file specified by an incomplete pathname.  The prefixes are separated by colons (:).  Login(1) sets PATH=:/bin:/usr/bin. 

HOME Name of the user’s log-in directory, set upon log-in. 

TERM The kind of terminal for which output is to be prepared. 

TZ Time zone information.  The format is XXXNZZZ where XXX is standard local time zone abbreviation, N is the difference in hours from  Greenwich Mean Time, and ZZZ is the abbreviation for the daylight-saving local time zone, if any; for example, EST5EDT. 

NODETYPE Model number of the DOMAIN Workstation on which the process is running, e.g., dn300. 

PROJECT Project associated with log-in name. 

ORGANIZATION Organization associated with log-in name. 

NODEID Hexadecimal ID of current network node, e.g., 2b1f. 

NAMECHARS A list of characters that the naming server will interpret as syntax, rather than as literal characters.  NAMECHARS is set by default to the string “~`\” (tilde, backquote, backslash).  Tilde maps to the current naming directory (typically the same as $HOME).  Backquote, when encountered in the string "`node_data," specifies the directory //this_node/sys/node_data.  Backslash, a shorthand for “parent directory”, is equivalent to .. (dotdot). 

SYSTYPE Version of DOMAIN/IX currently set as “systype”. 

SBRKSIZE SBRKSIZE is ignored at SR9.5 (see set_sbrk_size(2).  In earlier releases, it was set to a decimal integer and was equivalent, in a running program, to having made a call to the function set_sbrk_size.  If no argument is specified,

Further names may be placed in the environment by the export command and “name=value” arguments in sh(1), or by exec(2). 

NOTES

It is unwise to use the names MAIL, PS1, PS2, and IFS.  They conflict with shell variables that are frequently exported by .profile files:

RELATED INFORMATION

env(1), login(1), sh(1), csh(1), nice(1), nohup(1), time(1), exec(2). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026