Specifications

SECTION
III
3.4.2.2 Moving
the
Cursor
Using
an
Escape Sequence
An
escape sequence
can
also
be
used
to
move
the
cursor (known
as
"addressing"
the
cursor)
to any
location
on the
current page
or to
another page.
Moving
on the
Current
Page
Either
of two
methods
may be
used
to
move
the
cursor
on the
current page.
One
method
uses
an
ASCII conversion
of the
(decimal) number
of the row or
column;
the
other uses
the
number
itself.
Using
an
ASCII Conversion
(Not
recommended
if
line length
is
132
columns)
To
position
the
cursor
to a new row and
column, enter
the
sequence
For
columns
1 to 80 For
columns
81
to
132
ESC
=
re
ESC = r
CTRL/_
c
%
where
r
denotes
the
desired
row (in
ASCII) (see Appendix
G)
c
denotes
the
desired column
(in
ASCII) (see Appendix
G)
For
example,
ESC
=
(CTRL7_3
positions
the
cursor
in row 9,
column
100.
Using
the
Decimal Number
To
position
the
cursor regardless
of
whether
line
width
is 80 or 132
columns,
enter
the
sequence
ESC.9rrRcccC
where
rr
denotes
the
number
of the
desired
row
(HOME
=
01)
ccc
denotes
the
number
of the
desired column
(HOM
E =
01)
Note:
this sequence cannot
be
used
to
move
the
cursor
to
another page.
FOR
EXAM
RLE
ESC
.9 1 R 1 C
moves
the
cursor
to the
HOME
position.
ESC.948R71C
moves
the
cursor
to row 48,
column
71
(only
if
page length
is 48 or 96
lines).
3-24