xref: /onnv-gate/usr/src/cmd/terminfo/misc.ti (revision 0:68f95e015346)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 1996 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
28#	  All Rights Reserved
29
30#ident	"%Z%%M%	%I%	%E% SMI"
31# # --------------------------------
32#
33# misc: MISCELLANEOUS TERMINALS
34#
35# Manufacturer:	MISCELLANEOUS TERMINALS
36# Class:	III
37#
38# Info:
39#	This file is for manufacturers with only a few terminals.
40#	They are included alphabetically by manufacturer. Hard copy
41#	terminals, personal computers, special "made up" terminals
42#	and homemade terminals go in separate files.
43#
44aed512|aed|AED 512,
45	cr=^M, cud1=^J, bel=^G,
46	cols#64, lines#40, clear=^L,
47	cub1=^H, cuf1=\Ei0800\001,
48	cnorm=\E\072004=000200??\001,
49	flash=\EK0001??0000K0001202080\001,
50	smso=\E\07200>8000140[80C00\001, rmso=\E[00C80\001,
51	smul=\E\07200>8000140\001, rmul=\E\07200>8000100\001,
52	uc=\Ei???>l0800i0102\001,
53	smcup=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001,
54	rmcup=\E\07200>8000100{804<0??00001000L80\072004=000200??\001,
55	ind=\E;1100\072004=000200??;1300\047\200\001\n\E\072004=0002??00;1200\001\n,
56	cuu1=^K, .cup=\E;1300%p1%c%p2%c\001,
57ampex|d80|dialogue|dialogue80|ampex dialogue 80,
58	tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G,
59	is2=\EA, ul, smul=\El, rmul=\Em,
60	am, bw, cub1=^H, ht=^I, clear=\E*$<75>, cup=\E=%p1%' '%+%c%p2%' '%+%c,
61	il1=\EE$<5*>, cbt=\EI, ich1=\EQ, dl1=\ER$<5*>, dch1=\EW,
62	el=\Et, ed=\Ey, smso=\Ej, rmso=\Ek, lines#24, cols#80, cuf1=^L, cuu1=^K,
63# Info:
64#	Tue Aug  9 20:11:37 1983
65#	No backspace key in the main QWERTY cluster. Fortunately,
66#	it has a NEWLINE/PAGE key just above RETURN that sends a strange
67#	single-character code. Given a suitable Unix (one that lets you
68#	set an echo-erase-as-BS-SP-BS mode), this key can be used as
69#	the erase key; I find I like this. Because some people and
70#	some systems may not, there is another termcap ("ax175e") that
71#	suppresses this little eccentricity by omitting the relevant
72#	capability.
73#
74#	Problems:
75#	 	- I haven't done tab-setting yet.
76#	 	- The initialization sequence doesn't use the terminal's
77#	 	  reset-everything code because it would require a delay
78#	 	  in the middle of the is sequence.
79#
80ampex175|ampex d175,
81	cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EE, am, cub1=^H,
82	ed=\Ey, el=\Et, clear=\E+, cup=\E=%p1%' '%+%c%p2%' '%+%c,
83	cols#80, dch1=\EW, dl1=\ER,
84	home=\036, ich1=\EQ, is2=\EX\EA\EF,
85	kcud1=^J, khome=\036, kcub1=^H, kcuf1=^L,
86	kcuu1=^K, kil1=\EE, kdl1=\ER, kich1=\EQ, kdch1=\EW,
87	lines#24, ll=\036^K, cuf1=^L,
88	rmso=\Ek, smso=\Ej, rmcup=\EF, smcup=\EN, rmul=\Em, cuu1=^K,
89	smul=\El,
90ampex175-b|ampex d175 using left arrow for erase,
91	kbs=^_, use=ampex175,
92# Info:
93#	Below are the termcap entries I've been using. The problem
94#	with scrolling in vi can only be fixed by getting BBN to put
95#	smarter scroll logic in the terminal or changing vi or padding
96#	scrolls with about 500 ms delay.
97#
98#	I always thought the problem was related to the terminal
99#	counting newlines in its input buffer before scrolling and
100#	then moving the screen that much. Then vi comes along and
101#	paints lines in on the bottom line of the screen, so you get
102#	this big white gap.
103#
104#	We have not had sufficient demand for vi (most use emacs or
105#	rand) here to fix this problem.
106#
107#	[Sounds like the BitGraph should stop looking ahead when it
108#	sees escape - ]
109#
110bitgraph|bbn bitgraph,
111	use=bg3.10rv,
112bg3.10rv|bgrv|bbn bitgraph (reverse video),
113	use=bg2.0rv,
114bg3.10nv|bgnv|bbn bitgraph (normal video),
115	use=bg2.0nv,
116bg3.10|bgn|bbn bitgraph (no init),
117	use=bg2.0,
118bg2.0rv|bbn bitgraph (reverse video),
119	is2=\E>\E[?5h\E[?7h, flash=\E[?5l\E[?5h, use=bg2.0,
120bg2.0nv|bbn bitgraph (normal video),
121	is2=\E>\E[?5l\E[?7h, flash=\E[?5h\E[?5l, use=bg2.0,
122bg2.0|bbn bitgraph (no init),
123	cr=^M, cud1=^J, bel=^G,
124	il1=\E[L$<2*>, cub1=^H, ed=\E[J$<150>, el=\E[K$<2>,
125	clear=\E[H\E[J$<150>, cup=%i\E[%p1%d;%p2%dH, cols#85, csr=\E[%i%p1%d;%p2%dr,
126	dl1=\E[M$<2*>, cud1=\E[B, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
127	kcud1=\E[B, rmkx=\E>, kcub1=\E[D, kcuf1=\E[C, smkx=\E=,
128	kcuu1=\E[A, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, lines#64,
129	cuf1=\E[C,  ht=^I, rc=\E8, sc=\E7, rmso=\E[0m, ind=\n$<280>,
130	smso=\E[7m, cuu1=\E[A, xenl,
131bg1.25rv|bbn bitgraph (reverse video),
132	flash=\E[?5l\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25,
133bg1.25nv|bbn bitgraph (normal video),
134	is2=\E>\E[?5l\E[?7h, flash=\E[?5h\E[?5l, use=bg1.25,
135bg1.25|bbn bitgraph,
136	cr=^M, cud1=^J, bel=^G, il1=\E[L$<2*>, cub1=^H,
137	ed=\E[J$<150>, el=\E[K$<2>, clear=\E[H\E[J$<150>, cup=%i\E[%p1%d;%p2%dH,
138	cols#85, dl1=\E[M$<2*>, cud1=\E[B, kf1=\EP, kf2=\EQ, kf3=\ER,
139	kf4=\ES, kcud1=\EB, rmkx=\E>, kcub1=\ED, kcuf1=\EC, smkx=\E=,
140	kcuu1=\EA, lines#64, ll=\E[64;1H, lf1=PF1, lf2=PF2, lf3=PF3,
141	lf4=PF4, cuf1=\E[C, ht=^I, rmso=\E[0m, ind=\n$<280>,
142 	smso=\E[7m, cuu1=\E[A,
143ca22851|computer automation 22851,
144	cr=^M, cud1=^J, ind=^J, bel=^G, cup=\02%i%p1%c%p2%c, cols#80,
145	lines#24, clear=^L$<8>, am, cub1=\025, cuu1=\026, home=\036,
146	el=\035, ed=\034, cuf1=\011, kcub1=\025, kcuu1=\026,
147	kcud1=\027, khome=\036,
148# Info:
149#	CHROMATICS
150#	Following is revised version. As I mentioned, I recompiled
151#	curses in order to accomadate the large amount of definition.
152#	I have put the long strings in ti/te. Ti sets up a window
153#	that is smaller than the screen, and puts up a warning message
154#	outside the window. Te erases the warning message, puts the
155#	window back to be the whole screen, and puts the cursor at just
156#	below the small window. A defined vs and ve to really turn
157#	the cursor on and off, but I have taken this out since I don't
158#	like the cursor being turned off when vi exits.
159#
160cg7900|chromatics|chromatics 7900,
161	cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#40, am,
162	clear=^L, cub1=^H, cup=^AM%p2%d\,%p1%d\,, cuf1=\035, cuu1=^K,
163	home=\034, ll=^A|, el=^A`, ed=^Al, il1=^A>2, dl1=^A<2,
164	ich1=^A>1, dch1=^A<1,
165	smso=^AC4\,^Ac7\,, rmso=^AC1\,^Ac2\,, uc=^A^A_^A\0,
166	smcup=^AP0^AO1^AR1^AC4\,^Ac0\,^L^AM0\,42\,WARNING DOUBLE ENTER ESCAPE and ^U^AC1\,^Ac2\,^AW0\,0\,79\,39\,,
167	rmcup=^AW0\,40\,85\,48\,^L^AW0\,0\,85\,48\,^AM0\,40\,,
168cops10|cops|cops-10|,
169	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, bw, ed=^w, el=^v,
170	clear=30^x, cup=^p%p1%' '%+%c%p2%' '%+%c, cols#80, cud1=\n, kbs=^h, kcud1=\n,
171	khome=^y, kcub1=^h, kcuf1=^l, kcuu1=^k, lines#24, cuf1=^l,
172	cuu1=^k,
173# Info:
174#	CYBERNEX
175#	We recently discovered (it wasn't clearly documented) that the
176#	Cybernex XL-83 terminal has a reverse-scroll capability; I
177#	enclose a revised termcap entry with "sr" added.
178#
179xl83|cybernex XL-83,
180	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, ed=^P$<62>, el=^O$<3>,
181	clear=^L$<62>, cup=^W%p1%' '%+%c%p2%' '%+%c, cols#80, home=^K,
182	kcud1=^J, kcub1=^H, kcuf1=^I, kcuu1=^N,
183	lines#24, cuu1=^N, cuf1=^I, ri=^N,
184mdl110|cybernex mdl-110,
185	cup=^P%p1%' '%+%c%p2%' '%+%c, cols#80, lines#24, am, clear=^X$<70>,
186	cub1=^H, cr=^M, cud1=^J, ind=^J, bel=^G, cuf1=^U, cuu1=^Z, home=^Y,
187	el=^N@^V$<145>, ed=^NA^W$<145>, il1=^NA^N^]$<65>, dl1=^NA^N^^$<40>,
188	ich1=^NA^]$<3.5>, dch1=^NA^^$<3.5>, smso=^NF, rmso=^NG,
189	ht=\t$<43>, ed=^N@^V$<6>,
190# Info:
191#	DATA GENERAL
192#
193#	It has one or two quirks, though; in vi you have to use <cr> to
194#	advance to the next line instead of just hitting the big NEWLINE
195#	key (which is cursor down to vi).
196#
197#	One pain with using the dasher on unix though is the fact
198#	that they use # ^H for home cursor. This causes problems with
199#	reading news and help files on the system that assume ^H is
200#	backspace.
201#
202#	The trouble with this terminal is that you can't give it a
203#	linefeed without having it add a carriage return. And there
204#	isn't any switch that will turn off auto carriage return
205#	on receipt of linefeed.
206#
207#	Is there any way around this? [I used cud1=^Z to try to
208#	describe this -]
209#
210d200|d100|data general dasher 200,
211	am, bel=^G, bw, clear=^L, cols#80, cr=^M,
212	cub1=^Y, cud1=^Z, cuf1=^X, cup=^P%p2%c%p1%c, cuu1=^W,
213	el=^K, home=^H, ind=^J, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W,
214	kf0=^^z, kf1=^^q, kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w,
215	kf8=^^x, kf9=^^y, khome=^H, lf0=f10,
216	lines#24, nel=^J, rmso=^^E, rmul=^U, smso=^^D, smul=^T,
217dg|dg6053|data general 6053,
218	cr=^M, cud1=^J, ind=^J, bel=^G,
219	am, cub1=^H, cup=^P%p2%c%p1%c, clear=^L, home=^H, cuf1=^S,
220	cuu1=^W, el=^K, cols#80, lines#24,
221d132|datagraphix|datagraphix 132a,
222	cr=^M, cud1=^J, ind=^J, bel=^G,
223	cols#80, lines#30, clear=^l, home=\Et, da, db, ind=\Ev, ri=\Ew,
224	cuu1=\Ek, cuf1=\El, cvvis=\Ex, cnorm=\Em\En,
225	il1=\E3, ich1=\E5, dch1=\E6, in, ich1=\E5,
226# Info:
227#	DATAPOINT (see also pc)
228#
229datapoint|dp3|dp3360|datapoint 3360,
230	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H,
231	ed=^_, el=^^, clear=^]^_, cols#82, home=^], lines#25, cuf1=^x, cuu1=^z,
232# Info:
233#	DELTA DATA
234#	This is untested. The cup sequence is hairy enough that it
235#	probably needs work. The idea is ctrl(O), dd(row), dd(col),
236#	where dd(x) is x - 2*(x%16) + '9'
237#
238delta|dd5000|delta data 5000,
239	cud1=^J, ind=^J, bel=^G, am, cub1=^H, clear=^NR,
240	cup=^O%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c,
241	cols#80, lines#27, home=^NQ, cuf1=^Y, cuu1=^Z, el=^NU, dch1=^NV,
242digilog|333|digilog 333,
243	cub1=^H, cols#80, el=\030, home=^n, lines#16, cuf1=^i, cuu1=^o,
244	cr=^M, cud1=^J, ind=^J, bel=^G,
245# Info:
246#	DIRECT
247#	I think the direct is supposed to be vt100 compatible, so all
248#	this should probably be replaced by a use=vt100, but I can't
249#	test it.
250#
251d800|direct|direct800|direct 800/a,
252	cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, am,
253	clear=\E[1;1H\E[2J, cub1=^H, cup=\E[%i%p1%d;%p2%dH,
254	cuf1=\E[C, cuu1=\E[A, el=\E[K, ed=\E[J, smso=\E[7m, rmso=\E[0m,
255	smul=\E[4m, rmul=\E[0m, xhp, cvvis=\E[>12l, cnorm=\E[>12h,
256	ind=\ED, ri=\EM, da, db, smacs=\E[1m, rmacs=\E[0m, msgr, ht=^I,
257	kcub1=\E[D, kcuf1=\E[C, kcuu1=\E[A, kcud1=\E[B,
258	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
259	kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
260env230|envision230|envision 230 graphics terminal,
261	am, mir, msgr, xon,
262	cols#80, it#8, lines#24, vt#3,
263	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
264	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
265	clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
266	cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
267	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
268	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
269	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>,
270	el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=\t,
271	hts=\EH, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b,
272	kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
273	kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
274	kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
275	kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, mc0=\E[0i,
276	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m$<2>,
277	ri=\EM$<5>, rmacs=^O, rmkx=\E[?1l\E>, rmso=\E[0m<2>,
278	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
279	sc=\E7,
280	sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
281	sgr0=\E[m^O$<2>, smacs=^N, smkx=\E[?1h\E=, smso=\E[1m<2>,
282	smul=\E[4m$<2>, tbc=\E[3g,
283falco|ts1|ts-1|falco ts-1,
284	cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, ht=^I,
285	is2=\Eu\E3, il1=\EE, am, el=\ET\EG0^H, cup=\E=%p1%' '%+%c%p2%' '%+%c,
286	clear=\E*, ed=\EY, dch1=\EW, cub1=^H, dl1=\ER, rmir=\Er, smir=\Eq,
287	home=^^, kf0=^A0\r, kcud1=^J, kcub1=^H, kcuf1=^L, kcuu1=^K, cuf1=^L,
288	rmso=\Eg0, smso=\Eg1, cuu1=^K, smul=\Eg1, rmul=\Eg0,
289# Info:
290#	For falcos with the paging option (very nice it turns out -
291#	they can store several hundred lines of text, as well as have
292#	a separate screen for vi and other such programs usage)...
293#
294falco-p|falco-tsl-1sp|falco with paging option,
295	cr=^M, cud1=^J, ind=^J, bel=^G, is2=\EZ\E3\E_c, il1=\EE, am,
296	cub1=^H, el=\ET\EG0^H\Eg0, clear=\E*, ed=\EY, cols#80,
297	dch1=\EW, dl1=\ER, kcud1=\E[B, kcub1=\E[D, rmir=\Er, smir=\Eq,
298	ht=^I, db, kcuf1=\E[C, kcuu1=\E[A, lines#24, cuf1=\E[C,
299	rmso=\Eg0, smso=\Eg4, cuu1=\E[A, smul=\Eg1, smcup=\E_d,
300	rmcup=\E_b, rmul=\Eg0, cud1=\E[B, cup=\E=%p1%' '%+%c%p2%' '%+%c,
301	msgr, ul, khome=\E[H, da, mir, cbt=\EI,
302ts100|ts100-sp|falco ts100-sp,
303	am, mir, msgr, xenl, xon,
304	cols#80, it#8, lines#24, vt#3,
305	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
306	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
307	clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
308	cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
309	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
310	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
311	cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
312	el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
313	ht=\t, hts=\EH, ich1=\E~Q, il1=\E~E, ind=\n,
314	is1=\E~)\E~ea, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b,
315	kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
316	kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
317	kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
318	kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
319	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmkx=\E[?1l\E>,
320	rmso=\E[m$<2>, rmul=\E[m$<2>,
321	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
322	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
323	sgr0=\E[m^O$<2>, smacs=^N, smkx=\E[?1h\E=,
324	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
325ts100-ctxt|falco ts-100 saving context,
326	smcup=\E~_d\E[2J, rmcup=\E~_b, use=ts100,
327# Info:
328#	FLUKE
329#	The 1720a differences from ANSI: no auto margin, destructive
330#	tabs, # of lines, funny highlighting and underlining
331#
332f1720|f1720a|fluke 1720A,
333	cr=^M, ind=^J, cud1=^J, bel=^G,
334	is2=\E[;H\E[2J, cols#80, lines#16,
335	cuu1=\E[A, cud1=\E[B, cuf1=\E[C, cub1=^H, cup=\E[%i%p1%d;%p2%dH,
336	ind=\ED, ri=\EM,
337	kcuu1=\034, kcud1=\035, kcuf1=\036, kcub1=\037,
338	smso=\E[7m, rmso=\E[m, xmc#1,
339	smul=\E[4m, rmul=\E[m,
340	el=\E[K, ed=\E[J,
341	xt, clear=\E[;H\E[2J,
342# Info:
343#	INTERTEC
344#	Intertec: I can't tell if these are the same terminal or not.
345#	the cup entries are different. The it2 looks suspiciously
346#	like an an Adds Regent 100, complete with the bug [mrh].
347#
348it|intertube|intertec|Intertec InterTube,
349	cr=^M, ind=^J, cud1=^J, bel=^G, cub1=^H, am,
350	clear=^L, home=^A, cuu1=^Z, cuf1=^F,
351	cup=\EY%p1%' '%+%c%p2%' '%+%c$<50>,
352	smso=\E0P, rmso=\E0@, cols#80, lines#25,
353# Info:
354#	The intertube 2 has the "full duplex" problem like the tek
355#	4025: if you are typing and a command comes in, the keystrokes
356#	you type get interspersed with the command and it messes up.
357#
358it2|intertube2|intertec data systems intertube 2,
359	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H,
360	clear=^L, cols#80, home=^A, lines#25, cuu1=^Z, el=\EK,
361	hpa=^P%p1%{10}%/%{16}%*%p1%{10}%m%+%c, vpa=^K%p1%c,
362	cup=^N%p1%c^P%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
363	cuf1=^F, cud1=\n, ll=^K^X\r, smso=\E0P, rmso=\E0@,
364superbrain|intertec superbrain,
365	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, ed=\E~k<10*>,
366	el=\E~K$<15>, bw, clear=\f$<5*>,
367	cup=\EY%p1%' '%+%c%p2%' '%+%c$<20>, cols#80,
368	kcud1=^J, kcub1=^U, kcuf1=^F, kcuu1=^K, lines#24,
369	cuf1=^F, ht=^I, rmcup=\f, smcup=\f, cuu1=^k,
370# FREEDOM 100 by Liberty Electronics USA, SF.
371f100|freedom|freedom100|freedom model 100,
372	am, bw, hs, mir, msgr, xon,
373	cols#80, lines#24,
374	acsc=+.'\,.-jHkGlFmEqKxJ, bel=^G, cbt=\EI, clear=^Z,
375	cr=\r, cub1=\b, cud1=\n, cuf1=\f,
376	cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dch1=\EW,
377	dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
378	flash=\Eb$<50>\Ed, fsl=\r, home=^^,
379	hpa=\E]%p1%'\s'%+%c, ht=\t, hts=\E1, il1=\EE$<8.5*>,
380	ind=\n, ip=$<6>, is2=\Eg\Ef\r\Ed, kbs=\b, kcub1=\b,
381	kcud1=^V, kcuf1=\f, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
382	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
383	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej,
384	rmacs=\E%, rmir=\Er, rmso=\EG0, rmul=\EG0, smacs=\E$,
385	smir=\Eq, smso=\EG4, smul=\EG8, tbc=\E3, tsl=\Eg\Ef,
386	vpa=\E[%p1%'\s'%+%c,
387f100-rv|freedom-rv|freedom 100 in reverse video,
388	is2=\Eg\Ef\r\Eb, flash=\Ed$<50>\Eb, use=f100,
389#
390#	Problem with vi(1). Liberty terminals use the ^V
391#	code for the down cursor key. When kcud1 is defined in terminfo
392#	as ^V, the Control Character Quoting capability (^V in insert mode)
393#	is lost! It cannot be remapped in vi because it is necessary to enter
394#	a ^V to to quote the ^V that is being remapped!!!
395#
396#	f110 users will have to decide whether
397#	to lose the down cursor key or the quoting capability. We will opt
398#	initially for leaving the quoting capability out, since use of VI
399#	is not generally applicable to most interactive applications
400#
401#	The same applies to f200 users, except that another option exists.
402#	This option has been chosen locally. It will not be distributed unless
403#	a user runs into this problem and requests assistance. Very few users,
404#	if any, should run into this problem. The local solution is in
405#	vifix.local.ti. The f200 has the ability to reprogram the down cursor
406#	key. The key is reprogrammed to ^J (linefeed). This value is remembered
407#	in non-volatile RAM, so powering the terminal off and on will not cause
408#	the change to be lost. The terminfo definition for the f200 is changed
409#	to identify kcud1 as ^J instead of ^V.
410#
411#
412f110|freedom110|Liberty Freedom 110,
413	am, bel=^G, cols#80, lines#24, cr=^M, hs, mir, msgr,
414	eslok, xon, it#8, wsl#80, cbt=\EI,
415	tbc=\e3, clear=^Z,
416	el=\ET, ed=\EY, hpa=\E]%p1%' '%+%c, vpa=\E[%p1%' '%+%c,
417	cup=\e=%p1%' '%+%c%p2%' '%+%c, cud1=^V, home=^^,
418	cub1=\b, cuf1=^L, cuu1=^K, dch1=\eW,
419	dl1=\eR, dsl=\ef\r, smacs=\e$, rmacs=\e%%, blink=\eG2,
420	bold=\eG0, dim=\EG@, rev=\EG4, rmul=\eG0,
421	invis=\eG1, smso=\eG<, smul=\eG8, rmso=\eG0, sgr0=\eG0,
422	flash=\Eb\0\0\0\0\Ed, fsl=\r,
423	il1=\eE, kbs=\b, kclr=^^, kdch1=\eW, kdl1=\eR,
424	kel=\eT, ked=\eY, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
425	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
426	kf0=^AI\r, kich1=\eQ, kil1=\eE, kcub1=\b, kcuf1=^L, kcuu1=^K,
427	mc4=\ea, mc5=\e`, hts=\e1, tsl=\ef, ind=\n, ri=\eJ
428	smir=\eO\eq, rmir=\er\eO, kcud1=^V,
429	cnorm=\e.2, cvvis=\e.2, civis=\e.1,
430f110-14|Liberty Freedom 110 14inch,
431	dch1@,use=f110,
432f110-w|Liberty Freedom 110 - 132 cols,
433	cols#132, use=f110,
434f110-14w|Liberty Freedom 110 14in/132 cols,
435	cols#132, dch1@, use=f110,
436f200|freedom200|Liberty Freedom 200,
437	am, bel=^G, cols#80, lines#24, cr=^M, hs, mir, msgr,
438	eslok, xon, it#8, wsl#80, cbt=\EI,
439	csr=\em0%p1%' '%+%c%p2%' '%+%c, tbc=\e3, clear=^Z,
440	el=\ET, ed=\EY, hpa=\E]%p1%' '%+%c, vpa=\E[%p1%' '%+%c,
441	cup=\e=%p1%' '%+%c%p2%' '%+%c, cud1=^V, home=^^, civis=\e.0,
442	cub1=\b, cnorm=\e.1, cuf1=^L, cuu1=^K, cvvis=\e.1, dch1=\eW,
443	dl1=\eR, dsl=\ef\r, smacs=\e$, rmacs=\e%%, blink=\eG2,
444	bold=\eG0, dim=\EG@, smir=\eq, rmir=\er, rev=\EG4, rmul=\eG0,
445	invis=\eG1, smso=\eG<, smul=\eG8, rmso=\eG0, sgr0=\eG0,
446	flash=\Eo\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\en, fsl=\r,
447	il1=\eE, kbs=\b, kclr=^^, kdch1=\eW, kdl1=\eR, kcud1=^V,
448	kel=\eT, ked=\eY, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
449	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
450	kf0=^AI\r, kich1=\eQ, kil1=\eE, kcub1=\b, kcuf1=^L, kcuu1=^K,
451	mc4=\ea, mc5=\e`, hts=\e1, tsl=\ef, ind=\n, ri=\eJ,
452f200-w|Liberty Freedom 200 - 132 cols,
453	cols#132, use=f200,
454f200vi|Liberty Freedom 200 for vi,
455	am, bel=^G, cols#80, lines#24, cr=^M, hs, mir, msgr,
456	eslok, xon, it#8, wsl#80, cbt=\EI,
457	csr=\em0%p1%' '%+%c%p2%' '%+%c, tbc=\e3, clear=^Z,
458	el=\ET, ed=\EY, hpa=\E]%p1%' '%+%c, vpa=\E[%p1%' '%+%c,
459	cup=\e=%p1%' '%+%c%p2%' '%+%c, cud1=^V, home=^^, civis=\e.0,
460	cub1=\b, cnorm=\e.1, cuf1=^L, cuu1=^K, cvvis=\e.1, dch1=\eW,
461	dl1=\eR, dsl=\ef\r, smacs=\e$, rmacs=\e%%, blink=\eG2,
462	bold=\eG0, dim=\EG@, smir=\eq, rmir=\er, rev=\EG4, rmul=\eG0,
463	invis=\eG1, smso=\eG<, smul=\eG8, rmso=\eG0, sgr0=\eG0,
464	flash=\Eb\0\0\0\0\Ed, fsl=\r,
465	il1=\eE, kbs=\b, kclr=^^, kdch1=\eW, kdl1=\eR, kcud1=^J,
466	kel=\eT, ked=\eY, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
467	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
468	kf0=^AI\r, kich1=\eQ, kil1=\eE, kcub1=\b, kcuf1=^L, kcuu1=^K,
469	mc4=\ea, mc5=\e`, hts=\e1, tsl=\ef, ind=\n, ri=\eJ,
470f200vi-w|Liberty Freedom 200 - 132 cols for vi,
471	cols#132, use=f200vi,
472omron|omron 8025AG,
473	cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EL, am, cub1=^H, ed=\ER,
474	cols#80, el=\EK, clear=\EJ, da, db, dch1=\EP, dl1=\EM, home=\EH,
475	lines#24, cuf1=\EC, rmso=\E4, ind=\ES, smso=\Ef, ri=\ET,
476	cuu1=\EA, cvvis=\EN,
477plasma|plasma panel,
478	am, cub1=^H, clear=^L, cols#85, home=^^, lines#45, cuf1=\030,
479	cuu1=\026, cr=^M, cud1=^J, ind=^J, bel=^G,
480ramtek|ramtek 6000,
481	cr=^M, cud1=^J, ind=^J, bel=^G, lines#24, cols#78, am,
482	clear=[alpha]\n[erase]\n, cub1=^H,
483soroc|iq120|soroc 120,
484	am,
485	cols#80, lines#24,
486	bel=^G, clear=\E*$<2>, cr=\r, cub1=\b, cud1=\n,
487	cuf1=\f, cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K,
488	ed=\EY, el=\ET, home=^^, ind=\n, kcub1=\b, kcud1=\n,
489	kcuf1=\f, kcuu1=^K,
490# Info:
491#	Note standout and underline are really sg#1, but when you
492#	backspace up the whole screen does standout or underline!
493#	The solution is to not specify sg#1 and live with it.
494#
495#	iq140 standout and underline are confused. What we have
496#	included here are reasonable possiblities for these two.
497#	Neither are really correct.
498#
499iq140|soroc 140,
500	cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, am,
501	clear=\E+, cub1=^H, cup=\E=%p1%' '%+%c%p2%' '%+%c, cuf1=^L, cuu1=^K,
502	home=^^, ll=^^^K, el=\Et, ed=\Ey, il1=\Ee$<1*>, dl1=\Er$<.7*>,
503	smir=\E9, cbt=\EI, rmir=\E8, mir, dch1=\Ew, smso=\E\177, rmso=\E\177,
504	kbs=^H, kcuf1=^L, khome=^^, kcuu1=^K, kf0=^A0\r,
505	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
506	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, smul=\E^A,
507	rmul=\E^A,
508swtp|ct82|southwest technical products ct82,
509	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, il1=^\^y,
510	ed=^v, el=^F, clear=^L, cup=^k%p2%c%p1%c, cols#82, lines#20, dl1=^z,
511	cuf1=^s, cuu1=^a, smso=^^^v, rmso=^^^F, dch1=^\^h, ich1=^\^x, home=^p,
512	ind=^n, ri=^o, ll=^c,
513	is2=^\^r^^^s^^^d^]^w^i^s^^^]^^^o^]^w^r^i,
514# Info:
515#	Another new terminal, tested, seems to work fine with vi.
516#
517synertek|ktm|380|Synertek KTM 3/80 tubeless terminal,
518	am, cub1=^H, cols#80, lines#24, ed=\EJ, el=\EK, clear=^Z,
519	cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, cuf1=^L,
520# Info:
521#	TAB
522#	The tab 132 uses xon/xoff, so no padding needed.
523#	smkx/rmkx have nothing to do with arrow keys.
524#	is2 sets 80 col mode, normal video, autowrap on (for am).
525#	Seems to be no way to get rid of status line.
526#
527tab132|tab|tab 132/15,
528	am, da, db, mir, msgr, xenl, xon,
529	cols#80, it#8, lines#24, lm#96, vt#3,
530	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
531	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
532	clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
533	cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
534	cuf=\E[%p1%dC, cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH,
535	cuu=\E[%p1%dA, cuu1=\E[A$<2>, dch1=\E[P, dl1=\E[M,
536	ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
537	enacs=\E(B\E)0, home=\E[H, ht=\t, hts=\EH, il1=\E[L,
538	ind=\n, is2=\E[?7h\E[?3l\E[?5l, ka1=\EOq, ka3=\EOs,
539	kb2=\EOr, kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\E[D,
540	kcud1=\E[B, kcuf1=\EOC, kcuu1=\E[A, kent=\EOM,
541	kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR,
542	kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
543	kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O,
544	rmir=\E[4l, rmso=\E[m$<2>, rmul=\E[m$<2>,
545	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
546	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
547	sgr0=\E[m^O$<2>, smacs=^N, smir=\E[4h,
548	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
549tab132-w,
550	cols#132, is2=\E[?7h\E[?3h\E[?5l, use=tab132,
551tab132-rv,
552	is2=\E[?7h\E[?3l\E[?5h, use=tab132,
553tab132-w-rv,
554	is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
555# Info:
556#	TEC (various terminals labelled "tec" - manufacturers unknown)
557#	tec is untested, and taken from CB/Unix virtual terminal driver.
558#	Upper case terminal, uses lower case for control sequences!!!
559#	The driver shows the C ~ operator used on CM coordinates.
560#
561tec400|tec scope,
562	cr=^M, cud1=^J, ind=^J, bel=^G, cup=l%p2%~%c%p1%~%c,
563	cuu1=x, cud1=h, cuf1=g, cub1=w, home=i, smso={, rmso=|,
564	xmc#1, clear=f, il1=e, dl1=u, ich1=d, dch1=t, el=c, ed=s,
565tec500|tec 500,
566	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H,
567	cup=\E=%p1%' '%+%c%p2%' '%+%c, clear=^Z$<20>,
568	cols#80, home=^^, lines#24, cuf1=^L, cuu1=^K, smso=^], rmso=^\,
569tec,
570	lines#24, cols#80, clear=^l, cuu1=^k, cuf1=\037, am,
571	cub1=^H, home=\036, cr=^M, cud1=^J, ind=^J, bel=^G,
572teletec|teletec datascreen,
573	cr=^M, cud1=^J, ind=^J, bel=^G,
574	am, cub1=^H, cols#80, clear=^l, home=^^, lines#24, cuf1=^_, cuu1=^k,
575vc404|volker-craig 404,
576	cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, ed=^W$<40>, el=^V$<20>,
577	clear=^X$<40>, cup=^P%p1%' '%+%c%p2%' '%+%c, cols#80, home=^Y$<40>,
578	kcud1=^J, kcub1=^H, kcuf1=^U, kcuu1=^Z, lines#24, cuf1=^U, cuu1=^Z,
579vc404-s|volker-craig 404 w/standout mode,
580	rmso=^O, smso=^N, use=vc404,
581vc404-na|volker-craig 404 w/no arrow keys,
582	kcuf1@, kcuu1@, use=vc404,
583vc404-s-na|volker-craig 404 w/standout mode and no arrow keys,
584	rmso=^O, smso=^N, use=vc404-na,
585vc415|volker-craig 415,
586	clear=^L, use=vc404,
587# Info:
588#	Missing in vc303a and vc303 descriptions: they scroll 2 lines
589#	at a time every other linefeed.
590#
591vc303-a|vc403a|volker-craig 303a,
592	cr=^M, cud1=^J, bel=^G, am, cub1=^H, el=^V$<20>, clear=^X$<40>,
593	cols#80, home=^Y$<40>, kcud1=^J, kcub1=^H, kcuf1=^U,
594	kcuu1=^Z, lines#24, ll=^P^@W, cuf1=^U, cuu1=^Z,
595vc303|vc103|vc203|volker-craig 303,
596	cr=^M, cud1=^J, bel=^G, am, cub1=^H, clear=^L$<40>, cols#80,
597	home=^K$<40>, kcud1=^J, kcub1=^H, kcuf1=^I, kcuu1=^N, lines#24,
598	ll=^O$<1>W, cuf1=^I, cuu1=^N,
599zen30|z30|zentec 30,
600	cr=^M, cud1=^J, ind=^J, bel=^G, mir, cols#80, lines#24,
601	ul, il1=\EE$<1.5*>, cub1=^H, el=\ET$<1.0*>,
602	cup=\E=%p1%' '%+%c%p2%' '%+%c, clear=\E*, home=^^, cuf1=^L,
603	rmso=\EG0, smso=\EG6, cuu1=^K, smir=\Eq, rmir=\Er,
604	am, dch1=\EW, dl1=\ER$<1.5*>, ed=\EY,
605# Info:
606#	COMPUCOLOR, ISC, INTECOLOR (?)
607#	These compucolors appear similar, but they at least have
608#	different sized screens. I don't know what's going on here.
609#
610#	There is further confusion since intecolor seems to call
611#	themselves isc too.
612#
613#	The following termcap for the Intelligent Systems Corporation
614#	8001 color terminal with lower-case and 48-line options
615#	disallows global motion to get around the 2-lines-at-a-time
616#	scrolling problem. It has been tested and works fine except
617#	when indented lines are scrolled in from the bottom of the
618#	screen. The latter problem originates with firmware which
619#	interprets NL as NL-CR when the cursor is on the bottom line
620#	of the screen.
621#
6228001|isc|isc8001|compucolor 8001,
623	cr=^M$<1>, cud1=^J$<1>, ind=^J$<1>, bel=^G, am, cols#80, lines#47,
624	il1=\EU$<5*>, dl1=\EV^\$<5*>, clear=^L$<31>, smir=^S\EQ$<1>,
625	rmir=^R\EK$<1>, kcub1=^Z, kcuf1=^Y, kcuu1=^\, kcud1=^J, khome=^H,
626	cub1=^Z$<1>, cuf1=^Y$<1>, cuu1=^\$<1>, smul=^Q$<1>, rmul=^R$<1>,
627#	cup=^C%p2%c%p1%c,
628compucolor2|compucolorii|compucolor 2,
629	cr=^M, cud1=^J, ind=^J, bel=^G,
630	ht=^I, am, cup=^C%p2%c%p1%c, cub1=^Z, lines#32, cols#64,
631	clear=^L, home=^H, cuf1=^Y, cuu1=^\,
632# Info:
633#	INTERACTIVE SYSTEMS
634#	smkx/rmkx from dgc, to make insert mode key work in Rand Editor.
635#	probably needs more keys defined.
636#
637intext|Interactive Systems Corporation modified owl 1200,
638	cr=^M, cud1=^J, ind=^J, bel=^G, il1=\020$<5.5*>, am, cub1=^_,
639	cub1=^H, cbt=^Y, ed=\026J$<5.5*>, el=^K\160^R,
640	clear=\014$<132>, cup=\017%p1%' '%+%c%p2%' '%+%c, cols#80,
641	dch1=\022$<5.5*>, dl1=\021$<5.5*>, rmir=\026\074,
642	smir=\026\073, ip=$<5.5*>, lines#24, cuf1=\036, ht=^I,
643	cuu1=\034, rmso=^V# , xmc#1, smso=^V$\054,
644	smkx=\036\072\264\026%, rmkx=\269,
645	kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=\034, kbs=^H, khome=^Z,
646	kf1=^VA\r, kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r,
647	kf6=^VF\r, kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, kf0=^VJ\r,
648intext2|intextii|INTERACTIVE modified owl 1251,
649	am, bw, ul, cols#80, lines#24,
650	bel=^G, blink=\E[10\sD, bold=\E[22\sD, cbt=\E[Z,
651	clear=\E[H\E[2J, cr=\r, cub=\E[%p1%dD, cub1=\E[D,
652	cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
653	cup=\E[%?%p1%t%p1%{1}%+%d%;%?%p2%t%p2%{1}%+;%d%;H,
654	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
655	dim=\E[0\sD, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
656	flash=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u, home=\E[H,
657	hpa=\E[%?%p1%t%p1%{1}%+%d%;G, ht=\t, ich=\E[%p1%d@,
658	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
659	indn=\E[%p1%dS, kbs=\b, kcub1=\ED\r, kcud1=\EB\r,
660	kcuf1=\EC\r, kcuu1=\EA\r, kf0=\E@\r, kf1=\EP\r,
661	kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, kf5=\EU\r, kf6=\EV\r,
662	kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, khome=\ER\r,
663	lf0=REFRSH, lf1=DEL\sCH, lf2=TABSET, lf3=GOTO,
664	lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
665	lf9=RIGHT, rev=\E[6\sD, ri=\E[T, rin=\E[%p1%dT,
666	rmso=\E[2\sD, rmul=\E[2\sD,
667	sgr=\E[%?%p5%t%{0}%e%{2}%;%?%p1%p3%|%p6%|%t%{4}%e%{0}%;%|%?%p4%t%{8}%e%{0}%;%|%?%p2%p6%|%t%{16}%e%{0}%;%|%d\sD,
668	sgr0=\E[2\sD, smso=\E[6\sD, smul=\E[18\sD,
669# ncr: NCR
670#
671# The 7900 model 1 is the default 7900 type terminal, so ``7900'' refers to it.
672# 7900 is not used by other terminals, so there is no name clash.
673ncr7900i|7900i|ncr7900|7900|ncr 7900 model 1,
674	am, bel=^G, bw, clear=^L, cols#80, cr=^M,
675	cub1=^H, cud1=^J, cuf1=^F, cuu1=^Z,
676	ind=^J, ll=^A,
677	cup=\E1%p2%c%p1%c,
678	ed=\Ek, el=\EK,
679	kcud1=^J, kcub1=^U, kcuf1=^F, kcuu1=^Z, khome=^A,
680	is2=\E0@\E3\E4, lines#24,
681	rmso=\E0@, xmc#1, smso=\E0Q,
682	blink=\E0B, dim=\E0A, rev=\E0P,
683	smul=\E0`, rmul=\E0@, ul, sgr0=\E0@,
684# Since each attribute paramter is 0 or 1, we shift each attribute (standout,
685# reverse, blink, dim, and underline) the appropriate number of bits (by
686# multiplying the 0 or 1 by a coorect factor to shift) so the bias character,
687# '@' is (effectively) "or"ed with each attribute to generate the proper third
688# character in the <ESC>0 sequence.  The "sgr" string implements the following
689# equation:
690#
691# ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
692# ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
693#
694#	Where:  P1 <==> Standout attribute parameter
695#		P2 <==> Underline attribute parameter
696#		P3 <==> Reverse attribute parameter
697#		P4 <==> Blink attribute parameter
698#		P5 <==> Dim attribute parameter
699	sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
700	mc4=^T, mc5=^R,
701# It seem users have a couple odd problems with ``vi'' when we define arrows,
702# since the arrow character has an otherwise special meaning to ``vi''.
7037900i-na|ncr7900i-na|ncr7900-na|7900-na|ncr 7900 model 1 with no arrows,
704	kcud1@,   kcub1@,   kcuf1@,   kcuu1@,   use=ncr7900i,
705# The entry for the model 4 is mostly untested.  People seem to prefer
706# other models.  This is a pretty outdated model.
7077900iv|ncr7900iv|ncr 7900 model 4,
708	am,	bw,	hs,	eslok,
709	cols#80,	lines#24,
710	bel=^G,	cr=\r,	clear=\f,
711	cup=^K%p1%'@'%+%c\E^E%p2%02d,	cud1=\n,	home=^K@\E^E00,
712	cub1=\b,	dl1=\E^O,	dsl=\Ey1,
713	fsl=\Ek\Ey5,	il1=\E^N,	kbs=\b,
714	kcud1=\EB,	kf1=\ES,	kf2=\ET,
715	kf3=\EU,	kf4=\EV,	kf5=\EW,
716	kf6=\EP,	kf7=\EQ,	kf8=\ER,
717	khome=\EH,	kcub1=\ED,	kcuf1=\EC,
718	kcuu1=\EA,	lf6=blue,	lf7=red,
719	lf8=white,	nel=\r\n,	ind=\n,
720	tsl=\Ej\Ex5\Ex1\EY8%p1%' '%+%c\Eo,
721	ind=^J,
722# Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
723#	   The user can enter a CTRL-B to get out of this locked state.
724ncr7901|7901|ncr 7901 model,
725	cols#80, lines#24,
726	am, bel=^G, bw, clear=^L, cr=^M,
727	cub1=^H, cud1=^J, cuf1=^F, cuu1=^Z,
728	ind=^J, ll=^A,
729	ed=\Ek, el=\EK,
730	civis=^W, cnorm=^X,
731	mc4=^T, mc5=^R,
732	kcud1=^J, kcub1=^U, kcuf1=^F, kcuu1=^Z, kclr=^L, khome=^A,
733	is2=^X,
734	.is2=\E4^O^X,
735	cup=\EY%p1%' '%+%c%p2%' '%+%c,
736	vpa=^K%p1%'@'%+%c,
737# We want to output the character given by the formula:
738#		((col / 10) * 16) + (col % 10)		where "col" is "p1"
739	hpa=^P%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
740	sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c^N,
741	blink=\E0B, dim=\E0A, rev=\E0P,
742	smso=\E0Q^N, rmso=^O, .msgr,
743	smul=\E0`^N, rmul=^O, sgr0=^O, ul,
744#
745#
746#
747t88|Synco T88 terminal,
748	am, xon,
749	cols#80, lines#24, xmc#0,
750	bel=^G, clear=^Z, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
751	cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dch1=\EW,
752	dl1=\ER$<1*>, el=\ET, home=^^, ht=\t, ich1=\EQ,
753	if=/usr/share/lib/tabset/stdcrt, il1=\EE$<1*>, ind=\n,
754	kbs=\b, kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K,
755	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
756	kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
757	rmso=\E(, rmul=\Em, smso=\E), smul=\El,
758#
759#
760t88-nr|Synco T88 terminal without rev video,
761	am, xon,
762	cols#80, lines#24,
763	bel=^G, clear=^Z, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
764	cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dch1=\EW,
765	dl1=\ER$<1*>, el=\ET, home=^^, ht=\t, ich1=\EQ,
766	if=/usr/share/lib/tabset/stdcrt, il1=\EE$<1*>, ind=\n,
767	kbs=\b, kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K,
768	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
769	kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
770	rmul=\Em, smul=\El,
771i279|Intel SBX279,
772        cols#80, lines#25,
773####	acsc=''aaffggj\343k\341l\340m\342n\352q\350t\346u\345v\347w\344x\351,
774        bel=^G, clear=\E+, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
775        cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dl1=\ER,
776	ed=\EY, el=\ET, home=^^, il1=\EE, ind=\n, is2=\Er\E+,
777	kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K, kdl1=\ER,
778	khome=^^, kil1=\EE,
779	smso=\Ej, rmso=\Ek,
780	sgr0=\Ek$<2>,
781