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 [ cTerminal identifies
ESC [ ? 1 ; <n> 0 cresponce Terminal-Typ n
ESC Creset Terminal to initial-state
ESC [ ? 2 lEnter VT52-Mode
ESC <Exit VT52-Mode
ESC [ <l> ; <c> rDefine a scroll-area (virtual Screen)
ESC [ ? 3 h132 character per line
ESC [ ? 3 l80 character per line
ESC [ ? 4 h"jump scroll"
ESC [ ? 4 l"smooth scroll"
ESC [ ? 5 hblack writing on white reason
ESC [ ? 5 lwhite writing on black reason
ESC [ ? 7 hautomatic line change on
ESC [ ? 7 lautomatic line change off
ESC [ ? 8 hkeyboard auto-repeat on
ESC [ ? 8 lkeyboard auto-repeat off
ESC [ ? 2 3 h"smooth scroll"
ESC [ ? 2 3 l"jump scroll"
ESC [ ? 2 5 hCursor on
ESC [ ? 2 5 lCursor off
ESC [ ? 7 5 hScreen on
ESC [ ? 7 5 lScreen off
ESC [ 2 hKeyboard-lock on
ESC [ 2 lKeyboard-lock off
ESC [ 4 hInsert-Modus
ESC [ 4 lOverwrite-Modus
ESC [ 1 2 hlocal echo on
ESC [ 1 2 llocal echo off
ESC [ 2 0 hRETURN = CR+LF
ESC [ 2 0 lRETURN = CR



Cursor-Commands:


ESC-sequence

Funktion

ESC [ AA line upward
ESC [ BA line downward
ESC [ CA character to the right
ESC [ DA character to the left
ESC [ <n> An lines upward
ESC [ <n> Bn lines downward
ESC [ <n> Cn character to the right
ESC [ <n> Dn character to the left
ESC [ <l> ; <c> Hcursor on position l-lines and c-colums in the screen
ESC [ <l> ; <c> flook above
ESC [ 6 nget Cursor-position
ESC [ <l> ; <c> RAnswer with Cursor-position near l-lines and c-colums
ESC =Application keypad-mode
ESC >Numeric keypad-mode
ESC [ HCursor in left upper corner
ESC [ flook above
ESC HSet TAB to actual colum-position
ESC [ gClear TAB at actual colum-position
ESC [ 3 gClear all TAB‘s
ESC [ ssave cursor-position
ESC [ urestore cursor-position
ESC 7save cursor-position and attributes
ESC 8restore cursor-position and attributes



Edit-Commands:


ESC-sequence

Funktion

ESC [ KClear line from cursor-position up to end
ESC [ 0 Klook above
ESC [ 1 KClear line von left up to cursor-position
ESC [ 2 KClear actual line
ESC [ JClear screen from cursor-position up to end
ESC [ 0 Jlook above
ESC [ 1 JClear screen from left-upper p to cursor-position
ESC [ 2 JClear screen
ESC [ Linsert a line
ESC [ <n> Linsert n-lines
ESC [ PClear character before cursor
ESC [ <n> Pdelete n-character before cursor until to the right
ESC [ MClear line under cursor-position
ESC [ <n> MClear n-lines from cursor up to end of screen
ESC [ @insert empty-character on cursor-position



Representation-Commands:


ESC-sequence

Funktion

ESC [ mall attributes off
ESC [ 0 mall attributes off
ESC [ 1 mFat
ESC [ 2 mItalic / Dim (other brightness)
ESC [ 4 mUnderscores
ESC [ 5 m Blinks
ESC [ 7 mInvers
ESC [ 8 mHide
ESC [ 2 1 mFat off
ESC [ 2 2 mItalic / Dim off
ESC [ 2 4 mUnderscores off
ESC [ 2 5 mBlinks off
ESC [ 2 7 mNormal
ESC [ 2 8 mVisible
ESC # 1double height, simple width - upper half
ESC # 2double height, simple width - low half
ESC # 3double height, width doubled - upper half
ESC # 4double height, width doubled - low half
ESC # 5simple height, simple width
ESC # 6simple height, width doubled
ESC # 8Test screen
ESC ( AUK font as G0
ESC ( BUS font as G0
ESC ( 0Line font as G0
ESC ) AUK font as G1
ESC ) BUS font as G1
ESC ) 0Line font as G1
ESC NG2 font only for next character
ESC OG3 font only for next character