KCML text mode screen sequences

The following HEX codes can be sent from the server to a text mode client running in KCML emulation mode

HEX Codes Description
HEX(00) Ignored
HEX(01) Moves the cursor home.
HEX(03) Clears the screen and moves the cursor home
HEX(05) Turns the cursor on (no blink).
HEX(02050F) Makes the cursor blink.
HEX(06) Turns the cursor off.
HEX(07) Causes the terminal alarm to beep.
HEX(08) Moves the cursor left one character nondestructively.
HEX(09) Moves the cursor right one character nondestructively.
HEX(0A) Moves the cursor down one line.
HEX(0C) Moves the cursor up one line.
HEX(0D) Moves the cursor to the beginning of the current line (carriage return).
HEX(02 03 00 0F) Switches to VT220 mode whilst in KCML mode.
HEX(02 04 xx yy 0E) Selects and activates a display attribute. Where xx is:
00 no bright, no blink
02 bright
04 blink
0B bright and blink

and where yy is:
00 not reverse video and not underlined
02 reverse video
04 underline
0B reverse video and underline
HEX(02 04 xx yy 0F) Selects, but does not activate a display attribute.
HEX(0E) Activates the display attribute chosen by the last (HEX 02 04...) sequence. The attribute remains valid for a maximum of one line until a carriage return or HEX(0F) is entered.
HEX(02 02 00 0F) Chooses the graphic character set of normal characters from HEX(10) to HEX(7F) with underline.
HEX(02 02 02 0F) Chooses the graphic character set for HEX(80) to HEX(FF).
HEX(02 08 09 0F) Terminal self identification message.
HEX(02 0D 0C 03 0F) Reinitialize terminal.

See also pages on Programming function keys and ACS extensions. Any of the sequences that are defined for the VT220 mode can also be issued in KCML mode by prefixing them with a HEX(02).