source: buchla-68k/orig/DOC/VT52.TXT@ 4aad7a7

Last change on this file since 4aad7a7 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 1.3 KB
Line 
1VT-52 Control Codes with Atari Extensions
2-----------------------------------------
3
4#define ESC '\033' /* or 0x1B if you prefer */
5
6ESC A Cursor Up (stops at top)
7ESC B Cursor Down (stops at bottom)
8
9ESC C Cursor Forward (stops at EOL)
10ESC D Cursor Backward (stops at BOL)
11
12ESC E Clear Screen and Home Cursor
13ESC H Home Cursor (home = 1,1 = top,left)
14
15ESC I Reverse Index (cursor up with scroll at top)
16
17ESC J Erase to end of page (including cursor position)
18ESC K Clear to end of line (including cursor position)
19
20ESC L Insert Line (moves cursor line and lines below down)
21ESC M Delete Line (deletes cursor line and moves lines below up)
22
23ESC Y Position Cursor (followed by row, col, 1-origin binary)
24
25ESC b Set Foreground Color (4 lsbs of next byte are color index)
26ESC c Set Background Color (4 lsbs of next byte are color index)
27
28ESC d Erase beginning of display (up to and including cursor)
29
30ESC e Enable cursor
31ESC f Disable cursor
32
33ESC j Save cursor position
34ESC k Restore cursor position
35
36ESC l Erase entire line (moves cursor to column 1)
37ESC o Erase beginning of line (including cursor position)
38
39ESC p Enter Reverse Video Mode
40ESC q Exit Reverse Video Mode
41
42ESC v Wrap at End of Line
43ESC w Discard at End of Line
Note: See TracBrowser for help on using the repository browser.