Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
e
ex(1) ex(1)
The form s\&repl is equivalent to s/subs-re/repl/, where subs-re is the previous sub-
stitution string.
suspend su[spend][!]
stop st[op][!]
susp
Suspend the editor job and return to the calling shell. stop and susp are equivalent to
suspend. susp is the user process control suspend character, which is typically the
character ˆZ (ASCII SUB) (see stty(1)). This command is disabled if the calling shell
does not support job control or has disabled it.
The work area is written to the current file before the editor is suspended if the
autowrite editor option is set, the readonly editor option is not set, and the work
area has been modified since the last write. To override this action, append the ! char-
acter to the suspend or stop command.
tag ta[g][!] tag
Search the files specified by the tags editor option (see Editor Options below) sequen-
tially until a tag definition for tag is found. If tag is found, load the associated file into
the work area and set the current position to the address specified in the tag definition.
The work area is written to the current file before the new file is loaded if the new file is
different from the current file, the
autowrite editor option is set, the readonly
editor option is not set, and the work area has been modified since the last write. To
override this action, append the ! character to the command.
If the tagstack editor option is set, the current file name and line number is pushed
onto the tag stack for later recall with the line mode pop command or the visual mode
^] command.
unabbreviate una[bbreviate] word
Delete word from the list of abbreviations (see the
abbreviate command above).
undo u[ndo]
Reverse the changes made by the previous editing command. For this purpose, glo-
bal
and visual are considered single commands. Commands that affect the external
environment, such as write, edit, and next, cannot be undone. An undo can itself
be reversed.
unmap unm[ap][!] key
The macro definition for key is removed (see the map command above).
version ve[rsion]
Print the current version information for the editor.
visual line vi[sual] type count flags
Enter visual mode at the specified line.
The type can be one of the characters +, -, .,orˆ, as in the
z (window) command, to
specify the position of the specified line on the screen window The default is to place the
line at the top of the screen window.
A count specifies an initial window size; the default is the value of the editor option
window.
The flags # and l (ell) cause the lines in the visual window to be displayed in the
corresponding mode (see the number and list commands).
Use the Q command to exit visual mode. For more information, see vi(1).
write [range] w[rite][!][>>] file
[range] wq[!][>>] file
Write the specified lines (or the entire work area, if no range is given) out to file, print-
ing the number of lines and characters written. If file is not specified, the default is the
current file (the command fails with an error message if there is no current file and no
file is specified).
Section 1250 10 HP-UX Release 11i: December 2000
___
___