VT100
The here returned ESC-Sequenzen only serve the overview and should give the impression of the wholeness on no account. For an extensive overview with all sequences and parameters, the DEC only is document EK-VT100-UG-003, the orginal handbook of the DEC VT100 terminal, as well as the DEC document EK-VT101-UG-003 and the DEC document EK-VT102-UG-003 responsible.
Global Terminal-Commands:
ESC-sequence | Funktion |
ESC [ c | Terminal identifies |
ESC [ ? 1 ; <n> 0 c | responce Terminal-Typ n |
ESC C | reset Terminal to initial-state |
ESC [ ? 2 l | Enter VT52-Mode |
ESC < | Exit VT52-Mode |
ESC [ <l> ; <c> r | Define a scroll-area (virtual Screen) |
ESC [ ? 3 h | 132 character per line |
ESC [ ? 3 l | 80 character per line |
ESC [ ? 4 h | "jump scroll" |
ESC [ ? 4 l | "smooth scroll" |
ESC [ ? 5 h | black writing on white reason |
ESC [ ? 5 l | white writing on black reason |
ESC [ ? 7 h | automatic line change on |
ESC [ ? 7 l | automatic line change off |
ESC [ ? 8 h | keyboard auto-repeat on |
ESC [ ? 8 l | keyboard auto-repeat off |
ESC [ ? 2 3 h | "smooth scroll" |
ESC [ ? 2 3 l | "jump scroll" |
ESC [ ? 2 5 h | Cursor on |
ESC [ ? 2 5 l | Cursor off |
ESC [ ? 7 5 h | Screen on |
ESC [ ? 7 5 l | Screen off |
ESC [ 2 h | Keyboard-lock on |
ESC [ 2 l | Keyboard-lock off |
ESC [ 4 h | Insert-Modus |
ESC [ 4 l | Overwrite-Modus |
ESC [ 1 2 h | local echo on |
ESC [ 1 2 l | local echo off |
ESC [ 2 0 h | RETURN = CR+LF |
ESC [ 2 0 l | RETURN = CR |
Cursor-Commands:
ESC-sequence | Funktion |
ESC [ A | A line upward |
ESC [ B | A line downward |
ESC [ C | A character to the right |
ESC [ D | A character to the left |
ESC [ <n> A | n lines upward |
ESC [ <n> B | n lines downward |
ESC [ <n> C | n character to the right |
ESC [ <n> D | n character to the left |
ESC [ <l> ; <c> H | cursor on position l-lines and c-colums in the screen |
ESC [ <l> ; <c> f | look above |
ESC [ 6 n | get Cursor-position |
ESC [ <l> ; <c> R | Answer with Cursor-position near l-lines and c-colums |
ESC = | Application keypad-mode |
ESC > | Numeric keypad-mode |
ESC [ H | Cursor in left upper corner |
ESC [ f | look above |
ESC H | Set TAB to actual colum-position |
ESC [ g | Clear TAB at actual colum-position |
ESC [ 3 g | Clear all TAB‘s |
ESC [ s | save cursor-position |
ESC [ u | restore cursor-position |
ESC 7 | save cursor-position and attributes |
ESC 8 | restore cursor-position and attributes |
Edit-Commands:
ESC-sequence | Funktion |
ESC [ K | Clear line from cursor-position up to end |
ESC [ 0 K | look above |
ESC [ 1 K | Clear line von left up to cursor-position |
ESC [ 2 K | Clear actual line |
ESC [ J | Clear screen from cursor-position up to end |
ESC [ 0 J | look above |
ESC [ 1 J | Clear screen from left-upper p to cursor-position |
ESC [ 2 J | Clear screen |
ESC [ L | insert a line |
ESC [ <n> L | insert n-lines |
ESC [ P | Clear character before cursor |
ESC [ <n> P | delete n-character before cursor until to the right |
ESC [ M | Clear line under cursor-position |
ESC [ <n> M | Clear n-lines from cursor up to end of screen |
ESC [ @ | insert empty-character on cursor-position |
Representation-Commands:
ESC-sequence | Funktion |
ESC [ m | all attributes off |
ESC [ 0 m | all attributes off |
ESC [ 1 m | Fat |
ESC [ 2 m | Italic / Dim (other brightness) |
ESC [ 4 m | Underscores |
ESC [ 5 m | Blinks |
ESC [ 7 m | Invers |
ESC [ 8 m | Hide |
ESC [ 2 1 m | Fat off |
ESC [ 2 2 m | Italic / Dim off |
ESC [ 2 4 m | Underscores off |
ESC [ 2 5 m | Blinks off |
ESC [ 2 7 m | Normal |
ESC [ 2 8 m | Visible |
ESC # 1 | double height, simple width - upper half |
ESC # 2 | double height, simple width - low half |
ESC # 3 | double height, width doubled - upper half |
ESC # 4 | double height, width doubled - low half |
ESC # 5 | simple height, simple width |
ESC # 6 | simple height, width doubled |
ESC # 8 | Test screen |
ESC ( A | UK font as G0 |
ESC ( B | US font as G0 |
ESC ( 0 | Line font as G0 |
ESC ) A | UK font as G1 |
ESC ) B | US font as G1 |
ESC ) 0 | Line font as G1 |
ESC N | G2 font only for next character |
ESC O | G3 font only for next character |