MPE/iX Shell and Utilities Reference Manual, Vol 2
vi(1) MPE/iX Shell and Utilities vi(1)
NAME
vi — display-oriented interactive text editor
SYNOPSIS
vi [–eRrsvx][–c command][–t tag][–w size][file ...]
vi [–eRrsvx][+command][–t tag][–w size][file ...]
CONVENTIONS
Throughout this document the following symbols are used:
CTRL-LCTRLfollowed by a single letter indicates the control character transmitted by
holding down the CTRL key and the letter key at the same time.
BACKSPACE
This indicates the real backspace key. This may differ from the CTRL-H key.
ENTER This indicates the ENTER
key, which is labelled RETURN on some keyboards.
ESC This indicates the Escape key.
INTERRUPT
This indicates the break key; often CTRL-C.
→ This indicates the right arrow key.
← This indicates the left arrow key.
↓ This indicates the down arrow key.
↑ This indicates the up arrow key.
DESCRIPTION
Note: The
MPE/iX implementation of this utility does not function exactly as this man page de-
scribes. For details, see the MPE/iX NOTES section at the end of this man page.
There are two components to vi: a screen editor (Vi), and a line editor (Ex). Each has a dif-
ferent set of commands; you can invoke the line editor from within the screen editor and con-
versely, you can invoke the screen editor from within the line editor.
In the screen editor, you are in either insert mode or command mode. In command mode, every
character you type is immediately interpreted as a command. In insert mode, every character
you type is added to the text that you are editing.
There are two ways to start your session in Ex mode: you can invoke the command under the
name ex; or you can invoke it under the name vi but specify the –e option. Similarly, there
are two ways to start your session in Vi mode; you can invoke the command under the name
vi (without specifying –e); or you can invoke it under the name ex but specify –v.
1-646 Commands and Utilities