ex(1)

ex(1)

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 terminals 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 ambiguity of this case is removed.

edcompatible (ed)

Cause the presence of g and c suf®xes on substitute commands to be remembered, and toggled by repeating the suf®xes. 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 supports 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 ®le in the current directory is processed during editor initializa-

 

tion 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 ®le to have any effect. See the Editor Options introductory text above.

 

Reversed by noexrc. The default is noexrc.

flash (fl)

When set, the screen ¯ashes 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)

De®ne 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 multiple 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 lower- case, except in character class speci®cations. Reversed by noignorecase (noic). The default is noignorecase .

keyboardedit When set, any keyboard editing key mappings that are loaded automatically at initialization for command-mode use are enabled. If not set, these mappings are disabled (but not deleted). Use the map command to get a list of the currently enabled command-mode mappings. Reversed by nokeyboardedit. The default is key- boardedit.

keyboardedit! When set, the keyboard editing key mappings automatically loaded at initialization for input mode use are enabled. If not set, these mappings are disabled (but not deleted). Use the map! command to list the currently enabled input-mode mappings. Reversed by nokeyboardedit!. The default is nokeyboardedit! for terminals whose keyboard editing keys send HP-style escape sequences (an ESC followed by a single letter). The default is keyboardedit! for all other terminals.

lisp

Modify autoindent mode and the (, ), [[, ]], {, and } commands in visual mode

 

for lisp source code. Reversed by nolisp. The default is nolisp.

 

list

Display all printed lines with tabs shown as ÃI, and the end of line marked by a $.

 

Reversed by nolist. The default is nolist.

 

HP-UX Release 11i: December 2000

− 13 −

Section 1253

e