ex.1 (2010 09)
e
ex(1) ex(1)
autowrite (aw) The work area is written out to the current file if the work area has been modified
and a next, rewind,or
! command is given. Reversed by
noautowrite (noaw). The default is noautowrite
.
beautify (bf) Cause all control characters other than tab, newline, and formfeed to be discarded
from the input text. Reversed by nobeautify (
nobf). The default is nobeau-
tify.
directory=dirname (dir)
Specify the directory in which the editor work area should be placed. This option
only takes effect when a new work area is created. It should be set in
EXINIT or
.exrc to affect the location of the work area file for the edit file specified on the
command line. The default is /var/tmp.
If the specified directory is set from
EXINIT or a .exrc file and is not writable by
the user, the editor quits; if set interactively by the user, the editor issues an error
message.
doubleescape When set, two consecutive ESC (escape) characters are required to leave input
mode. In input mode, a single ESC character followed by a different character
causes
vi to issue an audible or visual warning (see the
flash editor option) and
insert both characters into the work area. Reversed by
nodoubleescape. The
default is
nodoubleescape
.
The character sequences transmitted by the keyboard editing keys of some termi-
nals are identical to some sequences of
vi user commands. If the mapping of these
keys is enabled (see the keyboardedit and keyboardedit!
options), vi might
not be able to reliably distinguish between the character sequence transmitted by
an editing key and the same character sequence typed by a user. This problem is
most likely to occur when the user types ESC to terminate input mode immediately
followed by another
vi command. If you set the doubleescape option, the ambi-
guity of this case is removed.
edcompatible (ed)
Cause the presence of g and c suffixes on substitute commands to be remembered,
and toggled by repeating the suffixes. Reversed by noedcompatible
(noed).
The default is
noedcompatible
.
errorbells (eb) When set, error messages are preceded with a bell only on terminals that do not
support a standout or highlighting mode such as inverse video. If the terminal sup-
ports highlighting, the bell is never used prior to error messages and this option has
no effect. Note that visual-mode errors are signaled by the bell (regardless of the
setting of this option) without an accompanying error message.
Reversed by
noerrorbells (noeb). The default is noerrorbells.
exrc When set, the .exrc file in the current directory is processed during editor initiali-
zation if the current directory is not the HOME directory. This option is not set by
default and must be set in the EXINIT environment variable or the HOME directory
.exrc file to have any effect. See the Editor Options introductory text above.
Reversed by noexrc. The default is noexrc.
flash (fl) When set, the screen flashes instead of beeping, provided an appropriate
flash_screen entry is present in the /usr/share/lib/terminfo database
for the terminal being used. Reversed by noflash (nofl). The default is
flash.
hardtabs=number (ht)
Define the spacing between hardware tab settings and the number of spaces used by
the system when expanding tab characters. Tab stops are placed in each column
number (starting at the left edge of the screen) that corresponds to an integer multi-
ple of number. The default is hardtabs=8.
ignorecase (ic) All uppercase characters in the text are mapped to lowercase in regular expression
matching. Also, all uppercase characters in regular expressions are mapped to
lowercase, except in character class specifications. Reversed by
noignorecase (noic). The default is noignorecase.
HP-UX 11i Version 3: September 2010 − 13 − Hewlett-Packard Company 13