1###############################################################################
2#
3# MFB CAPabilities file
4# Giles C. Billingsley, UC Berkeley
5#
6#
7# CURRENT ENTRIES
8# ***************
9#
10#  a0 or A0	AED 767 with 8-bit encoding
11#  a1 or A1	AED 767 with 8-bit encoding and joystick
12#  a2 or A2	AED 767 with 8-bit encoding and 4 button tablet
13#  a6 or A6	AED 512 with 8-bit encoding for standard version 97
14#		compatible ROM set
15#  a7 or A7	AED 512 with 8-bit encoding and joystick for standard
16#		version 97 compatible ROM set
17#  a8 or A8	AED 512 with 8-bit encoding and 4 button tablet for
18#		standard version 97 compatible ROM set
19#  af or AF	AED 512 with 8-bit encoding for Berkeley Evans Hall ROM set
20#  ae or AE	AED 512 with 8-bit encoding and 4 button table for Berkeley
21#		Evans Hall ROM set
22#  j0 or J0	Jupiter 7 with 8-bit encoding
23#  j1 or J1	Jupiter 7 with 8-bit encoding and joystick
24#  j2 or J2	Jupiter 7 with 8-bit encoding and 4 button tablet
25#  j3 or J3	Jupiter 7 with 8-bit encoding and 3 button optical mouse
26#  t1 or T1	Tek 4014 with enhanced graphics module
27#  t2 or T2	Basic Tek 4113 with no pointing device
28#  t3 or T3	Tek 4113 with 4 button tablet, dialog area keyboard control
29#  t4 or T4	Tek 4113 with thumbwheels and dialog area keyboard control
30#  t5 or T5	Tek 4113 with 4 button tablet
31#  t6 or T6	Tek 4113 with thumbwheels
32#  t7 or T7     Tek 4017 with joydisk
33#  t7b or T7b   Tek 4107 with 4-button tablet
34#  ta or TA	Basic Tek 4100 family commands
35#  tb or TB	Tek 4105 with standard paddle pointing device
36#  m1 or M1	Metheus Omega 400 display controller with 4 button tablet
37#  h0 or H0	HP 2648
38#  h1 or H1	HP 2648 with 3 button tablet
39#  h2 or H2	HP 2648 with binary encoding
40#  ha or Ha	HP 9872 color pen plotter
41#  hb or HB	HP 9872 color pen plotter with maximum horizontal size
42#  d0 or D0	DEC vt125 black and white graphics terminal
43#  ax or AX	AED 512 with hex encoding for old Berkeley EECS ROM set
44#  ay or AY	AED 512 with hex encoding for old Berkeley EECS ROM set
45#  az or AZ	AED 512 with hex encoding for old Berkeley EECS ROM set
46#  aa or AA	AED 512 with 8-bit encoding for old Berkeley EECS ROM set
47#  ab or AB	AED 512 with 8-bit encoding for old Berkeley EECS ROM set
48#  ac or AC	AED 512 with 8-bit encoding for old Berkeley EECS ROM set
49#
50#
51# COMMENTS
52# ********
53#
54#     READ THE MANUAL FOR MFBCAP FOR DEVICE NAMING CONVENTIONS!
55#     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56#
57#     Specification of Font Size
58#     ^^^^^^^^^^^^^^^^^^^^^^^^^^
59#     The following diagram illustrates the meaning of GCH, GCW, GTH,
60#     and GTW.  For the font shown, GCH = 12, GCW = 6, GTH = 4,
61#     and GTW = 3.
62#
63#         _  . . . . . .     0 . . . . .
64#         |  .         .     0         .
65#         |  .         .     0         .
66#         |  . 0 0 0 0 .     0 0 0 0   .
67#         |  0         0     0       0 .
68#         |  0         0     0         0
69#        GCH 0         0     0         0
70#     _   |  . 0 0 0 0 0     0         0
71#     |   |  .         0     .         .
72#     |   |  .         0     .         .
73#    GTH  |  0         0     .         .
74#     |   |  . 0 0 0 0 .     . . . . . .
75#     -   -
76#            |---GCW---|-GTW-|
77#
78#
79#
80###############################################################################
81#
82#
83# AED TERMINALS
84#	For all of these entries, it is assumed that the AED has a
85#	seriel link to the host at 9600 baud.  The switch settings
86#	in the back of the AED should be as follows:
87#
88#		COM			OPTIONS
89#         1 2 3 4 5 6 7 8           1 2 3 4 5 6 7 8
90#         u u u d u u d u           d d d d d d d d
91#
92#	where u = up and d = down
93#
94#	If you are using a Summagraphics One bitpad, the internal DIP
95#	switches should be set as follows:
96#
97#          10 SWITCH DIP             9 SWITCH DIP         6 SWITCH
98#       1 2 3 4 5 6 7 8 9 10      1 2 3 4 5 6 7 8 9      1 2 3 4 5 6
99#       O O O O O O O O O O       O O O O O O O O O      O O O O O O
100#       F N F F F F F F F F       N F N F N F F N N      F F F F F F
101#       F   F F F F F F F F         F   F   F F          F F F F F F
102#
103#
104#
105#
106# AED 767 with eight bit binary coordinate encoding, no pointing device
107# NOTE:  AED say's that text will not work right (i.e, will destroy the
108# background rather than overstrike) if the DIP switches aren't set right
109# in the back.  See AED documentation or call AED for this info.
110# The 767 requires a 'working color' to fill polygons; to provide the
111# capability of filled polygons, the last entry in the VLT is reserved
112# and consequently the maximum number of colors is 255 (not 256).
113#
114a0|A0|BAED767-8|basic Advanced Electronics Design 767 with 8 bit binary mode,
115	8BB, TTY, APT, GTH#2, GTW#1, GTO, MXC#768, MYC#575, GCH#9,
116	GCW#6, GTS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\01,
117	GTE=\E, MFP#256, MLS#1, MCL#255, BELL=^A^G\E$<#100>,
118	GIS=\E\E0$<#2000>\E\EG1888N~\^15\06\011L$<#1000>,
119	GFS=\E\E\E\E\E\E\E\E\E\E0$<#3000>\E`\200^L^A,
120	VLT, VTI#255, VTL#8, VTE=K%X%c^A%Y%c%Z%c%T%c,
121	SCS=C%X%c[%X%c, VWM=L%X%c, GMS=$<#1000>\E\E\E\E\E\E\E\E\E\E\E\E\E\E\E\E,
122	IFP=\EG1HHHN+!00FFFFFFFFFFFFFFFF+!01FE82BAAAA2BE80FF+!021824428181422418+!032C4281818181422C+!0455AA55AA55AA55AA+!05CCCC3333CCCC3333+!065500550055005500+!07F0F0F0F00F0F0F0F\EG1888N,
123	GME=^A, GCS=`\120^L\E`\160$<#400>,
124	BLD, NBL#8, BLS=\E4%X%c%Y%c%Z%c%T%c\060\013,
125	BLE=\E4%X%c%Y%c%Z%c%T%c\060%@, SFP="%X%c, SLS=1%=#255%c%c,
126	DFP, FDH#8, FDW#8, FDR, FDE=, FDF=%Y%c, FDS=+!%X%c,
127	MPS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
128	WPX=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cT%C%c,
129	DLT=A%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
130	DCS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cO%Z%c,
131	DLS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cA%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
132	DBS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%co%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
133	PLS=!%=#255%c%Z%>>#8%&#255%c%Z%c%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
134	FPOLY, PLV=%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c, PLE=\E,
135	KYBRD, KYB=\EC%@[%@^A^H\EC%C%c[%C%c^A, KYX#3, KYY#1,
136	KYS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\E^A, KYE=\E,
137#
138# AED 767 with joystick and 8 bit binary coordinate encoding
139#
140a1|A1|AED767J8|Advanced Electronics Design 767 with joystick and 8 bit mode,
141	POD, PDF=%h1%<<#8%R%>>#2%&#768%X%h2%|%X%X%h2%|%R%&#1023%Y,
142	PDS=\EG1HHHNc%X%h2%Y%h2\050U, PDE=dG1888N\E\E, PDR=j, PRI,
143	MCE=A0,
144#
145# AED 767 with tablet and 8 bit binary coordinate encoding
146#
147a2|A2|AED767T8|Advanced Electronics Design 767 with tablet and 8 bit mode,
148	PDB, NPB#4, PDS=\EG1HHHNc%X%h2%Y%h2022019001F42828, PDE=3%@G1888N\E,
149	BU1#1, BU2#2, BU3#4, BU4#8, POD, PDR=3^B, PDF=^B%h2%T%h4%X%h4%Y, MCE=A0,
150#
151#
152#
153# The following AED entries are for release 97 compatible PROMS
154#
155# AED with 8 bit binary coordinate encoding, no pointing device,
156# Release 97 compatible standard AED ROM set
157#
158a6|A6|BAED8|BAED512-8|basic Advanced Electronics Design 512 with 8 bit mode,
159	8BB, TTY, APT, GTH#2, GTW#2, GTO, MXC#511, MYC#482, GCH#8,
160	GCW#5, GTS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c^A,
161	GTE=\E, MFP#256, MLS#2, MCL#256, BELL=^A^G\E$<#100>,
162	GIS=\E\E\E\E\E\E\E\E\E\E0$<#2500>\E`\160\^15\06\011LG1888N,
163	GFS=\E\E\E\E\E\E\E\E\E\E0$<#2500>\E`\100^L^A,
164	VLT, VTI#255, VTL#8, VTE=K%X%c^A%Y%c%Z%c%T%c,
165	SCS=C%X%c[%X%c, VWM=L%X%c, GCS=`\120^L\E`\160$<#200>,
166	BLD, NBL#8, BLS=\E4%X%c%Y%c%Z%c%T%c\060\013,
167	BLE=\E4%X%c%Y%c%Z%c%T%c\060%@, SFP="%X%c,
168	DFP, FDH#8, FDW#8, FDR, FDE=, FDF=%Y%c, FDS=+!%X%c,
169	MPS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
170	WPX=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cT%C%c,
171	DLT=A%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
172	DCS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cO%Z%c,
173	DLS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cA%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
174	DBS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%co%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
175	IFP=\EG1HHHN+!00FFFFFFFFFFFFFFFF+!01FE82BAAAA2BE80FF+!021824428181422418+!032C4281818181422C+!0455AA55AA55AA55AA+!05CCCC3333CCCC3333+!065500550055005500+!07F0F0F0F00F0F0F0F\EG1888N,
176	PLS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
177	PLV=A%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
178	PLE=A%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\E,
179	DLP, LDL#1, LDF=1%Y%c%=#255%c, SFP="%X%c, SSLS=1%=#255%c%c,
180	KYBRD, KYB=\EC%@[%@^A^H\EC%C%c[%C%c^A, KYX#3, KYY#1,
181	KYS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\E^A$<#5>, KYE=\E,
182#
183# AED with joystick and 8 bit binary coordinate encoding.
184# Release 97 compatible standard AED ROM set
185#
186a7|A7|AEDJ8|AED512J8|Advanced Electronics Design 512 with joystick & 8 bit mode,
187	PDF=%h1%<<#8%R%>>#2%&#768%X%h2%|%X%X%h2%|%R%&#1023%Y,
188	POD, PDS=\EG1HHHN$<#20>c%X%h2%Y%h2\002U, PDE=dG1888N$<#20>\E,
189	PDR=j, PRI, MCE=BAED8,
190#
191# AED with four button mouse and 8 bit binary coordinate encoding.
192# Release 97 compatible standard AED ROM set
193#
194a8|A8|AEDT8|AED512T8|Advanced Electronics Design 512 with tablet and 8 bit mode,
195	PDB, NPB#4, PDS=\EG1HHHNc%X%h2%Y%h2022019001F42828, PDE=3%@G1888N\E,
196	POD, BU1#1, BU2#2, BU3#4, BU4#8, PDR=3\002,
197	PDF=\002%h2%T%h4%X%h4%Y, MCE=BAED8,
198#
199#
200#
201# AED definition for the Berkeley ROM set developed by Jim McCormick
202# (Evans Hall AED's)
203# This ROM set supports raster commands but without ALU modes.
204#
205af|AF|BAED8E|basic Advanced Electronics Design 512 with 8 bit mode (Evans Hall),
206	8BB, TTY, APT, GTH#2, GTW#2, GTO, MXC#510, MYC#482, GCH#8,
207	GCW#5, GTS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c^A,
208	GTE=\E, MFP#256, MLS#2, MCL#256, SCS=C%X%c[%X%c,
209	GIS=\E\E\E\E\E\E\E\E\E\E0$<#3000>\E`\160\^15\06\011LG1888N,
210	GFS=\E\E\E\E\E\E\E\E\E\E0$<#3000>\E`\100^L^A,
211	VLT, VTI#255, VTL#8, VTE=K%X%c^A%Y%c%Z%c%T%c, VWM=L%X%c,
212	GCS=`\120^L\E`\160$<#200>, BELL=^A^G\E$<#100>,
213	DFP, FDH#8, FDW#8, FDR, FDE=, FDF=%Y%c, FDS=\,%X%c,
214	MPS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
215	WPX=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cT%C%c,
216	DLT=A%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
217	DCS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cO%Z%c,
218	DLS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cA%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
219	DBS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%co%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
220	IFP=\EG1HHHN\,00FFFFFFFFFFFFFFFF\,01FE82BAAAA2BE80FF\,021824428181422418\,032C4281818181422C\,0455AA55AA55AA55AA\,05CCCC3333CCCC3333\,065500550055005500\,07F0F0F0F00F0F0F0F\EG1888N,
221	DLP, LDL#1, LDF=1%Y%c%=#255%c, SSLS=1%=#255%c%c,
222	KYBRD, KYB=\EC%@[%@^A^H\EC%C%c[%C%c^A, KYX#3, KYY#1,
223	KYS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\E^A$<#5>, KYE=\E,
224	BLD, NBL#8, BLS=\E4%X%c%Y%c%Z%c%T%c\060\013,
225	BLE=\E4%X%c%Y%c%Z%c%T%c\060%@, SFP="%X%c,
226	PLS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
227	PLV=A%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
228	PLE=A%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\E,
229	RSCPS=^X, RSCSF, OFFMX#0, OFFMY#483, OFFDX#511, OFFDY#29,
230	RSSRC=%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
231	RSDST=%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
232#
233# AED with Evans Hall ROM Set, tablet, and 8 bit binary encoding
234# The joystick does not work with this ROM ste.
235#
236ae|AE|AEDTE8|Advanced Electronics Design 512 with tablet and 8 bit mode,
237	PDB, NPB#4, PDS=\EG1HHHNc%X%h2%Y%h2022019001F42828, PDE=3%@G1888N\E,
238	POD, BU1#1, BU2#2, BU3#4, BU4#8, PDR=3\002,
239	PDF=\002%h2%T%h4%X%h4%Y, MCE=BAED8E,
240###############################################################################
241#
242#
243# JUPITER TERMINALS
244#	For all of these entries, it is assumed that the Jupiter 7
245#	has a seriel link to the host at 9600 baud.
246#
247#
248# Jupiter 7 with eight bit binary coordinate encoding, no pointing device.
249# The Jupiter 7 is similar to the AED 767.
250#
251j0|J0|BJUP7-8|basic Jupiter 7 with 8 bit binary mode,
252	8BB, TTY, APT, GTH#2, GTW#1, GTO, MXC#768, MYC#575, GCH#9,
253	GCW#6, GTS=\EQ%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\01,
254	GTE=\E, MFP#16, MLS#1, MCL#256, BELL=^A^G\E$<#100>,
255	GIS=\E\E0$<#2000>\E\EG1888N~\^15\06\011L$<#1000>\E,
256	GFS=\E\E\E\E\E\E\E\E\E\E0$<#3000>\E`\200^L^A,
257	VLT, VTI#255, VTL#8, VTE=\EK%X%c^A%Y%c%Z%c%T%c, SCS=\EC%X%c[%X%c,
258	VWM=\EL%X%c, GMS=$<#900>\E\E\E\E\E\E\E\E\E\E\E\E\E\E\E\E$<#900>,
259	IFP=\EG1HHHN+!00FFFFFFFFFFFFFFFF+!01FE82BAAAA2BE80FF+!021824428181422418+!032C4281818181422C+!0455AA55AA55AA55AA+!05CCCC3333CCCC3333+!065500550055005500+!07F0F0F0F00F0F0F0F\EG1888N,
260	GCS=\E`\120^L\E`\160$<#400>,
261	BLD, NBL#8, BLS=\E4%X%c%Y%c%Z%c%T%c\060\013,
262	BLE=\E4%X%c%Y%c%Z%c%T%c\060%@, SFP=\E"%X%c, SLS=\E1%=#255%c%c,
263	DFP, FDH#8, FDW#8, FDR, FDE=\E, FDF=%Y%c, FDS=\E+!%X%c,
264	MPS=\EQ%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
265	WPX=\EQ%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cT%C%c,
266	DLT=\EA%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
267	DCS=\EQ%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cO%Z%c,
268	DLS=\EQ%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cA%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
269	DBS=\EQ%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%co%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
270	PLS=\E!%Z%>>#8%&#255%c%Z%c%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
271	FPOLY, PLV=%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c, PLE=\E,
272	KYBRD, KYB=\EC%@[%@^A^H\EC%C%c[%C%c^A, KYX#3, KYY#1,
273	KYS=\EQ%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\E^A, KYE=\E,
274#
275# Jupiter 7 with joystick and 8 bit binary encoding
276#
277j1|J1|JUP7-J|JUP7-J8|Jupiter 7 with joystick and 8 bit mode,
278	POD, PDF=%h1%<<#8%R%>>#2%&#768%X%h2%|%X%X%h2%|%R%&#1023%Y,PRI,
279	PDS=\EG1HHHNc%X%h2%Y%h2\050U, PDE=\EdG1888N\E\E, PDR=\Ej, MCE=J0,
280#
281# Jupiter 7 with tablet and 8 bit binary coordinate encoding (NEVER TESTED)
282#
283j2|J2|JUP7-T|JUP7-T8|Jupiter 7 with tablet and 8 bit mode,
284	PDB, NPB#4, PDS=\EG1HHHNc%X%h2%Y%h2022019001F42828, PDE=\E3%@G1888N\E,
285	BU1#1, BU2#2, BU3#4, BU4#8, POD, PDR=3^B, PDF=^B%h2%T%h4%X%h4%Y, MCE=J0,
286#
287# Jupiter 7 with 3 button optical mouse and 8 bit binary coordinate encoding
288#
289j3|J3|JUP7-O|JUP7-O8|Jupiter 7 with 3 button optical mouse and 8 bit mode,
290	PDB, NPB#3, PDS=\EG1HHHNc%X%h2%Y%h2022019001F42828, PDE=3%@G1888N\E,
291	BU1#2, BU2#4, BU3#1, POD, PDR=3^B, PDF=^B%h2%T%h4%X%h4%Y, MCE=J0,
292###############################################################################
293#
294#
295#
296#
297# TEKTRONIX TERMINALS
298#
299# Tektronix 4010 with thumbwheels
300#
301t0|T0|4010|TEK4010|Tektronix 4010 hack
302	APT, TTY, MLS#9, MCL#9, MXC#4095, MYC#3071, MFP#8,
303	GIS=\E\E\E\E\E\E\E\E\E^L\E^]\E;, GFS=\E\E\E\\EE\E\E\E\E9\E^L\E^_,
304	DLS=\E^]\E`%t1%t2, MPS=\E^]\E`%t1, DLT=%t1,
305	DSB=\E^]\E`%t1%Z%R%t4%t2%T%R%t3%t1,
306	WPX=\E^]\E`%t1%t1, PLS=\E^]\E`%t1, PLV=%t1, PLE=%t1\E,
307	GTS=\E^]%t1\E^_, GTE=\E^], GCW#30, GCH#50,
308	KYBRD, KYS=\E^]%t1\E^_, KYE=\E^], BELL=\E^_^G\E^],
309	POD, PDS=\E\E\E\E^], PDR=\E^Z, PDE=\E\E\E\E^],
310	PDF=%c%Z%c%&#31%<<#5%R%c%&#31%|%R%*#4%X%c%&#31%<<#5%R%c%&#31%|%R%*#4%Y,
311	GCS=\E^L$<#1000>\E\E\E\E\E^],
312#
313# Tektronix 4014 with thumbwheels
314#
315t1|T1|4014-1E|TEK4014-1E|Tektronix 4014-1 with enhanced graphics module,
316	APT, TTY, MLS#1, MCL#1, MXC#4095, MYC#3071, MFP#8,
317	GIS=\E\E\E\E\E\E\E\E\E^L\E^]\E;, GFS=\E\E\E\\EE\E\E\E\E9\E^L\E^_,
318	DLS=\E^]\E`%t1%t2, MPS=\E^]\E`%t1, DLT=%t1,
319	DSB=\E^]\E`%t1%Z%R%t4%t2%T%R%t3%t1,
320	WPX=\E^]\E`%t1%t1, PLS=\E^]\E`%t1, PLV=%t1, PLE=%t1\E,
321	GTS=\E^]%t1\E^_, GTE=\E^], GCW#30, GCH#50,
322	KYBRD, KYS=\E^]%t1\E^_, KYE=\E^], BELL=\E^_^G\E^],
323	POD, PDS=\E\E\E\E^], PDR=\E^Z, PDE=\E\E\E\E^],
324	PDF=%c%Z%c%&#31%<<#5%R%c%&#31%|%R%*#4%X%c%&#31%<<#5%R%c%&#31%|%R%*#4%Y,
325	GCS=\E^L$<#1000>\E\E\E\E\E^],
326#
327# Tektronix 4113 with no pointing device, no keyboard
328#	The keyboard is defined with the pointing device to allow the
329#	option of not using the dialog area.
330#	The QUEUSIZE is set to 8K; there must be at least that much memory.
331#
332t2|T2|BAS4113|BAS-T4113|BAS-TEK4113|basic Tektronix 4113,
333	TTY, APT, MCL#16, MFP#32767, MLS#8, DFP,
334	KYBRD, GCS=\ERR `` @#ow$_%C%ti$<#200>,
335	GIS=\E\E\E\E^]\ENC00\ENT1=\ENF3\EIM1\ENQH@0\ENU0\ERD14\ERG1>1B02B=3C84D35D>6E87F4\ERU!;6\ERW `` @#ow$_\ERS `` @#ow$_\ERA107\ERB0\ETM111\ETG1B00000100E420D9>3F00F04F4005F0F0060F0F07F4F4F4\EIS!20$<#1000>\ELM0\ELS1\ELV0\ELI700\EKA1\EMC451\EMG1\EMQ2\EMT1\EML1\EMS113,
336	GFS=\E\EKL0\ERW '' @8on?_\ETM331\ETG1C<10F402G8C2F43O0C2F440C2F45R<C2F46C<C2F47K4C2F48I6C2F49M2C2F4:P>C2F4;T:C2F4<A>C2F4=E:C2F4>0B10?0D20\ELI144\ELV1\EMG0\EMT1\EKA1\EID!$<#1000>\E^_\E^L,
337	VLT, VTL#4, VTI#100, VTE=\ETG!4%X%ti%Y%ti%Z%ti%T%ti,
338	FDW#8, FDH#8, FDS=\EMD%X%ti886, FDE=\EME,
339	FDF=\ERP88%Y%&#1%*%C%+#48%c%Y%>>#1%&#1%*%C%+#48%c%Y%>>#2%&#1%*%C%+#48%c%Y%>>#3%&#1%*%C%+#48%c%Y%>>#4%&#1%*%C%+#48%c%Y%>>#5%&#1%*%C%+#48%c%Y%>>#6%&#1%*%C%+#48%c%Y%>>#7%&#1%*%C%+#48%c,
340	MPS=\ELF%t1, DLS=\ELF%t1\ELG%t2, DSB=\ERR%t1%t2%C%ti,
341	DLT=\ELG%t1, DBS=\ELP%t10^]%Z%R%t4^]%t2^]%T%R%t3\ELE,
342	WPX=\ERH%t1\ERP11%C%ti, SSFP=\EMP%=#0%-%C%ti,
343	SLS=\EMV%X%ti, SFP=\EMP%X%ti, SCS=\EML%X%ti\EMT%X%ti,
344	PLSOL=\EMP%=#0%-%C%ti\ELP%t10,
345	FPOLY, PLS=\ELP%t10, PLV=^]%t1, PLE=\ELE, BELL=\E^_^G\E^],
346	GTH#2, GTO, GTR, GTW#2, GCH#7, GCW#4, ROT, RTS=\EMR%X%tr,
347	GTS=\ELF%t1\ELT%Z%ti, MXC#639, MYC#479, OFFDX#0, OFFDY#0,
348	GTE=\E, OMO=\EMG1, RMO=\EMG0, OFFMX#639, OFFMY#479,
349	ALUJAM=\ERU!;6, ALUOR=\ERU!?6, ALUNOR=\ERU!26, ALUEOR=\ERU!76,
350	RSCPS=\ERX!, RSDST=%t1, RSSRC=%t1%X%+%Z%R%Y%+%T%r%t5,
351#
352# Tektronix 4113 with 4 button mouse, dialog area keyboard
353#
354t3|T3|4113D|T4113D|TEK4113D|Tektronix 4113,
355	KYS=\ELB2\ELC%&#0%+#640%-%X%/#8%ti\ELI100\ELL2\ELX%Y%*#5%>>#7%&#31%|#32%c`%Y%*#5%>>#2%&#31%|#96%c%X%*#6%>>#7%&#31%|#32%c%X%*#6%>>#2%&#31%|#64%c\ELZ\EKA1\ELV1\E^_,
356	KYB=^H, KYE=\E^]\ELV0\EDA0\ELBB2\ELLB2\ELX `` @,
357	POD, PDB, NPB#4, PDR=\EIE81, PDS=\ERW'`z @>oi=_,
358	PDF=\002%c%T%t1%=#0%+%X%/#6%X%=#0%+%Y%-#1000%/#6%Y%c%c,
359	BU1#90, BU2#49, BU3#50, BU4#51, PDE=\012\ERW `` @#ow$_, MCE=BAS4113,
360#
361# Tektronix 4113 with thumbwheel cursor, dialog area keyboard
362#
363t4|T4|4113THD|T4113THD|TEK4113THD|Tektronix 4113 with Thumbwheels,
364	KYS=\ELB2\ELC%&#0%+#640%-%X%/#8%ti\ELI100\ELL2\ELX%Y%*#5%>>#7%&#31%|#32%c`%Y%*#5%>>#2%&#31%|#96%c%X%*#6%>>#7%&#31%|#32%c%X%*#6%>>#2%&#31%|#64%c\ELZ\EKA1\ELV1\E^_,
365	KYB=^H, KYE=\E^]\ELV0\EDA0\ELBB2\ELLB2\ELX `` @,
366	POD, PDR=\EIE01, PDF=\002%c%Z%t1%c%c, PDE=\012, MCE=BAS4113,
367#
368# Tektronix 4113 with 4 button mouse, graphtext keyboard echoing
369#
370t5|T5|4113|T4113|TEK4113|Tektronix 4113,
371	POD, PDB, NPB#4, PDR=\EIE81, PDS=\ERW'`z @>oi=_,
372	PDF=\002%c%T%t1%=#0%+%X%/#6%X%=#0%+%Y%-#1000%/#6%Y%c%c,
373	BU1#90, BU2#49, BU3#50, BU4#51, PDE=\012\ERW `` @#ow$_, MCE=BAS4113,
374#
375# Tektronix 4113 with thumbwheel cursor, graphtext keyboard echoing
376#
377t6|T6|4113TH|T4113TH|TEK4113TH|Tektronix 4113 with Thumbwheels,
378	POD, PDR=\EIE01, PDF=\002%c%Z%t1%c%c, PDE=\012, MCE=BAS4113,
379#
380##############################################################################
381#
382# Tektronix 4107 color graphics terminal with joydisc and keyboard.
383# 	No fill codes; the terminal default fill codes can be used by
384# adding the "DFP," boolean parameter.
385# PDR;  The speed of the joydisc can be changed with the IJxy parameter
386#  where x is the unshifted speed between 1 and 10 and y the shifted speed.
387# The cursor color can be changed by the TCXXX statement, where XXX
388# are the HMS numbers (000 is black).
389# is black, 111 is white.
390#  *****  last modified 5/2/84. Brian L. Biehl, Tektronix Inc. ****
391##############################################################################
392t7|T7|4107|t4107|tek4107|Tektronix 4107,
393	ALUJAM=\ERU1;6,
394	ALUOR=\ERU1?6,
395	ALUEOR=\ERU176,
396	KYBRD, KYB=^H, POD,
397	KYY#10,
398	GCH#9, GCW#7, GTH#2, GTW#1,
399	MCL#16, MFP#16, MLS#8, MXC#639, MYC#479,
400	VTL#4,
401	DSB=\ERR%t1%t2%C%ti,
402	GIS=\E\E\E\E%%!0\E^]\ENC00\ENT1=\ENF3\EIM1\ENQH@0\ENU0\ERA107\ETM111\ERW `` @#ow$_\ELM0\ELS1\ELV0\ELI700\ELZ\EKA1\EMC572\EMG0\EMQ2\EMT1\EML1\EMS113\ERD14\ERG1>1B02B=3C84D35D>6E87F4\ERU1;6\ERW `` @#ow$_\ERS `` @#ow$_\ETG1B00000100E420D9>3F00F04F4005F0F0060F0F07F4F4F4\EIS!20$<#1000>,
403	GFS=\E\EKL0\ERW '' @8on?_\ETM331\ETG1C<10F402G8C2F43O0C2F440C2F45R<C2F46C<C2F47K4C2F48I6C2F49M2C2F4:P>C2F4;T:C2F4<A>C2F4=E:C2F4>0B10?0D20\ELI144\ELV1\EMG0\EMT1\EKA1\EID!$<#1000>\E^_\E^L\ELCE0\ELLB0\ETB144\E%%!1,
404	PDF=%c%Z%c%&#31%<<#5%R%c%&#31%|%R%*#4%X%c%&#31%<<#5%R%c%&#31%|%R%*#4%Y%c,
405	PDS=\E\E\E\E^],
406	PDR=\E^Z\ETC000\EIJ59,
407	PDE=\E\E\E\E^],
408	APT, TTY, FPOLY, ROT,
409	GCS=\E^L$<#1000>\E\E\E\E\E^],
410	VLT,
411	VTI#100,
412	MPS=\ELF%=%Y%-#100%t1,
413	VTE=\ETG14%X%ti%Y%ti%Z%ti%T%ti,
414	DLS=\ELF%t1\ELG%t2,
415	BELL=\E^_^G\E^],
416	DLT=\ELG%t1,
417 	DBS=\ELP%t10\ELG%Z%R%t4\ELG%t2\ELG%T%R%t3\ELE,
418	WPX=\ERH%t1\ERP11%C%ti,
419	SSFP=\EMP%=#0%-%X%ti,
420	SLS=\EMV%X%ti,
421	SFP=\EMP%=#0%+%X%ti,
422	SCS=\EML%X%ti\EMT%X%ti,
423	PLS=\ELP%t10,
424	PLV=\ELG%t1,
425	PLE=\ELE,
426	PLSOL=\EMP%=#0%-%C%ti\ELP%t10,
427	GTO, GTR,
428	RTS=\EMR%X%tr0,
429	GTS=\ELF%t1\ELT%Z%ti,
430	GTE=$<#10>\E,
431	OMO=\EMG1,
432	RMO=\EMG0,
433#
434##############################################################################
435#
436# Tektronix 4107 color graphics terminal with tablet, puck and keyboard.
437# 	No fill codes; the terminal default fill codes can be used by
438# adding the "DFP," boolean parameter.
439#  The cursor color can be changed by the TCXXX statement, where XXX
440# are the HMS numbers (000 is black). (In the GAS string)
441# is black, 111 is white.
442#  *****  last modified 6/5/84. Brian L. Biehl, Tektronix Inc. ****
443#  *****  debugged 1/29/85 by Doug Braun ****
444##############################################################################
445t7b|T7b|4107b|t4107b|tek4107b|Tektronix 4107b,
446	ALUJAM=\ERU1;6,
447	ALUOR=\ERU1?6,
448	ALUEOR=\ERU176,
449	POD, PDB, NPB#4,
450	KYBRD, KYB=^H,
451	BU1#90, BU2#49, BU3#50, BU4#51,
452	KYY#10,
453	GCH#9, GCW#7, GTH#2, GTW#1,
454	MCL#16, MFP#16, MLS#8, MXC#639, MYC#479,
455	VTL#4,
456	DSB=\ERR%t1%t2%C%ti,
457	GIS=\E\E\E\E%%!0\E^]\ENC00\ENT1=\ETCF4F4F4\ENF3\EIM1\ENQH@0\ENU0\ERA107\ETM111\ERW `` @#ow$_\ELM0\ELS1\ELV0\ELI700\ELZ\EKA1\EMC572\EMG0\EMQ2\EMT1\EML1\EMS113\ERD14\ERG1>1B02B=3C84D35D>6E87F4\ERU1;6\ERW `` @#ow$_\ERS `` @#ow$_\ETG1B00000100E420D9>3F00F04F4005F0F0060F0F07F4F4F4\EIS!20$<#1000>,
458	GFS=\E\EKL0\ERW '' @8on?_\ETM331\ETG1C<10F402G8C2F43O0C2F440C2F45R<C2F46C<C2F47K4C2F48I6C2F49M2C2F4:P>C2F4;T:C2F4<A>C2F4=E:C2F4>0B10?0D20\ELI677\ELV1\EMG0\EMT1\EKA1\EID!$<#1000>\E^_\E^L\ELCE0\ELLB0\ETB144\E%%!1,
459	PDR=\EIE81,
460	PDS=\ENT1=\ERW'`z @>oi=_\ERA107,
461	PDE=\ENT0\EID8\ERW `` @#ow$_,
462	PDF=\002%c%T%t1%=#0%+%X%/#6%X%=#0%+%Y%-#1000%/#6%Y%c%c,
463	APT, TTY, FPOLY, ROT,
464	GCS=\E^L$<#1000>\E\E\E\E\E^],
465	VLT,
466	VTI#100,
467	MPS=\ELF%=%Y%-#100%t1,
468	VTE=\ETG14%X%ti%Y%ti%Z%ti%T%ti,
469	DLS=\ELF%t1\ELG%t2,
470	BELL=\E^_^G\E^],
471	DLT=\ELG%t1,
472 	DBS=\ELP%t10\ELG%Z%R%t4\ELG%t2\ELG%T%R%t3\ELE,
473	WPX=\ERH%t1\ERP11%C%ti,
474	SSFP=\EMP%=#0%-%X%ti,
475	SLS=\EMV%X%ti,
476	SFP=\EMP%=#0%+%X%ti,
477	SCS=\EML%X%ti\EMT%X%ti,
478	PLS=\ELP%t10,
479	PLV=\ELG%t1,
480	PLE=\ELE,
481	PLSOL=\EMP%=#0%-%C%ti\ELP%t10,
482	GTO, GTR,
483	RTS=\EMR%X%tr0,
484	GTS=\ELF%t1\ELT%Z%ti,
485	GTE=$<#10>\E,
486	OMO=\EMG1,
487	RMO=\EMG0,
488#
489# Ken Keller's entry for the 4113 with off screen memory.
490#
491kk|KK|k4113|kT4113|kTek4113|Tektronix 4113,
492	MXC#539, MYC#479, OFFDX#99, OFFDY#479,	OFFMX#540, OFFMY#0,
493	POD, PDB, NPB#4, PDR=\EIE81, PDS=\ERW'`z @>oi=_,
494	PDF=\002%c%T%t1%=#0%+%X%/#6%X%=#0%+%Y%-#1000%/#6%Y%c%c,
495	BU1#90, BU2#49, BU3#50, BU4#51, PDE=\012\ERW `` @#ow$_, MCE=BAS4113,
496#
497# Tektronix 4100 command set with no pointing device, no keyboard
498#	The keyboard is defined with the pointing device to allow the
499#	option of not using the dialog area.
500#	The QUEUSIZE is set to 8K; there must be at least that much memory.
501#
502ta|TA|BAS4100|BAS-T4100|BAS-TEK4100|basic Tektronix 4100,
503	TTY, APT, GCS=\E^L$<#1000>\E\E\E\E\E^],
504	MCL#8, MFP#15, MLS#8, MXC#479, MYC#359,
505	GIS=\E\E\E\E%%!0\E^]\ENC00\ENT1=\ENF3\EIM1\ENQH@0\ENU0\ERA107\ETM111\ELM0\ELS1\ELV0\ELI700\ELZ\EKA1\EMC451\EMG0\EMQ2\EMT1\EML1\EMS113,
506	GFS=\E\EKL0\ELI600\ELV1\EKA1$<#1000>\E^_\E%%!1,
507	VLT, VTL#3, VTI#100, VTE=\ETG14%X%ti%Y%ti%Z%ti%T%ti, HLS,
508	MPS=\ELF%t1, DLS=\ELF%t1\ELG%t2, BELL=\E^_^G\E^],
509	DLT=\ELG%t1, DBS=\ELP%t10\ELG%Z%R%t4\ELG%t2\ELG%T%R%t3\ELE,
510	DSB=\EMP%=#0%-%C%ti\ELP%t10\ELG%Z%R%t4\ELG%t2\ELG%T%R%t3\ELE,
511	WPX=\ELF%t1\ELG%ti, SSFP=\EMP%=#0%-%X%ti,
512	SLS=\EMV%X%ti, SFP=\EMP%X%ti, SCS=\EML%X%ti\EMT%X%ti,
513	FPOLY, PLS=\ELP%t10, PLV=\ELG%t1, PLE=\ELE,
514	PLSOL=\EMP%=#0%-%C%ti\ELP%t10,
515	GTH#2, GTO, GTR, GTW#1, GCH#7, GCW#6,
516	ROT, RTS=\EMR%X%tr0, GTS=\ELF%t1\ELT%Z%ti,
517	GTE=$<#10>\E, OMO=\EMG1, RMO=\EMG0,
518#
519# Tektronix 4105 color graphics terminal
520#
521tb|TB|4105|t4105|tek4105|Tektronix 4105,
522	GIS=\E\E%%!0\E^]\ENC00\ENT1=\ENF3\EIM1\ENQH@0\ENU0\ERA107\ETM111\ERW `` @"oy#W\ELM0\ELS1\ELV0\ELI700\ELZ\EKA1\EMC111\EMG0\EMQ2\EMT1\EML1\EMS113,
523	GFS=\ETG140000\ETF40000\ETF410F4F4\EKL0\E^L\ELI100\ELV1\EKA1$<#1000>\E^_\E%%!1\E^L$<#400>,
524	PDF=%c%Z%c%&#31%<<#5%R%c%&#31%|%R%*#4%X%c%&#31%<<#5%R%c%&#31%|%R%*#4%Y%c,
525	KYBRD, POD, PDS=\E\E\E\E^], PDR=\E^Z, PDE=\E\E\E\E^], MCE=BAS4100,
526###############################################################################
527#
528#
529#
530#
531# METHEUS TERMINALS
532#
533# Metheus Omega 400 display controlloer with raw transfer,
534# and 4 button mouse as a pointing device.
535# WARNING: THE METHEUS 400 DOES NOT FILTER CURSOR BOUNCING VERY WELL!
536#
537m1|M1|M400|M400DC|OMEGA400|Metheus Omega 400 Display Controller,
538	APT, 8BB, RAW, TTY, MXC#1023, MYC#767, MCL#256, MFP#8, MLS#1,
539	POD, PDB, NPB#4, BU1#68, BU2#72, BU3#80, BU4#96, PDR=J^A,
540	GCW#8, GCH#16, GTH#0, GTW#1, GTO, SLS=P8, RLS,
541	GFS=Q%@%@%@%@N%@`$<#800>, GCS=`$<#500>, SFP=P%X%|#48%c,
542	MPS=R%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%c,
543	DLT=S%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%ca,
544	WPX=P8R%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%cm,
545	PLS=P8R%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%c,
546	PLV=S%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%ca, PLE=,
547	GTS=P8R%X%&#255%c%X%>>#8%&#3%c%=#768%-%Y%R%&#255%c%=%R%>>#8%&#3%ck,
548	GTE=\E, VLT, VTI#255, VTL#8, VWM=O%X%&#255%c, SRM=L%X%&#255%c,
549	VTE=Q%X%&#255%c%Y%&#255%c%Z%&#255%c%T%&#255%c, SCS=N%X%c,
550	PDF=%h2%T%h2%&#63%R%h2%&#15%<<#6%|%R%X%h2%&#63%R%h2%&#15%<<#6%|%R%r%=#767%-%r%Y,
551	GIS=%@%@%@%@s20\^`3%@J^C%=#255%c%=#246%c%@|%@<%=#255%c%=#134%cX%@%@O%=#255%c$<#500>,
552	DLS=R%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%cS%Z%&#255%c%Z%>>#8%&#3%c%=#767%-%T%R%&#255%c%=%R%>>#8%&#3%ca,
553	DSB=P%F%|#48%cR%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%cS%Z%&#255%c%Z%>>#8%&#3%c%=#767%-%T%R%&#255%c%=%R%>>#8%&#3%ce,
554	DBS=P%F%|#48%cR%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%cS%Z%&#255%c%Z%>>#8%&#3%c%=#767%-%T%R%&#255%c%=%R%>>#8%&#3%cd,
555	RSCPS=R, RSCSF, RSCPE=f, OFFMX#0, OFFMY#552, OFFDX#736, OFFDY#184,
556	RSSRC=%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%c,
557	RSDST=S%X%&#255%c%X%>>#8%&#3%c%=#767%-%Y%R%&#255%c%=%R%>>#8%&#3%cp%X%&#63%c%Y%>>#8%&#15%c%T%&#63%c%T%>>#8%&#15%c,
558###############################################################################
559#
560#
561# HP TERMINALS
562#
563#
564# HP2648 with local cursor control
565# Because of descenders, the font width is 10x5.
566#
567h0|H0|2648|HP2648|HP2648A|Hewlett-Packard 2648A,
568	MCL#2, MFP#255, MLS#2, TTY, APT, MXC#719, MYC#359,
569	KYBRD, GTO, DFP, DLP, MPS=\E*pa%X%d\,%Y%dZ,
570	ALUEOR=\E*m3A, ALUJAM=\E*m4A,
571	ALUNOR=\E*m1A, ALUOR=\E*m2A,
572	DLT=\E*m2B\E*pf%X%d\,%Y%dZ,
573	DSLT=\E*m1B\E*pf%X%d\,%Y%dZ,
574	DBS=\E*m3b%X%d\,%Y%d\,%Z%d\,%T%dE,
575	DSL=\E*m1B\E*pa%X%d\,%Y%d\,%Z%d\,%T%dZ,
576	DLS=\E*m2B\E*pa%X%d\,%Y%d\,%Z%d\,%T%dZ,
577	WPX=\E*pa%X%d\,%Y%d\,%X%d\,%Y%dZ,
578	PLS=\E*pa%X%d\,%Y%d, PLV=\,%X%d\,%Y%d,
579	PLE=\,%X%d\,%Y%dZ, BELL=\E*dS^G\E*dT,
580	LDL#1, LDF=\E*m%Y%d 1C,
581	GCS=\E*d%X%+#65%c$<#500>, GCH#10, GCW#6,
582	GTE=\E*dT, GTH#0, GTW#2, GTS=\E*pa%X%d\,%Y%dZ\E*dS,
583	RTS=\E*m%X%a%/#90%+#1%dN, ROT,
584	GFS=\EH\EJ\E*mR\E*dlaeD$<#1000>,
585	GIS=\E*mR\E*dlafC$<#2000>,
586	KYB=^H, KYS=\E*pa%X%d\,%Y%dZ\E*m4a\E*dS, KYE=\E*dT, KYX#1, KYY#1,
587	SFP=\E&f%X%+#49%cE\21, SCS=\E*m%X%+#49%cA, SLS=,
588	FDH#8, FDW#8, FDR, FDF= %Y%3, FDS=\E&f1a%X%+#49%ck36L\E*m, FDE=D$<#90>,
589	IFP=\E&f1a1k36L\E*m 255 255 255 255 255 255 255 255D\E&f1a2k36L\E*m 254 130 186 170 162 190 128 255D\E&f1a3k30L\E*m 24 36 66 129 129 66 36 24D\E&f1a4k32L\E*m 60 66 129 129 129 129 66 60D\E&f1a5k32L\E*m 85 170 85 170 85 170 85 170D\E&f1a6k32L\E*m 204 204 51 51 204 204 51 51D\E&f1a7k24L\E*m 85 0 85 0 85 0 85 0D\E&f1a8k32L\E*m 240 240 240 240 15 15 15 15D,
590	POD, PDR=\E*s4\^\021, PDS=\E*dK, PRBON=\E*dM, PRBOFF=\E*dN,
591	PDF=\+%d\,%X\+%d\,%Y%3%Z%c, PDE=\021\E*dL,
592#
593# HP2648 entry with 3-button mouse.
594# PDR must be defined as a NULL instead of the definition in h0
595#
596h1|H1|2648-M|HP2648|HP2648A|Hewlett-Packard 2648A with mouse,
597	PDF=\02%c%T\+%d\,%X\+%d%Y%c,
598	PDR=, PDB, NPB#3, BU1#65, BU2#66, BU3#67,
599	MCE=h0,
600#
601# hp 2648 with binary transfer
602#
603h2|H2|2648-BIN|HP2648-BIN|HP2648A-BIN|Hewlett-Packard 2648A /w binary encoding,
604	MPS=\E*pia%X%>>#5%&#31%|#32%c%X%&#31%|#32%c%Y%>>#5%&#31%|#32%c%Y%&#31%|#32%cZ,
605	DLT=\E*m2B\E*pi%X%>>#5%&#31%|#32%c%X%&#31%|#32%c%Y%>>#5%&#31%|#32%c%Y%&#31%|#32%cZ,
606	DSLT=\E*m1B\E*pi%X%>>#5%&#31%|#32%c%X%&#31%|#32%c%Y%>>#5%&#31%|#32%c%Y%&#31%|#32%cZ,
607	DSL=\E*m1B\E*pia%X%>>#5%&#31%|#32%c%X%&#31%|#32%c%Y%>>#5%&#31%|#32%c%Y%&#31%|#32%c%Z%>>#5%&#31%|#32%c%Z%&#31%|#32%c%T%>>#5%&#31%|#32%c%T%&#31%|#32%cZ,
608	DLS=\E*m2B\E*pia%X%>>#5%&#31%|#32%c%X%&#31%|#32%c%Y%>>#5%&#31%|#32%c%Y%&#31%|#32%c%Z%>>#5%&#31%|#32%c%Z%&#31%|#32%c%T%>>#5%&#31%|#32%c%T%&#31%|#32%cZ,
609	WPX=\E*pia%X%>>#5%&#31%|#32%c%X%&#31%|#32%c%Y%>>#5%&#31%|#32%c%Y%&#31%|#32%c%X%>>#5%&#31%|#32%c%X%&#31%|#32%c%Y%>>#5%&#31%|#32%c%Y%&#31%|#32%cZ,
610	GTS=\E*pia%X%>>#5%&#31%|#32%c%X%&#31%|#32%c%Y%>>#5%&#31%|#32%c%Y%&#31%|#32%cZ\E*dS,
611	GIS=\E*mR\E*dlafC\E*pI$<#2000>, MCE=h0,
612#
613# HP 9872 8-color plotter.
614# Max horizontal resolution is 40cm/.025mm=16000.
615# Max vertical resolution is 28cm/.025mm=11200.
616# Font height is .375cm and width is .285cm.
617# 28/.375=74.666667 and 40/.285=140.350877.
618#
619ha|HA|HP9872A|HP9872|Hewlett-Packard 9872A,
620	MCL#8, SCS=PU;SP%X%+#1%d;, GIS=IN;SP;IN;VS4;, MFP#7,
621	TTY, APT, GCH#74, GCW#140, GTH#0, GTW#0, GTS=PU;PA%X%d\,%Y%d;LB,
622	GTE=^C, GTO, MXC#11100, MYC#8600, MPS=PU;PA%X%d\,%Y%d;,
623	MLS#6, SLS=LT%X%+#1%d;, GFS=SP0;, SSLS=LT;,
624	DLT=PD;PA%X%d\,%Y%d;, DLS=PU;PA%X%d\,%Y%d;PD;PA%Z%d\,%T%d;,
625	DSL=PU;PA%X%d\,%Y%d;LT;PD;PA%Z%d\,%T%d;, DSLT=LT;PD;PA%X%d\,%Y%d;,
626#
627# HP 9872 8-color plotter.
628# For 8.5in by 11in paper,
629# Horizontal resolution is 11in*25.4mm/in/.025mm=11176.
630# Vertical resolution is 8.5in*25.4mm/in/.025mm=8636.
631# Because of paper alignment problems, we have to run at 10.5in by 8in.
632# Font height is .375cm and width is .285cm.
633#
634hb|HB|HP9872B|Hewlett-Packard 9872A,
635	MCL#8, SCS=PU;SP%X%+#1%d;, GIS=IN;SP;IN;VS4;, MFP#7,
636	TTY, APT, GCH#74, GCW#140, GTH#0, GTW#0, GTS=PU;PA%X%d\,%Y%d;LB,
637	GTE=^C, GTO, MXC#8600, MYC#11100, MPS=PU;PA%X%d\,%Y%d;,
638	MLS#6, SLS=LT%X%+#1%d;, CFS=SP0;, SSLS=LT;,
639	DLT=PD;PA%X%d\,%Y%d;, DLS=PU;PA%X%d\,%Y%d;PD;PA%Z%d\,%T%d;,
640	DSL=PU;PA%X%d\,%Y%d;LT;PD;PA%Z%d\,%T%d;, DSLT=LT;PD;PA%X%d\,%Y%d;,
641###############################################################################
642#
643#
644#
645# DEC TERMINALS
646#
647# DEC VT125 with no pointing device
648# NEVER BEEN TESTED!
649#
650d0|D0|VT125|DEC VT125,
651	TTY, MCL#4, MXC#767, MYC#479, MLS#4, APT, MFP#1, KYBRD,
652	GIS=\E[2J\EPps(a[0\,479][767\,0])w(p1)w(v),
653	GFS=s(t240)s(t240)s(t120)s(e)\E\\^@,
654	GCS=s(e), GCW#8, GTW#2, GCH#12, GTH#3,
655	SLS=w(p%X%+#1%d), SCS=w(c)w(i%X%d),
656	MPS=p[%X%d\,%Y%d], WPX=p[%X%d\,%Y%d]v[],
657	DBS=p[%X%d\,%Y%d]v(b)[\,%T%d][%Z%d][\,%Y%d](e),
658	DLS=p[%X%d\,%Y%d]v[][%Z%d\,%T%d], DLT=v[][%X%d\,%Y%d],
659	DCS=p[%X%d\,%Y%d]c[%X%+%Z%d\,%Y%d],
660	PLS=p[%X%d\,%Y%d], PLV=v[%X%d\,%Y%d], PLE=v[%X%d\,%Y%d],
661	GTS=p[%X%d\,%Y%+#20%d]t', GTE=', ROT, RTS=t(d%X%ds1),
662###############################################################################
663#
664# NULL TERMINAL
665#	FOR TESTING PURPOSES ONLY
666#
667n0|N0|NULL|Null terminal for performance testing
668	MCL#2, MXC#500, MYC#500, TTY, APT, DFP, DLP, BLD,
669	ROT, VLT, VTI#100, FDH#8, FDW#8, GCH#8, GCW#6, LDL#1,
670	MFP#1, MLS#1, NBL#200,
671###############################################################################
672#
673#
674#
675#       H    H   A   RRRRR  DDDDD        CCCC   OOOO  PPPPP  Y     Y
676#       H    H  A A  R    R D    D      C    C O    O P    P  Y   Y
677#       H    H A   A R    R D    D      C      O    O P    P   Y Y
678#       HHHHHH AAAAA RRRRR  D    D      C      O    O PPPPP     Y
679#       H    H A   A R  R   D    D      C      O    O P         Y
680#       H    H A   A R   R  D    D      C    C O    O P         Y
681#       H    H A   A R    R DDDDD        CCCC   OOOO  P         Y
682#
683#
684# The following entries are for hard copy, raster devices.
685#
686###############################################################################
687#
688# TRILOG
689#
690tp|TP|trilog|TRILOG|Trilog Color Plotter,
691	HCOPY, CACHE#36300, BPIX#3, PPHI#50, PPVI#50, MXC#660, MYC#550,
692	MCL#8, HCL1#0, HCL2#7, HCL3#1, HCL4#2, HCL5#3, HCL6#4, HCL7#5, HCL8#6,
693	APT, GTH#0, GTW#0, GCW#0, GCH#0, GTO,
694	OFFMX#0, OFFMY#0, OFFDX#0, OFFDY#0,
695	MLS#16, DLP,
696	DFP, MFP#16, FDH#8, FDW#8, FDR,
697	FPOLY,
698#
699# VARIAN
700#
701vp|VP|varian|VARIAN|Varian electrostatic plotter,
702	HCOPY, CACHE#112200, BPIX#1, PPHI#200, PPVI#200, MXC#2112, MYC#1700,
703	MCL#2, HCL1#0, HCL2#1,
704	APT, GTH#0, GTW#0, GCW#0, GCH#0, GTO,
705	OFFMX#0, OFFMY#0, OFFDX#0, OFFDY#0,
706	MLS#16, DLP,
707	DFP, MFP#16, FDH#8, FDW#8, FDR,
708	FPOLY,
709#
710# UNIX plot filter instructions
711#
712pf|h7mfb|plot|UNIX plot filter,
713	TTY,APT,MXC#4096,MYC#4096,MCL#2,MFP#0,MLS#5,
714	SLS=f%X%d\012\012,
715	SSLS=fsolid\012\012,
716	GIS=s 0 0 4096 4096\012e\012,
717	DLT=n %X%d %Y%d\012,
718	DLS=l %X%d %Y%d %Z%d %T%d\012,
719	GCS=e\012,
720	GTS=m %X%d %Y%d\012t, GTE=\012\012,
721	MPS=m %X%d %Y%d\012,
722#
723###############################################################################
724#
725#
726#
727#
728#  OOOO  L     DDDDD       EEEEEE N     N TTTTTTT RRRRR  III EEEEEE  SSSS
729# O    O L     D    D      E      NN    N    T    R    R  I  E      S    S
730# O    O L     D    D      E      N N   N    T    R    R  I  E      S
731# O    O L     D    D      EEE    N  N  N    T    RRRRR   I  EEE     SSSS
732# O    O L     D    D      E      N   N N    T    R  R    I  E           S
733# O    O L     D    D      E      N    NN    T    R   R   I  E      S    S
734#  OOOO  LLLLL DDDDD       EEEEEE N     N    T    R    R III EEEEEE  SSSS
735#
736#
737# The following entries are valid, but very unlikely to be used.
738# Since MFB performs a sequential search, they have therefore been
739# placed at the end of this file.
740#
741###############################################################################
742#
743# AED TERMINALS
744#
745#
746# AED with hexadecimal coordinate encoding, no pointing device, using
747# old Berkeley EECS Rom set (no longer used).
748#
749ax|AX|BRKBAEDH|BRKAED512H|basic Advanced Electronics Design 512 with hex mode,
750	TTY, APT, GTH#2, GTW#2, GTO, MXC#511, MYC#482,
751	GCH#8, GCW#5, MFP#256, MLS#1, MCL#256,
752	VLT, VTI#255, VTL#8, VTE=K%X%h201%Y%h2%Z%h2%T%h2,
753	SCS=C%X%h2[%X%h2, VWM=L%X%h2, GCS=`\120^L\E`\160$<#400>,
754	GTS=Q%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2^A, GTE=\E,
755	GIS=\E\E\E\E\E\E\E\E\E0$<#2000>\E`\160\E\^15\06\011L\EG1HHH.$<#2000>,
756	GFS=\E\E\E\E\E\E\E\E\E0$<#2000>\E`\100^L^A,
757	BLD, NBL#8, BLS=\E4%X%h2%Y%h2%Z%h2%T%h2300B,
758	BLE=\E4%X%h2%Y%h2%Z%h2%T%h23000, BELL=^A^G\E$<#100>,
759	MPS=Q%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2,
760	WPX=Q%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2T%C%h2,
761	DLT=A%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2,
762	DFP, FDH#8, FDW#8, FDR, FDE=, FDF=%Y%h2, FDS=\,%X%h2,
763	DCS=Q%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2O%Z%c,
764	DSL=1FFFFQ%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2A%Z%>>#6%&#12%R%T%>>#8%|%R%h1%Z%h2%T%h2,
765	DLS=Q%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2A%Z%>>#6%&#12%R%T%>>#8%|%R%h1%Z%h2%T%h2,
766	DBS=Q%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2o%Z%>>#6%&#12%R%T%>>#8%|%R%h1%Z%h2%T%h2,
767	IFP=\,00FFFFFFFFFFFFFFFF\,01FE82BAAAA2BE80FF\,021824428181422418\,032C4281818181422C\,0455AA55AA55AA55AA\,05CCCC3333CCCC3333\,065500550055005500\,07F0F0F0F00F0F0F0F,
768	PLS=!%Z%h4%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2,
769	FPOLY, PLV=%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2,
770	SFP="%X%h2, DLP, LDF=1%Y%h2FF, LDL#1,
771	KYS=Q%X%>>#6%&#12%R%Y%>>#8%|%R%h1%X%h2%Y%h2\E^A, KYE=\E,
772	KYBRD, KYB=\EC00[00^A^H\EC%C%h2[%C%h2^A, KYX#3, KYY#1,
773#
774# AED with joystick and hexadecimal coordinate encoding (old Berk. ROM set)
775#
776ay|AY|BRKAEDHJ|Advanced Electronics Design 512 with joystick and hex,
777	POD, PDF=%h1%<<#8%R%>>#2%&#768%X%h2%|%X%X%h2%|%R%&#1023%Y,
778	PDS=c%X%h2%Y%h202U, PDE=d, PDR=j, PRI, MCE=BRKBAEDH,
779#
780# AED with four button mouse and hexadecimal coordinate encoding
781#
782az|AZ|BRKAEDHT|Advanced Electronics Design 512 with tablet and hex,
783	POD, PDB, NPB#4, PDS=c%X%h2%Y%h2022019001F42828, PDE=3%@, PDR=3\002,
784	BU1#1, BU2#2, BU3#4, BU4#8, PDF=\002%h2%&#15%T%h4%X%h4%Y,
785	MCE=BRKBAEDH,
786#
787# AED 512 with eight bit binary coordinate encoding, no pointing device,
788# using old Berkeley EECS Rom set.
789#
790aa|AA|BRKBAED8|Basic Advanced Electronics Design 512 with 8 bit mode,
791	8BB, TTY, APT, GTH#2, GTW#2, GTO, MXC#511, MYC#482, GCH#8,
792	GCW#5, GTS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c^A,
793	GTE=\E, MFP#256, MLS#2, MCL#256, BELL=^A^G\E$<#100>,
794	GIS=\E\E\E\E\E\E\E\E\E\E0$<#2000>\E`\160\^15\06\011LG1888N,
795	GFS=\E\E\E\E\E\E\E\E\E\E0$<#2000>\E`\100^L^A,
796	VLT, VTI#255, VTL#8, VTE=K%X%c^A%Y%c%Z%c%T%c,
797	SCS=C%X%c[%X%c, VWM=L%X%c, GCS=`\120^L\E`\160$<#400>,
798	BLD, NBL#8, BLS=\E4%X%c%Y%c%Z%c%T%c\060\013,
799	BLE=\E4%X%c%Y%c%Z%c%T%c\060%@, SFP="%X%c,
800	FPOLY, DFP, FDH#8, FDW#8, FDR, FDE=, FDF=%Y%c, FDS=\,%X%c,
801	MPS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
802	WPX=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cT%C%c,
803	DLT=A%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
804	DCS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cO%Z%c,
805	DLS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%cA%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
806	DBS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%co%T%>>#8%&#15%R%Z%>>#4%&#240%|%R%c%Z%c%T%c,
807	IFP=\EG1HHHN\,00FFFFFFFFFFFFFFFF\,01FE82BAAAA2BE80FF\,021824428181422418\,032C4281818181422C\,0455AA55AA55AA55AA\,05CCCC3333CCCC3333\,065500550055005500\,07F0F0F0F00F0F0F0F\EG1888N,
808	PLS=!%Z%>>#8%&#255%c%Z%c%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
809	PLV=%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c,
810	PLE=\E, DLP, LDL#1, LDF=1%Y%c%=#255%c, SFP="%X%c, SSLS=1%=#255%c%c,
811	KYBRD, KYB=\EC%@[%@^A^H\EC%C%c[%C%c^A, KYX#3, KYY#1,
812	KYS=Q%Y%>>#8%&#15%R%X%>>#4%&#240%|%R%c%X%c%Y%c\E^A, KYE=\E,
813#
814# AED 512 with joystick and 8 bit binary coordinate encoding
815#
816ab|AB|BRKAEDJ8|Advanced Electronics Design 512 with joystick & 8 bit mode,
817	POD, PDF=%h1%<<#8%R%>>#2%&#768%X%h2%|%X%X%h2%|%R%&#1023%Y,
818	PDS=\EG1HHHNc%X%h2%Y%h2\002U, PDE=dG1888N\E\E, PDR=j, PRI,
819	MCE=BRKBAED8,
820#
821# AED 512 with tablet and 8 bit binary coordinate encoding
822#
823ac|AC|BRKAEDT8|Advanced Electronics Design 512 with tablet and 8 bit mode,
824	PDB, NPB#4, PDS=\EG1HHHNc%X%h2%Y%h2022019001F42828, PDE=3%@G1888N\E,
825	POD, BU1#1, BU2#2, BU3#4, BU4#8, PDR=3\002,
826	PDF=\002%h2%T%h4%X%h4%Y, MCE=BRKBAED8,
827#
828# North American Presentation Level Protocal for the PLP
829#
830# Test entry -- feel free to delete this entry any time...
831#
832na|NAPLPS|naplps|PLP100|PLP200|plp100|plp200|plp|PLP,
833	DBS=2%X%>>#4%&#56%R%Y%>>#7%&#7%+%R%|#64%c%X%>>#1%&#56%R%Y%>>#4%&#7%+%R%|#64%c%X%<<#2%&#56%R%Y%>>#1%&#7%+%R%|#64%c%X%<<#5%&#56%R%Y%<<#2%&#7%+%R%|#64%c%Z%>>#4%&#56%R%T%>>#7%&#7%+%R%|#64%c%Z%>>#1%&#56%R%T%>>#4%&#7%+%R%|#64%c%Z%<<#2%&#56%R%T%>>#1%&#7%+%R%|#64%c%Z%<<#5%&#56%R%T%<<#2%&#7%+%R%|#64%c,
834	DCS=.%X%-%Z%>>#4%&#56%R%Y%>>#7%&#7%+%R%|#64%c%X%-%Z%>>#1%&#56%R%Y%>>#4%&#7%+%R%|#64%c%X%-%Z%<<#2%&#56%R%Y%>>#1%&#7%+%R%|#64%c%X%-%Z%<<#5%&#56%R%Y%<<#2%&#7%+%R%|#64%c%X%>>#4%&#56%R%Y%+%Z%>>#7%&#7%+%R%|#64%c%X%>>#1%&#56%R%Y%+%Z%>>#4%&#7%+%R%|#64%c%X%<<#2%&#56%R%Y%+%Z%>>#1%&#7%+%R%|#64%c%X%<<#5%&#56%R%Y%+%Z%<<#2%&#7%+%R%|#64%c%X%+%Z%>>#4%&#56%R%Y%>>#7%&#7%+%R%|#64%c%X%+%Z%>>#1%&#56%R%Y%>>#4%&#7%+%R%|#64%c%X%+%Z%<<#2%&#56%R%Y%>>#1%&#7%+%R%|#64%c%X%+%Z%<<#5%&#56%R%Y%<<#2%&#7%+%R%|#64%c\,%X%>>#4%&#56%R%Y%-%Z%>>#7%&#7%+%R%|#64%c%X%>>#1%&#56%R%Y%-%Z%>>#4%&#7%+%R%|#64%c%X%<<#2%&#56%R%Y%-%Z%>>#1%&#7%+%R%|#64%c%X%<<#5%&#56%R%Y%-%Z%<<#2%&#7%+%R%|#64%c%X%-%Z%>>#4%&#56%R%Y%>>#7%&#7%+%R%|#64%c%X%-%Z%>>#1%&#56%R%Y%>>#4%&#7%+%R%|#64%c%X%-%Z%<<#2%&#56%R%Y%>>#1%&#7%+%R%|#64%c%X%-%Z%<<#5%&#56%R%Y%<<#2%&#7%+%R%|#64%c,
835	DLS=*%X%>>#4%&#56%R%Y%>>#7%&#7%+%R%|#64%c%X%>>#1%&#56%R%Y%>>#4%&#7%+%R%|#64%c%X%<<#2%&#56%R%Y%>>#1%&#7%+%R%|#64%c%X%<<#5%&#56%R%Y%<<#2%&#7%+%R%|#64%c%Z%>>#4%&#56%R%T%>>#7%&#7%+%R%|#64%c%Z%>>#1%&#56%R%T%>>#4%&#7%+%R%|#64%c%Z%<<#2%&#56%R%T%>>#1%&#7%+%R%|#64%c%Z%<<#5%&#56%R%T%<<#2%&#7%+%R%|#64%c,
836	DSB=3%X%>>#4%&#56%R%Y%>>#7%&#7%+%R%|#64%c%X%>>#1%&#56%R%Y%>>#4%&#7%+%R%|#64%c%X%<<#2%&#56%R%Y%>>#1%&#7%+%R%|#64%c%X%<<#5%&#56%R%Y%<<#2%&#7%+%R%|#64%c%Z%>>#4%&#56%R%T%>>#7%&#7%+%R%|#64%c%Z%>>#1%&#56%R%T%>>#4%&#7%+%R%|#64%c%Z%<<#2%&#56%R%T%>>#1%&#7%+%R%|#64%c%Z%<<#5%&#56%R%T%<<#2%&#7%+%R%|#64%c,
837	GCH#50,
838	GCW#15,
839	GFS=\017\033%%!3,
840	GIS=\033%%!4\016!N@@@L"@\140\016,
841	GTC#25,
842	GTW#25,
843	GTE=\016,
844	GTS=$%X%>>#4%&#56%R%Y%>>#7%&#7%+%R%|#64%c%X%>>#1%&#56%R%Y%>>#4%&#7%+%R%|#64%c%X%<<#2%&#56%R%Y%>>#1%&#7%+%R%|#64%c%X%<<#5%&#56%R%Y%<<#2%&#7%+%R%|#64%c\EJ\017,
845	MCL#8,
846	MFP#4,
847	MLS#1,
848	MPS=$%X%>>#4%&#56%R%Y%>>#7%&#7%+%R%|#64%c%X%>>#1%&#56%R%Y%>>#4%&#7%+%R%|#64%c%X%<<#2%&#56%R%Y%>>#1%&#7%+%R%|#64%c%X%<<#5%&#56%R%Y%<<#2%&#7%+%R%|#64%c,
849	MXC#511,
850	MXY#435,
851	PDE=\017,
852	PDF=\016%c%c%c%c%Z%T%c%R%&#56%<<#6%X%R%&#7%<<#9%Y%c%R%&#56%<<#3%+%X%X%R%&#7%<<#6%+%Y%Y%c%R%&#56%+%X%X%R%&#7%<<#3%+%Y%Y%c%R%&#56%>>#3%+%X%X%R%&#7%+%Y%Y%c,
853	PDR=\E%%!>,
854	PDS=\E\114,
855	RAW,
856	SCS=<%X%&#7%+#8%|#64%c,
857	TTY,
858	WPX='@@@@,
859#
860#
861l0|L0|laser|LASER|Apple Laserwriter,
862	TTY, APT, GTO, ROT, MXC#3300, MYC#2250, GCH#44,
863	GCW#30, GTW#5, GTH#10, GTS=%X%d %Y%d m^J(,
864	GTE=)s^J, MLS#4, MCL#2,
865	GIS=erasepage^Jinitgraphics^Jinitclip^Jclear^J
866	/s {gsave currentpoint translate theta rotate show grestore } def^J
867	/l {lineto currentpoint stroke moveto } def^J
868	/m {moveto } def^J
869	/ft {findfont dup /currentfont exch def currentsize scalefont setfont }def^J
870	/sz {dup /currentsize exch def currentfont exch scalefont setfont } def^J
871	/currentfont /Helvetica findfont def^J/currentsize 10 def^J
872	/ls {dup /style exch def 0 eq style 2 eq or {[] 0 setdash}^J
873		{[style 100 mul style 20 mul] 0 setdash} ifelse} def^J
874	72 300 div dup scale^J90 rotate^Jclippath pathbbox pop pop^J
875	20 add translate^J
876	newpath 0 0 moveto^J/Helvetica ft^J43.41 sz^J/theta 0 def^J,
877	GFS=copypage^J, SCS=%#1%-X setgray^J, GCS=erasepage^J, SLS=%X%d ls^J,
878	MPS=%X%d %Y%d m^J,
879	DBS=%X%d %Y%d m %X%d %Y%d l %X%d %T%d l %Z%d %T%d l %Z%d %Y%d l closepath fill^J,
880	DLT=%X%d %Y%d l^J,
881	DCS=newpath %X%d %Y%d %Z%d 0 360 arc stroke^J,
882	DLS=%X%d %Y%d m %Z%d %T%d l^J, RTS=/theta %X%d def^J,
883
884
885
886###############################################################################
887#
888# WYSE 99GT TERMINALS
889#
890#	Wyse 4014 Personality
891#
892#	GIS
893#		\E[?38h (CSI?38h)		page A-51
894#		\E^L	alpha mode		table C-1
895#		\E^]	graph mode		table C-1
896#		\E;	133 char per line	table C-1
897#
898#	GFS
899#		\E[?38l	vt200 7-bit mode	table C-1
900#		$<#100>	delay
901#		\E[!p	soft terminal reset	page A-60
902#
903w0|W0|wyse|WYSE|wyse99gt|WYSE99GT| Wyse 99 GT Graphics Terminal,
904	APT, TTY, MLS#5, MXC#4095, MYC#3071, MFP#8,
905	GIS=\E[?38h\E^L\E^]\E;,
906	GFS=\E[?38l$<#100>\E[!p,
907	DLS=\E^]\E`%t1%t2, MPS=\E^]\E`%t1, DLT=%t1,
908	ILS=\E`,
909	SLS=\E%L,
910	DSB=\E^]\E`%t1%Z%R%t4%t2%T%R%t3%t1,
911	WPX=\E^]\E`%t1%t1, PLS=\E^]\E`%t1, PLV=%t1, PLE=%t1\E,
912	GTS=\E^]%t1\E^_\E8, GTE=\E^], GCW#60, GCH#100, GTO, GTH#20,
913	KYBRD, KYS=\E^]%t1\E^_\E8, KYE=\E^], BELL=\E^_^G\E^],
914	POD, PDS=\E\E\E\E^], PDR=\E^Z, PDE=\E\E\E\E^],
915	PDF=%c%Z%c%&#31%<<#5%R%c%&#31%|%R%*#4%X%c%&#31%<<#5%R%c%&#31%|%R%*#4%Y,
916	GCS=\E^L$<#1000>\E\E\E\E\E^],
917###############################################################################
918#
919# Tektronix 4107 command set with with paddle & keyboard
920#
921#
922#
923#
924tc|Tc|4107|T4107|TEK4107|Tektronix 4107,
925	TTY, APT, GCS=\E^L$<#1000>\E\E\E\E\E^],
926	MCL#8, MFP#15, MLS#8, MXC#4096, MYC#3100,
927	GIS=\E\E\E\E%%!0\EKA0\ELV0\E\014,
928	GFS=\037\033%%!0\EKA1\ELV1\E%%!1,
929	VLT, VTL#3, VTI#100, VTE=\ETG14%X%ti%Y%ti%Z%ti%T%ti, HLS,
930	DCS=%X%-%Z%R\ELF%t4%Y%-%Z%R\EUC14%t3%X%+%Z%R%t4%Y%+%Z%R%t3%X%-%Z%R%t4,
931	MPS=\ELF%t1, DLS=\ELF%t1\ELG%t2, BELL=\E^_^G\E^],
932	DLT=\ELG%t1, DBS=\ELP%t10\ELG%Z%R%t4\ELG%t2\ELG%T%R%t3\ELE,
933	DSB=\EMP%=#0%-%C%ti\ELP%t10\ELG%Z%R%t4\ELG%t2\ELG%T%R%t3\ELE,
934	WPX=\ELF%t1\ELG%ti, SSFP=\EMP%=#0%-%X%ti,
935	SLS=\EMV%X%ti, SFP=\EMP%X%ti, SCS=\EML%X%ti\EMT%X%ti,
936	FPOLY, PLS=\ELP%t10, PLV=\ELG%t1, PLE=\ELE,
937	PLSOL=\EMP%=#0%-%C%ti\ELP%t10,
938	GTH#2, GTO, GTR, GTW#1, GCH#70, GCW#60,
939	ROT, RTS=\EMR%X%tr0, GTS=\ELF%t1\ELT%Z%ti,
940	KYBRD, POD, PDS=\E\E\E\E^], PDR=\E^Z, PDE=\E\E\E\E^], MCE=BAS4100,
941	PDF=%c%Z%c%&#31%<<#5%R%c%&#31%|%R%*#4%X%c%&#31%<<#5%R%c%&#31%|%R%*#4%Y%c,
942#
943