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

e
ex(1) ex(1)
remap If set, macro translation allows for macros defined in terms of other macros; transla-
tion continues until the final product is obtained. If unset, a one-step translation
only is done. Reversed by noremap. The default is
remap.
report=n The value of n gives the number of lines that must be changed by a command before
a report is displayed on the number of lines affected. If n is 5, then changes are
reported for 6 or more lines. The
ex
, vi, and view default is report=5. The
edit, and vedit default is report=1.
scroll=n The value of n determines the number of lines scrolled by a
ˆD command and the
number of lines displayed by the
z command (twice the value of scroll). The default
is half the value of the window
option.
sections=pair-string
The value of this option is a string, in that successive pairs of characters specify the
names of text-processing macros that begin sections. See the
paragraphs editor
option above. The default is
sections=NHSHH\ HUuhsh+c
.
shell=filename (sh)
Set the file name of the shell to be used for the
! shell escape and the shell com-
mand. It defaults to the value of your
SHELL environment variable, if set, and oth-
erwise to
/usr/bin/sh.
shiftwidth=n (sw)
Sets the indentation step value used by autoindent and the shift (< and >) com-
mands. The default is shiftwidth=8.
showmatch (sm) In visual mode, jump momentarily to the matching ( or { when you type a
) or },if
the match is still on the screen. Reversed by
noshowmatch (nosm). The default
is noshowmatch.
showmode (smd) Display the current editor mode (such as
INPUT MODE, REPLACE 1 CHAR,
REPLACE MODE) in the lower right-hand corner of the screen during visual and
open mode. Reversed by noshowmode (nosmd). The ex, vi, and view default is
noshowmode. The edit, and vedit default is showmode.
slowopen (slow) In visual mode, slowopen prevents screen updates during input to improve
throughput on unintelligent terminals. Reversed by
noslowopen (noslow). The
default is
noslowopen.
tabstop=n (ts) Sets the spacing of the software tab stops used by the editor to expand tabs in the
input file. The default is tabstop=8.
taglength=n (tl)
Set the maximum number of characters that should be treated as significant in a
tag. Characters beyond the limit are ignored. A value of zero means that all char-
acters in the tag are significant. The default is taglength=0.
tags=[filename ]... Specify the tags files to be used by the tag command and the -t command-line
option. The default is tags=tags /usr/lib/tags, specifying the file tags in
the current directory and the file /usr/lib/tags. File names are separated by
whitespace.
Each line of a tags file contains the following three fields separated by whitespace:
the tag name, the name of the file to be edited, and an address specification (see
Addressing above). A
tags file must be sorted in order by tag name.
The
ctags command (see ctags(1)) creates tags files from C, Pascal and FORTRAN
source files.
tagstack (tgst) Enable the pushdown stack of activated tags. Reversed by
notagstack (notgst). The default is tagstack.
When you enter a line mode
tag command or visual mode ˆ] command, the
current line number and file name are stored on the tag stack. A future line mode
pop command or visual mode ˆT command will return to the stored file name at
the stored line number.
If the tag stack is disabled and then reenabled again, the stack continues where it
left off. The
pop command does not work when the tag stack is disabled.
Section 1264 Hewlett-Packard Company 15 HP-UX 11i Version 2: August 2003