1 Article 248 of comp.terminals:
2 Newsgroups: comp.terminals
3 Path: cs.utk.edu!gatech!udel!bogus.sura.net!opusc!usceast!chan
4 From: chan@ece.scarolina.edu (Simon Chan)
5 Subject: VT100 Reference Card !! ( if you are looking for....)
6 Message-ID: <chan.728236678@hertz>
7 Keywords: vt100 terminal escape codes
8 Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
9 Organization: USC Department of Computer Science
10 Date: 28 Jan 93 15:57:58 GMT
15 Taken from VT100 Programming Reference Card (DIGITAL)
19 Cursor Movement Commands
21 Cursor down ESC [ Pn B
22 Cursor forward (right) ESC [ Pn C
23 Cursor backward (left) ESC [ Pn D
24 Direct cursor addressing ESC [ Pl; Pc H or
29 Save cursor and attributes ESC 7
30 Restore cursor and attributes ESC 8
31 * Pn = decimal parameter in string of ASCII digits.(default 1)
32 * Pl = line number (default 0); Pc = column number (default 0)
34 Line Size (Double-Height and Double-Width) Commands
35 Change this line to double-height top half ESC # 3
36 Change this line to double-height bottom half ESC # 4
37 Change this line to single-width single-height ESC # 5
38 Change this line to double-width single-height ESC # 6
41 ESC [ Ps;Ps;Ps;...,Ps m
42 Ps = 0 or None All Attributes Off
47 Any other parameter values are ignored.
50 From cursor to end of line ESC [ K or ESC [ 0 K
51 From beginning of line to cursor ESC [ 1 K
52 Entire line containing cursor ESC [ 2 K
53 From cursor to end of screen ESC [ J or ESC [ 0 J
54 From beginning of screen to cursor ESC [ 1 J
55 Entire screen ESC [ 2 J
59 Ps = 0 or None All LEDs Off
64 Any other parameter values are ignored.
66 Character Set (G0 and G1 Designators)
67 Charactor Set G0 Designator G1 Designator
68 United Kingdom (UK) ESC ( A ESC ) A
69 United States (USASCII) ESC ( B ESC ) B
70 Special graphics characters ESC ( 0 ESC ) 0
72 Alternate character ROM ESC ( 1 ESC ) 1
73 Alternate character ROM ESC ( 2 ESC ) 2
74 special graphics characters
78 Pt is the number of the top line of the scrolling region;
79 Pb is the number of the bottom line of the scrolling region
80 and must be greater than Pt.
81 (The default for Pt is line 1, the default for Pb is the end
85 Set tab at current column ESC H
86 Clear tab at curent column ESC [ g or ESC [ 0 g
87 Clear all tabs ESC [ 3 g
91 Mode Name Mode Sequence Mode Sequence
92 Line feed/new line New line ESC [20h Line feed ESC [20l
93 Cursor key mode Application ESC [?1h Cursor ESC [?l
94 ANSI/VT52 mode ANSI N/A VT52 ESC [?2l
95 Column mode 132 Col ESC [?3h 80 Col ESC [?3l
96 Scrolling mode Smooth ESC [?4h Jump ESC [?4l
97 Screen mode Reverse ESC [?5h Normal ESC [?5l
98 Origin mode Relative ESC [?6h Absolute ESC [?6l
99 Wraparound On ESC [?7h Off ESC [?7l
100 Auto repeat On ESC [?8h Off ESC [?8l
101 Interlace On ESC [?9h Off ESC [?9l
102 Graphic proc. option On ESC 1 Off ESC 2
103 Keypad mode Application ESC = Numeric ESC >
106 Cursor Position Report
108 Response is ESC [ Pl; Pc R
109 * Pl = line number; Pc = column number
113 Response is ESC [ 0 n (terminal ok)
114 ESC [ 3 n (terminal not ok)
117 Invoked by ESC [ c or ESC [ O c
118 Response is ESC [ ?1 ; Ps C
119 Ps = 0 Base VT100, no options
120 1 Processor option (STP)
121 2 Advanced Video option (AVO)
123 4 Graphocs processor option (GO)
127 Alternately invoked by ESC Z (not recommended.) Response is the same.
133 Fill Screen with "Es" ESC # 8
134 Invoke Test(s) ESC [ 2 ; Ps y
135 Ps = 1 Power-up self test
136 (ROM checksum, RAM, NVR,
137 keyboard and AVO if installed)
138 2(loop back connector required) Data Loop Back
139 4(loop back connector required) ETA Modern Control Test
140 8 Repeat selected test(s)
142 (until failure or power off)
149 Select Special Graphics character set ESC F
150 Select ASCII character set ESC G
152 Reverse line feed ESC I
153 Erase to end of screen ESC J
154 Erase to end of line ESC K
155 Direct cursor address ESC Ylc (see note 1)
156 Identify ESC Z (see note 2)
157 Enter alternate keypad mode ESC =
158 Exit alternate keypad mode ESC >
159 Enter ANSI mode ESC <
161 NOTE 1: Line and column numbers for direct cursor address are single
162 character codes whose values are the desired number plus
163 37 (in Octal). Line and column numbers start at 1.
164 NOTE 2: Response to ESC Z is ESC / Z.
168 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
169 Simon Chan chan@ece.scarolina.edu
170 Department of Electrical & Computer Engineering
171 Swearingen Engineering Centre
172 University of South Carolina
173 Coulmbia, South Carolina 29208
174 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
177 Article 269 of comp.terminals:
178 Path: cs.utk.edu!gatech!news.ans.net!cmcl2!adm!smoke!gwyn
179 From: gwyn@smoke.brl.mil (Doug Gwyn)
180 Newsgroups: comp.terminals
181 Subject: Re: VT100 Reference Card !!
182 Keywords: vt100 terminal escape codes
183 Message-ID: <19629@smoke.brl.mil>
184 Date: 1 Feb 93 15:01:49 GMT
185 References: <chan.728236678@hertz>
186 Organization: U.S. Army Ballistic Research Lab, APG MD.
189 In article <chan.728236678@hertz> chan@ece.scarolina.edu (Simon Chan) writes:
190 >Taken from VT100 Programming Reference Card (DIGITAL)
192 Note that EK-VT100-RC-001 contains several errors and omissions.
193 The errors appear to all be fixed in the posted version.
194 Here are some additions:
196 Parameters to Direct cursor addressing can be omitted if 1.
197 "Index" is broken if NEWLINE is enabled (set-up).
198 "Reverse index" scrolls up retaining the same column.
200 CHARACTER SET DESIGNATORS: G0 = Shift-In, G1 = Shift-Out
202 > ANSI/VT52 mode ANSI N/A VT52 ESC [?2l
203 ANSI/VT52 mode ANSI ESC < VT52 ESC [?2l
204 Modes can be combined using ";", for example "ESC [ ? 3 ; 4 ; 7 h"
206 CONFIDENCE TESTS: Parameter bits are summed into one parameter.
209 Graphic processor ON ESC 1
210 Graphic processor OFF ESC 2
212 The reference card showed incorrect graphics for octal code 140; its
213 correct graphic is ` (accent grave).