VISUAL
TECHNOLOGY
INCORPORATED, 540
MAIN
STREET, TEWKSBURY,
MA
01876
TABLE
5-4
ANSI
MODE
CURSOR
CONTROL
COMMANDS
Command Name
"F"
Value Sequence
Cursor Up
(Pn
times)
A
ESC
[
Pn
A
Cursor Down
(Pn
times)
B
ESC
[
Pn
B
Cursor Right
(Pn
times)
c
ESC
[
Pn
C
Cursor
Left
(Pn
times)
D
ESC
[
Pn
D
Absolute Cursor Positioning,
ESC
[
x;y
H,
or
ESC
[
x;y
f
Either
of
the above
control
sequences may
be
used
for
positioning
the
cursor on
an
absolute
basis.
The above sequences
will
position the cursor
to
the line specified
by
x,
and the
column specified
by
y. Both the line and column parameters are in decimal
notation
and
are
numbered
from
1-24 and 1-80 respectively. (When using 132 column
format,
columns
are
numbered 1-132). The
default
value
for
x and y
is
one.
If
an
attempt
is
made
to
posi-
tion
the
cursor past screen boundaries the cursor
will
move
to
the screen boundary.
Index,
ESC
D
This sequence
causes
the cursor
to
move down one position.
If
the cursor
is
positioned on
the
bottom
line
of
the
screen
or
the
bottom
of
the screen scrolling region, the contents
of
the screen
or
scrolling region
will
scroll up one line.
Reverse
Index,
ESC
M
This sequence
causes
the cursor
to
move up one position.
If
the cursor
is
positioned on the
top
line
of
the
screen
or
the
top
of
the screen scrolling region, the contents
of
the screen
or
scrolling region
will
scroll down one line.
Next
Line,
ESC
E
This sequence
causes
the cursor
to
move
to
the beginning
of
the
next line.
If
the cursor
is
positioned on the
bottom
line
of
the screen
or
the
bottom
of
the screen scrolling region, the
contents
of
the
screen
or
scrolling region
will
scroll up one line.
NOTE
No action
will
occur
if
the Index/Reverse Index
or
Next
Line commands
are
received
11\.'hile
the
cursor
is
positioned on
top/bottom
line
of
a screen
that
contains a scrolling region,
if
top/bottom
line
is
not
part
of
the
scrolling region.
Save
Cursor,
ESC
7 (Private)
This sequence
causes
the cursor position, character set, and graphic rendition
to
be
saved.
Restore Cursor,
ESC
8 (Private)
This sequence
causes
restoration
of
the previously
saved
cursor position, character set, and
graphic rendition.
34