CHAPTER 2
Table 2-3. VT-52 Codes to Which Bconout() Responds
Code Action
Esc A Cursor Up
Esc B Cursor Down
Esc C Cursor Right
Esc D Cursor Left
Esc E Clear Screen and Home Cursor
Esc H Home Cursor
Esc I Cursor Up (scrolls screen down if at top line)
Esc J Clear to End of Screen
Esc K Clear to End of Line
Esc L Insert Line
Esc M Delet j Line
Esc Y (row+ 32) Position Cursor at Row, Col (starts with 0)
(column+32)
Esc b (register) Select Foreground (Character) Color
Esc c (register) Select Background Color
Esc d Clear to Beginning of Screen
Esc e Cursor On
Esc f Cursor Off
Esc j Save Cursor Position
Esc k Move Cursor to Saved Position
Esc 1 Clear line
Esc o Clear from Beginning of Line
Esc p Reverse Video On
Esc q Reverse Video Off
Esc v Line Wrap On
Esc w Line Wrap Off
character 13 as a carriage return, an instruction to move the
cursor to the beginning of the line, rather than as a character
that should be printed. There are a number of VT-52 escape
codes to which the console device responds. These escape se
quences are strings of characters beginning with the ASCII
character 27 (Esc), followed by one or more text characters.
The VT-52 codes to which Bconout() responds are shown in
Table 2-3.
In addition to the Escape codes, the ST terminal emula
tion also responds to the follow ASCII control codes:
18