1 Control Codes and Escape Sequences supported by pcvt
2 ===============================================================================
5 -------------------------------------------------------------------------------
17 BS (0x08) move one character position to the left
20 HT (0x09) move to next tab stop
22 LF (0x0a) move to next line, same column
23 VT (0x0b) move to next line, same column
24 FF (0x0c) move to next line, same column
26 CR (0x0d) move to left margin on current column
28 SO (0x0e) invoke character set G1 into GL
29 SI (0x0f) invoke character set G0 into GL
40 CAN (0x18) abort current escape sequence
44 SUB (0x1a) abort current escape sequence
46 ESC (0x1b) start of escape sequence
53 VT220 control codes in the range 0x80 .. 0x9f are completely ignored,
54 but displayed as C1 display controls.
57 ESCAPE SEQUENCES DIGITAL EQUIPMENT
58 -------------------------------------------------------------------------------
60 (ni) = not implemented yet, all hooks available inside emulator!
61 <p> = numeric parameter
63 ESC space F select 7-bit c1 control transmission (ni)
64 ESC space G select 8-bit c1 control transmission (ni)
66 ESC # 3 double height top half (ni)
67 ESC # 4 double height bottom half (ni)
68 ESC # 5 single width single height (ni)
69 ESC # 6 double width single height (ni)
71 ESC # 8 fill screen with 'E's
77 ESC = keypad application mode
79 ESC > keypad numeric mode
85 ESC H set tab at cur col
95 ESC d Only available if PCVT_SETCOLOR was defined when
96 compiling the kernel, allows to set custom color table
97 for more info, see pcvt_out.c ...
101 ESC n Lock Shift G2 -> GL
103 ESC o Lock Shift G3 -> GL
105 ESC } Lock Shift G2 -> GR
107 ESC | Lock Shift G3 -> GR
109 ESC ~ Lock Shift G1 -> GR
111 ESC [ ? <p> h set dec private modes
112 ESC [ ? <p> l reset dec private modes
113 1 CKM - cursor key mode
115 7 AWM - auto wrap mode
117 ESC [ <p> ' z DECELR - Enable Locator Report (ni)
119 ESC [ <p> ' { DECSLE - Select type of locator events (ni)
121 ESC [ ? n Terminal Reports
123 ESC [ ? K selective erase in line
125 ESC [ ? J selective erase in display
127 ESC [ <p> @ insert char(s)
129 ESC [ <p> A cursor up
131 ESC [ <p> B cursor down
133 ESC [ <p> C cursor forward
135 ESC [ <p> D cursor backward
137 ESC [ <p> H cursor direct cursor addressing
139 ESC [ <p> J erase screen
141 ESC [ <p> K erase line
143 ESC [ <p> L insert line
145 ESC [ <p> M delete line
147 ESC [ <p> P delete char
149 ESC [ <p> S scroll up
151 ESC [ <p> T scroll down
153 ESC [ <p> X erase character
155 ESC [ <p> c device attributes
157 ESC [ <p> f direct cursor addressing
159 ESC [ <p> g clear tabs
162 ESC [ <p> l reset mode
163 4 IRM - insert replacement mode
164 20 LNM - line feed / newline mode
166 ESC [ <p> i media copy (ni)
168 ESC [ <p> m select graphic rendition
169 0 reset to normal attributes
178 30-37 foreground colors (on color display)
179 40-47 background colors (on color display)
181 ESC [ <p> n device status report
183 ESC [ <p> r set scrolling region
185 ESC [ <p> x request / report terminal parameters
187 ESC [ <p> y invoke selftests (ni)
190 ESC [ x request/report parameters
191 ESC [ y invoke seftest(s)
196 ESC ( <p> designate G0
197 ESC ) <p> designate G1
198 ESC * <p> designate G2
199 ESC + <p> designate G3
200 ESC - <p> designate G1 (96)
201 ESC . <p> designate G2 (96)
202 ESC / <p> designate G3 (96)
203 A British or ISO-Latin-1
218 2 alt ROM, spec graphics
219 3 HP Roman 8, upper 128 chars*/
226 ESCAPE SEQUENCES HEWLETT-PACKARD
227 -------------------------------------------------------------------------------
229 ESC&f<attr>a<key>k<llen>d<slen>L<label><string> set function key label
231 attr = attribute, 0 - normal (not implemented)
232 1 - local only (not implemented)
233 2 - transmit only (not implemented)
235 key = function key number, range 1 .. 8
237 llen = label string length
239 slen = string string length
241 label = label data (up to 16 chars per label)
243 string = string to send data (up to 80 chars per label)
249 ESC&f0a1k16d1LFUNCTION KEY 0
251 sets function key label 1 to "FUNCTION KEY ".
252 should program fkey 1 to emit "0" on keypress
255 ESC&j<parm> function key operations
257 parm = '@' remove the function key labels from screen
259 parm = 'A' display the modes set of function key labels
261 parm = 'B' enable & display user function key labels
263 parm = 'C' clear message & restore the current key labels
265 parm = 'R' enable usr/sys and menu and label modes
267 parm = 'S' disable usr/sys and menu and label modes