4.3BSD-Tahoe/usr/man/cat7/environ.0

Compare this file to the similar file:
Show the results in this format:




ENVIRON(7)	    UNIX Programmer's Manual	       ENVIRON(7)



NNAAMMEE
     environ - user environment

SSYYNNOOPPSSIISS
     eexxtteerrnn cchhaarr ****eennvviirroonn;;

DDEESSCCRRIIPPTTIIOONN
     An array of strings called the _e_n_v_i_r_o_n_m_e_n_t is made available
     by _e_x_e_c_v_e(2) when a process begins.  By convention these
     strings have the form ``_n_a_m_e=_v_a_l_u_e''.  The following names
     are used by various commands:

     EXINIT   A startup list of commands read by _e_x(1), _e_d_i_t(1),
	      and _v_i(1).

     HOME     A user's login directory, set by _l_o_g_i_n(1) from the
	      password file _p_a_s_s_w_d(5).

     PATH     The sequence of directories, separated by colons,
	      searched by _c_s_h(1), _s_h(1), _s_y_s_t_e_m(3), _e_x_e_c_v_p(3),
	      etc, when looking for an executable file.  PATH is
	      set to ``:/usr/ucb:/bin:/usr/bin'' initially by
	      _l_o_g_i_n(1).

     PRINTER  The name of the default printer to be used by
	      _l_p_r(1), _l_p_q(1), and _l_p_r_m(1).

     SHELL    The full pathname of the user's login shell.

     TERM     The kind of terminal for which output is to be
	      prepared.  This information is used by commands,
	      such as _n_r_o_f_f(1) or _p_l_o_t(1G), which may exploit
	      special terminal capabilities.  See /_e_t_c/_t_e_r_m_c_a_p
	      (_t_e_r_m_c_a_p(5)) for a list of terminal types.

     TERMCAP  The string describing the terminal in TERM, or, if
	      it begins with a '/', the name of the termcap file.
	      See TERMPATH below, _t_e_r_m_c_a_p(5), and _t_e_r_m_c_a_p(3X).

     TERMPATH A sequence of pathnames of termcap files, separated
	      by colons or spaces, which are searched for termi-
	      nal descriptions in the order listed.  Having no
	      TERMPATH is equivalent to a TERMPATH of
	      ``$HOME/.termcap:/etc/termcap''.	TERMPATH is
	      ignored if TERMCAP contains a full pathname.

     USER     The login name of the user.

     Further names may be placed in the environment by the _e_x_p_o_r_t
     command and _n_a_m_e=_v_a_l_u_e arguments in _s_h(1), or by the _s_e_t_e_n_v
     command if you use _c_s_h(1).  It is unwise to change certain
     _s_h(1) variables that are frequently exported by ._p_r_o_f_i_l_e



Printed 7/9/88		October 14, 1987			1






ENVIRON(7)	    UNIX Programmer's Manual	       ENVIRON(7)



     files, such as MAIL, PS1, PS2, and IFS, unless you know what
     you are doing.

SSEEEE AALLSSOO
     csh(1), ex(1), login(1), sh(1), execve(2), execle(3), sys-
     tem(3), termcap(3), termcap(5)

















































Printed 7/9/88		October 14, 1987			2