HP-UX Reference (11i v3 07/02) - 1 User Commands N-Z (vol 2)

s
sh-posix(1) sh-posix(1)
LC_COLLATE The collating sequence to use when sorting names and when character ranges occur in pat-
terns. See environ(5).
LC_CTYPE The character classification information to use. Changing the value of
LC_CTYPE after
the shell has started does not affect the lexical processing of shell commands in the current
shell execution environment or its subshells. See environ(5).
The shell uses
LC_CTYPE to detect nonprintable characters in the input and tries to han-
dle them when the emacs, gmacs
,orvi editing mode is selected. Not starting a new
shell session after setting
LC_CTYPE may affect the display of nonprintable input charac-
ters in the emacs, gmacs,or
vi editing mode.
LC_MESSAGES
The language in which system messages appear, and the language that the system expects
for user input of yes and no strings. See environ(5).
LC_MONETARY
The currency symbol and monetary value format. See environ(5).
LC_NUMERIC The numeric format. See environ(5).
LC_TIME The date and time format. See environ(5).
LINES If this variable is set, the value is used to determine the column length for printing
select lists. select lists print vertically until about two-thirds of LINES lines are
filled.
MAIL If this parameter is set to the name of a mail file and the MAILPATH
parameter is not set,
the shell informs the user of arrival of mail in the specified file.
MAILCHECK How often (in seconds) the shell checks for changes in the modification time of any of the
files specified by the
MAILPATH or MAIL parameters. The default value is 600 seconds.
When the time has elapsed, the shell checks before issuing the next prompt.
MAILPATH A list of file names separated by colons. If this parameter is set, the shell informs the user
of any modifications to the specified files that have occurred within the last
MAILCHECK
seconds. Each file name can be followed by a ? and a message to be printed, in which case
the message will undergo parameter and command substitution with the parameter $_
defined as the name of the changed file. The default message is you have mail in
$_
.
NLSPATH The search path for message catalogs, a list of directories separated by colons.
PATH The search path for commands, a list of directories separated by colons. See the Execution
subsection.
PS1 The value of this parameter is expanded for parameter substitution, to define the primary
prompt string. The default value is "
$ ". The character ! in the primary prompt string is
replaced by the command number. See the Command Reentry subsection.
PS2 Secondary prompt string for command completion. The default value is "> ".
PS3 Selection prompt string used within a select loop. If unset, it defaults to "#?
".
PS4 Execution trace string that precedes each line of an execution trace. See the set -x spe-
cial command. If unset, it defaults to "+ ".
SHELL The path name of the shell is kept in the environment. When invoked, the shell is res-
tricted if the value of this variable contains an r in the base name.
TMOUT If set to a value greater than zero, the shell will terminate if a command is not entered
within the prescribed number of seconds after issuing the PS1 prompt. (Note that the shell
can be compiled with a maximum bound for this value which cannot be exceeded.)
VISUAL Invokes the corresponding option when the value of this variable ends in emacs, gmacs,
or
vi. See the set -o special command.
The shell gives default values to IFS, MAILCHECK, PATH, PS1, PS2, and TMOUT. On the other hand,
MAIL, ENV, HOME, and SHELL are never set automatically by the shell (although HOME, MAIL, and
SHELL are set by login; see login(1)).
HP-UX 11i Version 3: February 2007 15 Hewlett-Packard Company 257