Annotation of cci/usr/src/man/man7/environ.7, revision 1.1.1.1

1.1       root        1: .TH ENVIRON 7 "5 February 1983"
                      2: .UC 4
                      3: .SH NAME
                      4: environ \- user environment
                      5: .SH SYNOPSIS
                      6: .B extern char **environ;
                      7: .SH DESCRIPTION
                      8: An array of strings called the `environment' is made available by
                      9: .IR execve (2)
                     10: when a process begins.  By convention these strings have the form
                     11: .RI ` name = value '.
                     12: The following names are used by various commands:
                     13: .TP "\w'TERMCAP 'u"
                     14: PATH
                     15: The sequence of directory prefixes that
                     16: .I sh, time,
                     17: .IR nice (1),
                     18: etc., apply in searching for a file known by an incomplete path name.
                     19: The prefixes are separated by `:'.
                     20: .IR Login (1)
                     21: sets PATH=:/usr/ucb:/bin:/usr/bin.
                     22: .TP
                     23: HOME
                     24: A user's login directory, set by
                     25: .IR login (1)
                     26: from the password file
                     27: .IR passwd (5).
                     28: .TP
                     29: TERM
                     30: The kind of terminal for which output is to be prepared.
                     31: This information is used by commands, such as
                     32: .I nroff
                     33: or
                     34: .IR plot (1G),
                     35: which may exploit special terminal capabilities.  See
                     36: .I /etc/termcap
                     37: .RI ( termcap (5))
                     38: for a list of terminal types.
                     39: .TP
                     40: SHELL
                     41: The file name of the users login shell.
                     42: .TP
                     43: TERMCAP
                     44: The string describing the terminal in TERM, or the name of the termcap file, see
                     45: .IR termcap (5), termcap (3X).
                     46: .TP
                     47: EXINIT
                     48: A startup list of commands read by
                     49: .IR ex (1),
                     50: .IR edit (1),
                     51: and
                     52: .IR vi (1).
                     53: .TP
                     54: USER
                     55: The login name of the user.
                     56: .TP
                     57: PRINTER
                     58: The name of the default printer to be used by
                     59: .IR lpr (1),
                     60: .IR lpq (1),
                     61: and
                     62: .IR lprm (1).
                     63: .PP
                     64: Further names may be placed in the environment by the
                     65: .I export
                     66: command and `name=value' arguments in
                     67: .IR sh (1),
                     68: or by the
                     69: .I setenv
                     70: command if you use
                     71: .IR csh (1).
                     72: Arguments may also be placed in the environment at the point of an
                     73: .IR execve (2).
                     74: It is unwise to conflict with certain 
                     75: .IR sh (1)
                     76: variables that are frequently exported by `.profile' files:
                     77: MAIL, PS1, PS2, IFS.
                     78: .SH SEE ALSO
                     79: csh(1),
                     80: ex(1),
                     81: login(1),
                     82: sh(1),
                     83: execve(2),
                     84: system(3),
                     85: termcap(3X),
                     86: termcap(5)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.