CHAPTER 40
Free terminal protocol
405.1200.037.2 - Rel.: 2.21 of 25/02/2008
40-6
Free terminal
control
characters
The VT uses a set of characters that, sent correctly, function as a command
and enable the VT to carry out certain operations.
For the command to be recognized as such it must be preceded by the con-
trol character <ESC> and followed by the control character <EOT>.
The maximum length of a command string is 32 characters.
The tables below list the control characters to be used and the commands.
If sent several times in succession the character <EOT> can be
used to un-block the VT terminal in the event that the sending of
erroneous commands has destabilized the terminal.
Table 40.1: Control characters of Free Terminal
Character
Code
Meaning Effect
Decimal Ascii
<BS> 8 Back Space
Takes the cursor one space
back on the same line, cancel-
ing the character
<CR> 13 Carriage Return
Takes the cursor to the begin-
ning of the following line
<LF> 10 Line Feed
Takes the cursor to the next
line leaving it in the same
position
<ESC> 27 Escape
Signals the beginning of a
command
<EOT> 4 End Of Text Signals the end of a command
Table 40.2: Command characters (Part 1 of 3)
Command Parameters Effect
<ESC>Y<EOT> --
Checks the connection between VT and
device. If the connection is right the termi-
nal replies with the string OK.
<ESC>C<EOT> --
Clears display, taking the cursor to position
0,0 (top left-hand angle).
<ESC>Ayyxx<EOT>
yy = 0....Rows - 1 (0...3)
xx = 0....Columns - 1 (0...19)
Takes the cursor to the co-ordinates yy,xx.
<ESC>Bss<EOT>
ss = 00 ->Off
01 ->Blinking (Default)
Changes the status of the cursor: off/blink-
ing.
*If present on/in the terminal
**Applies only to VT150W and VT160W