VT Terminal Character Sequences =============================== +----+----------+----------+-----------------+-----------------+--------------+----------+-----------------+ | | Tested : Tested | Tested | Documentation | Documentation Tested | Documentation | | | UKNC/15 : UKNC/52 | RT11Em/VT52 | VT52 | VT100/VT102 : Windows | VT220/xterm | +----+----------+----------+-----------------+-----------------+--------------+----------+-----------------+ | 0 | Null | Null | Null | Null : Null | Null | | 1 | - | - | - | - : (symbol) | - | | 2 | - | - | - | - : (symbol) | - | | 3 | - | - | - | (VT102: turn): (symbol) | - | | 4 | - | - | - | (VT102: disc): (symbol) | - | | 5 | - | - | - | Enquire : (symbol) | Enquire | | 6 | - | - | - | - : (symbol) | - | | 7 | Bell | Bell | Bell | Bell | Bell | | 8 | Home : Left | Left, wraps | Left, nowrap | Left, nowrap | Left, nowrap | | 9 | - | Tab 8 spaces | Tab 8 spaces | Tab 8 spaces | Tab 8 spaces | | 10 | Down | Newline, scrolls| Down, scrolls | Down : Newline | Down, scrolls | | 11 | - | Down, scrolls | - | Down : (symbol) | Down, scrolls | | 12 | CLS | Down, scrolls | - | Down : (symbol) | Down, scrolls | | 13 | Carriage return | Carriage return | Carriage return | Carriage return | Carriage return | | 14 | SO: Cyrillic chars | SO: topset | - | SO: topset (not E11) | SO: topset | | 15 | SI: Latin chars | SI: topclear | - | SI: topclear (not E11) | SI: topclear | | 16 | (Reset tab stop) | - | - | - : (symbol) | - | | 17 | (Initial cursor) | - | - | XON : (symbol) | XON | | 18 | Scroll display up | - | - | - : (symbol) | - | | 19 | Scroll line right | - | - | XOFF : (symbol) | XOFF | | 20 | Scroll line left | - | - | - : (symbol) | - | | 21 | Newline | - | - | - : (symbol) | - | | 22 | Scroll display down | - | - | - : (symbol) | - | | 23 | (Slide in line) | Cancel ESC,E | - | - : (symbol) | - | | 24 | (Delete char right) | - | - | CAN (blob) : (symbol) | CAN (no blob) | | 25 | Cursor right | - | - | - : (symbol) | | | 26 | Cursor left | - | - | SUB (blob) : (symbol) | SUB (blob) | | 27 | ->ESC | ->ESC | ->ESC | ->ESC | ->ESC | | 28 | Cursor Up | - | - | - : (symbol) | - | | 29 | Cursor Down | - | - | - : (symbol) | - | | 30 | - | - | - | - : (symbol) | - | | 31 | - | - | - | - : (symbol) | - | +----+---------------------+-----------------+-----------------+--------------+----------+-----------------+ - does nothing (or appears to do nothing) x sequence ignored, character emitted ? unknown +----+----------+----------+-----------------+-----------------+--------------+----------+-----------------+ | | Tested : Tested | Tested | Documentation | Documentation Tested | Documentation | |ESC | UKNC/15 : UKNC/52 | RT11Em/VT52 | VT52 | VT100/VT102 : Windows | VT220/xterm | +----+----------+----------+-----------------+-----------------+--------------+----------+-----------------+ | @ | - | - | - | - : x | - | | A | Up, scrolls | Up, noscroll | Up, noscroll | - : x | - | | B | Down, scrolls | Down, noscroll | Down, noscroll | - : x | - | | C | Right, wraps | Right, nowrap | Right, nowrap | - : x | - | | D | Left, wraps | Left, nowrap | Left, nowrap | Down, scrolls | Down, scrolls | | E | - | Switch to VT15 | - | Newline, scrolls | Newline, scrolls| | F | - | Graphics mode | Graphics mode | - : x | Select font | | G | - | Text mode | Text mode | - : x | Select font | | H | Home | Home | Home | Set tabstop | Set tabstop | | I | Cursor up, scrolls | Up, scrolls | Up, scrolls | - : x | - | | J | Clear to bottom | Clear to bottom | Clear to bottom | - : x | - | | K | - | Clear end line | Clear end line | - : x | - | | L | - | - | - | - : x | - | | M | - | - | - | Up, scrolls | Up, scrolls | | N | - | - | - | - : x | Single shift G2 | | O | - | - | - | - : x | Single shift G3 | | P | Waits for key | - | - | - : VDU off | Open delimiter | | Q | - | - | - | - : x | - | | R | - | - | - | - : x | - | | S | - | - | - | - : x | - | | T | - | - | - | - : x | - | | U | - | - | - | - : x | - | | V | - | - | (Print line) | - : x | - | | W | - | - | (Print control) | - : x | - | | X | - | - | (Print control) | - : VDU off | - | | Y | TAB(Y,X) | TAB(Y,X) | TAB(Y,X) | - : x | - | | Z | ? | - | Identify | - : x | Identify | | [ | Invisible text | - | Hold screen | ->CSI | ->CSI | | \ | - set colour to | - | Release screen | : VDU on | Close delimiter | | ] | - turn back on | - | (Print screen) | - : - | - | | ^ | - | - | (Autoprint on) | : VDU off | - | | _ | - | - | (Autoprint off) | : VDU off | - | | # | - | - | - | Char size : ? | Char size | | ( | - | - | - | Select font : ? | Select font | | ) | - | - | - | - | Select font | | * | - | - | - | - | Select font | | + | - | - | - | - | Select font | | 7 | - | - | - | Save position: ? | Save position | | 8 | - | - | - | Restore posn : ? | Restore position| | < | - | - | (ANSI mode) | - : ? | - | | = | - | - | Alt keypad | Alt keypad : ? | Alt keypad | | > | - | - | Numeric keypad | Numeric keypad ? | Numeric keypad | | c | - | - | - | Reset : ? | Reset | | n | - | - | - | - | Select font | | o | - | - | - | - | Select font | | | | - | - | - | - | Select font | | } | - | - | - | - | Select font | | ~ | - | - | - | - | Select font | +----+---------------------+-----------------+-----------------+--------------+----------+-----------------+ - does nothing (or appears to do nothing) x sequence ignored, character emitted ? unknown +----+--------------+----------------------+---------------------------+ | | Documentation Tested | Documentation | |ESC | VT100/VT102 : Windows | VT220/xterm | +----+--------------+----------------------+---------------------------+ | [@ | - | Insert spaces | | [A | Up, noscroll | Up, noscroll | | [B | Down, noscroll | Down, noscroll | | [C | Right, nowrap | Right, nowrap | | [D | Left, nowrap | Left, nowrap | | [E | - : Newline, noscroll | - | | [F | - : Up newline, noscroll | - | | [G | - : Carriage return | - | | [H | TAB(Y,X) | TAB(Y,X) | | [I | - : Tab 8 spaces | - | | [J | Clear screen | Clear screen | | [K | Clear line | Clear line | | [L | VT102:Insert lines | Insert lines | | [M | VT102:Delete lines | Delete lines | | [N | - | - | | [O | - | - | | [P | VT102:Delete characters | Delete characters | | [Q | - | - | | [R | (returned to report POS/VPOS) | - | | [S | - : Scroll up | - | | [T | - : Scroll down | - | | [U | - | - | | [V | - | - | | [W | - | - | | [X | - | Clear characters | | [Y | - | - | | [Z | - : Carriage return | - | | [[ | - | - | | [\ | - | - | | [] | - | - | | [^ | - | - | | [_ | - | - | | [c | Request report | Request report | | [f | TAB(Y,X) | TAB(Y,X) | | [g | Clear tabstop | Clear tabstop | | [h | Set setting (set 'h'igh) | Set setting (set 'h'igh) | | [i | - | Printer control | | [l | Clear setting (set 'l'ow) | Clear setting (set 'l'ow) | | [m | Character attributes | Character attributes | | [n | Request report | Request status | | [p | - | Reset | | [q | Set LEDs | Character setting | | [r | Set margins | Set margins | | [x | Terminal parameters | | | [y | Perform test | Perform test | +----+--------------+----------------------+---------------------------+ - does nothing (or appears to do nothing) x sequence ignored, character emitted