Difference between revisions of "CodeChart:DEC VT52/ESC"

From Terminals
Jump to: navigation, search
m (Replace subpage for ESC / with table)
 
(2 intermediate revisions by the same user not shown)
Line 34: Line 34:
 
| r=#right-blank-key
 
| r=#right-blank-key
 
| slash=#identify-response
 
| slash=#identify-response
| question=/Question
+
| question=#keypad-response
 
}}
 
}}
 
|-
 
|-
Line 40: Line 40:
 
{| class="wikitable"
 
{| class="wikitable"
 
|+ ESC Sequences
 
|+ ESC Sequences
! style="padding: 1ex;" | Prefix
+
{{CodeDescriptionHeader}}
! style="padding: 1ex;" | Description
+
{{CodeDescriptionRow|<nowiki>=</nowiki>|enter-alternate-keypad-mode|Enter Alternate Keypad Mode}}
! style="padding: 1ex;" | Parameters
+
{{CodeDescriptionRow|&gt;|exit-alternate-keypad-mode|Exit Alternate Keypad Mode}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Enter Alternate Keypad Mode||enter-alternate-keypad-mode|<nowiki>=</nowiki>}}
+
{{CodeDescriptionRow|A|cursor-up|Cursor Up}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Exit Alternate Keypad Mode||exit-alternate-keypad-mode|&gt;}}
+
{{CodeDescriptionRow|B|cursor-down|Cursor Down}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Cursor Up||cursor-up|A}}
+
{{CodeDescriptionRow|C|cursor-right|Cursor Right}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Cursor Down||cursor-down|B}}
+
{{CodeDescriptionRow|D|cursor-left|Cursor Left}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Cursor Right||cursor-right|C}}
+
{{CodeDescriptionRow|F|enter-graphics-mode|Enter Graphics Mode}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Cursor Left||cursor-left|D}}
+
{{CodeDescriptionRow|G|exit-graphics-mode|Exit Graphics Mode}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Enter Graphics Mode||enter-graphics-mode|F}}
+
{{CodeDescriptionRow|H|cursor-home|Cursor Home}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Exit Graphics Mode||exit-graphics-mode|G}}
+
{{CodeDescriptionRow|I|reverse-line-feed|Reverse Line Feed}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Cursor Home||cursor-home|H}}
+
{{CodeDescriptionRow|J|erase-to-end-of-screen|Erase to End-of-Screen}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Reverse Line Feed||reverse-line-feed|I}}
+
{{CodeDescriptionRow|K|erase-to-end-of-line|Erase to End-of-Line}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Erase to End-of-Screen||eraser-to-end-of-screen|J}}
+
{{CodeDescriptionRow|Y|direct-cursor-addressing|Direct Cursor Addressing|''line'' ''column''}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Erase to End-of-Line||erase-to-end-of-line|K}}
+
{{CodeDescriptionRow|Z|identify-terminal-type|Identify Terminal Type}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Direct Cursor Addressing|''line'' ''column''|direct-cursor-addressing|Y}}
+
{{CodeDescriptionRow|[|enter-hold-screen-mode|Enter Hold Screen Mode}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Identify Terminal Type||identify-terminal-type|Z}}
+
{{CodeDescriptionRow|\|exit-hold-screen-mode|Exit Hold Screen Mode}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Enter Hold Screen Mode||enter-hold-screen-mode|[}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Exit Hold Screen Mode||exit-hold-screen-mode|\}}
 
 
|}
 
|}
 
|
 
|
Line 64: Line 62:
 
{| class="wikitable"
 
{| class="wikitable"
 
|+ ESC Sequences
 
|+ ESC Sequences
! style="padding: 1ex;" | Prefix
+
{{CodeDescriptionHeader}}
! style="padding: 1ex;" | Description
+
{{CodeDescriptionRow|A|up-arrow-key|Up Arrow Key}}
! style="padding: 1ex;" | Parameters
+
{{CodeDescriptionRow|B|down-arrow-key|Down Arrow Key}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Up Arrow Key||up-arrow-key|A}}
+
{{CodeDescriptionRow|C|right-arrow-key|Right Arrow Key}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Down Arrow Key||down-arrow-key|B}}
+
{{CodeDescriptionRow|D|left-arrow-key|Left Arrow Key}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Right Arrow Key||right-arrow-key|C}}
+
{{CodeDescriptionRow|P|left-blank-key|Left Blank Key}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Left Arrow Key||left-arrow-key|D}}
+
{{CodeDescriptionRow|Q|center-blank-key|Center Blank Key}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Left Blank Key||left-blank-key|P}}
+
{{CodeDescriptionRow|R|right-blank-key|Right Blank Key}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Center Blank Key||center-blank-key|Q}}
+
{{CodeDescriptionRow|/|identify-response|Identify Report|[[#identify-parameter|''type'']]}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Right Blank Key||right-blank-key|R}}
+
{{CodeDescriptionRow|?|keypad-response|Alternate Keypad Mode keys|[[#keypad-parameter|''key'']]}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Identify Report|&dagger; [[#identify-parameter|''type'']]|identify-response|/}}
 
 
|}
 
|}
 
&dagger; '''Note:''' The identify parameter is the next character transmitted immediately after <code>ESC /</code>.
 
  
 
{| id="identify-parameter" class="wikitable"
 
{| id="identify-parameter" class="wikitable"
 
|+ Identify Report Parameters
 
|+ Identify Report Parameters
! style="padding: 1ex;" | Value
+
{{ValueDescriptionHeader}}
! style="padding: 1ex;" | Description
+
{{ValueDescriptionRow|A|Identify VT50 Without Copier}}
|-
+
{{ValueDescriptionRow|C|Identify VT55}}
| style="padding: 1ex; text-align: center;" | A
+
{{ValueDescriptionRow|H|Identify VT50H Without Copier}}
| style="padding: 1ex;" | Identify VT50 Without Copier
+
{{ValueDescriptionRow|J|Identify VT50H With Copier}}
|-
+
{{ValueDescriptionRow|K|Identify VT52 Without Copier}}
| style="padding: 1ex; text-align: center;" | C
+
{{ValueDescriptionRow|L|Identify VT52 With Copier}}
| style="padding: 1ex;" | Identify VT55
+
|}
|-
+
 
| style="padding: 1ex; text-align: center;" | H
+
{| id="keypad-parameter" class="wikitable"
| style="padding: 1ex;" | Identify VT50H Without Copier
+
|+ Alternate Keypad Mode Parameters
|-
+
{{ValueDescriptionHeader}}
| style="padding: 1ex; text-align: center;" | J
+
{{ValueDescriptionRow|N|ENTER (CR)}}
| style="padding: 1ex;" | Identify VT50H With Copier
+
{{ValueDescriptionRow|n|Period (.)}}
|-
+
{{ValueDescriptionRow|p|Zero (0)}}
| style="padding: 1ex; text-align: center;" | K
+
{{ValueDescriptionRow|q|One (1)}}
| style="padding: 1ex;" | Identify VT52 Without Copier
+
{{ValueDescriptionRow|r|Two (2)}}
|-
+
{{ValueDescriptionRow|s|Three (3)}}
| style="padding: 1ex; text-align: center;" | L
+
{{ValueDescriptionRow|t|Four (4)}}
| style="padding: 1ex;" | Identify VT52 With Copier
+
{{ValueDescriptionRow|u|Five (5)}}
 +
{{ValueDescriptionRow|v|Six (6)}}
 +
{{ValueDescriptionRow|w|Seven (7)}}
 +
{{ValueDescriptionRow|x|Eight (8)}}
 +
{{ValueDescriptionRow|y|Nine (9)}}
 
|}
 
|}
  
 
|}
 
|}
 +
 +
VT52 parameters immediately follow the control sequence prefix.

Latest revision as of 05:12, 15 February 2013

Subpages of ESC

Received
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL
Transmitted
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL
ESC Sequences
Prefix Description Parameters
= Enter Alternate Keypad Mode none
> Exit Alternate Keypad Mode none
A Cursor Up none
B Cursor Down none
C Cursor Right none
D Cursor Left none
F Enter Graphics Mode none
G Exit Graphics Mode none
H Cursor Home none
I Reverse Line Feed none
J Erase to End-of-Screen none
K Erase to End-of-Line none
Y Direct Cursor Addressing line column
Z Identify Terminal Type none
[ Enter Hold Screen Mode none
\ Exit Hold Screen Mode none
ESC Sequences
Prefix Description Parameters
A Up Arrow Key none
B Down Arrow Key none
C Right Arrow Key none
D Left Arrow Key none
P Left Blank Key none
Q Center Blank Key none
R Right Blank Key none
/ Identify Report type
? Alternate Keypad Mode keys key
Identify Report Parameters
Value Description
A Identify VT50 Without Copier
C Identify VT55
H Identify VT50H Without Copier
J Identify VT50H With Copier
K Identify VT52 Without Copier
L Identify VT52 With Copier
Alternate Keypad Mode Parameters
Value Description
N ENTER (CR)
n Period (.)
p Zero (0)
q One (1)
r Two (2)
s Three (3)
t Four (4)
u Five (5)
v Six (6)
w Seven (7)
x Eight (8)
y Nine (9)

VT52 parameters immediately follow the control sequence prefix.