ex.1 (2010 09)

e
ex(1) ex(1)
LINES overrides the system-selected vertical screen size, used as the number of lines in a screenful and
as the vertical screen size in visual mode.
PATH determines the search path for the shell command specified in the editor commands,
shell, read,
and
write.
SHELL is variable that shall be interpreted as the preferred command-line interpreter for use in
!,
shell, read, and other commands with an operand of the form
!string. For the shell command,
the program shall be invoked with the single argument
-i. For all others, it shall be invoked with the
two arguments
-c and string. If no SHELL
environment variable is set, or it is set to a null string, the
sh utility shall be used.
TERM is a variable that shall be interpreted as the name of the terminal type. If this variable is unset or
null, an unspecified default terminal type shall be used.
EXINIT is a variable that shall be interpreted to contain a list of
ex commands that are executed on edi-
tor startup, before reading the first file. The list can contain multiple commands by separating then using
a vertical line (|) character.
HOME shall be interpreted as a pathname of a directory that shall be searched for an editor startup file
name .exrc.
LC_COLLATE determines the collating sequence used in evaluating regular expressions and in process-
ing the tags file. If it is not specified or is null, it defaults to the value of
LANG.
LC_CTYPE determines the interpretation of text as single and/or multibyte characters, the classification
of characters as uppercase or lowercase letters, the shifting of the case of letters, and the characters
matched by character class expressions in regular expressions. If it is not specified or is null, it defaults
to the value of LANG.
LANG determines the language in which messages are displayed. If it is not specified or is null, it
defaults to "C" (see lang (5)).
LC_ALL determines the locale to be used to override any values for locale categories specified by the set-
ting of LANG or any environment variable (beginning with LC_ ).
LC_MESSAGES determines the processing of affirmative responses and the language in which messages
should be written.
If any internationalization variable contains an invalid setting, all internationalization variables default
to "C" (see environ (5)).
When set, the
TMPDIR environment variable specifies a directory to be used for temporary files, overrid-
ing the default directory /var/tmp.
International Code Set Support
Single- and multibyte character code sets are supported.
ASYNCHRONOUS EVENTS (UNIX Standard Only)
For information about the UNIX standard environment, see standards (5).
The following actions shall be taken upon receipt of signals:
SIGINT
When an interrupt occurs, ex shall alert the terminal and write a message. The current editor com-
mand shall be aborted, and ex shall return to the command level and prompt for another com-
mand. If the standard input is not a terminal device, ex shall exit at the interrupt and return a
nonzero exit status.
SIGCONT
The screen shall be refreshed.
SHIGHUP
If the current buffer has changed since the last e or w command, ex shall attempt to save the
current file in a state such that it can be recovered later by an ex -r command.
The action taken for all other signals is unspecified.
EXTENDED DESCRIPTION (UNIX Standard Only)
For information about the UNIX standard environment, see standards (5).
HP-UX 11i Version 3: September 2010 17 Hewlett-Packard Company 17