MPE/iX Shell and Utilities Reference Manual, Vol 2

vi(1) MPE/iX Shell and Utilities vi(1)
Vi scrolling and movement commands may be preceded by a decimal integer which serves as
a count, as in:
[count] command
count means different things with different commands. If you type count, it is not displayed
anywhere on the screen.
Scrolling
CTRL-B scrolls text back a page, less two lines. The cursor is placed on the bottom line of the
screen. count specifies a number of pages to scroll. The default value for count is 1.
CTRL-D
scrolls text onto the bottom of the screen. The current position pointer moves for-
ward the same amount in the text, which means that the cursor stays in the same rela-
tive position on the screen. If count is given, the screen scrolls forward by the given
number of lines; this number is used for all future
CTRL-D
and CTRL-U commands
(until a new count is given). The default scrolling amount is half the screen.
CTRL-E scrolls a new line onto the bottom of the screen. The current position pointer is not
changed unless the current line scrolls off the top of the screen; then the pointer is set
to the top line. If count is given, the screen scrolls forward the given number of lines.
The default value for count is 1.
CTRL
-F scrolls text forward a page (that is, a screen), less two lines. The cursor is placed on
the top line of the screen. count specifies the number of pages to scroll. The default
value for count is 1.
CTRL-U
scrolls text onto the top of the screen. The current position pointer moves backward
the same amount in the text, which means that the cursor stays in the same relative
position on the screen. count operates as for
CTRL-D. The default scrolling amount
is half the screen.
CTRL-Y
scrolls a new line onto the top of the screen. The current position pointer is not
changed unless the current line scrolls off the bottom of the screen; then the pointer
is set to the bottom line. If count is given, the screen scrolls backward the given
number of lines. The default value for count is 1.
[n] z [m] type
redraws the screen in a window of m lines. type determines the position of the cur-
rent line. If type is the newline character, the current line is placed at the top of the
window. If type is a period (.), the current line is placed in the middle of the window.
Commands and Utilities 1-649