VI(1) DOMAIN/IX Reference Manual (SYS5) VI(1)
NAME
vi - screen-oriented (visual) display editor based on ex
USAGE
vi [ -t tag ] [ -r file ] [ -R ] [ +command ] [ -l ] [ -wn ]
file ...
DESCRIPTION
Vi is a display-oriented text editor based on ex (1). Since
vi runs the same code as ex (1), you can get to the command
mode of ex (1) from within vi and vice versa.
When using vi, changes you make to the file are reflected in
what appears on the terminal screen. The position of the
cursor on the screen indicates the position within the file.
For full details on the use of vi, see the DOMAIN/IX Text
Processing Guide.
OPTIONS
-t tag Edit the file containing the tag and position
the editor at its definition.
-r file Recover file after an editor or system crash.
If file is not specified, a list of all saved
files is printed.
-R Set mode to readonly to prevent accidental
file overwrites.
-l Indent appropriately for LISP code, and
modify (), {}, [[, and ]] commands to have
meaning for LISP.
-wn Set the default window size to n.
+command Force the editor to begin by executing the
specified command. If you omit command, vi
will, by default, initially position the cur-
sor at the last line of the first file.
CAUTIONS
Software tabs using ↑T work only immediately after the
autoindent.
Left and right shifts on intelligent terminals do not make
use of insert and delete character operations in the termi-
nal.
Insert/delete within a line can be slow if tabs are present
on intelligent terminals, since the terminals need help to
do this correctly.
Printed 6/10/85 VI-1
VI(1) DOMAIN/IX Reference Manual (SYS5) VI(1)
RELATED INFORMATION
ex (1).
DOMAIN/IX Text Editors Quick Reference.
VI-2 Printed 6/10/85