HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)
e
ex(1) ex(1)
term=termtype Define the type of terminal being used with the editor. The default value is
obtained from the TERM environment variable. If
TERM is unset or null, term is
set to
unknown. There is no difference between the
term and ttytype editor
options. Setting either one results in both being changed.
terse Use shorter error messages. Reversed by noterse
. The default is noterse.
timeout (to) If set, require that all the characters of a multicharacter macro name (the first
argument in a map command) must be received within the amount of time specified
by the timeoutlen option in order to be accepted as a match for the macro name.
If not set, no limit is placed on how long to wait for the completion of a macro name.
Reversed by notimeout (noto). The default is
timeout.
timeoutlen=n Set, in milliseconds (ms), the length of the macro timeout period (see the
timeout
editor option). This option has no effect unless
timeout is set. The value of n
must be at least 1. The default is
timeoutlen=500 (half a second).
ttytype=termtype (tty)
Define the type of terminal being used with the editor. See the
term editor option
for details. There is no difference between the
term and ttytype editor options.
Setting either one results in both being changed.
warn Before executing a ! or shell command escape, display the message [No write
since last change] if the work area has been modified since it was last
loaded or fully written to a file. Reversed by nowarn. The default is warn.
window=lines (wi) Set the number of lines in a text window in visual mode. The default value is one
less than the size of your terminal screen (as defined by the LINES environment
variable, if set, or the entry for your terminal in the terminfo (4) data base other-
wise). However, if the terminal baud rate (see stty(1) is set to less than 1200 or
2400, the default value is reduced to a maximum of 8 or 16 lines, respectively. The
startup value can be specified with the -w command-line option.
w300=lines If the terminal baud rate is less than 1200, set the window editor option to the
value specified.
w1200=lines If the terminal baud rate is greater than or equal to 1200 but less than 2400, set the
window editor option to the value specified.
w9600=lines If the terminal baud rate is greater than or equal to 2400, set the
window editor
option to the value specified.
wrapmargin=n (wm)
In visual mode only, if n is greater than zero, a newline is automatically inserted in
an input line at a word boundary, so that lines end at least n spaces from the right
margin of the terminal screen. The default is wrapmargin=0.
wrapscan (ws) When set, editor searches using /re/ (or
?re?) continue silently from the begin-
ning (or end) of the file upon reaching the end (or beginning) of the file (that is, the
scan "wraps around"). When unset, editor searches stop at the beginning or the end
of the file, as appropriate. Reversed by
nowrapscan (nows). The default is
wrapscan.
writeany (wa) Inhibits the checks otherwise made before write commands, allowing a write to any
file (provided the system allows it). Reversed by nowriteany (nowa). The
default is nowriteany.
EXTERNAL INFLUENCES
Environment Variables
COLUMNS This variable shall override the system-selected horizontal screen size.
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
HP-UX 11i Version 2: August 2003 − 16 − Hewlett-Packard Company Section 1−−265