SECTION 8 " Programming
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-23
Cursor Positioning
The cursor indicates the position where the next character
appears. The wireless station supports all cursor position-
ing sequences (Table 8-13).
"
NOTE: Pn is a variable, ASCII-coded, numeric parameter.
Table 8-13
Cursor Positioning
Name (Mnemonic) Sequence Wireless Station Action
Cursor up
(CUU)
CSI Pn A Moves cursor up Pn lines in the same co-
lumn. Cursor stops at top margin.
Cursor down (CUD) CSI Pn B Moves cursor down Pn lines in the same
column. Cursor stops at bottom margin.
Cursor forward
(CUF)
CSI Pn C Moves cursor right Pn columns. Cursor
stops at right margin.
Cursor backward
(CUB)
CSI Pn D Moves cursor left Pn columns. Cursor
stops at left margin.
Cursor position
(CUP)
CSI Pl ; Pc H Moves cursor to Line P1, Column Pc.
Horizontal and
vertical positions
(HVP)
CSI Pl ; Pc f Moves cursor to Line P1, Column Pc.
Index
(IND)
ESC D This is an 8-bit control character (84 hexa-
decimal) that can be expressed as an es-
cape sequence for a 7-bit environment.
IND moves the cursor down one line in the
same column. If cursor is at bottom mar-
gin, display scrolls up.