EasyManua.ls Logo

AT&T 610 - Cursor Positioning Escape Sequences

AT&T 610
143 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Received
Characters
Page
8-18
CUrsor
Positionina
Escape
Sequences
The
following
escape
sequences
provide
for
cursor
posi-
tioning
to
a
specific
row and column.
If
no
parameter
numbers
are
defined,
a 1
is
assumed and
the
cursor
will
go
to
row
or
column
1.
"Absolute"
is
in
reference
to
the
entire
screen.
ESC[6n
Cursor
Position
Report
Request
Receiving
the
sequence
ESC[6n
causes
the
terminal
to
re-
spond
with
the
cursor
position
sequence
ESC[row;column R. The
row and column
values
are
the
same
as
those
which
are
used
to
address
the
cursor
position
with
Origin
mode
(refer
to
escape
sequences
ESC[?6h/ESC[?6I)
off,
i.e.,
cursor
position
is
rela-
tive
to
the
first
row
(line)
and
first
column
of
the
display.
ESC[row;column H
Cursor
Addressing
User"'s Guic1e
August:
1985
Cursor
addressing
positions
the
cursor
with
the
address
scheme ESC[row;column H
or
ESC
[row; column
f.
The
values
for
row
and column
are
the
values
for
the
line
number and column number
at
which
the
cursor
is
to
be
positioned.
The row
value
ranges
from
1
to
24 and
the
column
value
ranges
between
1
and
80
or
132,
depending
on
the
columns
option
(refer
to
Section
5).
If
the
values
are
missing
or
0,
they
default
to
1.
If
the
row
value
is
larger
than
24,
then
the
value
is
defaulted
to
24;
if
the
columns
value
is
larger
than
the
line
length
(80
or
132),
the
value
is
defaulted
to
the
maximum
value.
If
in
the
Origin
mode
(refer
to
escape
sequences
ESC[?6h/
ESC[?6I),
cursor
addressing
is
relative
to
the
home
position
of
the-sc~oHing
regIon.
The
cursor
cannot
be
moved
outside
of
the
scrolling
region
with
the
exception
of
the
status
line.
r.:r.
~CDEF
GHIJKL
I
ttNOPQR
STUVY
vn
-
I
~
l
I
Cursor
Home
1
f-'"
I I
~DDCJDDDD
F:lgare
8-13.
Cursor
Posit:ioniug
on
ESC[I;IB.
ESC[I;lf.
ESC[B.
or
ESC[f Sequences

Related product manuals