Commit | Line | Data |
---|---|---|
ff5df15a C |
1 | |
2 | ||
3 | ||
4 | ENVIRON(7) UNIX Programmer's Manual ENVIRON(7) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | environ - user environment | |
10 | ||
11 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
12 | e\bex\bxt\bte\ber\brn\bn c\bch\bha\bar\br *\b**\b*e\ben\bnv\bvi\bir\bro\bon\bn;\b; | |
13 | ||
14 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
15 | An array of strings called the _\be_\bn_\bv_\bi_\br_\bo_\bn_\bm_\be_\bn_\bt is made available | |
16 | by _\be_\bx_\be_\bc_\bv_\be(2) when a process begins. By convention these | |
17 | strings have the form ``_\bn_\ba_\bm_\be=_\bv_\ba_\bl_\bu_\be''. The following names | |
18 | are used by various commands: | |
19 | ||
20 | EXINIT A startup list of commands read by _\be_\bx(1), _\be_\bd_\bi_\bt(1), | |
21 | and _\bv_\bi(1). | |
22 | ||
23 | HOME A user's login directory, set by _\bl_\bo_\bg_\bi_\bn(1) from the | |
24 | password file _\bp_\ba_\bs_\bs_\bw_\bd(5). | |
25 | ||
26 | PATH The sequence of directories, separated by colons, | |
27 | searched by _\bc_\bs_\bh(1), _\bs_\bh(1), _\bs_\by_\bs_\bt_\be_\bm(3), _\be_\bx_\be_\bc_\bv_\bp(3), | |
28 | etc, when looking for an executable file. PATH is | |
29 | set to ``:/usr/ucb:/bin:/usr/bin'' initially by | |
30 | _\bl_\bo_\bg_\bi_\bn(1). | |
31 | ||
32 | PRINTER The name of the default printer to be used by | |
33 | _\bl_\bp_\br(1), _\bl_\bp_\bq(1), and _\bl_\bp_\br_\bm(1). | |
34 | ||
35 | SHELL The full pathname of the user's login shell. | |
36 | ||
37 | TERM The kind of terminal for which output is to be | |
38 | prepared. This information is used by commands, | |
39 | such as _\bn_\br_\bo_\bf_\bf(1) or _\bp_\bl_\bo_\bt(1G), which may exploit | |
40 | special terminal capabilities. See /_\be_\bt_\bc/_\bt_\be_\br_\bm_\bc_\ba_\bp | |
41 | (_\bt_\be_\br_\bm_\bc_\ba_\bp(5)) for a list of terminal types. | |
42 | ||
43 | TERMCAP The string describing the terminal in TERM, or, if | |
44 | it begins with a '/', the name of the termcap file. | |
45 | See TERMPATH below, _\bt_\be_\br_\bm_\bc_\ba_\bp(5), and _\bt_\be_\br_\bm_\bc_\ba_\bp(3X). | |
46 | ||
47 | TERMPATH A sequence of pathnames of termcap files, separated | |
48 | by colons or spaces, which are searched for termi- | |
49 | nal descriptions in the order listed. Having no | |
50 | TERMPATH is equivalent to a TERMPATH of | |
51 | ``$HOME/.termcap:/etc/termcap''. TERMPATH is | |
52 | ignored if TERMCAP contains a full pathname. | |
53 | ||
54 | USER The login name of the user. | |
55 | ||
56 | Further names may be placed in the environment by the _\be_\bx_\bp_\bo_\br_\bt | |
57 | command and _\bn_\ba_\bm_\be=_\bv_\ba_\bl_\bu_\be arguments in _\bs_\bh(1), or by the _\bs_\be_\bt_\be_\bn_\bv | |
58 | command if you use _\bc_\bs_\bh(1). It is unwise to change certain | |
59 | _\bs_\bh(1) variables that are frequently exported by ._\bp_\br_\bo_\bf_\bi_\bl_\be | |
60 | ||
61 | ||
62 | ||
63 | Printed 7/9/88 October 14, 1987 1 | |
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ENVIRON(7) UNIX Programmer's Manual ENVIRON(7) | |
71 | ||
72 | ||
73 | ||
74 | files, such as MAIL, PS1, PS2, and IFS, unless you know what | |
75 | you are doing. | |
76 | ||
77 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
78 | csh(1), ex(1), login(1), sh(1), execve(2), execle(3), sys- | |
79 | tem(3), termcap(3), termcap(5) | |
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | ||
120 | ||
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | ||
128 | ||
129 | Printed 7/9/88 October 14, 1987 2 | |
130 | ||
131 | ||
132 |