Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
e
ex(1) ex(1)
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 otherwise). How-
ever, 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 mar-
gin of the terminal screen. The default is wrapmargin=0.
wrapscan (ws) When set, editor searches using /re/ (or ?
re?) continue silently from the beginning
(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 visualmode.
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 shallbe 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 shallbe 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.
Section 1256 16 HP-UX Release 11i: December 2000
___
___