6530 Programmer's Guide
Conversational Mode Operation
6530 Programmer’s Guide
2-5
Cursor Location
This group of control codes and escape sequences sets a new cursor
location or reads the current location. The cursor location is addressed by
row and column position on the screen. The home location (upper left
corner) is row 1, column 1. The address can take one of two forms, called
normal and extended addressing.
In normal addressing, the row and column positions are specified by
encoded ASCII characters whose codes, offset by 1FH, represent the
screen positions. (The 1FH offset is used to avoid use of codes in the
control character range.) For example, the home cursor location (row 1,
column 1) is specified by two ASCII space characters (20H). The next
location (row l, column 2) is specified by a space character (20H) and a !
character (21H).
Row positions are encoded in the range of 20H through 37H; valid
column positions are encoded in the range of 20H through 6FH.
(A character outside of this range causes a command error to occur.)
In extended addressing, the row and column positions are specified by
decimal numbers represented as a string of ASCII characters. The row
and column numbers are separated by a semicolon (;). For example, the
string 24;80 specifies row 24 and column 80 for the cursor position. Row
position values greater than 24 and column values greater than 80 are
interpreted, but default to 24 and 80, respectively.
Esc o Write to message field
Esc u Define Enter key
Esc q Reinitialize
Esc p Set max page number
Esc - z Terminate remote 6530 operation
SO (0EH) Shift out to G1 character set
SI (0FH) Shift in to G0 character set
RTM Esc - i RTM control
Esc - j RTM data upload
Table 2-1. Control Codes and Escape Sequences (continued)
Group
Ctrl Character
(Code) / Esc
Sequence Function