EasyManua.ls Logo

Commodore PC 10 - Page 396

Commodore PC 10
494 pages
Print Icon
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...
\258
MS-DOS User's Reference
Changing the cursor's
position
Cursor Functions
The
following escape
sequences
affect
the
position
of
the
cursor
on
the
screen. The
parameters
shown
in italics
are
explained at
the
beginning
of
this appendix.
CUP - Cursor Position
ESC
[PI
;Pc
H
HVP - Horizontal & Vertical Position
ESC
[PI
;Pc
F
CUP and
HVP
move
the
cursor
to
the
position specified by
the
parameters. The first
parameter
specifies
the
line number;
the
second,
the
column
number.
The
default value for
PI
and
Pc
is 1.
When
no
parameters
are
specified,
the
cursor
moves
to
the
home
position
(the
upper
left-hand
corner
of
the
screen).
CUU - Cursor Up
ESC[PnA
This
sequence
moves
the
cursor
up
one
line
without
changing
columns.
The
value
of
Pn
sets
the
number
of
lines moved.
The
default value is 1.
If
the
cursor
is already
on
the
top
line, MS-DOS
ignores
the
CUU
sequence.
CUD - Cursor Down
ESC[PnB
This
sequence
moves
the
cursor
down
one
line
without
changing
columns.
The
value
of
Pn
sets
the
number
of
lines moved.
The
default value is 1.
If
the
cursor
is already
on
the
bottom
line,
MS-DOS ignores
the
CUD sequence.
CUF - Cursor Forward
ESC
[PnC
The
CUF
sequence
moves
the
cursor
forward
one
column
without
r--
changing lines. The vaiue
of
Pn
sets
the
number
of
columns
moved.
The
default value is 1.
If
the
cursor
is already in
the
far
right column,
MS-DOS ignores
the
CUF
sequence. L
__
_

Table of Contents

Related product manuals