HP-UX Reference (11i v2 04/09) - 1 User Commands A-M (vol 1)

e
ex(1) ex(1)
keyboardedit When set, any keyboard editing key mappings that are loaded automatically at ini-
tialization for command-mode use are enabled. If not set, these mappings are dis-
abled (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 map-
pings. Reversed by nokeyboardedit!
. The default is nokeyboardedit!
for
terminals whose keyboard editing keys send HP-style escape sequences (an ESC fol-
lowed 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
.
magic Affect the interpretation of characters in regular expressions and substitution
replacement strings (see Regular Expressions and Replacement Strings above).
Reversed by
nomagic. The ex, vi
, and view default is magic. The edit and
vedit default is nomagic.
mesg Allows other users to use the write command (see write(1)) to send messages to
your terminal, possibly disrupting the screen display. Unsetting this option
(nomesg) blocks write permission to your terminal from other system users while
you are using the editor. Reversed by nomesg. The default is mesg.
modelines (ml) If set when the editor reads in a file, any ex
commands embedded in the first five
and last five lines of the file are executed after
.exrc and EXINIT commands are
processed but before editing control is given to the user. The ex commands must be
prefixed by ex: or vi: and terminated by : in a single line. Any number of
other characters with the exception of the colon (:) can precede or follow the
embedded command. Reversed by nomodelines (noml). The default is
nomodelines.
novice Use the version of the editor available for novices, known as edit or vedit.
Reversed by nonovice. The ex, vi, and view default is nonovice. The edit
,
and
vedit default is novice.
number (nu) Cause lines to be printed with line numbers. Reversed by nonumber (nonu
). The
default is
nonumber.
optimize (opt) Suppress automatic carriage returns on terminals that do not support direct cursor
addressing. This streamlines text output in certain situations such as when print-
ing multiple lines that contain leading whitespace. Reversed by
nooptimize (noopt). The default is nooptimize.
paragraphs=pair-string (para)
The value of this option is a string whose successive pairs of characters specify the
names of text-processing macros that begin paragraphs. (A macro appears in the
text in the form .xx, where the . is the first character in the line.)
If any macros have a single-character name, use a space character to substitute for
the missing second character in the name. To type a space character in such situa-
tions, precede the space with a backslash (
\) to prevent the editor from interpreting
it as a delimiter.
The default is
paragraphs=IPLPPPQPP\ LIpplpipnpbp.
prompt When set, command mode input is prompted for with a colon (:); when unset, no
prompt is displayed. Reversed by noprompt. The default is prompt.
readonly (ro) Set the readonly flag for the file being edited, thus preventing accidental
overwriting at the end of the session. This option is equivalent to invoking ex,
edit, vi,orvedit with the -R option or using the view command. Reversed by
noreadonly (noro). The ex, edit, vi, and vedit default is noreadonly.
The view default is readonly.
Section 1280 Hewlett-Packard Company 14 HP-UX 11i Version 2: September 2004