CP/M Screen Control Sequences
The following exemplary sequences are taken from the TURBO Pascal file TINST.DTA
1.
Machine/Terminal | Screen |
Cursor setting | Home cursor |
Erase screen | Invers on |
Invers off | Erase to end of line |
Insert line | Erase line |
AMSTRAD Joyce | 31x90 |
ESC Y y+32 x+32 | ESC E |
ESC H | ESC q |
ESC p | ESC K |
ESC L | ESC M |
ANSI | 24x80 |
ESC [ y;xH | ESC [2J |
ESC [f | ESC [1m |
ESC [0m | ESC [K |
ESC [1L | ESC [1M |
ADM 3A | 24x80 |
ESC =y+32 x+32 | ^Z |
— | — |
— | — |
— | — |
DEC Rainbow | 24x80 |
ESC [y;xH | ESC [2J |
ESC [f | ESC [1m |
ESC [0m | ESC [K |
ESC [1L | ESC [1M |
Hazeltine 1500 | 24x80 |
~^Qx y | ~^\ |
— | ~^Y |
~^_ | ~^O |
~^Z | ~^S |
Kaypro | 24x80 |
ESC =y+32; x+32 | ^Z |
— | ESC C1 |
ESC B1 | ^X |
^MESC E^M | ESC R |
Liberty | 24x80 |
ESC =y+32; x+32 | ^Z |
— | ESC ) |
ESC ( | ESC T |
ESC E | ESC R |
Morrow MDT-20 | 24x80 |
ESC =x+32; y+32 | ^Z |
— | ESC ) |
ESC ( | ESC T |
ESC E | ESC R |
Osborne 1 | 24x80 |
ESC =y+32; x+32 | ^Z |
— | ESC ( |
ESC ) | ESC T |
ESC E | ESC R |
Otrona Attache | 24x80 |
ESC =y+32; x+32 | ^Z |
ESC H | ESC U$ |
ESC U SPC | ESC K |
ESC L | ESC M |
Soroc 120/Apple CP/M | 24x80 |
ESC =y+32; x+32 | ESC * |
— | ESC ) |
ESC ( | ESC T |
— | — |
SSM-UB3 | 24x80 |
ESC x;y | ESC 2J |
ESC 1;1 | ESC 7U |
ESC 0U | ESC K |
ESC L | ESC M |
Tandberg TDV 2215 | 24x80 |
^Py x | ^Y |
— | ESC [0m |
ESC [2m | ESC [0K |
ESC [L | ESC [M |
Texas Instruments | 25x80 |
ESC [y;xH | ESC [2J |
ESC [f | ESC [1m |
ESC [0m | ESC [K |
— | — |
Visual 200 | 24x80 |
ESC Yy+32 x+32 | ESC v |
— | ESC 3 |
ESC 4 | ESC x |
ESC L | ESC M |
ESC | means control character | „^[" | (0x1B ) |
SPC | means space | „ " | (0x20 ) |
1. The utility TERMFILE.MAC allows selection of terminal defintions
(one or all) to be dumped into file TINST.TXT
formatted in ASCII