environ.7:

Fixed some formatting so that it looks right on the GS (use .IP
	instead of .TP commands).
This commit is contained in:
gdr-ftp 1998-04-22 05:26:21 +00:00
parent 038d5d04cf
commit eb014e0fc2
1 changed files with 13 additions and 22 deletions

View File

@ -26,8 +26,8 @@ has been provided to properly initialize
.BR environ . .BR environ .
.LP .LP
The following names are used by various commands: The following names are used by various commands:
.TP 10 .RS
.B PATH .IP \fBPATH\fR
The sequence of directory prefixes that The sequence of directory prefixes that
.BR gsh (1), .BR gsh (1),
.BR sh (1), .BR sh (1),
@ -45,16 +45,14 @@ has been compiled to match this behavior, but can be easily recompiled
to conform to the more usual parsing method, front to back. See the to conform to the more usual parsing method, front to back. See the
.B lenviron .B lenviron
distribution README file for more information. distribution README file for more information.
.TP .IP \fBHOME\fR
.B HOME
The name of the user's login directory, set by The name of the user's login directory, set by
.BR login (1) .BR login (1)
from the password file from the password file
.B /etc/passwd .B /etc/passwd
(see (see
.BR passwd (5)). .BR passwd (5)).
.TP .IP \fBTERM\fR
.B TERM
The type of terminal on which the user is logged in. The type of terminal on which the user is logged in.
This information is used by commands, such as This information is used by commands, such as
.BR nroff (1) .BR nroff (1)
@ -64,11 +62,9 @@ which may exploit special terminal capabilities. See
.B /etc/termcap .B /etc/termcap
.RB ( termcap (5)) .RB ( termcap (5))
for a list of terminal types. for a list of terminal types.
.TP .IP \fBSHELL\fR
.B SHELL
The path name of the user's login shell. The path name of the user's login shell.
.TP .IP \fBTERMCAP\fR
.B TERMCAP
The string describing the terminal in The string describing the terminal in
.SM TERM, .SM TERM,
or the name of the or the name of the
@ -76,22 +72,20 @@ or the name of the
file, see file, see
.BR termcap (3), .BR termcap (3),
.BR termcap (5). .BR termcap (5).
.TP .IP \fBEXINIT\fR
.B EXINIT
A startup list of commands read by A startup list of commands read by
.BR ex (1), .BR ex (1),
.BR edit , .BR edit ,
and and
.BR vi (1). .BR vi (1).
.TP .IP "\fBUSER\fR or \fBLOGNAME\fR"
.BR USER " or " LOGNAME
The user's login name. The user's login name.
.TP .IP \fBTZ\fR
.B TZ
The name of the time zone that the user is located in. If The name of the time zone that the user is located in. If
.B TZ .B TZ
is not present in the environment, the system's default time zone, is not present in the environment, the system's default time zone,
normally the time zone that the computer is located in, is used. normally the time zone that the computer is located in, is used.
.RE
.LP .LP
Further names may be placed in the environment by the Further names may be placed in the environment by the
.IR set " and " setenv .IR set " and " setenv
@ -192,12 +186,9 @@ internal shell variables. Also, since environ entries are dynamically
allocated and freed, modifying those entries without using the library allocated and freed, modifying those entries without using the library
routines may result in memory trashing and unpredicable behavior. routines may result in memory trashing and unpredicable behavior.
.SH FILES .SH FILES
.nf /etc/passwd
.LP .br
.B /lib/lenviron /etc/termcap
.B /etc/passwd
.B etc/termcap
.fi
.SH HISTORY .SH HISTORY
This This
.BR environ .BR environ