blob: 8e0e2c77e6d7015343e5bf64b864ff511bf4d397 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
|
Control Codes and Escape Sequences supported by pcvt
===============================================================================
CONTROL CODES
-------------------------------------------------------------------------------
NUL (0x00) ignored
SOH (0x01) ignored
STX (0x02) ignored
ETX (0x03) ignored
EOT (0x04) ignored
ENQ (0x05) ignored
ACK (0x06) ignored
BEL (0x07) beep
BS (0x08) move one character position to the left
until at left margin
HT (0x09) move to next tab stop
LF (0x0a) move to next line, same column
VT (0x0b) move to next line, same column
FF (0x0c) move to next line, same column
CR (0x0d) move to left margin on current column
SO (0x0e) invoke character set G1 into GL
SI (0x0f) invoke character set G0 into GL
DLE (0x10) ignored
DC1 (0x11) ignored
DC2 (0x12) ignored
DC3 (0x13) ignored
DC4 (0x14) ignored
NAK (0x15) ignored
SYN (0x16) ignored
ETB (0x17) ignored
CAN (0x18) abort current escape sequence
EM (0x19) ignored
SUB (0x1a) abort current escape sequence
ESC (0x1b) start of escape sequence
FS (0x1c) ignored
GS (0x1d) ignored
RS (0x1e) ignored
US (0x1f) ignored
VT220 control codes in the range 0x80 .. 0x9f are completely ignored,
but displayed as C1 display controls.
ESCAPE SEQUENCES DIGITAL EQUIPMENT
-------------------------------------------------------------------------------
(ni) = not implemented yet, all hooks available inside emulator!
<p> = numeric parameter
ESC space F select 7-bit c1 control transmission (ni)
ESC space G select 8-bit c1 control transmission (ni)
ESC # 3 double height top half (ni)
ESC # 4 double height bottom half (ni)
ESC # 5 single width single height (ni)
ESC # 6 double width single height (ni)
ESC # 8 fill screen with 'E's
ESC 7 save cursor
ESC 8 restore cursor
ESC = keypad application mode
ESC > keypad numeric mode
ESC D index
ESC E next line
ESC H set tab at cur col
ESC M reverse index
ESC N single shift G2
ESC O single shift G3
ESC Z who are you
ESC d Only available if PCVT_SETCOLOR was defined when
compiling the kernel, allows to set custom color table
for more info, see pcvt_out.c ...
ESC c power up reset
ESC n Lock Shift G2 -> GL
ESC o Lock Shift G3 -> GL
ESC } Lock Shift G2 -> GR
ESC | Lock Shift G3 -> GR
ESC ~ Lock Shift G1 -> GR
ESC [ ? <p> h set dec private modes
ESC [ ? <p> l reset dec private modes
1 CKM - cursor key mode
6 OM - origin mode
7 AWM - auto wrap mode
ESC [ <p> ' z DECELR - Enable Locator Report (ni)
ESC [ <p> ' { DECSLE - Select type of locator events (ni)
ESC [ ? n Terminal Reports
ESC [ ? K selective erase in line
ESC [ ? J selective erase in display
ESC [ <p> @ insert char(s)
ESC [ <p> A cursor up
ESC [ <p> B cursor down
ESC [ <p> C cursor forward
ESC [ <p> D cursor backward
ESC [ <p> H cursor direct cursor addressing
ESC [ <p> J erase screen
ESC [ <p> K erase line
ESC [ <p> L insert line
ESC [ <p> M delete line
ESC [ <p> P delete char
ESC [ <p> S scroll up
ESC [ <p> T scroll down
ESC [ <p> X erase character
ESC [ <p> c device attributes
ESC [ <p> f direct cursor addressing
ESC [ <p> g clear tabs
ESC [ <p> h set mode
ESC [ <p> l reset mode
4 IRM - insert replacement mode
20 LNM - line feed / newline mode
ESC [ <p> i media copy (ni)
ESC [ <p> m select graphic rendition
0 reset to normal attributes
1 bold
4 underline
5 blinking
7 reverse
22 bold off
24 underline off
25 blinking off
27 reverse off
30-37 foreground colors (on color display)
40-47 background colors (on color display)
ESC [ <p> n device status report
ESC [ <p> r set scrolling region
ESC [ <p> x request / report terminal parameters
ESC [ <p> y invoke selftests (ni)
ESC [ x request/report parameters
ESC [ y invoke seftest(s)
ESC [ " q SCA
ESC [ ! p SCA
ESC ( <p> designate G0
ESC ) <p> designate G1
ESC * <p> designate G2
ESC + <p> designate G3
ESC - <p> designate G1 (96)
ESC . <p> designate G2 (96)
ESC / <p> designate G3 (96)
A British or ISO-Latin-1
B USASCII
C Finnish
5 Finnish
E Norwegian/Danish
6 Norwegian/Danish
H Swedish
7 Swedish
K German
Q French Canadien
R French
Y Italian
Z Spanish
0 special graphics
1 alternate ROM
2 alt ROM, spec graphics
3 HP Roman 8, upper 128 chars*/
4 Dutch
< DEC Supplemental
= Swiss
> DEC Technical
ESCAPE SEQUENCES HEWLETT-PACKARD
-------------------------------------------------------------------------------
ESC&f<attr>a<key>k<llen>d<slen>L<label><string> set function key label
attr = attribute, 0 - normal (not implemented)
1 - local only (not implemented)
2 - transmit only (not implemented)
key = function key number, range 1 .. 8
llen = label string length
slen = string string length
label = label data (up to 16 chars per label)
string = string to send data (up to 80 chars per label)
(not implemented)
EXAMPLE:
========
ESC&f0a1k16d1LFUNCTION KEY 0
sets function key label 1 to "FUNCTION KEY ".
should program fkey 1 to emit "0" on keypress
ESC&j<parm> function key operations
parm = '@' remove the function key labels from screen
parm = 'A' display the modes set of function key labels
parm = 'B' enable & display user function key labels
parm = 'C' clear message & restore the current key labels
parm = 'R' enable usr/sys and menu and label modes
parm = 'S' disable usr/sys and menu and label modes
|