Add patch infrastructure for contrib/ and similiar directories.
[dragonfly.git] / share / termcap / termcap.src
1 # Copyright (c) 1980, 1985, 1989, 1993
2 #       The Regents of the University of California.  All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
6 # are met:
7 # 1. Redistributions of source code must retain the above copyright
8 #    notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright
10 #    notice, this list of conditions and the following disclaimer in the
11 #    documentation and/or other materials provided with the distribution.
12 # 3. All advertising materials mentioning features or use of this software
13 #    must display the following acknowledgement:
14 #       This product includes software developed by the University of
15 #       California, Berkeley and its contributors.
16 # 4. Neither the name of the University nor the names of its contributors
17 #    may be used to endorse or promote products derived from this software
18 #    without specific prior written permission.
19 #
20 # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 # ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 # SUCH DAMAGE.
31 #
32 #       @(#)termcap.src 8.2 (Berkeley) 11/17/93
33 # $FreeBSD: src/share/termcap/termcap.src,v 1.89.2.26 2003/05/26 18:52:13 ache Exp $
34 # $DragonFly: src/share/termcap/termcap.src,v 1.2 2003/06/17 04:37:03 dillon Exp $
35
36 #       Termcap source file
37 #       John Kunze, Berkeley
38 #       Craig Leres, Berkeley
39 #
40 # Please e-mail changes to termcap@berkeley.edu or uunet!ucbvax!termcap.
41 #
42 # << EOH - after reordering, above header lines survive and this line dies >>
43 #
44 # DESCRIPTION:
45 # This file describes capabilities of various terminals, as needed by
46 # software such as screen editors.  It does not attempt to describe
47 # printing terminals very well, nor graphics terminals.  Someday.
48 # See termcap(5) in the Unix Programmers Manual for documentation.
49 #
50 # Conventions: First entry is canonical name for model or mode, last entry
51 # is verbose description.  Others are mnemonic synonyms for the terminal.
52 #
53 # Terminal naming conventions:
54 # Terminal names look like <manufacturer> <model> - <modes/options>
55 # Certain abbreviations (e.g. c100 for concept100) are also allowed
56 # for upward compatibility.  The part to the left of the dash, if a
57 # dash is present, describes the particular hardware of the terminal.
58 # The part to the right can be used for flags indicating special ROM's,
59 # extra memory, particular terminal modes, or user preferences.
60 # All names should be in lower case, for consistency in typing.
61 #
62 # The following are conventionally used flags:
63 #       rv      Terminal in reverse video mode (black on white)
64 #       2p      Has two pages of memory.  Likewise 4p, 8p, etc.
65 #       w       Wide - in 132 column mode.
66 #       pp      Has a printer port which is used.
67 #       na      No arrow keys - termcap ignores arrow keys which are
68 #               actually there on the terminal, so the user can use
69 #               the arrow keys locally.
70 #
71 # To easily test a new terminal description, put it in $HOME/.termcap
72 # and programs will look there before looking in /etc/termcap.
73 # You can also setenv TERMPATH to a list of full pathnames (separated
74 # by spaces or colons) to be searched by tgetent() in the order listed.
75 # The TERMCAP environment variable is usually set to the termcap
76 # entry itself to avoid reading files when starting up a program.
77 #
78 # If you absolutely MUST check for a specific terminal (this is discouraged)
79 # check for the 2nd entry (the canonical form) since all other codes are
80 # subject to change.  We would much rather put in special capabilities
81 # to describe your terminal than have you key on the name.
82 #
83 #  Special manufacturer codes:
84 #       A: hardcopy daisy wheel terminals
85 #       M: Misc. (with only a few terminals)
86 #       q: Homemade
87 #       s: special (dialup, etc.)
88 #
89 # Comments in this file begin with # - they cannot appear in the middle
90 # of a termcap entry.  Individual entries are commented out by
91 # placing a period between the colon and the capability name.
92 #
93 #  This file is to be installed with an editor script (reorder)
94 #  that moves the most common terminals to the front of the file.
95\f# --------------------------------
96 #
97 # A: DAISY WHEEL PRINTERS
98 #
99 # The A manufacturer represents Diablo, DTC, Xerox, Qume, and other Daisy
100 # wheel terminals until such time as termcap distinguishes between them
101 # enough to justify separate codes.
102 # This is an "experimental" entry for the SRI Agiles.
103 # It has been tried in a minimal way -- the Agile did not blow up!
104 # However, it has not been exhaustively tested.
105 # Anyone who tries it and finds it wanting should get in touch with:
106 #       Ralph Keirstead (ralph@sri-unix);
107 #       EK352; SRI International; 333 Ravenswood Avenue; Menlo Park, CA 94025
108 agile|agiles|sri agiles:\
109         :bs:hc:os:pl:co#132:do=^J:kb=^H:up=\E\n:\
110         :hu=\E0:hd=\E9:if=/usr/share/tabset/std:is=\EE\EF\EJ:
111 1620|1720|450|ipsi|diablo 1620:\
112         :do=^J:ct=\E2:st=\E1:ch=\E\t%i%.:\
113         :if=/usr/share/tabset/xerox1720:\
114         :kb=^H:le=^H:bs:co#132:hc:hu=\EU:hd=\ED:os:pt:up=\E\n:
115 1620-m8|1640-m8|diablo 1620 w/8 column left margin:\
116         :do=^J:co#124:is=\r        \E9:tc=1620:
117 1640|1740|630|1730|x1700|diablo|xerox|diablo 1640:\
118         :if=/usr/share/tabset/xerox1730:\
119         :us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
120 1640-lm|1740-lm|630-lm|1730-lm|x1700-lm|diablo-lm|xerox-lm|\
121         diablo 1640 with indented left margin:\
122         :if=/usr/share/tabset/xerox1730-lm:\
123         :co#124:us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
124 # DTC 382 with VDU.  Has no cd so we fake it with ce.  Standout works but
125 # won't go away without dynamite.  The terminal has tabs, but I'm getting
126 # tired of fighting the braindamage.  If no tab is set or the terminal's
127 # in a bad mood, it glitches the screen around all of memory.  Note that
128 # return puts a blank ("a return character") in the space the cursor was
129 # at, so we use ^P return (and thus ^P newline for newline).  Note also
130 # that if you turn off pt and let Unix expand tabs, curses won't work
131 # (current version) because it doesn't turn off this bit, and cursor
132 # addressing sends a tab for row/column 9.  What a losing terminal!  I
133 # have been unable to get tabs set in all 96 lines - it always leaves at
134 # least one line with no tabs in it, and once you tab through that line,
135 # it completely weirds out.
136 dtc|ps|dtc382|382:\
137         :do=^J:al=^P^Z:am:le=^H:\
138         :bs:co#80:ce=^P^U:cl=20^P^]:cm=%r^P^Q%.%.:dc=^X:\
139         :dl=^P^S:ei=^Pi:ho=^P^R:im=^PI:ve=^Pb:vs=^PB:pc=\177:te=20^P^]:\
140         :li#24:nd=^PR:.se=^P \200:.so=^P \002^PF:us=^P \020:ue=^P \200:\
141         :up=^P^L:nc:xr:xs:da:db:.pt:cr=^P^M:cd=^P^U^P^S^P^S:\
142         :if=/usr/share/tabset/dtc382:
143 dtc300s|300|300s|dtc 300s:\
144         :ct=\E3:st=\E1:do=^J:\
145         :kb=^h:le=^H:bs:co#132:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
146 gsi:\
147         :le=^H:bs:co#132:hc:hd=\Eh:hu=\EH:os:pt:up=^Z:do=^J:
148 # This used to have :pl: - maybe they meant :pt:?
149 aj830|aj832|aj|anderson jacobson:\
150         :do=^J:le=^H:bs:hc:hd=\E9:hu=\E8:os:up=\E7:
151 # From Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
152 aj510|AJ510|Anderson-Jacobson model 510:\
153         :ip=.1*:so=\E"I:us=\E"U:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :\
154         :dl=2*\E&D:ue=\E"U:co#80:li#24:se=\E"I:al=2*\E&I:im=\E'I:ei=\E'J:\
155         :dc=.1*\E'D:up=\EY:nd=\EX:bs:am:mi:ti=\E"N:te=\E"N:\
156         :ku=\EY:kd=\EZ:kl=\EW:kr=\EX:pc=\177:
157 # From cbosg!ucbvax!pur-ee!cincy!chris Thu Aug 20 09:09:18 1981
158 # This is incomplete, but it's a start.
159 5520|nec|spinwriter|nec 5520:\
160         :ct=\E3:st=\E1:do=^J:kb=^h:le=^H:bs:co#132:hc:hu=\E]s\E9\E]W:\
161         :hd=\E]s\n\E]W:os:pt:up=\E9:
162 qume5|qume|Qume Sprint 5:\
163         :ct=\E3:st=\E1:do=^J:\
164         :kb=^h:le=^H:bs:co#80:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
165 q102|qume102|Qume 102:\
166         :al=\EE:am:bs:bt=\EI:\
167         :cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:ct=\E3:\
168         :dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
169         :k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:kd=^J:kl=^H:kr=^L:ku=^K:\
170         :le=^H:li#24:ma=^K^P^L :nd=^L:\
171         :se=\EG0:sg#1:so=\EG4:st=\E1:\
172         :ue=\EG0:ug#1:up=^K:us=\EG8:
173 # From ucbvax!mtxinu!sybase!tim (Tim Wood) Fri Sep 27 10:25:24 PDT 1985
174 # This entry supports line and character insert and delete, scroll up and
175 # down and the arrow keys.  To use it, perform the following on your qvt-101
176 #       1) enter SET-UP mode, select the SET 3 line;
177 #       2) move the cursor to the EMULATION item and hit SPACE
178 #          until QVT-101B appears
179 #       3) enter SHIFT-S
180 #       4) exit SET-UP - the terminal is now configured
181 q101|qvt101|qvt-101|Qume 101 $310 special:\
182         :al=\EE:am:bt=\EI:ce=\Et:cl=\E*:dc=\EW:\
183         :dl=\ER:do=^J:ic=\EQ:md=\E(:me=\EG0:mh=\E):\
184         :le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:ku=^K:\
185         :vs=\EM4\040\200\200\200:mr=\EG4:ms:so=\EG4:se=\EG1:
186 # I suspect the xerox1720 is the same as the diablo 1620.
187 x1720|1700|x1750|xerox 1720:\
188         :co#132:le=^H:bs:hc:os:pt:do=^J:ct=\E2:st=\E1:
189\f# --------------------------------
190 #
191 # B: AT&T ATT
192 #
193 # AT&T Teletype 5410 Terminal (a.k.a. 4410)
194 # From: carvalho%kepler@Berkeley.EDU (Marcio de Carvalho)
195 # Date: Thu, 26 Feb 87 09:16:50 PST
196 #
197 # Although the 5410 supports labels, it blanks the screen after
198 # each label is programmed creating to much visual activity.
199 # To use the labels, use FL=\E[%d;00q%-16s
200 #
201 5410|4410|tty5410|att4410|AT&T Teletype 5410 terminal with 80 columns:\
202         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
203         :cm=5\E[%i%2;%2H:co#80:dc=\E[P:dl=\E[M:ic=\E[@:\
204         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
205         :li#24:nd=\E[C:se=\E[m:so=\E[2;7m:sr=\EM:\
206         :ue=\E[m:up=\E[A:us=\E[4m:EE=\E[m:BO=\E[0;7m:DS=\E[2m:\
207         :KM=/usr/lib/ua/kmap.5410:is=\E[0m^O\E[?6l:kn#8:\
208         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k4=\EOg:k6=\EOh:\
209         :k7=\EOi:k8=\EOj:ko=nd,up,ho:
210 # AT&T 630 MTG DMD from muller%sdcc7@ucsd.edu (Keith Muller)
211 att630|dmd630|ATT630|630DMD|630dmd|630MTG|AT&T 630 windowing terminal:\
212         :am:da:db:ms:bs:co#80:it#8:li#60:lm#0:\
213         :up=\E[A:do=\E[B:nd=\E[C:le=\b:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:\
214         :LE=\E[%dD:cm=\E[%i%d;%dH:ho=\E[H:bt=\E[Z:\
215         :sf=\n:sr=\EM:SF=\E[%dS:SR=\E[%dT:us=\E[4m:ue=\E[m:so=\E[7m:se=\E[m:\
216         :mr=\E[7m:mh=\E[2m:mb=\E[5m:me=\E[m:ce=\E[K:cd=\E[J:cl=\E[H\E[J:\
217         :dc=\E[P:dl=\E[M:al=\E[L:DC=\E[%dP:DL=\E[%dM:AL=\E[%dL:\
218         :ic=\E[@:IC=\E[%d@:sc=\E7:rc=\E8:i2=\E[m:rs=\Ec:\
219         :pf=\E[?4i:po=\E[?5i:\
220         :kb=\b:kC=\E[2J:kh=\E[H:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:
221 dmd630-24|att630-24|ATT630-24|630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
222         :li#24:tc=att630:
223 dmd615|att615|ATT615|615DMD|615MTG|AT&T 615 windowing terminal 80 column:\
224         :li#24:tc=att630:
225 dmd615-w|att615-w|ATT615-w|615DMD-w|615MTG-w|AT&T 615 windowing terminal 132 column:\
226         :li#24:co#132:tc=att630:
227 dmd620|att620|ATT620|620DMD|620MTG|AT&T 620 windowing terminal 80 column:\
228         :li#24:tc=att630:
229 dmd620-w|att620-w|ATT620-w|620DMD-w|620MTG-w|AT&T 620 windowing terminal 132 column:\
230         :li#24:co#132:tc=att630:
231 # AT&T Teletype 5420 Terminal (a.k.a. 4415) June 5, 1985
232 5420|4415|tty5420|att4415|AT&T Teletype 5420 terminal:\
233         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
234         :cm=\E[%i%2;%2H:co#80:dc=\E[P:dl=\E[M:im=\E[4h:ei=\E[4l:\
235         :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
236         :li#24:nd=\E[C:se=\E[m:so=\E[2;7m:sr=\EM:\
237         :ue=\E[m:up=\E[A:us=\E[4m:EE=\E[m:BO=\E[0;7m:DS=\E[2m:\
238         :KM=/usr/lib/ua/kmap.5420:\
239         :is=\E[0m^O\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212\E[8;0j\E[9;0j\E[10;0j\E[19;1j:\
240         :db:mi:pt:kn#8:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
241         :k7=\EOi:k8=\EOj:ve=\E[11;0j:\
242         :vs=\E[11;1j:ko=bt,nd,up,dc,dl,ho,im,al:
243 # AT&T Teletype 5425 Terminal (a.k.a 4425) June 5, 1985
244 5425|4425|tty5425|att4425|AT&T Teletype 5425:\
245         :FL=\E[%d;00q%-16s\E~:FE=\E|:KM=/usr/lib/ua/kmap.5425:\
246         :is=\E[0m^O\E[1;2;3;4;6l\E[12;13;14;20l\E[?6l\E[?7h\E[4i\E[9;0j\E[10;0j\E[11;0j\E[21;1j\E[25;1j\212:\
247         :ve=\E[12;0j:vs=\E[12;1j:tc=5420:
248 t4|4420|tty4420|Teletype 4420:\
249         :vs=\ER:ve=\ER:am:da:db:mi:cr=\EG:\
250         :nl=\EG\EB:li#23:\
251         :co#80:cl=\EH\EJ:cd=\EJ:cm=\EY%+ %+ :\
252         :bs:up=\E7:do=\EB:nd=\EC:al=\EL:\
253         :dl=\EM:dc=\EP:ic=\E\136:sf=\EH\EM\EY5 :sr=\ET:kb=^H:
254 pc6300plus|6300|6300plus:\
255         :al=\E[1L:am:bs:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:co#80:\
256         :dc=\E[1P:dl=\E[1M:do=\E[B:ho=\E[H:\
257         :ic=\E[1@:kb=\10:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:li#24:\
258         :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
259         :k9=\EOk:k10=\EOu:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:\
260         :EE=\E[m:BO=\E[0;7m:CV=\E[=C:CI=\E[=1C:KM=/usr/lib/ua/kmap.s5:
261 # AT&T 6386 decompiled and hacked from SVR3.1 terminfo
262 # From: caron@polya.Stanford.EDU (Ilan G. Caron)
263 # Problems:  (1) The mode lines are screwed up - they're not in standout
264 # (an extraneous ESC-RD sequence is prepended to each mode line).
265 # (2) Cursor addressing into the mode line is often off-by-one,
266 # in particular, when the percentage indicator is updated.
267 # (3) When reverting to a single window (C-x 1), the display
268 # needs refreshing (an extraneous ESC-S seems to be generated).
269 # (The above 3 might be manifestations of the same problem).
270 # (4) Deletes sometime don't, especially when done fast - does this
271 # suggest that I need to pad something?
272 AT386|at386|386AT|386at|at/386 console:\
273         :am:bw:eo:xo:Co#8:NC#3:co#80:li#25:pa#64:kn#6:\
274         :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
275         :F1=\EOZ:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
276         :SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
277         :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
278         :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:cd=\E[J:ce=\E[K:\
279         :cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=\r:dc=\E[P:dl=\E[1M:\
280         :do=\E[B:ho=\E[H:ic=\E[1@:is=\E[0;10;39m:k1=\EOP:\
281         :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
282         :k8=\EOW:k9=\EOX:k;=\EOY:kB=^]:kC=\E[2J:kD=\E[P:\
283         :kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=\b:kd=\E[B:kh=\E[H:\
284         :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:\
285         :me=\E[0;10m:mk=\E[9m:mr=\E[7m:nd=\E[C:op=\E[0m:\
286         :se=\E[m:sf=\E[S:so=\E[43;30m:ta=\t:ue=\E[m:up=\E[A:\
287         :sr=\E[T:TC=\E[%d@:IC=\E[%d@:\
288         :us=\E[4m:vb=^G:bc=\E[D:
289 s4|PC7300|unixpc|pc7300|7300|3b1|Safari 4:\
290         :so=\E[2;7m:DS=\E[2m:XS=\E[9m:KM=/usr/lib/ua/kmap.s4:tc=pc6300plus:
291 # AT&T Teletype 610 Terminal
292 b610|610|610bct|tty610:\
293         :CV=\E[25h:CI=\E[25l:KM=/usr/lib/ua/kmap.s4:\
294         :FL=\E[%d;00q%-16s\E[0p:FE=\E[2p:cl=\E[1;1H\E[J:\
295         :is=\E[0m^O\E[25;1|^J\E[8;0|\E[4;13;20l\E[?5l\E[12h\E[?7h\E[?4i:\
296         :ve=\E[?12l:vs=\E[?12h:tc=5420:
297\f# --------------------------------
298 #
299 # C: CONTROL DATA
300 #
301 cdc456|cdc:\
302         :do=^J:li#24:co#80:cl=^Y^X:nd=^L:up=^Z:le=^H:bs:\
303         :cm=\E1%+ %+ :ho=^Y:al=\E\114:dl=\E\112:ce=^V:cd=^X:am:
304 cdc456tst:\
305         :do=^J:li#24:co#80:cl=^y^x:le=^H:bs:cm=\E1%+ %+ :am:
306\f# --------------------------------
307 #
308 # D: DATAMEDIA
309 #
310 dm1520|dm1521|1521|1520|datamedia 1520:\
311         :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:ho=^Y:\
312         :ku=^_:kd=^J:kl=^H:kr=^\:kh=^Y:\
313         :li#24:nd=^\:up=^_:xn:ma=^\ ^_^P^YH:pt:
314 dm2500|datamedia2500|2500|datamedia 2500:\
315         :do=^J:al=15^P\n^X^]^X^]:le=^H:bs:ce=^W:cl=^^^^\177:\
316         :cm=^L%r%n%.%.:co#80:dc=10*^P\b^X^]:dl=10*^P^Z^X^]:\
317         :dm=^P:ed=^X^]:ei=10\377\377^X^]:ho=^B:ic=10*^P^\^X^]:\
318         :im=^P:li#24:nc:nd=^\:pc=\377:so@=^N:se=^X^]:up=^Z:
319 dm3025|datamedia 3025a:\
320         :MT:is=\EQ\EU\EV:do=^J:\
321         :al=130\EP\n\EQ:le=^H:bs:cd=2\EJ:ce=\EK:cl=2\EM:cm=\EY%r%+ %+ :\
322         :co#80:dc=6\b:dl=130\EP\EA\EQ:dm=\EP:ed=\EQ:ei=\EQ:ho=\EH:\
323         :im=\EP:ip=6:li#24:nd=\EC:pt:so=\EO1:se=\EO0:up=\EA:
324 3045|dm3045|datamedia 3045a:\
325         :is=\EU\EV:do=^J:\
326         :am:le=^H:bs:cd=2\EJ:ce=\EK:cl=2\EM:cm=\EY%r%+ %+ :co#80:\
327         :dc=6\EB:ei=\EP:ho=\EH:im=\EP:ip=6:\
328         :k0=\Ey\r:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:\
329         :k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:k9=\Ex\r:\
330         :kh=\EH:ku=\EA:kr=\EC:li#24:nd=\EC:pc=\177:pt:eo:ul:up=\EA:xn:
331 # dt80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
332 dt80|dmdt80|dm80|datamedia dt80/1:\
333         :do=^J:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:ho=\E[H:\
334         :nd=\E[C:sr=\EM:so=\E[7m:se=\E[m:up=\E[A:us=\E[4m:ue=\E[m:tc=vt100:
335 # except in 132 column mode, where it needs a little padding.
336 # This is still less padding than the vt100, and you can always turn on
337 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
338 # reverse video.
339 dt80w|dmdt80w|dm80w|datamedia dt80/1 in 132 char mode:\
340         :do=^J:cd=20\E[0J:co#132:ce=20\E[0K:\
341         :cm=5\E[%i%d;%dH:cl=50\E[H\E[2J:up=5\E[A:tc=dmdt80:
342\f# --------------------------------
343 #
344 # H: HAZELTINE
345 #
346 # Since nd is blank, when you want to erase something you
347 # are out of luck.  You will have to do ^L's a lot to
348 # redraw the screen.  h1000 is untested.  It doesn't work in
349 # vi - this terminal is too dumb for even vi.  (The code is
350 # there but it isn't debugged for this case.)
351 h1000|hazeltine 1000:\
352         :le=^H:bs:ho=^K:cl=^L:nd= :co#80:li#12:do=^J:
353 # Note: the h1552 appears to be the first Hazeltine terminal which
354 # is not braindamaged.  It has tildes and backprimes and everything!
355 # Be sure the auto lf/cr switch is set to cr.
356 h1552|hazeltine 1552:\
357         :do=^J:al=\EE:dl=\EO:k1=\EP:l1=blue:k2=\EQ:\
358         :l2=red:k3=\ER:l3=green:tc=vt52:
359 h1552rv|hazeltine 1552 reverse video:\
360         :do=^J:so=\ES:se=\ET:tc=h1552:
361 # From cbosg!ucbvax!pur-ee!cincy!chris Thu Aug 20 09:09:18 1981
362 h1420|hazeltine 1420:\
363         :do=^J:le=^H:bs:am:li#24:co#80:al=\E^Z:dl=\E^S:cd=\E^X:cl=\E\034:\
364         :up=\E^L:nd=^P:ce=\E^O:ta=^N:cm=\E^Q%r%.%+ :so=\E\037:se=\E^Y:
365 # New "safe" cursor movement (11/87) from cgs@umd5.  Prevents freakout with
366 # out-of-range args and tn3270.  No hz since it needs to receive ~'s.
367 h1500|hazeltine 1500:\
368         :al=40~^Z:am:bs:cd=10~^X:ce=~^O:cl=~^\:cm=~^Q%r%>^^ %+`%+`:\
369         :co#80:dl=40~^S:do=~^K:ho=~^R:kh=~^R:kr=^P:ku=~^L:kd=^J:kl=^H:\
370         :le=^H:li#24:nd=^P:so=~^_:se=~^Y:up=~^L:.cm=~^Q%r%.%.:
371 # h1510 assumed to be in sane escape mode.  Else use h1500.
372 h1510|hazeltine 1510:\
373         :do=^J:al=\E^Z:am:le=^H:bs:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%.%.:\
374         :co#80:dl=\E^S:do=\E^K:hz:li#24:nd=^P:.se=\E^_:.so=\E^Y:up=\E^L:
375 h1520|hazeltine 1520:\
376         :do=^J:al=~^Z:am:le=^H:bs:cd=~^X:ce=~^O:cl=~\034:cm=~^Q%r%.%.\200:\
377         :co#80:dl=~^S:do=~^K:hz:li#24:nd=^P:se=~^Y:so=~\037:up=~^L:ho=~^R:
378 # Note: h2000 won't work well because of a clash between upper case and ~'s.
379 h2000|hazeltine 2000:\
380         :do=^J:al=6~^z:am:le=^H:bs:cl=6~^\:cm=~^q%r%.%.:co#74:\
381         :dl=6~^s:ho=~^r:li#27:nc:pc=\177:
382 # Hazeltine esprit entries from Univ of Utah  Tue Feb  1 06:39:37 1983
383 # J.Lepreau, lepreau@utah-cs, harpo!utah-cs!lepreau
384 esprit|hazeltine esprit:\
385         :al=40\E^Z:bs:cd=5\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%>^^ %+`%+`:co#80:\
386         :dl=40\E^S:do=\E^K:ho=\E^R:li#24:nd=^P:se=\E^Y:so=\E^_:up=\E^L:
387 esprit-am|hazeltine esprit auto-margin:\
388         :am:tc=esprit:
389\f# --------------------------------
390 #
391 # I: IBM
392 #
393 # ibm61 and ibm63 from Warren Gish (cswarren@violet.berkeley.edu).
394 # installed 12-17-86.
395 # 3161 only opens a new line if a null line exists on the screen.
396 # To ensure a null line exists, an SBA is performed, positioning the
397 # Buffer Address in column 0 of the last line.  The last line is then
398 # cleared to nulls, BA mode is canceled, and the new line is opened
399 # at the cursor position.
400 ibm61|ibm3161|3161|IBM 3161-11:\
401         :am:bs:bw:cl=\EL:li#24:co#80:cd=\EJ:al=\EX7 \EI\E Z\EN:\
402         :ce=\EI:cm=\EY%+\040%+\040:nd=\EC:up=\EA:do=\EB:\
403         :dl=\EO:dc=\EQ:kd=\EB:ku=\EA:kl=\ED:kr=\EC:kh=\EH:\
404         :us=\E4\102:ue=\E4\100:so=\E4\110:se=\E4\100:
405 #From seth@sirius.ctr.columbia.edu Sun May 20 11:02:34 1990
406 ibm3163|ibm63|i3163|3163|IBM 3163:\
407         :al=\EN:am:bs:bt=\E2:cd=\EJ:ce=\EI:cl=\EL:\
408         :cm=\EY%+\040%+\040:co#80:ct=\E 1:dc=\EQ:\
409         :dl=\EO:do=\EB:ds=\E#\072:es:fs=\E=:ho=\EH:\
410         :hs:ic=\EP:kA=\EN:kB=\E2:kC=\EQ:\
411         :kD=\EQ:kE=\EI:kI=\EI:kL=\EO:kS=\EJ:\
412         :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:kh=\EH:\
413         :le=\ED:li#24:mb=\E4D:md=\E4H:me=\E4@:\
414         :mk=\E4P:mr=\E4A:nd=\EC:\
415         :ds=\E#\::es:fs=\E=\E#;:hs:ts=\E=:ws#80:\
416         :se=\E4@:so=\E4I:ue=\E4@:up=\EA:us=\E4B:
417 ibm|ibm3101|3101|i3101|IBM 3101-10:\
418         :do=^J:ct=\EH:st=\E0:\
419         :if=/usr/share/tabset/ibm3101:\
420         :am:le=^H:bs:cl=\EK:li#24:co#80:nd=\EC:up=\EA:cd=\EJ:ce=\EI:\
421         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:ho=\EH:cm=\EY%+\40%+\40:pt:
422 ibm327-789|ibm-3277-2|ibm-3278-2|ibm-3278-3|ibm-3278-4|ibm-3278-5|ibm-3279-2|ibm-3279-3:\
423         :tc=ibm327-56:
424 ibm327-56|ibm-3275-2|ibm-3276-2|ibm-3276-3|ibm-3276-4|line mode IBM 3270 style:\
425         :gn:ce=\r:cl=\r\n:ho=\r:
426 ibm-apl|apl|IBM apl terminal simulator:\
427         :li#25:tc=dm1520:
428 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
429 rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
430         :ts=\Ej\EY@%+ \Eo:ds=\Ej\EY@\40\EI\Ek:li#32:tc=ibmconsole:
431 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
432 ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
433         :ts=\Ej\EY?%+ \Eo:ds=\Ej\EY?\40\EI\Ek:li#31:tc=ibmconsole:
434 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display color termcap:\
435         :ts=\Ej\EY?%+ \Eo:ds=\Ej\EY?\40\EI\Ek:li#31:mh=\EF\Ef7;:tc=ibmega-c:
436 ibmmono|ibmconsole|ibm5151|IBM workstation monochrome:\
437         :se=\Ez:so=\EZ:sr=\EA:al=\EL:dl=\EM:\
438         :kb=^H:us=\EW:ue=\Ew:\
439         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
440         :k0=\E<:I0=f10:kI=\000:kh=\EH:kR=\EG:kP=\Eg:kF=\EE:kN=\EE:\
441         :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:\
442         :ts=\Ej\EY8%+ \Eo:fs=\Ek:ds=\Ej\EY8\40\EI\Ek:es:hs:sb:tc=ibm3101:
443 ibmega-c|ibm5154-c|IBM Enhanced Color Display color termcap:\
444         :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmconsole:
445 #from marc pawliger--marc@ibminet.awdpa.ibm.com
446 #also in /usr/lpp/bos/bsdsysadmin.
447 hft-c|ibm8512|ibm8513|IBM High Function Terminal:\
448         :co#80:li#25:am:ht:\
449         :cm=\E[%i%d;%dH:ti=\E[20;4l\E[?7h\Eb:te=\E[20h:\
450         :nd=\E[C:up=\E[A:do=^J:ho=\E[H:\
451         :ec=\E[%dX:\
452         :cl=\E[H\E[J:cd=\E[J:el=\E[K:\
453         :AL=\E[%dL:DL=\E[%dM:al=\E[L:dl=\E[M:\
454         :im=\E[4h:ei=\E[4l:mi:\
455         :dm=\E[4h:ed=\E[4l:\
456         :so=\E[7m:se=\E[m:ul=\E[4m:ue=\E[m:ms:\
457         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
458         :as=^N:ae=^O:sc=\E[s:rc=\E[u:\
459         :kb=\E[D:kf=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:\
460         :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
461         :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k0=\E[010q:\
462         :is=\Eb\E[m^O\E[?7h:rs=\Eb\E[m^O\E[?7h\E[H\E[J:
463 hft|AIWS High Function Terminal:\
464         :al=\E[L:cr=^M:do=^J:sf=^J:bl=^G:am:le=^H:cd=\E[J:\
465         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:li#25:\
466         :dc=\E[P:dl=\E[M:ho=\E[H:\
467         :ic=\E[@:im=\E6:ei=\E6:\
468         :md=\E[1m:mr=\E[7m:mb=\E[5m:mk=\E[8m:me=\E[0m:\
469         :ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:kh=\E[H:kb=^H:\
470         :nd=\E[C:ta=^I:up=\E[A:xo:\
471         :ue=\E[m:us=\E[4m:se=\E[m:so=\E[7m:\
472         :kP=\E[159q:kN=\E[153q:\
473         :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:\
474         :k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
475         :k9=\E[009q:ka=\E[010q:
476 #From pryor@math.berkeley.edu
477 ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display:\
478         :ts=\Ej\EYA%+ \Eo:fs=\Ek:ds=\Ej\EYA\40\EI\Ek:es:hs:\
479         :li#33:tc=ibmconsole:
480 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display:\
481         :ts=\Ej\EYA%+ \Eo:fs=\Ek:ds=\Ej\EYA\40\EI\Ek:es:hs:\
482         :li#33:tc=ibmega-c:
483\f# --------------------------------
484 #
485 # M: MISCELLANEOUS TERMINALS
486 #
487 # The tab 132 uses xon/xoff, so no padding needed.
488 # ks/ke have nothing to do with arrow keys.
489 # is sets 80 col mode, normal video, autowrap on (for am).
490 # Seems to be no way to get rid of status line.
491 abm80|amtek business machines 80:\
492         :do=^J:al=\E^Z:am:le=^H:bs:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E^Q%r%+ %+ :\
493         :co#80:dl=\E^S:do=\E^K:li#24:nd=^P:.so=\E^_:.se=\E^Y:up=\E^L:\
494         :bw:bt=^T:ho=\E^R:
495 tab132|tab|tab132-15|tab 132-15:\
496         :is=\E[?7h\E[?3l\E[?5l:dN@:ks@:ke@:do=^J:\
497         :da:db:al=\E[L:dl=\E[M:dc=\E[P:ei=\E[4l:im=\E[4h:cm=\E[%i%d;%dH:\
498         :ku=\E[A:kd=\E[B:kl=\E[D:tc=vt100:
499 tab132w:\
500         :co#132:is=\E[?7h\E[?3h\E[?5l:tc=tab132:
501 tab132rv:\
502         :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
503 tab132wrv:\
504         :is=\E[?7h\E[?3h\E[?5h:tc=tab132w:
505 # This used to say "de#001202" which presumably refers to the stty bits
506 # that need to be set for some version of Unix.  We need the real delay
507 # requirements in MS.
508 mw2|Multiwriter 2:\
509         :do=^J:co#132:hc:os:
510 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
511         :do=^J:co#80:li#24:cl=50\E[;H\E[2J:sf=5\ED:\
512         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
513         :ce=3\E[K:cd=50\E[J:so=\E[7m:se=\E[m:us=2\E[4m:ue=2\E[m:\
514         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
515         :rf=/usr/share/lib/tabset/vt100:\
516         :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
517         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\
518         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:vt#3:xn:\
519         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
520 # luna's BMC terminal emulator
521 luna|luna68k|LUNA68K Bitmap console:\
522         :li#46:co#88:tc=ansi:
523 # SCO console and SOS-Syscons console for 386bsd
524 scoansi|SCO Extended ANSI standard crt:\
525         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:co#80:\
526         :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:li#25:\
527         :nd=\E[C:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\
528         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:\
529         :k7=\E[S:k8=\E[T:k9=\E[U:k0=\E[V:\
530         :kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:sf=\E[S:sr=\E[T:\
531         :mb=\E[5m:md=\E[1m:me=\E[m:\
532         :GS=\E[12m:GE=\E[10m:GV=\63:GH=D:\
533         :GC=E:GL=\64:GR=C:RT=^J:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
534         :GU=A:GD=B:\
535         :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
536         :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
537         :HM=\E[H:EN=\E[F:PU=\E[I:PD=\E[G:\
538         :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:
539 trs80|trs-80|radio shack trs-80 Model I:\
540         :do=^J:am:le=^H:bs:co#64:li#16:
541 d800|Direct 800/A:\
542         :do=^J:co#80:li#24:am:cl=\E[1;1H\E[2J:le=^H:bs:cm=\E[%i%d;%dH:\
543         :nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:\
544         :so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:xs:vs=\E[>12l:ve=\E[>12h:\
545         :sf=\ED:sr=\EM:da:db:as=\E[1m:ae=\E[0m:ms:pt:\
546         :kl=\E[D:kr=\E[C:ku=\E[A:kd=\E[B:\
547         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
548         :k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:
549 vc404|volker-craig 404:\
550         :do=^J:am:le=^H:bs:cd=40^W:ce=20^V:cl=40^X:cm=^P%+ %+ :co#80:\
551         :ho=40^Y:kd=^J:kl=^H:kr=^U:ku=^Z:li#24:ma=^Z^P^U :nd=^U:up=^Z:
552 vc404-s|volker-craig 404 w/standout mode:\
553         :do=^J:se=^O:so=^N:tc=vc404:
554 vc404-na|volker-craig 404 w/no arrow keys:\
555         :ma@:kr@:ku@:tc=vc404:
556 vc404-s-na|volker-craig 404 w/standout mode and no arrow keys:\
557         :se=^O:so=^N:tc=vc404-na:
558 # From: wolfgang@cs.sfu.ca
559 vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
560         :am:ic=\E\072:dc=\E\063:so=\E\031:se=\E\037:\
561         :kl=^H:kr=^P:ku=\E^L:kd=\E^K:kh=\E^R:\
562         :k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:\
563         :l0=PF1:l1=PF2:l2=PF3:l3=PF4:l4=PF5:l5=PF6:l6=PF7:l7=PF8:\
564         :al=40\E^Z:bs:cd=\E^X:ce=10\E^O:cl=40\E^\:co#80:\
565         :do=\E^K:li#24:nd=^P:up=\E^L:
566 vc414h-noxon:\
567         :dl=40\E^S:cm=40\E^Q%r%.%.:ho=\E^R:\
568         :tc=vc414h:
569 # missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
570 vc303a|vc403a|volker-craig 303a:\
571         :do=^J:am:le=^H:bs:ce=20^V:cl=40^X:co#80:ho=40^Y:kd=^J:kl=^H::kr=^U:\
572         :ku=^Z:li#24:ll=^P^@W:nd=^U:ns:up=^Z:
573 vc303|vc103|vc203|volker-craig 303:\
574         :do=^J:am:le=^H:bs:cl=40^L:co#80:ho=40^K:kd=^J:kl=^H:\
575         :kr=^I:ku=^N:li#24:ll=^O\200W:nd=^I:ns:up=^N:
576 # Test version for Falco ts-1. See "arpavax.hickman@ucb" for info
577 falco|ts1|ts-1|falco ts-1:is=\Eu\E3:\
578         :do=^J:al=\EE:am:bs:ce=\ET\EG0^h:cm=\E=%+ %+ :cl=\E*:cd=\EY:co#80:\
579         :dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:kd=^J:kl=^H:pt:\
580         :kr=^L:ku=^K:li#24:nd=^L:se=\Eg0:so=\Eg1:up=^K:us=\Eg1:ue=\Eg0:
581 falco-p|falco ts-1sp|falco with paging option:\
582         :is=\EZ\E3\E_c:\
583         :al=\EE:am:bs:ce=\ET\EG0^H\Eg0:cl=\E*:cd=\EY:co#80:dc=\EW:\
584         :dl=\ER:kd=\E[B:kl=\E[D:ei=\Er:im=\Eq:pt:db:\
585         :kr=\E[C:ku=\E[A:li#24:nd=\E[C:se=\Eg0:so=\Eg4:\
586         :up=\E[A:us=\Eg1:ti=\E_d:te=\E_b:\
587         :ue=\Eg0:do=\E[B:cm=\E=%+ %+ :ms:kh=\E[H:da:mi:bt=\EI:
588 #NOTE: bg can scroll, it just would rather not (ns) - rwells 3/13/81.
589 # (Shouldn't you take out ns and put in an nl instead? - mrh)
590 bitgraph|BBN BitGraph terminal:\
591         :do=^J:al=2*\E[L:bs:cd=150\E[J:ce=2\E[K:\
592         :cl=150\E[H\E[J:cm=%i\E[%d;%dH:co#85:\
593         :dl=2*\E[M:k0=\EP:k1=\EQ:k2=\ER:k3=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:\
594         :ks=\E=:ku=\EA:li#64:nd=\E[C:ns:pt:se=\E[0m:so=\E[7m:up=\E[A:sf=280\n:
595 d132|datagraphix|datagraphix 132a:\
596         :do=^J:co#80:li#30:cl=^l:ho=\Et:da:db:sf=\Ev:sr=\Ew:\
597         :up=\Ek:nd=\El:vs=\ex:ve=\Em\En:\
598         :al=\E3:ic=\E5:dc=\E6:in:ic=\E5:
599 soroc|Soroc 120:\
600         :do=^J:cd=\EY:ce=\ET:cl=2\E*:ma=^K^P^R^L^L :\
601         :kl=^H:ku=^K:kr=^L:kd=^J:tc=adm3a:
602 #  From: ma179abu%sdcc3@sdcsvax.ucsd.edu (Bill Houle)
603 iq140|soroc140|Soroc IQ140 with inverse & dim:\
604         :ic=\EQ:dc=\EW:al=\EE:dl=\ER:ce=\ET:cd=\EY:cl=\E+:cm=\E=%+ %+ :\
605         :up=^K:do=^J:le=^H:nd=^L:ho=^^:ta=\Ei:ma=^Kk^Jj^Hh^Ll^^h:am:bs:\
606         :co#80:li#24:kb=^H:kh=^^:ku=^K:kd=^J:kl=^H:kr=^L:\
607         :k0=^AI:k1=^A@:k2=^AA:k3=^AB:k4=^AC:k5=^AD:k6=^AE:k7=^AF:\
608         :k8=^AG:k9=^AH:se=\E^?:so=\E^?:us=\E):ue=\E(:
609 # tec is untested, and taken from CB/Unix virtual terminal driver.
610 # Upper case terminal, uses lower case for control sequences!!!
611 # The driver shows the C ~ operator used on CM coordinates.
612 # Without the terminal in front of me, I can't figure out what's
613 # going on, so I've dotted out the cm.  Note there is no ~ in tgoto.
614 tec400|tec scope:\
615         :do=^J:.cm=l%r%.%.:up=x:do=h:nd=g:le=w:ho=i:so={:se=|:sg#1:\
616         :cl=f:al=e:dl=u:ic=d:dc=t:ce=c:cd=s:
617 # From ucbvax!geoff Mon Sep 21 21:15:45 1981
618 # This entry has been tested.
619 tec500|tec 500:\
620         :do=^J:am:le=^H:bs:cm=\E=%+ %+ :cl=20^Z:\
621         :co#80:ho=^^:li#24:nd=^L:up=^K:so=^]:se=^\:
622 # I would appreciate more information on this terminal, such as the
623 # manufacturer and the model number.  There are too many tecs in here.
624 tec:\
625         :li#24:co#80:cl=^l:up=^k:nd=\037:\
626         :am:le=^H:bs:ho=\036:ma=^K^P^_ :do=^J:
627 teletec|Teletec Datascreen:\
628         :do=^J:am:le=^H:bs:co#80:cl=^l:ho=^^:li#24:nd=^_:up=^k:
629 # From cbosg!ucbvax!SRC:george Fri Sep 11 22:38:32 1981
630 ampex|d80|dialogue|dialogue80|ampex dialogue 80:\
631         :ct=\E3:st=\E1:do=^J:is=\EA:us=\El:ue=\Em:\
632         :am:le=^H:bs:pt:cl=75\E*:cm=\E=%+ %+ :\
633         :al=5*\EE:bt=\EI:ic=\EQ:dl=5*\ER:dc=\EW:\
634         :ce=\Et:cd=\Ey:so=\Ej:se=\Ek:li#24:co#80:nd=^L:up=^K:
635 #  From: atd!dsd!rcb@ucbvax.berkeley.edu (Richard Bascove)
636 a210|210|ampex210|ampex a210:\
637         :am:bs:cl=\E*:cm=\E=%+ %+ :al=\EE:bt=\EI:ic=\EQ:\
638         :dl=\ER:dc=\EW:ho=^^:xn:ce=\Et:cd=\Ey:li#24:co#80:nd=^L:up=^K:\
639         :pt:if=/usr/share/tabset/std:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
640         :kl=^H:kr=^L:kd=^V:ku=^K:kh=^^:hs:ts=\E.0\Eg\E}\Ef:fs=\E.2:\
641         :kn#10:k0=^A0^M:k1=^A1^M:k2=^A2^M:k3=^A3^M:k4=^A4^M:k5=^A5^M:\
642         :vb=\EU\EX\EU\EX\EU\EX\EU\EX:k6=^A6^M:k7=^A7^M:k8=^A8^M:k9=^A9^M:\
643         :so=\EG4:se=\EG0:us=\EG8:ue=\EG0:ug#1:sg#1:
644 digilog|333|digilog 333:\
645         :le=^H:bs:co#80:ce=\030:ho=^n:li#16:nd=^i:up=^o:do=^J:
646 ep48|ep4080|execuport 4080:\
647         :am:le=^H:bs:os:co#80:hu=\036:hd=\034:do=^J:
648 ep40|ep4000|execuport 4000:\
649         :am:le=^H:bs:os:co#136:hu=\036:hd=\034:do=^J:
650 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
651         :co#120:hc:os:do=^J:
652 # AED 512
653 # by giles Billingsley (gilesb%ucbcad@berkeley)
654 # rewritten 8/82 for newer AEDs and better operation of vi,etc.
655 aed|AED|aed512|AED512|aed 512:\
656         :db:co#64:li#40:cl=^L:bs:nd=\Ei0800\001:\
657         :up=^K:ve=\E\E\E\E\E\E\E\072004=000200??\001:\
658         :vb=\EK0001??0000K0001202080\001:\
659         :us=\E\07200>8000140\001:ue=\E\07200>8000100\001:\
660         :uc=\Ei???>l0800i0102\001:\
661         :ti=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001:\
662         :te=\E\07200>8000100{804<0??00001000L80\072004=000200??\001:\
663         :so=\E\07200>8000140[80C00\001:se=\E[00C80\001:\
664         :is=\EG1MMM.`40K0001202080K8001????00^L\EC80L80{80^L\EK010100????K0601??0000c818100\EG1HHH.\07210000019A27FD006A280D002A200A52429FE8524861086118612861360N031B4C3F3F1800N041B0C1B4C38301800N001B3B313030301800N011B3B313030341800N021B3B313030381800N050800N061B3B313335301800\07211000015A58E8D5011A58F8D5111A5908D5211A5918D531160\07212000015AD5011858EAD5111858FAD52118590AD5311859160\0721300004B2071C5858E0A18658E0A0A858EA900858F268FA5278590A50A29018591A9F51865908590A90165918591A59038E58E8590A591E58F290185912071C5180A0A0A0901858EA900858F268F60\0721350000BA9472031DEA9502031DE60\E\E\E\EG1MMM.^A:
665 aed-ucb|AED-UCB|aed512-ucb|AED512-UCB|aed 512 w/o UCB ROM:\
666         :db:co#64:li#40:cl=^L:bs:nd=\Ei0800\001:up=^K:\
667         :ve=\E\E\E\E\E\E\E\072004=000200??\001:\
668         :vb=\EK0001??0000K0001202080\001:\
669         :us=\E\07200>8000140\001:ue=\E\07200>8000100\001:\
670         :uc=\Ei???>l0800i0102\001:\
671         :ti=\E\07200>8000140{<04<0??00001010L<0\072004=0002??00\001:\
672         :te=\E\07200>8000100{804<0??00001000L80\072004=000200??\001:\
673         :so=\E\07200>8000140[80C00\001:se=\E[00C80\001:\
674         :if=/usr/share/tabset/aed512:
675 # CIT 80  - vt 100 emulator, the termcap has been modified to remove
676 #           the delay times and do an auto tab set rather than the indirect
677 #           file used in vt100.
678 cit80|cit 80|Citoh 80:\
679         :co#80:li#24:am:cl=\E[;H\EJ:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
680         :ce=\EK:cd=\EJ:is=\E>:ks=\E[?1h\E=:ke=\E[?1l\E>:\
681         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:
682 # From mtxinu!sybase!tim (Tim Wood) Fri Sep 27 09:39:12 PDT 1985
683 # Alternate cit101 (vt100 em) file used in vt100.
684 #           Uses 23 lines so can run citsys (like h19sys).
685 #       24 May 85 (mtxinu!sybase!tim) - removed 2-byte limit on 'cm' cursor
686 #         coordinates otherwise there is garbling on long lines in 
687 #         co#132 mode; also added support for multipage memory on the Itoh.
688 citc|Citoh fast vt100:\
689         :co#80:li#23:am:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
690         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
691         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
692         :ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
693         :vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:\
694         :dc=\E[P:al=\E[L:dl=\E[M:ic=\E[@:vs=\E7\E[U:ve=\E[V\E8:xn:
695 cita:\
696         :co#80:li#23:am:cl=\E[;H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
697         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
698         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
699         :ks=\E[?1h\E=:ke=\E[?1l\E>:\
700         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:vs=\E7\E[U:ve=\E[V\E8:\
701         :vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:xn:
702 cit101:li#24:vb@:tc=citc:
703 cit101b:li#24:tc=citc:
704 cit500|cit-500|cit 500:\
705         :co#80:li#40:cl=50\E[;H\E[2J:bs:am:cm=5\E[%i%2;%2H:nd=2\E[C:up=2\E[A:\
706         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
707         :is=\E(B\E)0\E>\E[?3l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
708         :if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
709         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:xn:\
710         :do=\ED:al=\E[L:dc=\E[P:dl=\E[M:
711 # Note several versions of blit.  I don't know exactly what is what
712 # so please send me any corrections to this -- mrh
713 # From research!ikeya!rob Tue Aug 31 23:41 EDT 1982
714 blit|jerq|blit-pb|blit running teletype rom:\
715         :do=^J:IC=\Ef%+ :DC=\Ee%+ :AL=\EF%+ :DL=\EE%+ :\
716         :mi:dl=\EE!:ic=\Ef!:dc=\Ee!:al=\EF!:\
717         :ce=\EK:cl=^L:cm=\EY%r%+ %+ :co#87:li#72:nd=\EC:\
718         :up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:am:ul:pt:eo:
719 cbblit|columbus enhanced tty blit:\
720         :vb=\E^G:so=\EU!:se=\EV!:us=\EU":ue=\EV":cd=\EJ:\
721         :im=\EQ:ei=\ER:ic@:co#88:sf=\EG:tc=blit:
722 oblit|ojerq|first version of blit rom:\
723         :do=^J:AL=\Ef%+ :DL=\Ee%+ :mi:dl=\EE:ei=\ER:im=\EQ:dc=\EO:da:db:\
724         :al=\EF:cd=\EJ:ce=\EK:cl=^L:cm=\EY%r%+ %+ :co#88:li#72:nd=\EC:\
725         :up=\EA:vb=\E^G:am:ul:pt:eo:
726 daleblit|daleterm|blit running Dale DeJager's ROM:\
727         :ku=\EA:kd=\EB:kr=\EC:kl=\ED:so=\EU!:se=\EV!:us=\EU":ue=\EV":\
728         :da@:db@:tc=oblit:
729 datapoint|dp3|dp3360|datapoint 3360:\
730         :do=^J:am:le=^H:bs:cd=^_:ce=^^:cl=^]^_:co#82:ho=^]:li#25:nd=^x:up=^z:
731 #From: cbosgd!utcs!romwa@ucbvax.berkeley.edu (mark dornfeld)
732 #               This termcap is for the LANPAR Technologies VISION 3220
733 #       terminal.  The function key definitions k0-k5 represent the
734 #       edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
735 #       NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
736 #       PF4 keys.
737 v3220|LANPAR Vision II model 3220/3221/3222:\
738         :co#80:li#24:cl=\E[H\E[J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
739         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
740         :is=\E>\E[?3l\E[?7h\E[?8h\E[p:ks=\E=:ke=\E>:\
741         :kn#10:k0=\E[1~:k1=\E[2~:k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:\
742         :k6=\E[OP:k7=\E[OQ:k8=\E[OR:k9=\E[OS:\
743         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
744         :kh=\E[H:pt:sr=\EM:xn:\
745         :dl=\E[M:dc=\E[P:ei=\E[4l:al=\E[L:im=\E[4h:mi:
746 # From ucbvax!faletti (Faletti@Berkeley)
747 # FREEDOM 100 by Liberty Electronics USA, SF.
748 # :kh=^^:  left out because it precludes using change-to-alternate-file in vi.
749 # Basic Freedom 100 entry, works with VI at 1200 baud.
750 f100|freedom100|freedom|freedom 100 no padding:\
751         :am:bs:bw:mi:ms:pt:co#80:kn#20:li#24:\
752         :ct=\E3:st=\E1:is=\Eg\Ef\r\Ed:kr=^L:\
753         :cl=^Z:do=^J:ho=^^:kb=^H:kl=^H:\:kd=^V:\
754         :ko=dc,al,dl,cl,bt,ce,cd:ku=^K:le=^H:nd=^L:\
755         :ch=\E]%+ :cm=\E=%+ %+ :cv=\E[%+ :sr=\Ej:up=^K:\
756         :al=\EE:bt=\EI:cd=\EY:ce=\ET:dc=\EW:dl=\ER:ei=\Er:im=\Eq:\
757         :se=\EG0:so=\EG4:ue=\EG0:us=\EG8:as=\E$:ae=\E%:\
758         :vb=\Eb\200\200\Ed:\
759         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
760         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k0=^AI\r:\
761         :hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:
762 f100-rv|freedom100-rv|freedom-rv|freedom100 with reverse video at 1200:\
763         :is=\Eg\Ef\r\Eb:vb=\Ed\200\200\Eb:tc=freedom100:
764 # VI at 9600 baud (or EMACS at 1200 -- but may be more than is needed for emacs)
765 f100-v|freedom100-v|freedom-v|freedom100 for 9600 vi or 1200 emacs:\
766         :al=6.5*\EE:dl=11.5*\ER:\
767         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
768         :tc=freedom100:
769 f100-v-rv|freedom100-v-rv|freedom-v-rv|freedom100 rev. vid. for 9600 vi:\
770         :al=6.5*\EE:dl=11.5*\ER:is=\Eg\Ef\r\Eb:\
771         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
772         :tc=freedom100:
773 # EMACS at 9600 baud -- this still needs some more work on the padding
774 f100-e|freedom100-e|freedom-e|freedom100 for 9600 emacs:\
775         :al=8.5*\EE:dl=11.5*\ER:ip=6:\
776         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
777         :tc=freedom100:
778 f100-e-rv|freedom100-e-rv|freedom-e-rv|freedom100 rev. vid. for emacs 9600:\
779         :al=8.5*\EE:dl=11.5*\ER:ip=6:is=\Eg\Ef\r\Eb:\
780         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
781         :tc=freedom100:
782 f110-v|freedom110-v|freedom110 for 9600 vi or 1200 emacs:\
783         :is=\Eg\Ef\r\Ed\EO:dc=\EO\EW:im=\EO\Eq:\
784         :al=6.5*\EE:dl=11.5*\ER:\
785         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
786         :tc=freedom100:
787 # (from kerch@lll-crg)
788 f200|freedom200| Freedom 200 VDT by Liberty Electronics :\
789         :if=/usr/share/tabset/stdcrt:al=\EE:am:bs:bt=\EI:cd=\EY:\
790         :ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:do=^V:\
791         :ds=\Eh:ei=\Er:im=\Eq:is=\Eg\El\E\041\062:\
792         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
793         :k6=^AE\r:k7=^AE\r:k8=^AF\r:k9=^AG\r:kd=^V:kr=L:\
794         :ku=^K:li#24:ms:nd=^L:se=\EG0:so=\EG4:sr=\Ej:\
795         :te=\EJ\E\\2\E|\041\061^L^Y:ti=\E\\1\EK\E|\041\061L^Y:\
796         :ts=\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:hs:i2=\E^O\Eg:\
797         :ts=\Ef:fs=^M:ds=\E^N:
798 dg6053|data general 6053:\
799         :do=^J:am:le=^H:bs:cm=^P%r%.%.:cl=^L:ho=^H:nd=^S:\
800         :up=^W:ce=^K:co#80:li#24:
801 # dg450 and dg200 from cornell
802 dg450|dg6134|data general 6134:\
803         :nd=\030:bs@:tc=dg200:
804 dg200|data general Dasher 200:\
805         :am:bc=^Y:bs=0:ce=^K:cl=^L:cm=^P%r%+\200%+\200:co#80:do=^Z:\
806         :ho=^H:li#24:\
807         :ll=\036FP\017:se=\036E:so=\036D:up=^W:\
808         :is=\036O\036FQ2\036FB000\036FE\036FA\036FQ2:
809 # Note: lesser Dasher terminals will not work with vi because vi insists upon
810 # having a command to move straight down from any position on the bottom line
811 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
812 # above have both, the D210/211, for instance, has neither.  We must use ANSI
813 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
814 # backspace on all terminals.  This is not so in DG mode.
815 dg460-ansi|Data General Dasher 460, ANSI-mode:\
816         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J:\
817         :cm=\E[%i%2;%2H:co#80:dc=\E[P:dl=\E[M:do=\E[B:\
818         :ho=\E[H:ic=\E[@:ue=\E[05:ul:up=\E[A:us=\E[4m:is=\036F@:\
819         :k0=\E[001z:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
820         :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[00\:z:\
821         :kb=\E[D:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:kn#6:\
822         :l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:\
823         :le=^H:li#24:mb=\E[5m:me=\E[0m:mh=\E[2m:mr=\E[7m:ms:mu=\EW:\
824         :nd=\E[C:nl=\ED:pt:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:
825 v603|visual603|603|Visual model 603:\
826         :hs:ts=\EP2~:fs=\E\\:ds=\EP2;1~\E\\:\
827         :im=\E[4h:ei=\E[4l:mi:dc=\E[P:al=\E[L:dl=\E[M:\
828         :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:sb=\EM:\
829         :ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
830         :so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\
831         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
832         :is=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
833         :rs=\E>\E[?3l\E[?4l\E[?7h\E[?8h:\
834         :tc=vt100:
835 cdi|cdi1203:\
836         :am:le=^H:bs:hc:os:co#80:dC#200:do=^J:
837 # ^S is an arrow key!  Boy is this guy in for a surprise on v7!
838 sol:\
839         :do=^J:am:le=^Y:ho=^H:bs:cm=\E^1%.\E^2%.:cl=^K:ho=^N:co#64:li#16:\
840         :nd=^S:up=^W:kl=^A:kr=^S:ku=^W:kd=^Z:ma=^A^H^S ^W^P^Z^N:
841 xl83|Cybernex XL-83:\
842         :do=^J:am:le=^H:bs:cd=62^P:ce=3^O:cl=62^L:cm=^W%+ %+ :co#80:ho=^K:\
843         :kd=^J:kl=^H:ku=^N:li#24:up=^N:nd=^I:
844 omron|Omron 8025AG:\
845         :do=^J:al=\EL:am:le=^H:bs:cd=\ER:co#80:ce=\EK:cl=\EJ:\
846         :da:db:dc=\EP:dl=\EM:ho=\EH:li#24:nd=\EC:se=\E4:sf=\ES:\
847         :so=\Ef:sr=\ET:up=\EA:ve=:vs=\EN:
848 plasma|plasma panel:\
849         :am:le=^H:bs:cl=^L:co#85:ho=^^:li#45:nd=\030:up=\026:do=^J:
850 pty|pseudo teletype:\
851         :do=^J:co#80:li#24:am:cl=\EJ:le=^H:bs:cm=\EG%+ %+ :nd=\EC:\
852         :up=\EA:ce=\EK:cd=\EL:al=\EP:dl=\EN:ic=\EO:\
853         :so=\Ea$:se=\Eb$:us=\Ea!:ue=\Eb!:
854 remote|virtual remote terminal:\
855         :co#79:am@:nl@:tc=virtual:
856 swtp|ct82|southwest technical products ct82:\
857         :do=^J:am:le=^d:bc=^d:\
858         :al=^\^y:cd=^v:ce=^F:cl=^L:cm=%r^k%.%.:co#82:li#20:\
859         :dl=^z:nd=^s:up=^a:so=^^^v:se=^^^F:dc=^\^h:ic=^\^x:ho=^p:\
860         :sf=^n:sr=^o:ll=^c:\
861         :is=^\^r^^^s^^^d^]^w^i^s^^^]^^^o^]^w^r^i:
862 terak|Terak emulating Datamedia 1520:\
863         :tc=dm1520:
864 # :is resets scrolling region in case a previous user had used "tset vt100"
865 sun|Sun Microsystems Workstation console:\
866         :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
867         :am:bs:mi:ms:pt:km:\
868         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:is=\E[1r:rs=\E[1r:\
869         :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\
870         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
871         :al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
872         :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:
873 # From john@ucbrenoir  Tue Sep 24 13:14:44 1985
874 sun-s|Sun Microsystems Workstation window with status line:\
875         :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun:
876 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
877         :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun-e:
878 sun-48|Sun 48-line window:\
879         :li#48:co#80:tc=sun:
880 sun-34|Sun 34-line window:\
881         :li#34:co#80:tc=sun:
882 sun-24|Sun 24-line window:\
883         :li#24:co#80:tc=sun:
884 sun-17|Sun 17-line window:\
885         :li#17:co#80:tc=sun:
886 sun-12|Sun 12-line window:\
887         :li#12:co#80:tc=sun:
888 sun-1|Sun 1-line window for sysline:\
889         :li#1:co#80:es:hs:ts=\r:fs=\E[K:ds=^L:tc=sun:
890 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
891         :ic@:im@:ei@:tc=sun:
892 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
893         :te=\E[>4h:ti=\E[>4l:tc=sun:
894 # The terminal mvterm is a full color terminal emulation that seems to be
895 # specific to a terminal program on Sun workstations called SwitchTerm. It
896 # seems to be vt100 compatible in some areas, but not in other. Please
897 # note that the size of the current format of the terminal definition is
898 # 1011 bytes which just scrapes below the 1023 limit that FreeBSD sets.
899 # Daniel Rudy <dcrudy@pacbell.net>
900 mvterm|vv100:\
901         :@8=\EOM:AB=\E[4%p1%dm:AF=\E[3%p1%dm:AL=\E[%p1%dL:Co#8:DC=\E[%p1%dP:\
902         :sc=\E7:DL=\E[%p1%dM:DO=\E[%p1%dB:IC=\E[%p1%d@:K1=\EOq:K2=\EOr:\
903         :K3=\EOs:K4=\EOp:xn:K5=\EOn:LE=\E[%p1%dD:RI=\E[%p1%dC:UP=\E[%p1%dA:\
904         :al=\E[L:am:as=^N:bl=^G:us=\E[4m:\
905         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:cb=\E[1K$<3>:\
906         :so=\E[7m:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%p1%d;%p2%dH:co#80:\
907         :cr=\r:ct=\E[3g:ue=\E[m:cs=\E[%i%p1%d;%p2%dr:dc=\E[P:dl=\E[M:do=\n:\
908         :ds=\E[?E:eA=\E(B\E)0:es:ti=\E7\E[?47h:fs=\E[?F:ho=\E[H:hs:ic=\E[@:\
909         :it#8:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:sf=\n:k5=\EOt:k6=\EOu:\
910         :k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=\b:kd=\EOB:kl=\EOD:st=\EH:\
911         :ke=\E[?1l\E>:km:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=\b:li#24:\
912         :mb=\E[5m$<2>:ta=\t:md=\E[1m:me=\E[m:mi:mr=\E[7m:ms:nd=\E[C:\
913         :op=\E[100m:pa#64:rc=\E8:sr=\EM:ae=^O:se=\E[m:\
914         :r1=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H:te=\E[2J\E[?47l\E8:\
915         :sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;:\
916         :ts=\E[?E\E[?%i%p1%dT:up=\E[A:
917 # For NeWS's psterm from Eric Messick & Hugh Daniel
918 psterm|psterm-basic|psterm-80x34:\
919         :am:bs:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
920         :dc=\EF:dl=\EK:do=\EP:ei=\ENi:el=\ENl:fs=\ENl:\
921         :ho=\ER:hs:im=\EOi:is=\EN*:km:kd=\E[B:ku=\E[A:kr=\E[C:kl=\E[D:\
922         :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:pt:rc=\034:rs=\EN*:sc=\035:\
923         :se=\ENo:sf=\EW:sl=\EOl:so=\EOo:sr=\EX:te=\ENt:ti=\EOt:ts=\EOl:\
924         :ue=\ENu:le=\ET:ll=\EU:ul:up=\EY:us=\EOu:vb=\EZ:co#80:li#34:
925 psterm-96x48:\
926         :co#96:li#48:tc=psterm-basic:
927 psterm-90x28:\
928         :co#90:li#28:tc=psterm-basic:
929 psterm-80x24:\
930         :co#80:li#24:tc=psterm-basic:
931 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
932 # some control characters you type will do strange things to the screen.
933 psterm-fast:\
934         :am:bs:al=^A:cd=^B:ce=^C:cl=^L:cm=^D%d;%d;:cs=^E%d;%d;:\
935         :dc=^F:dl=^K:do=^P:ei=^Ni:el=^Nl:fs=^Nl:\
936         :ho=^R:hs:im=^Oi:is=^N*:km:kd=\E[B:ku=\E[A:kr=\E[C:kl=\E[D:\
937         :mb=^Ob:md=^Od:me=^N*:mr=^Or:nd=^V:pt:rc=\034:rs=^N*:sc=\035:\
938         :se=^No:sf=^W:sl=^Ol:so=^Oo:sr=^X:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:\
939         :le=^T:ll=^U:ul:up=^Y:us=^Ou:vb=^Z:co#80:li#34:
940 apollo:\
941         :al=\EI:am:bs:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):\
942         :cv=\EO+ :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:mi:nd=\EC:se=\ET:sf=\EE:\
943         :so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:co#88:li#53:
944 # Apollo termcaps from Gary Darland, goodmanc@garnet
945 apollo_15P|apollo 15 inch display:\
946         :dN@:tc=vt132:
947 apollo_19L|apollo 19 inch display:\
948         :dN@:tc=vt132:
949 apollo_color|apollo color display:\
950         :dN@:tc=vt132:
951 virtual|VIRTUAL|cb unix virtual terminal:\
952         :do=^J:co#80:li#24:am:cl=\E\112:le=^H:bs:cm=\E\107%r%.%.:nd=\E\103:\
953         :up=\E\101:ce=\E\113:cd=\E\114:al=\E\120:dl=\E\116:ic=\E\117:\
954         :da:db:kl=\E\104:kr=\E\103:ku=\E\101:kd=\E\102:kh=\E\105:\
955         :so=\E\141\004:se=\E\142\004:us=\E\141\001:ue=\E\142\001:
956 it2|intertube2|intertec data systems intertube 2:\
957         :do=^J:am:bs:cl=^L:co#80:ho=^A:li#25:up=^Z:ce=\EK:\
958         :cm=^N%+ %+ :ch=^P%\102%.:cv=^K%.:nd=^F:do=\n:ll=^K^X\r:\
959         :so=\E0P:se=\E0@:
960 delta|dd5000|delta data 5000:\
961         :do=^J:am:le=^H:bs:cl=^NR:cm=^O%\068%+9%\068%+9:co#80:li#27:\
962         :ho=^NQ:nc:nd=^Y:up=^Z:ce=^NU:dc=^NV:ma=^K^J^Z^P^Y :xr:
963 mdl110|cybernex mdl-110:\
964         :cm=^P%+ %+ :co#80:li#24:am:cl=70^X:le=^H:bs:do=^J:\
965         :nd=^U:up=^Z:ho=^Y:ce=145^N@^V:cd=145^NA^W:al=65^NA^N^]:\
966         :dl=40^NA^N^^:ic=3.5^NA^]:dc=3.5^NA^^:\
967         :so=^NF:se=^NG:ta=43\t:ma=^Z^P:cd=6^N@^V:
968 zen30|z30|zentec 30:\
969         :do=^J:mi:co#80:li#24:ma=^L ^R^L^K^P:ul:\
970         :al=1.5*\EE:le=^H:bs:ce=1.0*\ET:cm=\E=%+ %+ :cl=\E*:\
971         :ho=^^:nd=^L:se=\EG0:so=\EG6:up=^K:im=\Eq:ei=\Er:\
972         :am:dc=\EW:dl=1.5*\ER:cd=\EY:
973 modgraph|mod|Modgraph terminal emulating vt100, 24x80:\
974         :xn@:rf@:sr=5\EM\E[K:vs=\E\^9;0s\E\^7;1s:\
975         :is=\E\^9;0s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s:\
976         :tc=vt100:
977 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
978 # also, has a meta-key (MT)
979 # from goldberger@su-csli.arpa
980 dmchat|dmchat version of datamedia 2500:\
981         :al=1*^P\n^X^]^X^]:\
982         :MT:km:\
983         :dl=2^P^Z^X^]:\
984         :tc=dm2500:
985 # originally from Carol Block at ear (cblock@ear); changed O's to 0's and
986 # fixed :is \E from pcuser@garnet.berkeley.edu, 27 Feb 90
987 mt70|m70|morrow mt70:\
988         :is=\EG0\E"5:cl=^Z:cm=\E=%+ %+ :do=^J:ic=\EQ:\
989         :dc=\EW:kl=\034L:kr=\034M:ku=\034J:kd=\034K:\
990         :so=\EG4:se=\EG0:us=\EG1:ue=\EG0:vs=\E"2:ve=\E"5\E(:\
991         :tc=adm31:
992 # standard-issue France Telecom minitel terminal (made by Philips)
993 m2-nam|minitel|minitel-2|minitel-2-nam|minitel 2|France Telecom Minitel:\
994         :li#24:al=\E[L:dl=\E[M:ip=7:dc=\E[P:ei=\E[4l:im=\E[4h:xn:\
995         :ho=\E[H:cl=\E[H\E[J:ug#0:sg#0:\
996         :co#80:am@:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
997         :as=\E(0:ae=\E(B:sf=^j:sr=\EM:is=\E[1;24r\E[24;1H:\
998         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
999         :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:\
1000         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
1001         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:
1002 # from keith bostic (bostic@monet)
1003 #
1004 mod2|Modgraph GX-1000, set to 80x24, keypad not enabled:\
1005         :is=\E<\E\^5;2s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s\E\^12;0s\E\^14;2s\E\^15;9s\E\^25;1s\E\^9;1s\E\^27;1:\
1006         :bs:cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :co#80:li#24:nd=2\EC:\
1007         :pt:sr=5\EI:up=2\EA:da:db:am:
1008 wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1009         :am:al=\EL:is=\E7B0\E7F7\E7C2\E7R3:\
1010         :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:ho=\EH:cm=\EY%+ %+ :co#80:li#40:nd=\EC:\
1011         :pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:\
1012         :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
1013         :vs=\E;:ve=\E>:cl=\Ev:ho=\EH:dl=\EM:so=\E9P:se=\E0@:\
1014         :HS=\E7F2:HE=\E7F7:\
1015         :us=\E7R2\E9P:ue=\E7R3\E0@:\
1016         :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
1017 # davis@unidata.ucar.edu
1018 iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal:\
1019         :am:co#80:it#8:li#40:bl=^G:md=\E[1m:cl=\E[H\E[2J:\
1020         :ve=\E[9/y\E[12/y\E[=6l:cr=\r:LE=\E[%dD:\
1021         :le=\E[D:DO=\E[%dB:do=\n:RI=\E[%dC:\
1022         :nd=\E[C:cm=\E[%i%d;%dH:UP=\E[%dA:\
1023         :up=\E[A:vs=\E[10/y\E[=1h\E[=2l\E[=6h:\
1024         :DL=\E[%dM:dl=\E[M:cd=\E[J:ce=\E[K:cb=\E[1K:\
1025         :ho=\E[H:ta=\t:st=\EH:AL=\E[%dL:al=\E[L:\
1026         :sf=\ED:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\
1027         :*4=\E[P:*7=\E[147q:#2=\E[143q:#4=\E[158q:\
1028         :%f=\E[210q:%i=\E[167q:!2=\E[218q:kb=\b:\
1029         :kB=\E[Z:kl=\E[D:kd=\E[B:kr=\E[C:\
1030         :ku=\E[A:kD=\177:@7=\E[146q:@8=\r:\
1031         :k1=\E[001q:k;=\EOQ:F1=\EOR:F2=\EOS:\
1032         :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
1033         :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\EOP:\
1034         :kh=\E[H:kI=\E[139q:kN=\E[154q:kP=\E[150q:\
1035         :%9=\E[209q:kM=\E[146q:&7=\E[217q:nw=\EE:\
1036         :pk=\EP101;%d.y%s\E\\:rc=\E8:mr=\E[7m:\
1037         :sr=\EM:se=\E[m:ue=\E[m:sc=\E7:me=\E[m:\
1038         :so=\E[1;7m:us=\E[4m:ct=\E[3g:
1039\f# --------------------------------
1040 #
1041 # N: ANN ARBOR
1042 #
1043 # Needs function keys added.
1044 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
1045 # Highly modified 6/22 by Mike O'Brien.
1046 # split out into several for the various screen sizes by dave-yost@rand
1047 # Modifications made 3/82 by Mark Horton
1048 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
1049 # status line moved to top of screen, vb removed 5/82
1050 #
1051 # assumes the following setup:
1052 #   A menu: 0000 1010  0001 0000
1053 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1054 #   C menu: 56   66   0    0    9600  0110 1100
1055 #   D menu: 0110 1001   1   0
1056 #
1057 #       Briefly, the settings are for the following modes:
1058 #          (values are for bit set/clear with * indicating our preference
1059 #           and the value used to test these termcaps)
1060 #       Note that many of these settings are irrelevant to the termcap
1061 #       and are just set to the default mode of the terminal as shipped
1062 #       by the factory.
1063 #
1064 # A menu: 0000 1010  0001 0000
1065 #       Block/underline cursor*
1066 #       blinking/nonblinking cursor*
1067 #       key click/no key click*
1068 #       bell/no bell at column 72*
1069 #
1070 #       key pad is cursor control*/key pad is numeric
1071 #       return and line feed/return for <cr> key *
1072 #       repeat after .5 sec*/no repeat
1073 #       repeat at 25/15 chars per sec. *
1074 #
1075 #       hold data until pause pressed/process data unless pause pressed*
1076 #       slow scroll/no slow scroll*
1077 #       Hold in area/don't hold in area*
1078 #       functions keys have default*/function keys disabled on powerup
1079 #
1080 #       show/don't show position of cursor during page transmit*
1081 #       unused
1082 #       unused
1083 #       unused
1084 #
1085 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1086 #       Baud rate (9600*)
1087 #
1088 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
1089 #       1 stop bit*/2 stop bits
1090 #       parity error detection off*/on
1091 #
1092 #       keyboard local/on line*
1093 #       half/full duplex*
1094 #       disable/do not disable keyboard after data transmission*
1095 #
1096 #       transmit entire page/stop transmission at cursor*
1097 #       transfer/do not transfer protected characters*
1098 #       transmit all characters/transmit only selected characters*
1099 #       transmit all selected areas/transmit only 1 selected area*
1100 #
1101 #       transmit/do not transmit line separators to host*
1102 #       transmit/do not transmit page tab stops tabs to host*
1103 #       transmit/do not transmit column tab stop tabs to host*
1104 #       transmit/do not transmit graphics control (underline,inverse..)*
1105 #
1106 #       enable*/disable auto XON/XOFF control
1107 #       require/do not require receipt of a DC1 from host after each LF*
1108 #       pause key acts as a meta key/pause key is pause*
1109 #       unused
1110 #
1111 #       unused
1112 #       unused
1113 #       unused
1114 #       unused
1115 #
1116 #       XON character (17*)
1117 #       XOFF character (19*)
1118 #
1119 # C menu: 56   66   0    0    9600  0110 1100
1120 #       number of lines to print data on (printer) (56*)
1121 #
1122 #       number of lines on a sheet of paper (printer) (66*)
1123 #
1124 #       left margin (printer) (0*)
1125 #
1126 #       number of pad chars on new line to printer (0*)
1127 #
1128 #       printer baud rate (9600*)
1129 #
1130 #       printer parity: 00=odd,01=even*,10=space,11=mark
1131 #       printer stop bits: 2*/1
1132 #       print/do not print guarded areas*
1133 #
1134 #       new line is: 01=LF,10=CR,11=CRLF*
1135 #       unused
1136 #       unused
1137 #
1138 # D menu: 0110 1001   1   0
1139 #       LF is newline/LF is down one line, same column*
1140 #       wrap to preceding line if move left from col 1*/don't wrap
1141 #       wrap to next line if move right from col 80*/don't wrap
1142 #       backspace is/is not destructive*
1143 #
1144 #       display*/ignore DEL character
1145 #       display will not/will scroll*
1146 #       page/column tab stops*
1147 #       erase everything*/erase unprotected only
1148 #
1149 #       editing extent: 0=display,1=line*,2=field,3=area
1150 #
1151 #       unused
1152 #
1153 aaa-unk|ann arbor ambassador (internal - don't use this directly):\
1154         :do=^J:al=3\E[L:am:le=^H:bs:\
1155         :cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:cm=\E[%i%d;%dH:co#80:\
1156         :dc=4\E[P:dl=3\E[M:ho=\E[H:ic=4\E[@:\
1157         :md=\E[1m:mr=\E[7m:mb=\E[5m:mk=\E[8m:me=\E[m:\
1158         :ku=\EM:kd=\ED:kl=\E[D:kr=\E[C:kh=\E[H:ko=cl,dc,dl,ce,cd:\
1159         :ks=\EP`?z~[H~[[J`>z~[[J`8xz~[M`4xz~[[D`6xz~[[C`2xz~[D\E\\:\
1160         :ke=\EP`?y~[H~[[J`>y~[[2J`8xy~[M`4xy~[[D`6xy~[[C`2xy~[D\E\\:\
1161         :ch=\E[%i%d`:pt:bw:bt=\E[Z:\
1162         :mi:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:up=\EM:
1163 aaa-18|ann arbor ambassador/18 lines:\
1164         :ti=\E[2J\E[18;0;0;18p:te=\E[60;0;0;18p\E[18;1H\E[J:\
1165         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1166         :li#18:tc=aaa-unk:
1167 aaa-20|ann arbor ambassador/20 lines:\
1168         :ti=\E[2J\E[20;0;0;20p:te=\E[60;0;0;20p\E[20;1H\E[J:\
1169         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1170         :li#20:tc=aaa-unk:
1171 aaa-22|ann arbor ambassador/22 lines:\
1172         :ti=\E[2J\E[22;0;0;22p:te=\E[60;0;0;22p\E[22;1H\E[J:\
1173         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1174         :li#22:tc=aaa-unk:
1175 aaa-24|ann arbor ambassador/24 lines:\
1176         :ti=\E[2J\E[24;0;0;24p:te=\E[60;0;0;24p\E[24;1H\E[J:\
1177         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1178         :li#24:tc=aaa-unk:
1179 aaa-26|ann arbor ambassador/26 lines:\
1180         :ti=\E[2J\E[26;0;0;26p:te=\E[60;0;0;26p\E[26;1H\E[J:\
1181         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1182         :li#26:tc=aaa-unk:
1183 aaa-28|ann arbor ambassador/28 lines:\
1184         :ti=\E[2J\E[28;0;0;28p:te=\E[60;0;0;28p\E[28;1H\E[J:\
1185         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1186         :li#28:tc=aaa-unk:
1187 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
1188         :ti=\E[2J\E[30;0;0;30p:te=\E[60;0;0;30p\E[30;1H\E[J:\
1189         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1190         :li#30:tc=aaa-unk:
1191 aaa-36|ann arbor ambassador/36 lines:\
1192         :ti=\E[2J\E[36;0;0;36p:te=\E[60;0;0;36p\E[36;1H\E[J:\
1193         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1194         :li#36:tc=aaa-unk:
1195 aaa-40|ann arbor ambassador/40 lines:\
1196         :ti=\E[2J\E[40;0;0;40p:te=\E[60;0;0;40p\E[40;1H\E[J:\
1197         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1198         :li#40:tc=aaa-unk:
1199 aaa-48|ann arbor ambassador/48 lines:\
1200         :ti=\E[2J\E[48;0;0;48p:te=\E[60;0;0;48p\E[48;1H\E[J:\
1201         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1202         :li#48:tc=aaa-unk:
1203 aaa-60|ann arbor ambassador/60 lines:\
1204         :ti=\E[2J\E[60;0;0;60p:te=\E[60;0;0;60p\E[60;1H\E[J:\
1205         :is=\EP`+x~M\E\\\E[m\E7\E[60;0;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1206         :li#60:tc=aaa-unk:
1207 aaa-unk-s|ann arbor ambassador unknown with/status:\
1208         :es:hs:i2=\E7\E[>51h\E[H\E[2K\E[>51l\E8:\
1209         :ts=\E7\E[>51h\E[H\E[2K\E[%i%d`:fs=\E[>51l\E8:\
1210         :ds=\E7\E[>51h\E[H\E[2K\E[>51l\E8:\
1211         :tc=aaa-unk:
1212 aaa-18-s|ann arbor ambassador/18 lines + status line:\
1213         :ti=\E[2J\E[18;1;0;18p:\
1214         :te=\E[60;1;0;18p\E[17;1H\E[J:\
1215         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1216         :li#17:tc=aaa-unk-s:
1217 aaa-20-s|ann arbor ambassador/20 lines + status line:\
1218         :ti=\E[2J\E[20;1;0;20p:\
1219         :te=\E[60;1;0;20p\E[19;1H\E[J:\
1220         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1221         :li#19:tc=aaa-unk-s:
1222 aaa-22-s|ann arbor ambassador/22 lines + status line:\
1223         :ti=\E[2J\E[22;1;0;22p:\
1224         :te=\E[60;1;0;22p\E[21;1H\E[J:\
1225         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1226         :li#21:tc=aaa-unk-s:
1227 aaa-24-s|ann arbor ambassador/24 lines + status line:\
1228         :ti=\E[2J\E[24;1;0;24p:\
1229         :te=\E[60;1;0;24p\E[23;1H\E[J:\
1230         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1231         :li#23:tc=aaa-unk-s:
1232 aaa-26-s|ann arbor ambassador/26 lines + status line:\
1233         :ti=\E[2J\E[26;1;0;26p:\
1234         :te=\E[60;1;0;26p\E[25;1H\E[J:\
1235         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1236         :li#25:tc=aaa-unk-s:
1237 aaa-28-s|ann arbor ambassador/28 lines + status line:\
1238         :ti=\E[2J\E[28;1;0;28p:\
1239         :te=\E[60;1;0;28p\E[27;1H\E[J:\
1240         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1241         :li#27:tc=aaa-unk-s:
1242 aaa-30-s|ann arbor ambassador/30 lines + status line:\
1243         :ti=\E[2J\E[30;1;0;30p:\
1244         :te=\E[60;1;0;30p\E[29;1H\E[J:\
1245         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1246         :li#29:tc=aaa-unk-s:
1247 aaa-36-s|ann arbor ambassador/36 lines + status line:\
1248         :ti=\E[2J\E[36;1;0;36p:\
1249         :te=\E[60;1;0;36p\E[35;1H\E[J:\
1250         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1251         :li#35:tc=aaa-unk-s:
1252 aaa-40-s|ann arbor ambassador/40 lines + status line:\
1253         :ti=\E[2J\E[40;1;0;40p:\
1254         :te=\E[60;1;0;40p\E[39;1H\E[J:\
1255         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1256         :li#39:tc=aaa-unk-s:
1257 aaa-48-s|ann arbor ambassador/48 lines+sl:\
1258         :ti=\E[2J\E[48;1;0;48p:te=\E[60;1;0;48p\E[47;1H\E[J:\
1259         :is=\EP`+x~M\E\\\E[m\EP`?y~[[2J~[[H\E7\E[60;1;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1260         :li#47:tc=aaa-unk-s:
1261 aaa-60-s|ann arbor ambassador/60 lines + status line:\
1262         :ti=\E[2J\E[60;1;0;60p:te=\E[60;1;0;60p\E[59;1H\E[J:\
1263         :is=\EP`+x~M\E\\\E[m\E7\E[60;1;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1264         :li#59:tc=aaa-unk-s:
1265 aaa-18-rv|ambassador/18 lines+rv:\
1266         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1267         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1268         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1269         :tc=aaa-18:
1270 aaa-20-rv|ambassador/20 lines+rv:\
1271         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1272         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1273         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1274         :tc=aaa-20:
1275 aaa-22-rv|ambassador/22 lines+rv:\
1276         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1277         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1278         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1279         :tc=aaa-22:
1280 aaa-24-rv|ambassador/24 lines+rv:\
1281         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1282         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1283         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1284         :tc=aaa-24:
1285 aaa-26-rv|ambassador/26 lines+rv:\
1286         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1287         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1288         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1289         :tc=aaa-26:
1290 aaa-28-rv|ambassador/28 lines+rv:\
1291         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1292         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1293         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1294         :tc=aaa-28:
1295 aaa-30-rv|ann arbor ambassador/30 lines in reverse video:\
1296         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1297         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1298         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1299         :tc=aaa-30:
1300 aaa-36-rv|ann arbor ambassador/36 lines in reverse video:\
1301         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1302         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1303         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1304         :tc=aaa-36:
1305 aaa-40-rv|ann arbor ambassador/40 lines in reverse video:\
1306         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1307         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1308         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1309         :tc=aaa-40:
1310 aaa-48-rv|ann arbor ambassador/48 lines in reverse video:\
1311         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1312         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1313         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1314         :tc=aaa-48:
1315 aaa-60-rv|ann arbor ambassador/60 lines in reverse video:\
1316         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1317         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1318         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1319         :tc=aaa-60:
1320 aaa-18-rv-s|aaa-18-s-rv|ambassador/18 lines+sl+rv:\
1321         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1322         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1323         :ti=\E[2J\E[18;1;0;18p:te=\E[60;1;0;18p\E[17;1H\E[J:li#17:\
1324         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;18p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1325         :tc=aaa-unk-s:
1326 aaa-20-rv-s|aaa-20-s-rv|ambassador/20 lines+sl+rv:\
1327         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1328         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1329         :ti=\E[2J\E[20;1;0;20p:te=\E[60;1;0;20p\E[19;1H\E[J:li#19:\
1330         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;20p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1331         :tc=aaa-unk-s:
1332 aaa-22-rv-s|aaa-22-s-rv|ambassador/22 lines+sl+rv:\
1333         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1334         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1335         :ti=\E[2J\E[22;1;0;22p:te=\E[60;1;0;22p\E[21;1H\E[J:li#21:\
1336         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;22p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1337         :tc=aaa-unk-s:
1338 aaa-24-rv-s|aaa-24-s-rv|ambassador/24 lines+sl+rv:\
1339         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1340         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1341         :ti=\E[2J\E[24;1;0;24p:te=\E[60;1;0;24p\E[23;1H\E[J:li#23:\
1342         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;24p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1343         :tc=aaa-unk-s:
1344 aaa-26-rv-s|aaa-26-s-rv|ambassador/26 lines+sl+rv:\
1345         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1346         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1347         :ti=\E[2J\E[26;1;0;26p:te=\E[60;1;0;26p\E[25;1H\E[J:li#25:\
1348         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;26p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1349         :tc=aaa-unk-s:
1350 aaa-28-rv-s|aaa-28-s-rv|ambassador/28 lines+sl+rv:\
1351         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1352         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1353         :ti=\E[2J\E[28;1;0;28p:te=\E[60;1;0;28p\E[27;1H\E[J:li#27:\
1354         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;28p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1355         :tc=aaa-unk-s:
1356 aaa-rv|aaa-30-rv-s|aaa-30-s-rv|ambassador/30 lines+sl+rv:\
1357         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1358         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1359         :ti=\E[2J\E[30;1;0;30p:te=\E[60;1;0;30p\E[29;1H\E[J:li#29:\
1360         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1361         :tc=aaa-unk-s:
1362 aaa-36-rv-s|aaa-36-s-rv|ambassador/36 lines+sl+rv:\
1363         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1364         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1365         :ti=\E[2J\E[36;1;0;36p:te=\E[60;1;0;36p\E[35;1H\E[J:li#35:\
1366         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;36p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1367         :tc=aaa-unk-s:
1368 aaa-40-rv-s|aaa-40-s-rv|ambassador/40 lines+sl+rv:\
1369         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1370         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1371         :ti=\E[2J\E[40;1;0;40p:te=\E[60;1;0;40p\E[39;1H\E[J:li#39:\
1372         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;40p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1373         :tc=aaa-unk-s:
1374 aaa-48-rv-s|aaa-48-s-rv|ambassador/48 lines+sl+rv:\
1375         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1376         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1377         :ti=\E[2J\E[48;1;0;48p:te=\E[60;1;0;48p\E[47;1H\E[J:li#47:\
1378         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;48p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1379         :tc=aaa-unk-s:
1380 aaa-60-rv-s|aaa-60-s-rv|ambassador/60 lines+sl+rv:\
1381         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1382         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1383         :ti=\E[2J\E[60;1;0;60p:te=\E[60;1;0;60p\E[59;1H\E[J:li#59:\
1384         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;60p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1385         :tc=aaa-unk-s:
1386 aaa-24-ctxt:\
1387         :ti=\E[30;1H\E[K\E[24;0;0;24p:te=\E[60;1;0;24p\E[60;1H\E[K:tc=aaa-24:
1388 aaa-24-rv-ctxt|ambassador/24+rv:\
1389         :ti=\E[30;1H\E[K\E[24;0;0;24p:te=\E[60;1;0;24p\E[60;1H\E[K:tc=aaa-24-rv:
1390 aaa-s-ctxt|aaa-30-s-ctxt|hairy aaa:\
1391         :ti=\E[30;1H\E[K\E[30;1;0;30p:te=\E[60;1;0;30p\E[59;1H\E[K:tc=aaa-30-s:
1392 aaa-s-rv-ctxt|aaa-30-s-rv-ctxt:\
1393         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1394         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1395         :is=\EP`+x~M\E\\\E[7m\E7\E[60;1;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1396         :ti=\E[30;1H\E[K\E[30;1;0;30p:te=\E[60;1;0;30p\E[59;1H\E[K:\
1397         :li#29:tc=aaa-unk-s:
1398 aaa-ctxt|aaa-30-ctxt:\
1399         :ti=\E[30;0;0;30p:te=\E[60;0;0;30p\E[60;1H\E[K:tc=aaa-30:
1400 aaa-rv-ctxt|aaa-30-rv-ctxt:\
1401         :ti=\E[30;0;0;30p:te=\E[60;0;0;30p\E[60;1H\E[K:\
1402         :md=\E[1;7m:mr=\E[m:mb=\E[5;7m:mk=\E[7;8m:me=\E[7m:\
1403         :us=\E[4;7m:ue=\E[7m:se=\E[7m:so=\E[m:\
1404         :is=\EP`+x~M\E\\\E[7m\E7\E[60;0;0;30p\E[3g\E[f\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E[8a\EH\E8\E[>6h\E[1Q:\
1405         :li#30:tc=aaa-unk:
1406 aaa-db|ann arbor ambassador 30/destructive backspace:\
1407         :ti=\E[H\E[J\E[30;0;0;30p:te=\E7\E[60;0;0;30p\E8:li#30:\
1408         :is=\E[60;0;0;30p\E[H\E[J\E[1Q\E[m\E[20l\E[>30h:le=\E[D:bc=\E[D:bs@:\
1409         :tc=aaa-unk:
1410 annarbor|4080|ann arbor 4080:\
1411         :do=^J:pt:ct=^\^P^P:st=^]^P1:cm=^O%r%\066%.%>^S^L%+@:\
1412         :co#80:li#40:le=^H:bs:cl=2^L:up=^N:nd=^_:ho=^K:am:\
1413         :kb=^^:kd=^J:ku=^N:kl=^H:kr=^_:kh=^K:ma=^_ ^N^P:
1414\f# --------------------------------
1415 #
1416 # P: PC entries for use with kermit
1417 #
1418 # greg small (gts@populi)
1419 #
1420 # Cannot use :pt:, it does not work (why?).  :ho: seems required (why?). [gts]
1421 # Caution: 4.3 BSD tset does not pass li#25 to stty rows except during login?
1422 # :cl: clears attributes and sets wrap at margin before clearing the screen.
1423 ansi.sys|ansisys|PC-DOS 3.1 ANSI.SYS:\
1424         :am:bs:ce=\E[K:cl=\E[m\E[7h\E[2J:cm=\E[%i%d;%dH:co#80:\
1425         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
1426         :ho=\E[H:li#25:nd=\E[C:up=\E[A:\
1427         :ms:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:\
1428         :is=U1 PC-DOS 3.1 ANSI.SYS 9-23-86\n\E[m\E[7h:
1429 #
1430 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
1431 # This should only be used when the terminal emulator cannot redefine the keys.
1432 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
1433 # definitions must be restored.  If the terminal emulator is quit while in vi
1434 # or others using :ks:ke:, the keypad keys will not be defined as per PC-DOS.
1435 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
1436 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
1437 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
1438 # Left arrow is always BS, because PC-dos can tolerate this change.
1439 # Caution: vi is limited to 256 string bytes, longer crashes or weirds vi.
1440 # Consequently the End keypad key could not be set (it is relatively safe and
1441 # actually useful because it sends ^@ O, which beeps and opens a line above).
1442 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
1443         :ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
1444         :ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
1445         :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
1446         :tc=ansi.sys:
1447 #
1448 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
1449 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
1450         :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\
1451         :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\
1452         :tc=ansi.sys:
1453 #
1454 # See U2 ansi.sysk and U3 nansi.sys above.
1455 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
1456         :al=\E[1L:dl=\E[1M:ic=\E[1@:dc=\E[1P:\
1457         :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
1458         :tc=ansi.sysk:
1459 #       Hellmuth Michaelis <hm@FreeBSD.org>
1460 #       pcvt vt220 terminal emulator console (pc keyboard & monitor)
1461 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1462 #       50 lines entries
1463 #       80 columns
1464 #---------------------------------------------------------------------------
1465 pcvt25|dec vt220 with 25 lines:\
1466         :li#25:\
1467         :co#80:\
1468         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1469         :tc=pcvtXX:
1470
1471 pcvt28|dec vt220 with 28 lines:\
1472         :li#28:\
1473         :co#80:\
1474         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\
1475         :tc=pcvtXX:
1476
1477 pcvt35|dec vt220 with 35 lines:\
1478         :li#35:\
1479         :co#80:\
1480         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\
1481         :tc=pcvtXX:
1482
1483 pcvt40|dec vt220 with 40 lines:\
1484         :li#40:\
1485         :co#80:\
1486         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1487         :tc=pcvtXX:
1488
1489 pcvt43|dec vt220 with 43 lines:\
1490         :li#43:\
1491         :co#80:\
1492         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\
1493         :tc=pcvtXX:
1494
1495 pcvt50|dec vt220 with 50 lines:\
1496         :li#50:\
1497         :co#80:\
1498         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\
1499         :tc=pcvtXX:
1500 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1501 #       50 lines entries
1502 #       132 columns
1503 pcvt25w|dec vt220 with 25 lines and 132 cols:\
1504         :li#25:\
1505         :co#132:\
1506         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1507         :tc=pcvtXX:
1508
1509 pcvt28w|dec vt220 with 28 lines and 132 cols:\
1510         :li#28:\
1511         :co#132:\
1512         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;28r\E[28;1H:\
1513         :tc=pcvtXX:
1514
1515 pcvt35w|dec vt220 with 35 lines and 132 cols:\
1516         :li#35:\
1517         :co#132:\
1518         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;35r\E[35;1H:\
1519         :tc=pcvtXX:
1520
1521 pcvt40w|dec vt220 with 40 lines and 132 cols:\
1522         :li#40:\
1523         :co#132:\
1524         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1525         :tc=pcvtXX:
1526
1527 pcvt43w|dec vt220 with 43 lines and 132 cols:\
1528         :li#43:\
1529         :co#132:\
1530         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;43r\E[43;1H:\
1531         :tc=pcvtXX:
1532
1533 pcvt50w|dec vt220 with 50 lines and 132 cols:\
1534         :li#50:\
1535         :co#132:\
1536         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;50r\E[50;1H:\
1537         :tc=pcvtXX:
1538 #       termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50
1539 #       lines entries. note that the HP-Emulation uses the bottom 3 lines
1540 #       for status and function key labels, so we get always 3 lines less.
1541 #       "Xs" is a nonstandard, private flag indicating HP-like fkey labels
1542 #       80 column entries
1543 pcvt22h|dec vt220 with HP-fkey labels and 22 lines:\
1544         :li#22:\
1545         :co#80:\
1546         :Xs:\
1547         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\
1548         :tc=pcvtXX:
1549
1550 pcvt25h|dec vt220 with HP-fkey labels and 25 lines:\
1551         :li#25:\
1552         :co#80:\
1553         :Xs:\
1554         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1555         :tc=pcvtXX:
1556
1557 pcvt32h|dec vt220 with HP-fkey labels and 32 lines:\
1558         :li#32:\
1559         :co#80:\
1560         :Xs:\
1561         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\
1562         :tc=pcvtXX:
1563
1564 pcvt37h|dec vt220 with HP-fkey labels and 37 lines:\
1565         :li#37:\
1566         :co#80:\
1567         :Xs:\
1568         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\
1569         :tc=pcvtXX:
1570
1571 pcvt40h|dec vt220 with HP-fkey labels and 40 lines:\
1572         :li#40:\
1573         :co#80:\
1574         :Xs:\
1575         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1576         :tc=pcvtXX:
1577
1578 pcvt47h|dec vt220 with HP-fkey labels and 47 lines:\
1579         :li#47:\
1580         :co#80:\
1581         :Xs:\
1582         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\
1583         :tc=pcvtXX:
1584 #       termcap entries for HP-Emulation and 25, 28, 35, 40, 43 and 50
1585 #       lines entries. note that the HP-Emulation uses the bottom 3 lines
1586 #       for status and function key labels, so we get always 3 lines less.
1587 #       "Xs" is a nonstandard, private flag indicating HP-like fkey labels
1588 #       132 column entries
1589 pcvt22hw|dec vt220 with HP-fkey labels, 22 lines and 132 cols:\
1590         :li#22:\
1591         :co#132:\
1592         :Xs:\
1593         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;22r\E[22;1H:\
1594         :tc=pcvtXX:
1595
1596 pcvt25hw|dec vt220 with HP-fkey labels, 25 lines and 132 cols:\
1597         :li#25:\
1598         :co#132:\
1599         :Xs:\
1600         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;25r\E[25;1H:\
1601         :tc=pcvtXX:
1602
1603 pcvt32hw|dec vt220 with HP-fkey labels, 32 lines and 132 cols:\
1604         :li#32:\
1605         :co#132:\
1606         :Xs:\
1607         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;32r\E[32;1H:\
1608         :tc=pcvtXX:
1609
1610 pcvt37hw|dec vt220 with HP-fkey labels, 37 lines and 132 cols:\
1611         :li#37:\
1612         :co#132:\
1613         :Xs:\
1614         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;37r\E[37;1H:\
1615         :tc=pcvtXX:
1616
1617 pcvt40hw|dec vt220 with HP-fkey labels, 40 lines and 132 cols:\
1618         :li#40:\
1619         :co#132:\
1620         :Xs:\
1621         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;40r\E[40;1H:\
1622         :tc=pcvtXX:
1623
1624 pcvt47hw|dec vt220 with HP-fkey labels, 47 lines and 132 cols:\
1625         :li#47:\
1626         :co#132:\
1627         :Xs:\
1628         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;47r\E[47;1H:\
1629         :tc=pcvtXX:
1630 #       main entry, without "is" and "li" capabilities
1631 pcvtXX|pcvt vt200 emulator (DEC VT220):\
1632         :AL=\E[%dL:\
1633         :DC=\E[%dP:\
1634         :DL=\E[%dM:\
1635         :DO=\E[%dB:\
1636         :IC=\E[%d@:\
1637         :LE=\E[%dD:\
1638         :RI=\E[%dC:\
1639         :SF=\E[%dS:\
1640         :SR=\E[%dT:\
1641         :UP=\E[%dA:\
1642         :ac=llmmkkjjuuttvvwwqqxxnnpprr``aa:\
1643         :ae=^O:\
1644         :al=\E[L:\
1645         :am:\
1646         :as=^N:\
1647         :bl=^G:\
1648         :bs:\
1649         :cb=\E[1K:\
1650         :cd=\E[J:\
1651         :ce=\E[K:\
1652         :cl=\E[H\E[J:\
1653         :cm=\E[%i%d;%dH:\
1654         :cr=^M:\
1655         :cs=\E[%i%d;%dr:\
1656         :ct=\E[3g:\
1657         :dc=\E[P:\
1658         :dl=\E[M:\
1659         :do=^J:\
1660         :eA=\E)0:\
1661         :ei=\E[4l:\
1662         :ho=\E[H:\
1663         :im=\E[4h:\
1664         :it#8:\
1665         :k1=\E[17~:\
1666         :k2=\E[18~:\
1667         :k3=\E[19~:\
1668         :k4=\E[20~:\
1669         :k5=\E[21~:\
1670         :k6=\E[23~:\
1671         :k7=\E[24~:\
1672         :k8=\E[25~:\
1673         :kD=\E[3~:\
1674         :kH=\E[4~:\
1675         :kI=\E[2~:\
1676         :kN=\E[6~:\
1677         :kP=\E[5~:\
1678         :kb=\177:\
1679         :kd=\EOB:\
1680         :ke=\E[?1l\E>:\
1681         :kh=\E[1~:\
1682         :kl=\EOD:\
1683         :km:\
1684         :kr=\EOC:\
1685         :ks=\E[?1h\E=:\
1686         :ku=\EOA:\
1687         :le=^H:\
1688         :mb=\E[5m:\
1689         :md=\E[1m:\
1690         :me=\E[m:\
1691         :mi:\
1692         :mr=\E[7m:\
1693         :ms:\
1694         :nd=\E[C:\
1695         :pb#16000000:\
1696         :pt:\
1697         :rc=\E8:\
1698         :rf=/usr/share/tabset/vt100:\
1699         :rs=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1700         :sc=\E7:\
1701         :se=\E[27m:\
1702         :sf=\ED:\
1703         :so=\E[7m:\
1704         :sr=\EM:\
1705         :st=\EH:\
1706         :ue=\E[24m:\
1707         :up=\E[A:\
1708         :us=\E[4m:\
1709         :vt#3:\
1710         :xn:
1711
1712\f# --------------------------------
1713 #
1714 # T: TELETYPE
1715 #
1716 # We need descriptions for the model 40.  There are known to be at least three
1717 # flavors of the 40, both seem more like IBM half duplex forms fillers than
1718 # ASCII terminals.  They have lots of awful braindamage, such as printing
1719 # a visible newline indicator after each newline.  The 40-1 is a half duplex
1720 # terminal and is hopeless.  The 40-2 is braindamaged but has hope and is
1721 # described here.  The 40-4 is a 3270 lookalike and beyond hope.
1722 # The terminal has visible bell but I don't know it - it's
1723 # null here to prevent it from showing the BL character.
1724 # There is an \EG in nl because of a bug in vi (if stty says you have
1725 # a "newline" style terminal (-crmode) vi figures all it needs is nl
1726 # to get crlf, even if cr is not ^M.)
1727 40|tty40|ds40|ds40/2|ds40-2|dataspeed40|teletype dataspeed 40/2:\
1728         :cl=160\ER:cd=160\EJ:al=160\EL:dl=160\EM:dc=50\EP:ic=50\E\^:\
1729         :nd=\EC:up=\E7:bs:cr=\EG:nl=\EG\EB:do=\EB:co#80:li#24:vb=:\
1730         :so=\E3:se=\E4:
1731 33|tty33|tty|model 33 teletype:\
1732         :do=^J:co#72:hc:os:
1733 43|tty43|model 43 teletype:\
1734         :do=^J:kb=^h:am:le=^H:bs:hc:os:co#132:
1735 37|tty37|model 37 teletype:\
1736         :do=^J:le=^H:bs:hc:hu=\E8:hd=\E9:up=\E7:os:
1737 # From jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
1738 # This entry appears to avoid the top line - I have no idea why.
1739 4424|tty4424|teletype 4424M:\
1740         :al=\EL:da:db:ip=2:ic=\E\^:dc=\EP:dl=\EM:\
1741         :co#80:li#23:am:cl=\E[2;H\E[J:bs:cm=\E[%i%2;%2H\E[B:\
1742         :nd=\E[C:up=\E[A:pt:mi:sr=\ET:\
1743         :ce=\E[K:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
1744         :is=\E[m\E[2;24r:\
1745         :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:\
1746         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:
1747 # Teletype blit.
1748 dmd|5620|ttydmd|tty5620|5620    terminal 88 columns:\
1749         :co#88:li#70:am:bs:pt:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
1750         :cl=\E[H\E[J:cd=\E[J:ce=\E[K:al=\E[L:dl=\E[M:do=^J:\
1751         :ic=\E[@:dc=\E[P:sr=\E[T:sf=\E[S:le=^H:kb=^H:\
1752         :kl=\E[D:kr=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:ho=\E[H:ll=\E[70;1H:\
1753         :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:rc=\E8:rs=\Ec:sc=\E7:\
1754         :so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:ms:me=\E[0m:mr=\E[7m:
1755\f# --------------------------------
1756 #
1757 # V: VISUAL
1758 #
1759 # The Visual 200 beeps when you type a character in insert mode.
1760 # This is a horribly obnoxious misfeature, and some of the entries
1761 # below try to get around the problem by ignoring the feature or
1762 # turning it off when inputting a character.  They are said not to
1763 # work well at 300 baud.  (You could always cut the wire to the bell!)
1764 #From mike@brl-vgr Mon Nov 14 08:34:29 1983
1765 vi200|vis200|visual 200 with function keys:\
1766         :so=\E4:se=\E3:ms:do=^J:\
1767         :al=\EL:am:le=^H:bs:cd=\Ey:ce=\Ex:cl=\Ev:\
1768         :cm=\EY%+ %+ :co#80:dc=\EO:dl=\EM:ho=\EH:\
1769         :ic=\Ei \b\Ej:\
1770         :is=\E3\Eb\Ej\E\\\El\EG\Ec\Ek:\
1771         :k0=\EP:k1=\EQ:k2=\ER:k3=\E :k4=\E!:k5=\E":k6=\E#:\
1772         :k7=\E$:k8=\E%:k9=\E&:kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
1773         :li#24:nd=\EC:pt:sr=\EI:up=\EA:vs=\Ed:ve=\Ec:
1774 vi200-rv-ic|visual 200 reverse video using insert char:\
1775         :ei=\Ej:im=\Ei:ic@:tc=vi200-rv:
1776 # The older Visuals didn't come with function keys. This entry uses
1777 # ks and ke so that the keypad keys can be used as function keys.
1778 # If your version of vi doesn't support function keys you may want
1779 # to use V2.
1780 vi200-f|visual|visual 200 no function keys:\
1781         :do=^J:al=\EL:am:le=^H:bs:cd=\Ey:ce=4*\Ex:cl=\Ev:\
1782         :cm=\EY%+ %+ :co#80:dc=4*\EO:dl=4*\EM:ho=\EH:\
1783         :ic=\Ei \b\Ej:\
1784         :is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:ks=\E=:ke=\E>:\
1785         :k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
1786         :k7=\E?w:k8=\E?x:k9=\E?y:kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
1787         :li#24:nd=\EC:pt:sr=\EI:up=\EA:vs=\Ed:ve=\Ec:
1788 vi200-rv|visual 200 reverse video:\
1789         :so=\E4:se=\E3:sr@:vs@:ve@:tc=vi200:
1790 vi200-ic|visual 200 using insert char:\
1791         :ei=\Ej:im=\Ei:ic@:tc=vi200:
1792 # From: jbs@athena.mit.edu      Jeff Siegal
1793 vi55|Visual 55:\
1794         :im=\Ea:ei=\Eb:mi:dc=\Ew:al=\EL:dl=\EM:cs=\E_%+A%+A:\
1795         :ho=\EH:cl=\Ev:is=\Ev\E_AX\Eb\EW\E9P\ET:so=\EU:se=\ET:ms:\
1796         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cm=\EY%+ %+ :co#80:li#24:\
1797         :nd=\EC:pt:am:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:
1798\f# --------------------------------
1799 #
1800 # X: TEKTRONIX
1801 #
1802 tek|tek4012|4012|tektronix 4012:\
1803         :do=^J:is=\E^O:le=^H:bs:cl=1000\E^L:co#75:ns:li#35:os:
1804 tek4013|4013|tektronix 4013:\
1805         :as=\E^N:ae=\E^O:dF#1000:tc=4012:
1806 tek4014|4014|tektronix 4014:\
1807         :is=\E^O\E9:co#81:li#38:dF#1000:tc=tek4012:
1808 tek4015|4015|tektronix 4015:\
1809         :as=\E^N:ae=\E^O:tc=4014:
1810 tek4014-sm|4014-sm|tektronix 4014 in small font:\
1811         :is=\E^O\E\072:co#121:li#58:tc=tek4014:
1812 tek4015-sm|4015-sm|tektronix 4015 in small font:\
1813         :as=\E^N:ae=\E^O:tc=4014-sm:
1814 # I think the 1000UP is supposed to be so expensive it never happens.
1815 tek4023|4023|tex|tektronix 4023:\
1816         :do=^J:so=^_P:se=^_@:cm=\034%r%+ %+ :nd=\t:le=^H:\
1817         :bs:cl=4\E^L:co#80:li#24:am:up=1000UP:vt#4:
1818 # Can't use cursor motion because it's memory relative, and because
1819 # it only works in the workspace, not the monitor.  Same for home.
1820 # Likewise, standout only works in the workspace.
1821 # 145 ms padding on al and AL taken out since it doesn't seem to be needed much.
1822 4025|4027|4024|tek4025|tek4027|tek4024|4025cu|4027cu|tektronix 4024/4025/4027:\
1823         :sf=^F^J:do=^F^J:is=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r:\
1824         :ks=^_lea p4 /h/\r^_lea p8 /k/\r^_lea p6 / /\r^_lea p2 /j/\r^_lea f5 /H/\r^_lea p5 /H/\r:\
1825         :ke=^_lea p2\r^_lea p4\r^_lea p6\r^_lea p8\r^_lea p5\r^_lea f5\r:\
1826         :am:le=^H:bs:da:db:pt:li#34:co#80:cl=^_era\r\n\n:up=^K:nd=^_rig\r:\
1827         :al=^_up\r^_ili\r:dl=^_dli\r^F:\
1828         :dc=^_dch\r:im=^_ich\r:ei=^F^_dow\r^K:nl=^F\n:\
1829         :cd=^_dli 50\r:CC=^_:AL=^_up\r^_ili %d\r:DL=^_dli %d\r^F:\
1830         :UP=^_up %d\r:DO=^_dow %d\r:LE=^_lef %d\r:RI=^_rig %d\r:
1831 # Tektronix 4025A from gwyn@brl-smoke.ARPA (Doug Gwyn )
1832 # The following status modes are assumed for normal operation (replace the
1833 # initial "!" by whatever the current command character is):
1834 #       !COM 29                 # NOTE: changes command character to GS (^])
1835 #       ^]DUP
1836 #       ^]ECH R
1837 #       ^]EOL
1838 #       ^]RSS T
1839 #       ^]SNO N
1840 #       ^]STO 9 17 25 33 41 49 57 65 73
1841 # Other modes may be set according to communication requirements.
1842 # If the command character is inadvertently changed, termcap can't restore it.
1843 # Insert-character cannot be made to work on both top and bottom rows.
1844 # Clear-to-end-of-display emulation via !DLI 988 is too groady to use, alas.
1845 # There also seems to be a problem with vertical motion, perhaps involving
1846 # delete/insert-line, following a typed carriage return.  This terminal sucks.
1847 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1848 tek4025a|4025a|Tektronix 4025A:\
1849         :al=^K^]ili;:am:bl=^G:bt=^]bac;:bw:CC=^]:cl=^]era;^J^]rup;:co#80:\
1850         :cr=^M:ct=^]sto;:da:db:DC=^]dch %d;:dc=^]dch;:DL=^]dli %d;:dl=^]dli;:\
1851         :DO=^]dow %d;:do=^J:it#8:LE=^]lef %d;:le=^H:li#34:nd=^]rig;:\
1852         :RI=^]rig %d;:\
1853         :rs=!com 29^]del 0^]rss t^]buf^]buf n^]cle^]dis^]dup^]ech r^]eol\
1854 ^]era g^]for n^]pad 203^]pad 209^]sno n^]sto 9 17 25 33 41 49 57 65 73\
1855 ^]wor 0;:\
1856         :SF=^]dow %d;:sf=^J:ta=^I:UP=^]up %d;:up=^K:xo:\
1857         :ce=^]dch 80;:ch=\r^]rig %d;:\
1858         :bs:pt:xx:
1859 4025-17|4027-17|tek 4025 17 line window:\
1860         :li#17:tc=4025:
1861 4025-17ws|4027-17ws|tek 4025 17 line window in workspace:\
1862         :is=\41com 31\r\n^_sto 9,17,25,33,41,49,57,65,73\r^_wor 17\r^_mon 17\r:\
1863         :ti=^_wor h\r:te=^_mon h\r:so=^_att e\r:se=^_att s\r:tc=4025-17:
1864 4025ex|4027ex|tek 4025 w/!:\
1865         :ti=\41com 31\r:te=^_com 33\r:\
1866         :is=^_com 33\r\n\41sto 9,17,25,33,41,49,57,65,73\r:tc=4025:
1867 # From jcoker@ucbic
1868 tek4107|tek4207|4107|4207|Tektronix 4107 graphics terminal with memory:\
1869         :ti=\E[?6l\E[H\E[J:te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:\
1870         :is=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\
1871         :li#32:do=^J:al=3\E[L:xn:am:le=^H:bs:cd=\E[J:\
1872         :ce=5\E[K:cl=156\E[H\E[J:cm=\E[%i%d;%dH:co#80:dc=4\E[P:dl=3\E[M:\
1873         :ho=\E[H:ic=4\E[@:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:ku=\EM:\
1874         :kd=\ED:kl=\E[D:kr=\E[C:kh=\E[H:\
1875         :ul:pt:bw:bt=\E[Z:mi:nd=\E[C:se=\E[m:so=\E[7m:\
1876         :ue=\E[m:us=\E[4m:up=\EM:
1877 #  Tektronix 4107 with sysline
1878 4107-s|tek4107-s|Tektronix 4107 with sysline but no memory:\
1879         :is=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\
1880         :es:hs:i2=\E7\E[?6l\E[2K\E[?6h\E8:ts=\E7\E[?6l\E[2K\E[;%i%df:\
1881         :fs=\E[?6h\E8:ds=\E7\E[?6l\E[2K\E[?6h\E8:tc=4107:
1882 # From cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
1883 # Here's the command file that I use to get rogue to work on the 4025.
1884 # It should work with any program using the old curses (e.g. it better
1885 # not try to scroll, or cursor addressing won't work.  Also, you can't
1886 # see the cursor.)
1887 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
1888 4025-cr|tek 4025 for curses and rogue:\
1889         :is=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r:\
1890         :am:le=^H:bs:pt:li#33:co#80:cm=^_jum%i%d,%d;:up=^K:\
1891         :do=^F^J:cl=^_era;:nd=^_rig;:nl=^F\n:ti=^_wor 33h:te=^_wor 0:
1892 # next two lines commented out since curses only allows 128 chars, sigh.
1893 #       :ti=^_lea p1/b/^_lea p2/j/^_lea p3/n/^_lea p4/h/^_lea p5/ /^_lea p6/l/^_lea p7/y/^_lea p8/k/^_lea p9/u/^_lea p./f/^_lea pt/`era w/13^_lea p0/s/^_wor 33h:\
1894 #       :te=^_lea p1^_lea p2^_lea p3^_lea p4^_lea pt^_lea p5^_lea p6^_lea p7^_lea p8^_lea p9/la/13^_lea p.^_lea p0^_wor 0:
1895 # The 4110 series may be a wonderful graphics series, but they make the 4025
1896 # look good for screen editing.  In the dialog area, you can't move the cursor
1897 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
1898 # is no way to scroll.
1899 4112|4114|tek4112|tektronix 4110 series:\
1900         :is=\E3!1:li#34:co#80:am:al=\E[L:bs:bt=\E[Z:\
1901         :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:cm=\E[%i%d;%dH:\
1902         :db:dc=\E[P:dl=\E[M:ic=\E[@:nd=\E[C:se=\E[m:\
1903         :so=\E[7m:ue=\E[m:up=\EM:us=\E[4m:vs=:ve=:\
1904         :sr=\E7\E[0;0H\E[L\E8:sf=\E7\E[0;0H\E[M\E8:
1905 4112-nd|4112 not in dialog area:up=^K:ns:tc=4112:
1906 4112-5|4112 in 5 line dialog area:li#5:tc=4112:
1907 4113|tek4113|tektronix 4113 color graphics, 5 line dialog area:\
1908         :le=^H:do=^J:eo:da:bs:am:li#5:co#80:is=\EKA1\ELL5\ELV0\ELV1:\
1909         :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
1910         :cl=\ELZ:uc=^H\ELM1_\ELM0:nd=\LM1 \LM0:\
1911         :.as=\E^N:.ae=\E^O:
1912 4113-34|tek4113-34|tektronix 4113 color graphics, 34 line dialog area:\
1913         :is=\EKA1\ELLB2\ELV0\ELV1:li#34:tc=tek4113:
1914 # ns hidden from vi to allow visual mode. APL font (as, ae) not supported here.
1915 # uc is slow, but looks nice. Suggest setenv MORE -up . vb needs enough delay
1916 # to let you see the background color being toggled.
1917 4113-nd|tek4113-nd|tektronix 4113 color graphics, no dialog area:\
1918         :le=^H:do=^J:nd=\t:up=^K:ll=\ELF hl @:ho=\ELF7l\177 @:\
1919         :eo:bs:am:li#34:co#80:is=\ELZ\EKA0\ELF7l\177 @:vs=\ELZ\EKA0:\
1920         :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
1921         :cl=\E\f:uc=^H\EMG1_\EMG0:so=\EMT2:se=\EMT1:\
1922         :.ns:.as=\E^N:.ae=\E^O:
1923 4105|tek4105:\
1924         :al=\E[1L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:co#80:\
1925         :dc=\E[1P:dl=\E[1M:do=\E[1B:ho=\E[H:im=\E[4h:li#30:mi:nd=\E[1C:\
1926         :as=\E[1m:ae=\E[0m:ms:pt:se=\E[0m:so=\E[7m:up=\E[1A:kb=^h:ku=\E[1A:\
1927         :kd=\E[1B:kl=\E[1D:kr=\E[1C:us=\E[4m:ue=\E[0m:is=\E%!1\E[?6l\E[0m:\
1928         :mr=\E[<3m:md=\E[<4m:mh=\E[<6m:mb=\E[<7m:me=\E[<1m:ti=\E%!1\E[?6l:xt:
1929 # This entry is from Tek. Inc.  (Brian Biehl)
1930 4115|tek4115|Tektronix 4115:\
1931         :co#80:li#34:\
1932         :al=\E[L:am:bc=\E[D:bs:bt=\E[Z:cd=\E[J:ce=\E[K:\
1933         :cl=\E[;H\E[2J:cm=\E[%i%d;%dH:da:db:dc=\E[P:dl=\E[M:do=\E[B:\
1934         :ei=\E[4l:eo:ho=\E[;H:im=\E[4h:if=/usr/share/tabset/vt100:\
1935         :is=\E%\0410\E%\014\ELV0\EKA1\ELBB2\ENU@\075\ELLB2\ELM0\ELV1\EKYA?\E%\0411\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[0m:\
1936         :kb=^H:ke=\E>:ks=\E=:nd=\E[C:pt:se=\E[m:so=\E[7m:sr=\EM:\
1937         :te=\E%\0410\ELBG8\E%\0411\E[34;1H\E[J:\
1938         :ti=\E%\0410\ELBB2\E%\0411:\
1939         :ue=\E[m:up=\E[A:us=\E[4m:\
1940         :ve=\E%\0410\ELBG8\E%\0411\E[34;1H:\
1941         :vs=\E%\0410\ELBB2\E%\0411:
1942 # The tek4125 emulates a vt100 incorrectly - the scrolling region
1943 # command is ignored. The following entry replaces the cs with the
1944 # needed al, dl, and im; removes some cursor pad commands that the tek4125
1945 # chokes on; and adds a lot of initialization for the tek dialog area.
1946 # Note that this entry uses all 34 lines and sets the cursor color to green.
1947 # Steve Jacobson 8/85
1948 tek4125:\
1949         :ks=\E=:li#34:\
1950         :is=\E%\!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:dl=\E[1M:\
1951         :al=\E[1L:cs@:sc@:rc@:im=\E1:tc=vt100:
1952 # From carolyn@dali.berkeley.edu  Thu Oct 31 12:54:27 1985
1953 4404|tek4404:\
1954         :al=\E[1L:bs:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:co#80:\
1955         :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
1956         :kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:ku=\E[A:li#32::mb=\E[5m:\
1957         :md=\E[1m:me=\E[m:nd=\E[C:pt:rc=\E8:sc=\E7:se=\E[27m:so=\E[7m:\
1958         :ta=\E[2I:ti=\E%\!1\E[1;32r\E[?6l\E>:te=\E[1;1H\E[0J\E[?6h\E[?1l:\
1959         :ue=\E[m:up=\E[A:us=\E[4m:
1960\f# --------------------------------
1961 #
1962 # Z: Miscellaneous
1963 #
1964 # These compucolors appear similar, but they at least have different
1965 # sized screens.  I don't know what's going on here.
1966 8001|ISC8001|compucolor|intecolor:\
1967         :do=^J:al=\EU:am:le=^Z:bc=^Z:cl=3*^L:cm=^C%r%.%.:\
1968         :co#80:cd=\EQ:dm=\EQ:ed=\EF:dc=\177:dl=\EV:ei=\EF:\
1969         :im=\EQ:li#40:nd=1^Y:ta=8\t:up=^\:ho=1^H:pc=^@:
1970 compucolor2|compucolorII:\
1971         :do=^J:pt:am:cm=%r^C%.%.:le=^Z:bc=^Z:li#32:co#64:\
1972         :cl=^L:ho=^H:nd=^Y:up=^\:
1973 # From cithep!eric  Wed Sep 16 08:06:44 1981
1974 intext|Interactive Systems Corporation modified owl 1200:\
1975         :do=^J:al=5.5*\020:am:le=^_:bc=^_:le=^H:bs:bt=^Y:cd=5.5*\026J:\
1976         :ce=^K\160^R:cl=132\014:cm=\017%+ %+ :co#80:dc=5.5*\022:dl=5.5*\021:\
1977         :ei=\026\074:im=\026\073:ip=5.5*:li#24:nd=\036:pt:up=\034:\
1978         :se=^V# :sg#1:so=^V$,:ma=^K^P^R^L^L :\
1979         :kl=^_:kd=^J:kr=^^:ku=\034:kb=^H:kh=^Z:\
1980         :k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
1981         :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:k0=^VJ\r:
1982\f# --------------------------------
1983 #
1984 # a: ADDS
1985 #
1986 # Regent: lowest common denominator, works on all regents.
1987 regent|Adds Regent Series:li#24:co#80:am:cl=^L:ll=^A:up=^Z:\
1988         :bs:bc=^U:nd=^F:do=^J:ho=\EY  :
1989 # Regent 100 has a bug where if computer sends escape when user is holding
1990 # down shift key it gets confused, so we avoid escape.
1991 regent100|Adds Regent 100:k0=^B1^M:k1=^B2^M:k2=^B3^M:k3=^B4^M:\
1992         :k4=^B5^M:k5=^B6^M:k6=^B7^M:k7=^B8^M:\
1993         :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
1994         :so=\E0P:ue=\E0@:us=\E0`:se=\E0@:\
1995         :cm=^K%+ %B^P%.:ug#1:sg#1:tc=regent:
1996 regent20|Adds Regent 20:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
1997 regent25|Adds Regent 25:kh=^A:kl=^U:kr=^F:ku=^Z:kd=^J:tc=regent20:
1998 regent40|Adds Regent 40:k0=^B1^M:k1=^B2^M:k2=^B3^M:k3=^B4^M:\
1999         :k4=^B5^M:k5=^B6^M:k6=^B7^M:k7=^B8^M:\
2000         :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
2001         :al=2*\EM:dl=2*\El:\
2002         :so=\E0P:ue=\E0@:us=\E0`:se=\E0@:ug#1:sg#1:tc=regent25:
2003 regent40+|Adds Regent 40+:is=\EB:tc=regent40:
2004 regent60|regent200|Adds Regent 60:se=\ER\E0@\EV:so=\ER\E0P\EV:dc=\EE:ei=\EF:\
2005         :im=\EF:is=\EV\EB:ko=dc,im,ei:tc=regent40+:
2006 regent60na|regent 60 w/no arrow keys:\
2007         kl@:kr@:ku@:kd@:tc=regent60:
2008 #
2009 # adds viewpoint 90 - from cornell
2010 # Note:  emacs sends ei occasionally to insure the terminal is out of
2011 #        insert mode. This unfortunately puts the viewpoint90 IN insert
2012 #        mode.  A hack to get around this is:  ic=\EF \EF^U.  (Also,
2013 #   -    ei=:im=: must be present.)
2014 #   -    xs indicates glitch that attributes stick to location
2015 #   -    bs save to move in standout mode
2016 #   -    cl=\EG\Ek clears screen and visual attributes without affecting
2017 #               the status line
2018 vp90|viewpoint90|adds viewpoint 90:\
2019         :bs:bw:cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :co#80:\
2020         :dc=\EE:dl=\El:do=^J:ic=\EF \EF^U:ho=\EY  :\
2021         :nd=^F:up=^Z:\
2022         :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:li#24:ll=^A:\
2023         :so=\ER\E0Q\EV:se=\ER\E0@\EV:\
2024         :us=\ER\E0`\EV:ue=\ER\E0@\EV:\
2025         :xs:ms:
2026 # Note: if return acts weird on a980, check internal switch #2
2027 # on the top chip on the CONTROL pc board.
2028 a980|adds consul 980:\
2029         :do=^J:al=13\E^N:am:le=^H:bs:cl=^L\200^K@:cm=^K%+@\E^E%2:co#80:\
2030         :dl=13\E^O:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
2031         :k8=\E8:k9=\E9:li#24:nd=\E^E01:so=^Y^^^N:se=^O:up=9:
2032 viewpt60|viewpoint60|addsviewpoint60|adds viewpoint60:\
2033         :tc=regent40:
2034 # From Onyx:edward  Thu Jul  9 09:27:33 1981
2035 viewpoint|addsviewpoint|adds viewpoint:\
2036         :do=^J:am:le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:\
2037         :up=^Z:cl=^L:ll=^A:kl=^U:kd=^J:ku=^Z:kh=^A:\
2038         :so=^N:se=^O:us=^N:ue=^O:is=^O\E0`:vs=^O\E0P:ve=^O\E0`:
2039\f# --------------------------------
2040 #
2041 # b: BEEHIVE
2042 #
2043 # Reports are that most of these Beehive entries (except superbee) have not been
2044 # tested and do not work right.  se is a trouble spot.  Be warned.
2045 sb2|sb3|fixed superbee:\
2046         :xb@:tc=superbee:
2047 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
2048 # good grief - does this entry make sg/ug when it doesn't have to?
2049 # look at those spaces in se/so.  Seems strange to me...
2050 bh3m|beehiveIIIm:\
2051         :if=/usr/share/tabset/beehive:do=^J:\
2052         :al=160^S:am:le=^H:bs:cd=^R:ce=^P:cl=^E^R:\
2053         :co#80:dl=350^Q:ho=^E:li#20:ll=^E^K:\
2054         :nd=^L:pt:se= ^_:so=^] :up=^K:
2055 # This loses on lines > 80 chars long, use at your own risk
2056 superbeeic|super bee with insert char:\
2057         :im=\EQ:ei=\ER:tc=superbee:
2058 microb|microbee|micro bee series:\
2059         :do=^J:am:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:co#80:cm=\EF%+ %+ :\
2060         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
2061         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
2062         :li#24:nd=\EC:pt:se=\Ed@ :so= \EdP:ue=\Ed@:up=\EA:us=\Ed`:
2063 # Superbee - f1=escape, f2=^C.
2064 # Note: there are at least 3 kinds of superbees in the world.  The sb1
2065 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
2066 # The sb3 puts garbage on the bottom of the screen when you scroll with
2067 # the switch in the back set to CRLF instead of AEP.  This description
2068 # is tested on the sb2 but should work on all with either switch setting.
2069 # The f1/f2 business is for the sb1 and the :xb: can be taken out for
2070 # the other two if you want to try to hit that tiny escape key.
2071 # This description is tricky: being able to use cm depends on there being
2072 # 2048 bytes of memory and the hairy nl string.
2073 sb1|superbee|superb|beehive super bee:\
2074         :ct=\E3:st=\E1:is=\EH\EJ:do=^J:\
2075         :sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
2076         :am:le=^H:bs:cd=3\EJ:ce=3\EK:cl=3\EH\EJ:co#80:cm=\EF%r%3%3:cr=1000\r:\
2077         :dC#10:da:db:xb:dc=3\EP:dl=100\EM:so=\E_1:se=\E_3:\
2078         :li#25:nl=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
2079         :nd=\EC:pt:up=\EA:ho=\EH:ve=\n:\
2080         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
2081         :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:
2082 # 8675, 8686, and bee from Cyrus Rahman
2083 8675|harris 8675:\
2084         :k1=^F:k2=^P:k3=^N:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k10=\Ed:\
2085         :k11=^W:k12=\ER:k13=\EE:k14=\EI:k15=\Ei:k16=\Eg:\
2086         :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:\
2087         :tc=bee:
2088 8686|harris 8686:\
2089         :k1=^B^[p^C:k2=^B^[q^C:k3=^B^[r^C:k4=^B^[s^C:k5=\E3:\
2090         :k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k10=\Ej:k11=\EW:\
2091         :k12=^B^[{^C:k13=^B^[|^C:k14=^B^[}^C:k15=^B^[~^C:k16=^B^[\177^C:\
2092         :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\
2093         \E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\
2094         \E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\
2095         \E"8FB5021B7283#:\
2096         :tc=bee:
2097 bee|harris beehive:\
2098         :co#80:li#24:am:bs:cd=\EJ:ce=\EK:cl=\EE:nd=\EC:\
2099         :cm=\EF%+ %+ :up=\EA:do=\EB:ho=\EH:bt=\E>:\
2100         :al=\EL:dc=\EP:dl=\EM:ei=\E@:im=\EQ:mi:\
2101         :kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:kb=^H:\
2102         :us=\Ed`:ue=\Ed@:so=\EdP:se=\Ed@:\
2103         :ko=al,bt,ce,cl,dc,dl,ei,ho,ic,im:
2104\f# --------------------------------
2105 #
2106 # c: CONCEPT (HUMAN DESIGNED SYSTEMS)
2107 #
2108 # From vax135!hpk  Sat Jun 27 07:41:20 1981
2109 # Extensive changes to c108 by arpavax:eric Feb 1982
2110 #
2111 # There seem to be a number of different versions of the C108 PROMS
2112 # (with bug fixes in its Z-80 program).
2113 # The first one that we had would lock out the keyboard of you
2114 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
2115 # Try that on your C108 and see if it sends a ^S when you type it.
2116 # If so, you have an old version of the PROMs.
2117 # The old one also messed up running vi with a 132-character line-length.
2118 # You should configure the C108 to send ^S/^Q before running this.
2119 # It is much faster (at 9600 baud) than the c100 because the delays
2120 # are not fixed.
2121 # new status line display entries for c108:
2122 # hs - has status capability
2123 # es - escape sequences are OK on status line
2124 # i2 - second init str - setup term for status display - set programmer mode,
2125 #       select window 2, define window at last line of memory,
2126 #       set bkgnd stat mesg there, select window 0.
2127 # ts - to status line - select window 2, home cursor, erase to end-of-window,
2128 #       1/2 bright on, goto(line#0, col#?)
2129 # fs - from status line - 1/2 bright off, select window 0
2130 # ds - disable status display - set bkgnd status mesg with illegal window #
2131 #
2132 # the following two entries are for emacs -- they are just like the regular
2133 # entries except that they have buffer overflow control OFF
2134 e108-8p:\
2135         :i2=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev  ^A\177p\Ep\n:\
2136         :te=\Ev  ^A\177p\Ep\r\n:tc=e108-4p:
2137 e108-4p:\
2138         :is=\EU\E f\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2139         :tc=c108-4p:
2140 c108|c108-8p|concept108-8p|concept 108 w/8 pages:\
2141         :i2=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev  ^A\177p\Ep\n:\
2142         :te=\Ev  ^A\177p\Ep\r\n:tc=c108-4p:
2143 c108-4p|concept108-4p|concept 108 w/4 pages:\
2144         :es:hs:ts=\E z"\E?\E^C\Ea %+ :fs=\E z :ds=\E ;\177:\
2145         :i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \177p\Ep\n:do=^J:pt:\
2146         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2147         :ti=\EU\Ev  8p\Ep\r:te=\Ev  \177p\Ep\r\n:\
2148         :al=\E^R:le=^H:bs:cd=\E^C:ce=\E^S:cl=\E?\E^E:cm=\Ea%+ %+ :co#80:\
2149         :dc=\E^Q:dl=\E^B:ei=\E\200:eo:im=\E^P:li#24:mi:nd=\E=:\
2150         :kb=^h:up=\E;:db:us=\EG:ue=\Eg:vs=\EW:ve=\Ew:am:xn:\
2151         :vb=\Ek\200\200\200\200\200\200\200\200\200\200\200\200\200\200\EK:\
2152         :ks=\EX:ke=\Ex:ku=\E;:kd=\E<:kl=\E>:kr=\E=:kh=\E?:\
2153         :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\72:\
2154         :so=\ED:se=\Ed:mh=\EE:md=\ED:mr=\ED:me=\Ee\Ed\Eg\Ec:
2155 c108-rv-8p|concept108-rv-8p|concept 108 w/8 pages, in reverse video:\
2156         :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\
2157         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2158         :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :tc=c108-8p:
2159 c108-rv-4p|concept108-rv-4p|concept 108 w/4 pages, in reverse video:\
2160         :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\
2161         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E!\E^G!\E^HA@ :\
2162         :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :tc=c108-4p:
2163 c108-na|c108-na-8p|concept108-na-8p|concept 108 w/8 pages, no arrows:\
2164         :ks@:ke@:k7=\E;:k8=\E<:k9=\E=:tc=c108-8p:
2165 c108-rv-na|c108-rv-na-8p|concept 108 w/8 pages, no arrows in rev video:\
2166         :ts=\E z"\E?\E^C\EE\Ea %+ :fs=\Ee\E z :\
2167         :ks@:ke@:k7=\E;:k8=\E<:k9=\E=:tc=c108-rv-8p:
2168 # this needs new frotz in the cm capability for 2-char addrs when > 95....
2169 c108-w|c108-w-8p|concept108-w-8p|concept 108 w/8 pages in wide mode:\
2170         :is=\EU\E F\Ef\E7\E5\E8\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E"\E^G!\E^HA@ :\
2171         :ti=\EU\Ev  8^AD\Ep\r:te=\Ev  ^A0^AD\Ep\r\n:pt@:cm@:\
2172         :co#132:tc=c108-8p:
2173 avt-w|avtw|HDS concept avt w/4 or 8 pages; 132 columns:\
2174         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;119l\E[=103;107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n:\
2175         :ch=\E[%i%3G:cm=\E[%i%2;%3H:co#132:tc=avt:
2176 avt-8p-s|concept avt w/8 pages & 80 cols running sysline:\
2177         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[2!w\E[192w\E[2*w\E[!w\E[1;191w\E2\r\n:\
2178         :hs:es:ts=\E[2!w\E[H\E[J\E[%i%dG:fs=\E[!w:\
2179         :ds=\E[2!w\E[2J\E[!w\E[*w:te=\E[1;191w\E2\n:tc=avt:
2180 avt-4p-s|concept avt w/4 pages & 80 cols running sysline:\
2181         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[2!w\E[96w\E[2*w\E[!w\E[1;95w\E2\r\n:\
2182         :hs:es:ts=\E[2!w\E[H\E[J\E[%i%dG:fs=\E[!w:\
2183         :ds=\E[2!w\E[2J\E[!w\E[*w:te=\E[1;95w\E2\n:tc=avt:
2184 avt-rv|HDS concept avt w/4 or 8 pages, 80 columns, reverse video:\
2185         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119l\E[=107;118;205;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n:\
2186         :ve=\E[4l:vs=\E[4l:tc=avt:
2187 avt|HDS concept avt w/4 or 8 pages, 80 columns:\
2188         :is=\E[1*q\E[2!t\E[7!t\E[=4;101;103;119;205l\E[=107;118;207h\E)1\E[1Q\EW\E[0!y\E[0\0720\07232!r\E[w\E2\r\n\E[*w:\
2189         :ae=^O:al=\E[L:am:as=^N:bs:bt=\E[Z:cd=\E[J:ce=\E[K:\
2190         :ch=\E[%i%2G:cl=\E[H\E[J:cm=\E[%i%2;%2H:co#80:cv=\E[%i%2d:\
2191         :dc=\E[P:dl=\E[M:do=\E[B:ei=\E1:eo:ho=\E[H:im=\E1:kb=^H:kd=\E[B:\
2192         :kh=\E[H:kl=\E[D:ko=do,ho,nd,up:kr=\E[C:\
2193         :ks=\E[1;4!z\E[1;8!z\E[1;10!z\E[1;11!z\E[1;12!z\E[1;14!z\E[3;7!z\E[3;9!z:\
2194         :ke=\E[;4!z\E[;8!z\E[;10!z\E[;11!z\E[;12!z\E[3;14!z\E[;7!z\E[;9!z:\
2195         :ku=\E[A:li#24:mi:nd=\E[C:pt:se=\E[7!{:so=\E[7m:\
2196         :te=\E[w\E2\n:ti=\E[1;24w\E2\n:ue=\E[4!{:\
2197         :up=\E[A:us=\E[4m:ve=\E[=4;119l:vs=\E[4l\E[=119h:xn:
2198 #
2199 # Concepts have only window relative cursor addressing, not screen relative.
2200 # To get it to work right here, ti/te (which were invented for the concept)
2201 # lock you into a one page window for screen style programs.  To get out of
2202 # the one page window, we use a clever trick: we set the window size to zero
2203 # ("\Ev    " in te) which the terminal recognizes as an error and resets the
2204 # window to all of memory.
2205 #
2206 # Some tty drivers use cr3 for concept, others use nl3, hence dN/dC below.
2207 # This padding is only needed at 9600 baud.
2208 # 2 nulls padding on te isn't always enough.  6 works fine.  Maybe less
2209 # than 6 but more than 2 will work.
2210 c100|concept|c1004p|c100-4p|concept100|concept 100:\
2211         :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\EK\E\200\Eo&\200\Eo\47\E\E^G\041\E^HA@ :\
2212         :ti=\EU\Ev  8p\Ep\r:te=\Ev    \200\200\200\200\200\200\Ep\r\n:\
2213         :al=3*\E^R:am:le=^H:bs:cd=16*\E^C:ce=16\E^U:cl=2*^L:cm=\Ea%+ %+ :co#80:\
2214         :dc=16\E^Q:dl=3*\E^B:ei=\E\200:eo:im=\E^P:ip=16*:li#24:mi:nd=\E=:\
2215         :pt:kb=^h:ta=8\t:up=\E;:db:us=\EG:ue=\Eg:xn:\
2216         :vb=\Ek\200\200\200\200\200\200\200\200\200\200\200\200\200\200\EK:\
2217         :.dN#9:dC#9:pb#9600:vt#8:us=\EG:ue=\Eg:so=\EE\ED:se=\Ed\Ee:\
2218         :mh=\EE:mr=\ED:mb=\EC:mp=\EI:mk=\EH:me=\EN\200:do=^J:\
2219         :ks=\EX:ke=\Ex:ku=\E;:kd=\E<:kl=\E>:kr=\E=:kh=\E?:k1=\E5:k2=\E6:k3=\E7:
2220 c100-rv-pp|c100-rv-4p-pp|concept100-rv-pp|c100rv4ppp|w/ printer port:\
2221         :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\Ek\E\200\Eo&\200\Eo\041\200\EQ"\EY(^W\Eo\47\E\E^G\041\E^HA@ :\
2222         :tc=c100-rv:
2223 c100-rv-na|c100-rv-4p-na|concept100-rv-na|c100rv4pna|c100 with no arrows:\
2224         :ks@:ke@:tc=c100-rv:
2225 c100-rv|c100-rv-4p|concept100-rv|c100rv4p|c100rv|c100 rev video:\
2226         :is=\EU\Ef\E7\200\200\E5\E8\200\200\El\ENH\Ek\E\200\Eo&\200\Eo\47\E\E^G\041\E^HA@ :\
2227         :vb=\EK\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ek:\
2228         :so=\EE:se=\Ee:tc=c100:
2229 # This is useful at 1200 baud.
2230 c100-s|concept-s|concept100-s|slow concept 100:\
2231         :vb=\Ek\200\EK:pt:dC@:dN@:tc=c100:
2232 c100-rv-s|concept-rv-s|concept100-rv-s|c100rvs|slow reverse concept 100:\
2233         :vb=\EK\200\Ek:pt:dC@:dN@:tc=c100-rv:
2234 # for syscons
2235 # common entry without semigraphics
2236 cons25w|ansiw|ansi80x25-raw:\
2237         :am:bs:NP:ms:pt:AX:eo:bw:ut:km:\
2238         :co#80:li#25:pa#64:Co#8:it#8:\
2239         :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
2240         :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:cb=\E[1K:\
2241         :nd=\E[C:rs=\Ec:so=\E[7m:se=\E[27m:up=\E[A:cr=^M:ta=^I:\
2242         :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:sc=\E7:rc=\E8:\
2243         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
2244         :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\
2245         :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:sf=\E[S:sr=\E[T:\
2246         :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\
2247         :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\
2248         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:\
2249         :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:bl=^G:
2250 # CP437 FreeBSD console with ACS support
2251 cons25|ansis|ansi80x25:\
2252         :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
2253         :tc=cons25w:
2254 cons25-m|ansis-mono|ansi80x25-mono:\
2255         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25:
2256 cons30|ansi80x30:\
2257         :li#30:tc=cons25:
2258 cons30-m|ansi80x30-mono:\
2259         :li#30:tc=cons25-m:
2260 cons43|ansi80x43:\
2261         :li#43:tc=cons25:
2262 cons43-m|ansi80x43-mono:\
2263         :li#43:tc=cons25-m:
2264 cons50|ansil|ansi80x50:\
2265         :li#50:tc=cons25:
2266 cons50-m|ansil-mono|ansi80x50-mono:\
2267         :li#50:tc=cons25-m:
2268 cons60|ansi80x60:\
2269         :li#60:tc=cons25:
2270 cons60-m|ansi80x60-mono:\
2271         :li#60:tc=cons25-m:
2272 # Syscons console with 132 characters (VESA modes)
2273 cons25-w|ansi132x25:\
2274         :co#132:tc=cons25:
2275 cons30-w|ansi132x30:\
2276         :co#132:tc=cons30:
2277 cons43-w|ansi132x43:\
2278         :co#132:tc=cons43:
2279 cons50-w|ansil-w|ansi132x50:\
2280         :co#132:tc=cons50:
2281 cons60-w|ansi132x60:\
2282         :co#132:tc=cons60:
2283 # KOI8-R/KOI8-U FreeBSD console with ACS support
2284 cons25r|cons25u|pc3r|ibmpc3r|cons25-koi8:\
2285         :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\2210\215:\
2286         :tc=cons25w:
2287 cons25r-m|cons25u-m|pc3r-m|ibmpc3r-mono|cons25-koi8-mono:\
2288         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25r:
2289 cons30r|cons30u|cons30-koi8:\
2290         :li#30:tc=cons25r:
2291 cons30r-m|cons30u-m|cons30-koi8-mono:\
2292         :li#30:tc=cons25r-m:
2293 cons43r|cons43u|cons43-koi8:\
2294         :li#43:tc=cons25r:
2295 cons43r-m|cons43u-m|cons43-koi8-mono:\
2296         :li#43:tc=cons25r-m:
2297 cons50r|cons50u|cons50-koi8:\
2298         :li#50:tc=cons25r:
2299 cons50r-m|cons50u-m|cons50-koi8-mono:\
2300         :li#50:tc=cons25r-m:
2301 cons60r|cons60u|cons60-koi8:\
2302         :li#60:tc=cons25r:
2303 cons60r-m|cons60u-m|cons60-koi8-mono:\
2304         :li#60:tc=cons25r-m:
2305 # ISO 8859-2 FreeBSD console with ACS support
2306 cons25l2|cons25-iso8859-2:\
2307         :ac=f\260i\247:\
2308         :tc=cons25w:
2309 cons25l2-m|cons25-iso8859-2-mono:\
2310         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l2:
2311 cons30l2|cons30-iso8859-2:\
2312         :li#30:tc=cons25l2:
2313 cons30l2-m|cons30-iso8859-2-mono:\
2314         :li#30:tc=cons25l2-m:
2315 cons43l2|cons43-iso8859-2:\
2316         :li#43:tc=cons25l2:
2317 cons43l2-m|cons43-iso8859-2-mono:\
2318         :li#43:tc=cons25l2-m:
2319 cons50l2|cons50-iso8859-2:\
2320         :li#50:tc=cons25l2:
2321 cons50l2-m|cons50-iso8859-2-mono:\
2322         :li#50:tc=cons25l2-m:
2323 cons60l2|cons60-iso8859-2:\
2324         :li#60:tc=cons25l2:
2325 cons60l2-m|cons60-iso8859-2-mono:\
2326         :li#60:tc=cons25l2-m:
2327 # ISO 8859-1 FreeBSD console with ACS support
2328 cons25l1|cons25-iso8859-1:\
2329         :ac=f\260g\261}\243+\253,\273i\247:\
2330         :tc=cons25w:
2331 cons25l1-m|cons25-iso8859-1-mono:\
2332         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l1:
2333 cons30l1|cons30-iso8859-1:\
2334         :li#30:tc=cons25l1:
2335 cons30l1-m|cons30-iso8859-1-mono:\
2336         :li#30:tc=cons25l1-m:
2337 cons43l1|cons43-iso8859-1:\
2338         :li#43:tc=cons25l1:
2339 cons43l1-m|cons43-iso8859-1-mono:\
2340         :li#43:tc=cons25l1-m:
2341 cons50l1|cons50-iso8859-1:\
2342         :li#50:tc=cons25l1:
2343 cons50l1-m|cons50-iso8859-1-mono:\
2344         :li#50:tc=cons25l1-m:
2345 cons60l1|cons60-iso8859-1:\
2346         :li#60:tc=cons25l1:
2347 cons60l1-m|cons60-iso8859-1-mono:\
2348         :li#60:tc=cons25l1-m:
2349 # 132x25 ISO 8859-1 FreeBSD console
2350 cons25l1-w|:cons25w-iso8859-1:\
2351         :co#132:tc=cons25l1:
2352 cons30l1-w|cons30w-iso8859-1:\
2353         :co#132:tc=cons30l1:
2354 cons43l1-w|cons43w-iso8859-1:\
2355         :co#132:tc=cons43l1:
2356 cons50l1-w|cons50w-iso8859-1:\
2357         :co#132:tc=cons50l1:
2358 cons60l1-w|cons60w-iso8859-1:\
2359         :co#132:tc=cons60l1:
2360 # ISO 8859-7 FreeBSD console with ACS support
2361 cons25l7:cons25-iso8859-7:\
2362         :ac=f\260g\261{\360}\243+\253,\273i\247:\
2363         :tc=cons25w:
2364 cons25l7-m|cons25-iso8859-7-mono:\
2365         :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l7:
2366 cons30l7|cons30-iso8859-7:\
2367         :li#30:tc=cons25l7:
2368 cons30l7-m|cons30-iso8859-7-mono:\
2369         :li#30:tc=cons25l7-m:
2370 cons43l7|cons43-iso8859-7:\
2371         :li#43:tc=cons25l7:
2372 cons43l7-m|cons43-iso8859-7-mono:\
2373         :li#43:tc=cons25l7-m:
2374 cons50l7|cons50-iso8859-7:\
2375         :li#50:tc=cons25l7:
2376 cons50l7-m|cons50-iso8859-7-mono:\
2377         :li#50:tc=cons25l7-m:
2378 cons60l7|cons60-iso8859-7:\
2379         :li#60:tc=cons25l7:
2380 cons60l7-m|cons60-iso8859-7-mono:\
2381         :li#60:tc=cons25l7-m:
2382 #
2383 dosansi|ANSI.SYS standard crt:\
2384         :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
2385         :do=\E[B:li#25:mi:nd=\E[C:\
2386         :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
2387         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
2388         :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
2389         :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
2390         :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
2391\f# --------------------------------
2392 #
2393 # d: DEC (DIGITAL EQUIPMENT CORPORATION)
2394 #
2395 # Note that xn glitch in vt100 is not quite the same as concept, since
2396 # the cursor is left in a different position while in the weird state
2397 # (concept at beginning of next line, vt100 at end of this line) so
2398 # all versions of vi before 3.7 don't handle xn right on vt100.
2399 # I assume you have smooth scroll off or are at a slow enough baud
2400 # rate that it doesn't matter (1200? or less).  Also this assumes
2401 # that you set auto-nl to "on", if you set it off use vt100-nam below.
2402 #
2403 # Since there are two things here called vt100, the installer can make
2404 # a local decision to make either one standard "vt100" by including
2405 # it in the list of terminals in reorder, since the first vt100 in
2406 # /etc/termcap is the one that it will find.  The choice is between
2407 # nam (no automatic margins) and am (automatic margins), as determined
2408 # by the wrapline switch (group 3 #2).  I personally recommend turning
2409 # on the bit and using vt100-am, since having stuff hammer on the right
2410 # margin is sort of hard to read.  However, the xn glitch does not occur
2411 # if you turn the bit off.
2412 #
2413 # I am unsure about the padding requirements listed here.  I have heard
2414 # a claim that the vt100 needs no padding.  It's possible that it needs
2415 # padding only if the xon/xoff switch is off.  For UNIX, this switch
2416 # should probably be on.
2417 #
2418 # The vt100 uses rs and rf rather than is/ct/st because the tab settings
2419 # are in non-volatile memory and don't need to be reset upon login.
2420 # You can type "reset" to get them set.
2421 #
2422 # Full vt200 keys set added to k1-k4 to help various emulators.
2423 # Since no pgms asks for funkeys present, it isn't affect standard vt100
2424 #
2425 vt100|dec-vt100|vt100-am|vt100am|dec vt100:\
2426         :do=2\E[B:co#80:li#24:cl=50\E[H\E[J:sf=2*\ED:\
2427         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
2428         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
2429         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\
2430         :is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:\
2431         :if=/usr/share/tabset/vt100:nw=2\EE:ho=\E[H:\
2432         :as=2\E(0:ae=2\E(B:\
2433         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||:\
2434         :rs=\E>\E[?1;3;4;5l\E[?7;8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
2435         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=\177:\
2436         :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:\
2437         :k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:\
2438         :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:sr=2*\EM:xn:\
2439         :sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:UP=2\E[%dA:DO=2\E[%dB:RI=2\E[%dC:\
2440         :LE=2\E[%dD:ct=2\E[3g:st=2\EH:ta=^I:ms:bl=^G:cr=^M:eo:it#8:\
2441         :RA=\E[?7l:SA=\E[?7h:
2442 vt100-nam|dec-vt100-nam|vt100nam|vt100 w/no am:\
2443         :am@:xn@:\
2444         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2445         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2446         :tc=vt100-am:
2447 vt100-np|dec-vt100-np|vt100 with no padding:\
2448         :NP:do=\E[B:cl=\E[H\E[J:sf=\ED:as=\E(0:ae=\E(B:\
2449         :cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:nw=\EE:\
2450         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
2451         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:sr=\EM:\
2452         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:\
2453         :LE=\E[%dD:ct=\E[3g:st=\EH:tc=vt100-am:
2454 vt100-nac|dec-vt100-nac|vt100 without pseudographics and padding:\
2455         :as@:ae@:ac@:tc=vt100-np:
2456 gt42|dec gt42:\
2457         :do=^J:le=^H:bs:co#72:ns:li#40:os:
2458 #From ts@pc.ecn.purdue.edu (Thomas Ruschak)
2459 vt131|dec vt131:\
2460         :cr=^M:do=^J:nl=^J:bl=^G:co#80:li#24:cl=50\E[;H\E[2J:\
2461         :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
2462         :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
2463         :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
2464         :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:.ks=\E[?1h\E=:.ke=\E[?1l\E>:\
2465         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\
2466         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=5\EM:vt#3:xn:\
2467         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
2468 vt132:\
2469         :al=99\E[L:dl=99\E[M:ip=7:dc=7\E[P:ei=\E[4l:im=\E[4h:xn:dN#30:tc=vt100:
2470 gt40|dec gt40:\
2471         :do=^J:le=^H:bs:co#72:ns:li#30:os:
2472 vt50|dec vt50:\
2473         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:co#80:li#12:nd=\EC:pt:up=\EA:
2474 vt125|vt125-am|DEC vt125:\
2475         :xn:do=^J:co#80:li#24:cl=50\E[H\E[2J:dC=10:dN#10:\
2476         :le=^H:am:bs:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:ce=3\E[K:cd=50\E[J:\
2477         :so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:\
2478         :me=2\E[m:is=\E[1;24r\E[24;1H\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
2479         :ks=\E[?1h\E=:ke=\E[?1l\E>:if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:\
2480         :kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2481         :pt:sr=5\EM:vt#3:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
2482 vt125-nam|DEC vt125 no automatic margin:\
2483         :am@:tc=vt125-am:
2484 # DEC gigi color graphic terminal, same as vt52
2485 gigi|dec gigi terminal:\
2486         :co#80:is=200\E>\E[?4l\E[?5l\E[?7h\E[?8h:\
2487         :li#24:cl=100\E[;H\E[2J:bs:cm=50\E[%i%2;%2H:nd=200\E[C:up=100\E[A:\
2488         :ce=120\E[K:cd=100\E[J:so=20\E[7m:se=20\E[m:us=20\E[4m:ue=20\E[m:\
2489         :ks=200\E[?1h\E=:ke=200\E[?1l\E>:\
2490         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
2491         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=200\EM:\
2492         :dC=50:dF=200:dN#50:dT=50:
2493 #From William King <abvax!wrk@uunet.UU.NET>, basic ln03 entries
2494 ln03|dec ln03 LaserPrinter:\
2495         :co#80:li#66:hc:hu=\EL:hd=\EK:so=\E[1m:se=\E[22m:\
2496         :us=\E[4m:ue=\E[24m:
2497 ln03-w|dec ln03 LaserPrinter 132 cols:\
2498         :co#132:tc=ln03:
2499 dw1|decwriter I:\
2500         :do=^J:le=^H:bs:co#72:hc:os:
2501 # From tut@Topaz.CC Thu May 12 14:49:02 1983
2502 dw3|la120|decwriter III:\
2503         :bs:kb=^H:co#132:hc:os:pt:\
2504         :is=\E(B\E[20l\E[w\E[1;132s\E[2g\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\E[z\E[66t\E[1;66r\E[4g\E>\r:
2505 # From tut@topaz.CC Thu Sep 24 22:10:46 1981
2506 dw4|decwriter IV:\
2507         :do=^J:le=^H:bs:co#132:hc:os:am:\
2508         :pt:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:
2509 vt50h|dec vt50h:\
2510         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
2511         :co#80:li#12:nd=\EC:pt:sr=\EI:up=\EA:
2512 vt100-s|dec-vt100-s|vt100 with status line at top:\
2513         :li#23:i2=\E[2;24r\E[24;1H:cm@:ho=\E[H^J:cl=50\E[;H^J\E[0J:\
2514         :hs:es:ts=\E7\E[1;%dH\E[1K:fs=\E8:tc=vt100-am:
2515 vt100-s-bot|dec-vt100-s-bot|vt100 with status line at bottom:\
2516         :li#23:i2=\E[1;23r\E[23;1H:\
2517         :hs:es:ts=\E7\E[24;%dH\E[1K:fs=\E8:tc=vt100-am:
2518 vt100-nav|dec-vt100-nav|dec vt100 132 cols 14 lines (w/o advanced video option):\
2519         :li#14:tc=vt100-w:
2520 vt100-w|dec-vt100-w|dec vt100 132 cols (w/advanced video):\
2521         :if=/usr/share/tabset/vt100-w:\
2522         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2523         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2524         :co#132:tc=vt100-am:
2525 vt100-w-nam|dec-vt100-w-nam|dec vt100 132 cols (w/advanced video), no am:\
2526         :if=/usr/share/tabset/vt100-w:\
2527         :is=\E>\E[?1;4;5;7l\E[?3;8h\E[1;24r\E[24;1H:\
2528         :rs=\E>\E[?1;4;5;7l\E[?3;8h:\
2529         :co#132:vt@:tc=vt100-nam:
2530 vt102|dec-vt102-am|vt102am|vt100 w/adv. video:\
2531         :al=\E[L:dl=\E[M:im=\E[4h:ei=\E[4l:mi:dc=\E[P:\
2532         :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:tc=vt100-np:
2533 vt102-nam|dec-vt102-nam|vt102nam|vt102 w/no am:\
2534         :am@:xn@:\
2535         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2536         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2537         :tc=vt102am:
2538 vt102-w|dec vt102 132 cols (w/advanced video):\
2539         :if=/usr/share/tabset/vt100-w:\
2540         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2541         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2542         :co#132:vt@:tc=vt102:
2543 vt102-w-nam|dec-vt102-w-nam|dec vt102 132 cols (w/advanced video), no am:\
2544         :if=/usr/share/tabset/vt100-w:\
2545         :is=\E>\E[?1;4;5;7l\E[?3;8h\E[1;24r\E[24;1H:\
2546         :rs=\E>\E[?1;4;5;7l\E[?3;8h:\
2547         :co#132:vt@:tc=vt102-nam:
2548 vt102-nac|dec-vt102-nac|vt102 without pseudographics:\
2549         :as@:ae@:ac@:tc=vt102:
2550 vt52|dec-vt52|dec vt52:\
2551         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#24:\
2552         :nd=\EC:pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:
2553 # vt61 created by Roger Sacilotto  Massachusetts Computer Associates, Inc
2554 # Similar to vt52 but add al and dl
2555 #
2556 vt61|dec vt61:\
2557         :al=\EPf:dl=\EPd:tc=vt52:
2558 dw2|decwriter II:\
2559         :do=^J:kb=^h:le=^H:bs:co#132:hc:os:
2560 # DEC PRO-350 console (VT220-style)
2561 pro350|decpro|dec pro console:\
2562         :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:\
2563         :cm=\EY%+ %+ :co#80:ho=\EH:\
2564         :kl=\ED:kr=\EC:ku=\EA:kd=\EB:kh=\EH:\
2565         :k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:k7=\Ej:\
2566         :li#24:nd=\EC:pt:sr=\EI:up=\EA:do=\EB:\
2567         :se=\E^N:so=\E^H:us=\E^D:ue=\E^C:\
2568         :ae=\EG:as=\EF:
2569 #
2570 vt200|vt220|vt220am|vt200am|dec-vt220|dec-vt200|dec vt2X0 series with jump scroll:\
2571         :@7=\E[4~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kh=\E[1~:\
2572         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2573         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2574         :ve=\E[?25h:vi=\E[?25l:k0@:\
2575         :F1=\E[23~:F2=\E[24~:ic=\E[@:IC=\E[%d@:ec=\E[%dX:\
2576         :al=\E[L:dl=\E[M:dc=\E[P:\
2577         :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:tc=vt100-np:
2578 vt220-pf|vt200-pf|dec-vt220-pf|dec-vt200-pf|dec vt200 with PF1-PF4:\
2579         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2580         :tc=vt220:
2581 vt200-nam|dec-vt200-nam|vt200nam|vt200 w/no am:\
2582         :tc=vt220nam:
2583 vt220-nam|dec-vt220-nam|vt220nam|vt220 w/no am:\
2584         :am@:xn@:\
2585         :is=\E>\E[?1;3;4;5;7l\E[?8h\E[1;24r\E[24;1H:\
2586         :rs=\E>\E[?1;3;4;5;7l\E[?8h:\
2587         :tc=vt220am:
2588 vt200-ss|vt220-ss|dec-vt220-ss|dec vt200 series with smooth scroll:\
2589         :is=\E>\E[?1;3;5l\E[?4;7;8h\E[1;24r\E[24;1H:\
2590         :rs=\E>\E[?1;3;5l\E[?4;7;8h:\
2591         :tc=vt200:
2592 vt200-w|vt220-w|dec-vt220-w|vt200-wj|vt220-wj|dec vt200 series; 132 col.; jump scroll:\
2593         :is=\E>\E[?1;4;5l\E[?3;7;8h\E[1;24r\E[24;1H:\
2594         :rs=\E>\E[?1;4;5l\E[?3;7;8h:\
2595         :co#132:vt@:tc=vt200:
2596 vt200-ws|vt220-ws|dec-vt220-ws|dec vt200 series; 132 col.; smooth scroll:\
2597         :is=\E>\E[?1;5l\E[?3;4;7;8h\E[1;24r\E[24;1H:\
2598         :rs=\E>\E[?1;5l\E[?3;4;7;8h:\
2599         :co#132:vt@:tc=vt200:
2600 vt200-nac|vt220-nac|dec-vt200-nac|dec-vt220-nac|dec vt200 without pseudographics:\
2601         :as@:ae@:ac@:tc=vt200:
2602 #
2603 vt320|vt300|vt340|vt320 with status line:\
2604         :ds=\E[2$~\r\E[1$}\E[K\E[$}:ts=\E[2$~\E[1$}\E[1;%dH:\
2605         :fs=\E[$}:tc=vt220:
2606 dec-vt320|dec-vt300|dec-vt340|dec vt320 with status line:\
2607         :tc=vt320:
2608 vt320-pf|vt300-pf|vt340-pf|vt320 with PF1-PF4:\
2609         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2610         :tc=vt320:
2611 dec-vt320-pf|dec-vt300-pf|dec-vt340-pf|dec vt320 with PF1-PF4:\
2612         :tc=vt320-pf:
2613 vt320-nac|vt300-nac|vt340-nac|vt320 without pseudographics:\
2614         :as@:ae@:ac@:tc=vt320:
2615 dec-vt320-nac|dec-vt300-nac|dec-vt340-nac|dec vt320 without pseudographics:\
2616         :tc=vt320-nac:
2617 # The following entry was converted with the "tic -C" command
2618 # in ncurses.  The original terminfo source file was posted to
2619 # comp.terminals by Daniel A. Glasser on 1991-01-07.
2620 #
2621 # The comments in () were inserted by tic.
2622 #
2623 # (untranslatable capabilities removed to fit entry within 1023 bytes)
2624 # (sgr removed to fit entry within 1023 bytes)
2625 # (acsc removed to fit entry within 1023 bytes)
2626 # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2627 vt420|vt420-24|dec-vt420|DEC vt420 7 bit controls 80x24 autowrap:\
2628         :am:es:hs:mi:ms:xn:xo:\
2629         :co#80:it#8:li#24:ws#80:\
2630         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2631         :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
2632         :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
2633         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
2634         :ds=\E[2$~\r\E[1$}\E[K\E[$}:ec=\E[%dX:ei=\E[4l:fs=\E[$}:\
2635         :ho=\E[H:ic=\E[@:im=\E[4h:is=\E[?7h\E[>\E[?1h\E F\E[?4l:\
2636         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
2637         :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2638         :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
2639         :md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
2640         :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2641         :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
2642         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
2643 vt400|dec-vt400|DEC VT400 level terminal for telnet alias:\
2644         :tc=vt420:
2645 vt420-w|DEC vt420 7 bit controls 132x24 autowrap:\
2646         :co#132:tc=vt420:
2647 vt420-36|DEC vt420 7 bit controls 80x36 autowrap:\
2648         :li#36:tc=vt420:
2649 vt420-36w|DEC vt420 7 bit controls 132x36 autowrap:\
2650         :co#132:li#36:tc=vt420:
2651
2652 # From ftp://gatekeeper.dec.com/pub/DEC/termcaps/ :
2653 #
2654 # vt520.tc (9/30/94)
2655 #
2656 # VT520/VT525
2657 #
2658 # The VT520 is a monochrome text terminal capable of managing up to
2659 # four independent sessions in the terminal.  It has multiple ANSI
2660 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
2661 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
2662 # 925 910+, ADDS A2).  This termcap data is for the ANSI emulations only.
2663 # SCO Console emulation uses the "ansi" entry.  Existing ASCII termcap
2664 # entries are used with the ASCII emulations.
2665 #
2666 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
2667 # [Alt]/[Print Screen] depending upon which keyboard and which
2668 # terminal mode is being used.  If Set-Up has been disabled or
2669 # assigned to an unknown key, Set-Up may be entered by pressing
2670 # [F3] as the first key after power up, regardless of keyboard type.
2671 #
2672 vt520|DEC VT520 :\
2673         :am:mi:xn:xo:bs:pt:\
2674         :co#80:li#24:kn#3:\
2675         :ae=4\E(B:al=\E[L:as=2\E(0:cd=50\E[J:ce=3\E[K:\
2676         :cl=50\E[;H\E[2J:cm=10\E[%i%d;%dH:cs=\E[%i%d;%dr:\
2677         :dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:\
2678         :if=/usr/lib/tabset/vt100:\
2679         :im=\E[4h:\
2680         :is=\E[1;24r\E[24;1H:\
2681         :r3=\E[?67h\E[64;1"p:\
2682         :i3=\E[?67h\E[64;1"p:\
2683         :k0=\E[29~:\
2684         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2685         :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
2686         :kb=\b:kd=\E[B:ke=\E>:kl=\E[D:\
2687         :kr=\E[C:ks=\E=:ku=\E[A:nd=\E[C:\
2688         :rc=\E8:rf=/usr/lib/tabset/vt100:\
2689         :se=\E[m:so=\E[7m:\
2690         :sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:nl=\E[B:ko=do,nd,up:
2691 #
2692 vt520nam|vt520-nam|v520n|DEC VT520 with no automargins:\
2693         :am@:tc=vt520:
2694
2695 #
2696 # For ANSI color-enabled terminal emulators
2697 #
2698 vt100-color|vt100-co|vt100 emulator with ANSI colors:\
2699         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt100:
2700 vt102-color|vt102-co|vt102 emulator with ANSI colors:\
2701         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt102:
2702 vt220-color|vt220-co|vt220 emulator with ANSI colors:\
2703         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt220:
2704 # Attempt to save some of 1024 buf space truncating description
2705 # and names list
2706 vt320-co|vt320 color:\
2707         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt320:
2708 vt320-color|vt320 co:\
2709         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt320:
2710 vt340-co|vt340 color:\
2711         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt340:
2712 vt340-color|vt340 co:\
2713         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt340:
2714 #
2715 # SC,SW names needed for screen(1)
2716 SC|screen|VT 100/ANSI X3.64 virtual terminal:\
2717         :am:xn:ms:mi:G0:km:\
2718         :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
2719         :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
2720         :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
2721         :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
2722         :li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\
2723         :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\
2724         :AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\
2725         :DC=\E[%dP:ic=\E[@:IC=\E[%d@:\
2726         :ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\
2727         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
2728         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
2729         :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
2730         :kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[5~:kN=\E[6~:\
2731         :eA=\E(B\E)0:as=^N:ae=^O:\
2732         :vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
2733         :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
2734         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhii00:
2735 SW|screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
2736         :co#132:tc=screen:
2737 # $Xorg: termcap,v 1.3 2000/08/17 19:55:10 cpqbld Exp $
2738 #
2739 # Note:
2740 #       termcap format is limited to 1023 characters.  This set of descriptions
2741 #       is a subset of the terminfo, since not all features can be fit into
2742 #       that limit.  The 'xterm' description supports color.  The monochrome
2743 #       'xtermm' drops color in favor of additional function keys.  If you need
2744 #       both, use terminfo.
2745 #
2746 #       The 1023-character limit applies to each entry after resolving the
2747 #       "tc=" strings.  Some implementations may discount all or part of the
2748 #       formatting characters in the entry (i.e., the backslash newline tab
2749 #       colon).  GNU termcap does not have this limit.
2750 #
2751 #       I checked the limits using ncurses "captoinfo -CrTv", which prints
2752 #       the resolved length of each entry in a comment at the end - T.Dickey
2753 #
2754 # $XFree86: xc/programs/xterm/termcap,v 3.28 2001/01/17 23:46:39 dawes Exp $
2755 #
2756 xterm-xfree86|XFree86 xterm:\
2757         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2758         :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
2759         :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
2760         :kH=\EOF:@7=\EOF:kI=\E[2~:\
2761         :kh=\EOH:*6=\EOF:kP=\E[5~:kN=\E[6~:\
2762         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:Km=\E[M:tc=xterm-basic:
2763 #
2764 # This chunk is used for building the VT220/Sun/PC keyboard variants.
2765 xterm-basic|xterm common (XFree86):\
2766         :li#24:co#80:am:kn#12:km:mi:ms:xn:bl=^G:\
2767         :is=\E[!p\E[?3;4l\E[4l\E>:rs=\E[!p\E[?3;4l\E[4l\E>:\
2768         :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:al=\E[L:dc=\E[P:dl=\E[M:\
2769         :UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
2770         :ho=\E[H:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:\
2771         :im=\E[4h:ei=\E[4l:ks=\E[?1h\E=:ke=\E[?1l\E>:kD=\E[3~:kb=^H:\
2772         :sf=\n:sr=\EM:st=\EH:ct=\E[3g:sc=\E7:rc=\E8:\
2773         :eA=\E(B\E)0:as=^N:ae=^O:ml=\El:mu=\Em:up=\E[A:nd=\E[C:\
2774         :md=\E[1m:me=\E[m^O:mr=\E[7m:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\
2775         :ti=\E[?1049h:te=\E[?1049l:vi=\E[?25l:ve=\E[?25h:\
2776         :ut:Co#8:pa#64:op=\E[39;49m:AB=\E[4%dm:AF=\E[3%dm:\
2777
2778 # The xterm-xfree86 description has all of the features, but is not completely
2779 # compatible with vt220.  If you are using a Sun or PC keyboard, set the
2780 # sunKeyboard resource to true:
2781 #       + maps the editing keypad
2782 #       + interprets control-function-key as a second array of keys, so a
2783 #         12-fkey keyboard can support vt220's 20-fkeys.
2784 #       + maps numeric keypad "+" to ",".
2785 #       + uses DEC-style control sequences for the application keypad.
2786 #
2787 xterm-vt220|xterm emulating vt220:\
2788         :kH=\E[4~::@7=\E[4~:*6=\E[4~:kh=\E[1~:Km=\E[M:tc=xterm-basic:
2789
2790 xterm-24|xterms|vs100|24x80 xterm:\
2791         :li#24:\
2792         :tc=xterm:
2793 xterm-65|65x80 xterm:\
2794         :li#65:tc=xterm:
2795 xterm-bold|xterm with bold for underline:\
2796         :so=\E[7m:us=\E[1m:tc=xterm:
2797 xterm-boldso|xterm with bold for standout:\
2798         :se=\E[m:so=\E[1m:tc=xterm:
2799 xterm-mono|monochrome xterm:\
2800         :kn#20:\
2801         :st@:ut@:Co@:NC@:op@:AB@:AF@:pa@:Sf@:Sb@:tc=xterm:
2802 #
2803 # Alternate terminal description that "works" for interactive shells such as
2804 # tcsh and bash.
2805 xterm-noapp|xterm with cursor keys in normal mode:\
2806         kl=\E[D:kd=\E[B:kr=\E[C:ku=\E[A:ks=\E=:ke=\E>:ti@:te@:tc=xterm:
2807 #
2808 # These aliases are for compatibility with the terminfo; termcap cannot provide
2809 # the extra features, but termcap applications still want the names.
2810 xterm-16color|xterm alias 1:tc=xterm-xfree86:
2811 xterm-88color|xterm alias 2:tc=xterm-256color:
2812 xterm-256color|xterm alias 3:tc=xterm-xfree86:
2813 xterm-nrc|xterm alias 4:tc=xterm:
2814 xterm-rep|xterm alias 5:tc=xterm:
2815 xterm-xmc|xterm alias 6:sg#1:tc=xterm:
2816 #
2817 # An 8-bit description is doable with termcap, but there are probably no
2818 # termcap (or BSD curses) applications that are able to use it.
2819 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
2820         :co#80:li#24:\
2821         :it#8:am:km:mi:ms:xn:\
2822         :AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:LE=\233%dD:\
2823         :RI=\233%dC:UP=\233%dA:ae=^O:al=\233L:as=^N:bl=^G:bt=\233Z:\
2824         :cd=\233J:ce=\233K:cl=\233H\2332J:cm=\233%i%d;%dH:cr=^M:\
2825         :cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=^J:up=\233A:nd=\233C:\
2826         :ei=\2334l:ho=\233H:im=\2334h:\
2827         :is=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8:\
2828         :k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
2829         :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
2830         :kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
2831         :ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
2832         :ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\233m^O:mr=\2337m:\
2833         :rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\
2834         :st=\210:ta=^I:te=\233?1049l:ti=\233?1049h:ue=\23324m:us=\2334m:\
2835         :vb=\233?5h\233?5l:ve=\233?25h:vi=\233?25l:Km=\233M:
2836 #
2837 xterm-hp|XFree86 xterm with hpterm function keys:\
2838         :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
2839         :kC=\EJ:kD=\EP:@7=\EF:kI=\EQ:kN=\ES:kP=\ET:kh=\Eh:\
2840         :kd=\EB:kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic:
2841 #
2842 xterm-sco|XFree86 xterm with SCO function keys:\
2843         :kl=\E[D:kd=\E[B:kr=\E[C:ku=\E[A:@7=\E[F:\
2844         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
2845         :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:\
2846         :F1=\E[W:F2=\E[X:F3=\E[Y:F5=\E[a:F6=\E[b:\
2847         :F7=\E[c:F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:\
2848         :FC=\E[h:FD=\E[i:FE=\E[j:FF=\E[k:\
2849         :kh=\E[H:kI=\E[L:kN=\E[G:kP=\E[I:ac@:tc=xterm-basic:
2850 #
2851 xterm-vt52|xterm emulating vt52:\
2852         :bs:\
2853         :co#80:it#8:li#24:\
2854         :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
2855         :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
2856         :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
2857 #
2858 xterm-sun|xterm with Sun functionkeys:\
2859         :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:\
2860         :k5=\E[228z:k6=\E[229z:k7=\E[230z:k8=\E[231z:\
2861         :k9=\E[232z:k;=\E[233z:F1=\E[192z:F2=\E[193z:\
2862         :%1=\E[196z:&8=\E[195z:@0=\E[200z:kI=\E[2z:\
2863         :kN=\E[222z:kP=\E[216z:kh=\E[214z:kD=^?:\
2864         :Km=\E[M:@5=\E[197z::@7=\E[220z:\
2865         :tc=xterm-basic:
2866 #
2867 # vi may work better with this entry, because vi doesn't use insert mode much.
2868 # |xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\
2869 xterm-ic|xterm-vi|xterm with insert char:\
2870         :im@:ei@:mi@:ic=\E[@:IC=\E[%d@:tc=xterm:
2871 #
2872 # Compatible with the X11R6.3 xterm
2873 xterm-r6|xterm-old|X11R6 xterm:\
2874         :is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
2875         :rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
2876         :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:DO=\E[%dB:UP=\E[%dA:\
2877         :LE=\E[%dD:RI=\E[%dC:al=\E[L:am:bl=^G:\
2878         :bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:\
2879         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ho=\E[H:\
2880         :im=\E[4h:ei=\E[4l:mi:ks=\E[?1h\E=:ke=\E[?1l\E>:@7=\E[4~:kh=\E[1~:\
2881         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2882         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2883         :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
2884         :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
2885         :kn#20:km:@0=\E[1~:kI=\E[2~:kD=^?:*6=\E[4~:kP=\E[5~:kN=\E[6~:\
2886         :kb=^H:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
2887         :li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt:\
2888         :eA=\E)0:as=^N:ae=^O:ml=\El:mu=\Em:\
2889         :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:\
2890         :ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:up=\E[A:us=\E[4m:ue=\E[m:xn:
2891 #
2892 # Compatible with the R5 xterm
2893 xterm-r5|X11R5 xterm X11R5:\
2894         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:UP=\E[%dA:\
2895         :al=\E[L:am:\
2896         :bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:\
2897         :cs=\E[%i%d;%dr:ct=\E[3g:\
2898         :dc=\E[P:dl=\E[M:\
2899         :im=\E[4h:ei=\E[4l:mi:\
2900         :ho=\E[H:\
2901         :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
2902         :rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
2903         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
2904         :kl=\EOD:km:kn#4:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\
2905         :@7=\E[4~:kh=\E[1~:\
2906         :li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt:\
2907         :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:\
2908         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
2909         :up=\E[A:us=\E[4m:ue=\E[m:xn:
2910 #
2911 # This is the only entry which you should have to customize, since "xterm"
2912 # is widely used for a variety of incompatible terminal emulations including
2913 # color_xterm and rxvt.
2914 xterm|xterm-color|X11 terminal emulator:\
2915         :ti@:te@:tc=xterm-xfree86:
2916 #       :tc=xterm-r6:
2917 # dtterm termcap entry - Obtained from Xinside's CDE with permission
2918 # from Thomas Roell
2919 dtterm|dtterm-cde10:\
2920         :am:km:mi:ms:xn:\
2921         :co#80:li#24:Co#8:it#8:lm#0:pa#8:\
2922         :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
2923         :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2924         :bl=^G:cr=\r:ta=\t:\
2925         :cl=\E[H\E[J:cb=\E[1K:ce=\E[K:cd=\E[J:\
2926         :cm=\E[%i%d;%dH:ho=\E[H:\
2927         :LE=\E[%dD:le=\b:\
2928         :DO=\E[%dB:do=\n:\
2929         :RI=\E[%dC:nd=\E[C:\
2930         :UP=\E[%dA:up=\E[A:\
2931         :DC=\E[%dP:dc=\E[P:DL=\E[%dM:dl=\E[M:\
2932         :IC=\E[%d@:ic=\E[@:AL=\E[%dL:al=\E[L:\
2933         :sc=\E7:rc=\E8:\
2934         :sf=\ED:sr=\EM:\
2935         :st=\EH:ct=\E[3g:\
2936         :me=\E[0m:md=\E[1m:mr=\E[7m:\
2937         :as=^N:ae=^O:\
2938         :SA=\E[?7h:RA=\E[?7l:\
2939         :so=\E[2;7m:se=\E[22;27m:\
2940         :us=\E[4m:ue=\E[24m:\
2941         :mh=\E[2m:mb=\E[5m:vi=\E[?25l:ve=\E[?25h:ec=\E[%dX:\
2942         :mk=\E[8m:i2=\E\sF\E>\E[?1l\E[?7h\E[?45l:\
2943         :nw=\EE:op=\E[39;49m:\
2944         :kb=\b:kl=\E[D:kd=\E[B:kr=\E[C:ku=\E[A:kD=\E[3~:k1=\E[11~:k2=\E[12~:\
2945         :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
2946         :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
2947         :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:F20=\E[34~:\
2948         :@0=\E[1~:%1=\E[28~:kI=\E[2~:kN=\E[6~:kP=\E[5~:*6=\E[4~:
2949 # vs100 emulator using tsim     (from lai@decwrl)
2950 vs100t|tsim|vs100-tsim:\
2951         :bs:cm=\EM%+ %+ :ho=\EH:do=^J:up=^K:cl=\EE:ce=\EL:cs=\ES%+ %+ :\
2952         :so=\Eh:se=\Er:us=\Eu:ue=\Ev:al=\EI:Al=\E+%+ :dl=\ED:Dl=\E-%+ :\
2953         :ic=\Ei:dc=\Ed:is=\ER:rs=\ER:am:cd=\EQ:pt:nd=\En:li#24:co#80:
2954 kterm|kterm kanji terminal emulator (X window system):\
2955         :hs:es:ts=\E[?E\E[?%i%dT:fs=\E[?F:ds=\E[?H:\
2956         :KJ:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:TY=ascii:\
2957         :eA@:as=\E(0:ae=\E(B:tc=xterm-r6:
2958 kterm-color|kterm-co|kterm + ANSI colors:\
2959         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=kterm:
2960\f# --------------------------------
2961 #
2962 # h: HEWLETT PACKARD
2963 #
2964 # Note: no "ho" on HP's since that homes to top of memory, not screen.
2965 # Due to severe 2621 braindamage, the only way to get the arrow keys to
2966 # transmit anything at all is to turn on the function key labels
2967 # (f1-f8) with ks, and even then the poor user has to hold down shift!
2968 # The default 2621 turns off the labels except when it has to enable
2969 # the function keys.  If your installation prefers labels on all the time,
2970 # or off all the time (at the "expense" of the function keys) move the
2971 # 2621-nl or 2621-wl labels to the front using reorder.
2972 # Note: there are newer ROM's for 2621's that allow you to set strap A
2973 # so the regular arrow keys xmit \EA, etc, as with the 2645.  However,
2974 # even with this strap set, the terminal stops xmitting if you reset it,
2975 # until you unset and reset the strap!  Since there is no way to set/unset
2976 # the strap with an escape sequence, we don't use it in the default.
2977 # If you like, you can use 2621-ba (braindamaged arrow keys).
2978 2621-ba|2621 w/new rom, strap A set:\
2979         :ks@:ke@:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:tc=hp2621:
2980 # 2621 with function labels.  Most of the time they are off,
2981 # but inside vi, the function key labels appear.  You have to
2982 # hold down shift to get them to xmit.
2983 2621|hp2621|hp2621a|hp2621p|2621a|2621p|2621-pb|hp2621-fl|hp 2621:\
2984         :is=\E&j@\r:bt=\Ei:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:\
2985         :so=\E&dD:se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:\
2986         :kh=\Ep\r:ku=\Et\r:kl=\Eu\r:kr=\Ev\r:kd=\Ew\r:\
2987         :kn#8:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
2988         :k8=\Ew\r:ks=\E&jB:ke=\E&j@:ta=2^I:tc=hp:
2989 # 2621k45: untested
2990 # 2622: unsure if this is quite it, have only heard about the terminal.
2991 2621k45|hp2621k45|k45|2622|hp2622|hp 2621 with 45 keyboard:\
2992         :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=2621:
2993 hp2645|2645|hp45:\
2994         :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\
2995         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp:
2996 hp|hpterm|hewlett-packard:\
2997         :ct=\E3:st=\E1:do=^J:al=\EL:am:le=^H:bs:\
2998         :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cm=6\E&a%r%dc%dY:\
2999         :co#80:cv=\E&a%dY:da:db:dc=\EP:dl=\EM:ei=\ER:im=\EQ:\
3000         :kb=^H:li#24:mi:nd=\EC:pt:se=\E&d@:so=\E&dJ:\
3001         :us=\E&dD:ue=\E&d@:up=\EA:xs:vt#6:pb#9600:
3002 # This entry does not use any of the fancy windowing stuff of the 2621.
3003 # Indeed, termcap does not yet handle such stuff.  We are looking at it.
3004 hp2626|hp2626a|hp2626p|2626|2626a|2626p|hp 2626:\
3005         :dc=2\EP:ip=2:se=\E&d@:so=\E&dB:cd=500\EJ:\
3006         :mr=\E&dB:us=\E&dD:mb=\E&dA:mk=\E&dS:me=\E&d@:ue=\E&d@:\
3007         :kh=\Eh:ku=\EA:kl=\ED:kr=\EC:kd=\EB:ks=\E&s1A:ke=\E&s0A:\
3008         :sf=\ES:ta=2^I:xs:tc=2621:
3009 # cD is a pain - but it only screws up at 9600 baud.
3010 # You should use this terminal at 4800 baud or less.
3011 hp2648|hp2648a|2648a|2648|HP 2648a graphics terminal:\
3012         :cl=50\EH\EJ:cm=20\E&a%r%dc%dY:dc=7\EP:ip=5:tc=2645:
3013 # This terminal should be used at 4800 baud or less.
3014 hp2645-np|2645 w/no padding:cm=\E&a%r%dc%dY:tc=hp2645:
3015 # 2640a doesn't have the Y cursor addressing feature, and C is memory relative
3016 # instead of screen relative, as we need.
3017 2640|hp2640a|2640a|hp 2640a:\
3018         :cm@:ks@:ke@:tc=2645:
3019 2640b|hp2640b|2644a|hp2644a|hp 264x series:\
3020         :ks@:ke@:tc=2645:
3021 # 2621 using all 48 lines of memory, only 24 visible at any time.  Untested.
3022 2621-48|48 line 2621:\
3023         :li#48:ho=\EH:cm=\E&a%r%dc%dR:tc=2621:
3024 # From: mcvax!westc!ahof@seismo.css.gov (Anton Hofland) (ahof@westc.uucp)
3025 # For newer versions, :li should correspond to the actual number of lines.
3026 hp110|HP110|HP110A|Hewlett Packard 110A Portable Computer:\
3027         :co#80:li#16:am:db:cl=\E[2J:is=\E&j@\E[=7h:ch=\E&a%2C:cv=\E&a%2R:\
3028         :cm=\E&a%2r%2C:ho=\Eh:cr=^M:nl=^J:ks=\E&s1A:ke=\E&s0A:kd=\EB:\
3029         :ku=\EA:kr=\EC:kl=\ED:nd=\EC:up=\EA:le=^H:do=^J:bc=^H:bt=\Ei:\
3030         :ta=\EI:sf=\E[s\EH\EM\E[u\EJ:sr=\ET:al=\EL:dl=\EM:kb=^H:bl=^G:\
3031         :kh=\Eh:dc=\EP:im=\EQ:ei=\ER:mi:ms:xs:mr=\E[7m:mb=\E[5m:me=\E[0m:\
3032         :so=\E[7m:se=\E[0m:rs=\E[0m\E&j@:cd=\EJ:ce=\EK:kn#8:k1=\Ep:k2=\Eq:\
3033         :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
3034 # 2621 with no labels ever.  Also prevents vi delays on escape.
3035 2621-nl|hp2621nl|2621nl|hp2621-nl|hp 2621 with no labels:\
3036         :ks@:ke@:kh@:ku@:kl@:kr@:kd@:tc=hp2621-fl:
3037 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs (wrong).
3038 hp2621-nt|2621nt|2621-nt|hp2621nt|hp 2621 w/no tabs:\
3039         :pt@:tc=hp2621:
3040 # 2621 with labels on all the time - normal outside vi, function inside vi.
3041 hp2621wl|2621wl|2621-wl|hp2621-wl|hp 2621 w/labels:\
3042         :is=\E&jA\r:ke=\E&jA:tc=hp2621-fl:
3043 # 2392 (from haddix@arpa?)
3044 2392|hp2392|hp2392a:\
3045         :bt=\Ei:ip=2:is=\E&j@\E3\r:if=/usr/share/tabset/stdcrt:\
3046         :ml=\El:MT:mu=\Em:km:\
3047         :mh=\E&dH:mr=\E&dB:us=\E&dD:mb=\E&dA:me=\E&d@:\
3048         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\Eh:ks=\E&s1A:ke=\E&s0A:tc=hp:
3049 #HP 236 console
3050 #from ddavis@ic.berkeley.edu
3051 236|hp236|HP236 internal terminal emulator:\
3052         :am:bs:li#24:co#80:ce=\EK:cl=\EF:cm=\EE%+ %+ :\
3053         :dc=\EJ:dl=\EH:ic=\EI:al=\EG:up=^K:\
3054         :so=\EBI:se=\ECI:vs=\EDB:ve=\EDE:
3055 # hp150 from ddavis@ic.berkeley.edu
3056 150|hp150|hp150a|150a:\
3057         :is=\E&s1A\E&f0a1k2L\Ep\r\E&k0K\E&f0a2k2L\Eq\r\E&f0a3k2L\Er\r\E&f0a4k2L\Es\r\E&f0a5k2L\Et\r\E&f0a6k2L\Eu\r\E&f0a7k2L\Ev\r\E&f0a8k2L\Ew\r\E&k0D\E&s0A:\
3058         :bt=\Ei:li#24:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:pb#19200:so=\E&dJ:\
3059         :se=\E&d@:us=\E&dD:ue=\E&d@:me=\E&d@:kh=\Eh:ku=\EA:kl=\ED:kr=\EC:\
3060         :kd=\EB:kn#8:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
3061         :k8=\Ew:ta=2^I:ct=\E3:st=\E1:do=^J:al=\EL:am:le=^H:\
3062         :bs:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\Eh\EJ:co#80:cv=\E&a%dY:da:db:dl=\EM:\
3063         :ei=\ER:im=\EQ:kb=^H:mi:nd=\EC:pt:up=\EA:xs:vt#6:sf=\ES:sr=\ET:\
3064         :vs=\E&s1A:ve=\E&s0A:ks=\E&jB\E&j@:ke=\E&j@:
3065 # From leres@okeeffe: This works on a hp300 console running Utah 4.3 BSD
3066 300h|hp300h|HP Catseye console:\
3067         :am:bs:cm=\E&a%dy%dC:do=\EB:le=\b:nd=\EC:up=\EA:dc=\EP:dl=\EM:\
3068         :xs:da:db:mi:co#128:li#51:lm#0:sg#0:bt=\Ei:bl=^G:cr=\r:\
3069         :ct=\E3:cl=\E&a0y0C\EJ:ce=\EK:cd=\EJ:ch=\E&a%dC:cv=\E&a%dY:\
3070         :se=\E&d@:ue=\E&d@:im=\EQ:so=\E&dB:us=\E&dD:me=\E&d@:ei=\ER:\
3071         :if=/usr/share/tabset/stdcrt:al=\EL:kb=\b:kd=\EB:kh=\Eh:kl=\ED:\
3072         :kr=\EC:ku=\EA:ke=\E&s0A:ks=\E&s1A:sf=\n:ta=\t:
3073 #From gregc@ernie.berkeley.edu (Greg Couch)
3074 9837|hp9837|98720|hp98720|98721|hp98721|HP 9000/300 workstations:\
3075         :bs:pt:am:xs:da:db:mi:\
3076         :co#128:li#46:lm#0:\
3077         :is=\E&v0m1b0i&j@:bt=\Ei:bl=^G:ct=\E3:\
3078         :cl=\E&a0y0C\EJ:ce=\EK:cd=\EJ:ch=\E&a%dC:\
3079         :cm=\E&a%dy%dC:do=\EB:le=^H:nd=\EC:\
3080         :up=\EA:dc=\EP:dl=\EM:im=\EQ:\
3081         :so=\E&v5S:us=\E&dD:me=\E&d@:ei=\ER:\
3082         :se=\E&v0S:ue=\E&d@:al=\EL:\
3083         :kb=^H:kd=\EB:kh=\Eh:kl=\ED:\
3084         :kr=\EC:ku=\EA:ke=\E&s0A:ks=\E&s1A:\
3085         :cv=\E&a%dY:sf=\n:st=\E1:\
3086         :ko=ce,cd,al,im,dl,dc:kN=\EU:kP=\EV:
3087 # Developed 07SEP90 by Charles A. Finnell of MITRE   <finnell@mitre.org>
3088 98550|hp98550|98550a|hp98550a|HP 9000 Series 300 color console:\
3089         :ae=^O:al=\EL:am:as=^N:bl=^G:bs:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
3090         :cl=\EH\EJ:cm=\E&a%dy%dC:co#128:cr=\r:ct=\E3:cv=\E&a%dY:da:db:dc=\EP:\
3091         :dl=\EM:do=\n:ei=\ER:if=/usr/share/tabset/9837:im=\EQ:k1=\Ep:k2=\Eq:\
3092         :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
3093         :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:\
3094         :kS=\EJ:kT=\E1:ka=\E3:kb=\b:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kn#12:\
3095         :ko=al,cd,ce,ct,dc,dl,do,ei,im,nd,st,up:kr=\EC:ks=\E&s1A:kt=\E2:\
3096         :ku=\EA:le=\b:li#49:lm#0:mb=\E&dA:md=\E&dJ:me=\E&d@:mh=\E&dH:mi:\
3097         :mk=\E&ds:mr=\E&dJ:nd=\EC:pt:se=\E&d@:sf=\n:so=\E&dJ:st=\E1:ta=\t:\
3098         :ue=\E&d@:up=\EA:us=\E&dD:ve=\E*dQ:vi=\E*dR:xs:
3099 # From: vic@fine.Princeton.EDU (Victor Duchovni)
3100 hp700-wy|HP700/41 emulating wyse30:\
3101         :al=0.7*\EE:am:bl=^G:bs:bt=\EI:bw:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
3102         :co#80:cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:\
3103         :ho=^^:if=/usr/share/tabset/hp700-wy:ll=^^^K:mi:ms:nd=^L:nl=^J:pt:\
3104         :im=\Eq:is=\E~"\EC\Er\E(\EG0^C\E`9\E`1:kb=^?:kd=^V:\
3105         :kh=^^:kl=^H:ko=cl,ho,ce,bt,ta,im,ei,ce,cd:kr=^L:ku=^K:le=^H:li#24:\
3106         :rs=\E~"\EC\Er\E(\EG0^C\E`9\E`1:se=10\EG0:sg#1:so=10\EG4:sr=\Ej:\
3107         :st=\E1:ue=10\EG0:up=^K:ug#1:us=10\EG8:
3108\f# --------------------------------
3109 #
3110 # i: INFOTON (GENERAL TERMINAL)
3111 #
3112 # Infoton is now called General Terminal Corp. or some such thing.
3113 # gt100 sounds like something DEC would come out with.  Lets hope they don't.
3114 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
3115         :do=^J:cl=^L:cd=\EJ:ce=\EK:li#24:co#80:\
3116         :al=\EL:dl=\EM:up=\EA:nd=\EC:ho=\EH:cm=\Ef%r%+ %+ :vb=\Eb\Ea:\
3117         :am:le=^H:bs:so=\Eb:se=\Ea:
3118 i400|400|infoton 400:\
3119         :do=^J:al=\E[L:am:le=^H:bs:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:co#80:\
3120         :dl=\E[M:li#25:nd=\E[C:up=\E[A:im=\E[4h\E[2Q:ei=\E[4l\E[0Q:\
3121         :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:
3122 addrinfo:\
3123         :do=^J:li#24:co#80:cl=^L:ho=^H:nd=^Y:cd=^K:\
3124         :up=^\:am:le=^Z:bc=^Z:cm=\037%+\377%+\377:ll=^H^\:
3125 infotonKAS:\
3126         :do=^J:am:le=^Z:bc=^Z:cd=^K:cl=^L:co#80:li#24:nd=^Y:up=^\:ll=^H^\:
3127\f# --------------------------------
3128 #
3129 # k: HEATHKIT (ZENITH)
3130 #
3131 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
3132         :\
3133         :al=1*\E[1L:am:le=^H:bs:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:co#80:\
3134         :dc=\E[1P:dl=1*\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:li#24:mi:\
3135         :nd=\E[1C:as=\E[10m:ae=\E[11m:ms:pt:se=\E[0m:so=\E[7m:up=\E[1A:\
3136         :vs=\E[>4h:ve=\E[>4l:kb=^h:ku=\E[1A:kd=\E[1B:kl=\E[1D:kr=\E[1C:\
3137         :kh=\E[H:kn#8:k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:l6=blue:\
3138         :l7=red:l8=white:k6=\EOP:k7=\EOQ:k8=\EOR:\
3139         :sr=\EM:is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[0m\E[11m\E[?7h:
3140 h19-bs|h19bs|heathkit w/keypad shifted:\
3141         :ks=\Et:ke=\Eu:tc=h19-b:
3142 #written by David Shewmake, UCSF Medical Information Science
3143 #ucbvax!ucsfmis!shewmake
3144 h29|heath-29|z29|zenith-29:\
3145         :am:bc=\ED:bt=\E-:do=^J:\
3146         :al=\EL:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:\
3147         :dl=1*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3148         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3149         :kb=^H:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#1:k0=\E~:l0=HOME:\
3150         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:\
3151         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:us=\Es8:ue=\Es0:
3152 #the z29-e entry sucks...but it works with emacs
3153 z29-e|zenith 29 hacked for emacs:\
3154         :ip=1.5:ks=\Et:ke=\Eu:vs@:ve@:al=1*\EL:am:le=^H:\
3155         :bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:dl=1*\EM:\
3156         :do=\EB:ho=\EH:li#24:nd=\EC:as=\EF:ae=\EG:ms:\
3157         :pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:kb=^h:\
3158         :ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#8:k1=\ES:k2=\ET:k3=\EU:\
3159         :k4=\EV:k5=\EW:l6=blue:l7=red:l8=white:k6=\EP:k7=\EQ:k8=\ER:es:hs:\
3160         :ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3161 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
3162 # the world is stable. `rs' causes the terminal to be reset to the state
3163 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
3164 # cursor, bc -> block cursor.
3165 # from Mike Meyers
3166 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
3167         :do=^J:co#80:li#24:cl=\E[2J:pt:ho=\E[H:\
3168         :le=^H:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:mb=\E[5m:mr=\E7m:\
3169         :ce=\E[K:cd=\E[J:so=\E[7;2m:se=\E[m:us=\E[4m:ue=\E[m:mh=\E[2m:\
3170         :md=\E[2m:mr=\E[7m:mb=\E[5m:me=\E[m:\
3171         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m:\
3172         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
3173         :k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
3174         :k9=\EOX:k0=\E[~:l0=help:kn#2:ko=ho,cd:if=/usr/share/tabset/zenith29:\
3175         :es:hs:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:fs=\E[u\E[>5l:ds=\E[>1l:\
3176         :cs=\E[%i%d;%dr:sr=\EM:sf=\ED:DO=\E[%dB:UP=\E[%dA:LE=\E[%dD:\
3177         :RI=\E[%dC:AL=\E[%dL:DL=\E[%dM:sc=\E[s:rc=\E[r:dc=\E[1P:DC=\E[%dP:\
3178         :kC=\E[J:ct=\E[3g:st=\EH:ti=\E[?7l:te=\E[?7h:ps=\E#7:
3179 z29a-kc-uc|h29a-kc-uc:\
3180         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
3181         :tc=z29a:
3182 z29a-nkc-bc|h29a-nkc-bc:\
3183         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m:\
3184         :tc=z29a:
3185 z29a-nkc-uc|h29a-nkc-uc:\
3186         :rs=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m:\
3187         :tc=z29a:
3188 #z100 entry from Brad Brahms at TRW (Brahms@USC-ECLC)
3189 #                          usenet: {decvax,ucbvax}!trwrb!trwspp!brahms
3190 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
3191         :vs=\Ex4\Em71:ve=\Ey4\Em70:tc=z100bw:
3192 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
3193         :al=5*\EL:bs:cd=\EJ:ce=\EK:cl=5*\EE:cm=1*\EY%+ %+ :co#80:dc=1*\EN:\
3194         :dl=5*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3195         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3196         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#10:\
3197         :k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\k6=\EP:k7=\EQ:\
3198         :k8=\ER:k9=\EOI:
3199 p19:\
3200         :al=2*\EL:dl=2*\EM:tc=h19-b:
3201 h19-us|h19us|heathkit w/keypad shifted/underscore cursor:\
3202         :ks=\Et:ke=\Eu:tc=h19-u:
3203 h19|heath|h19-b|h19b|heathkit|heath-19|z19|zenith|heathkit h19:\
3204         :al=1*\EL:am:le=^H:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:dc=\EN:\
3205         :dl=1*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:li#24:mi:nd=\EC:as=\EF:ae=\EG:\
3206         :ms:pt:sr=\EI:se=\Eq:so=\Ep:up=\EA:vs=\Ex4:ve=\Ey4:\
3207         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:kh=\EH:kn#8:ke=\E>:ks=\E=:\
3208         :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
3209         :l6=blue:l7=red:l8=white:k6=\EP:k7=\EQ:k8=\ER:\
3210         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3211 h19-e|h19e|h19 for emacs:ip=1.5:tc=h19-us:
3212 h19-u|h19u|heathkit with underscore cursor:\
3213         :vs@:ve@:tc=h19-b:
3214 h19-g|h19g|heathkit w/block cursor:\
3215         :ve=\Ex4:tc=h19-b:
3216 # from ucscc!B.fiatlux@ucbvax.berkeley.edu
3217 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10/11:\
3218         :al=\EL:am:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\
3219         :dl=\EM:do=^J:ho=\EH:is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:\
3220         :k0=\ES:k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:kd=\EB:\
3221         :kl=\ED:kr=\EC:ku=\EA:le=^H:li#24:nd=\EC:pt:se=\Eq:so=\Es5:\
3222         :sr=\EI:sr=\EI:ue=\Eq:up=\EA:us=\Es2:\
3223         :es:hs:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:fs=\Ek\Ey5:ds=\Ey1:
3224\f# --------------------------------
3225 #
3226 # l: LEAR SIEGLER (ADM)
3227 #
3228 # If the adm31 gives you trouble with standout mode, check the DIP switch
3229 # in position 6, bank @c11, 25% from back end of pc.  Should be OFF.
3230 # If there is no such switch, you have an old adm31 and must use oadm31
3231 adm31|31|lsi adm31:\
3232         :is=\Eu\E0:do=^J:al=\EE:am:le=^H:bs:ce=\ET:cm=\E=%+ %+ :\
3233         :cl=\E*:cd=\EY:co#80:dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:\
3234         :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\
3235         :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\
3236         :li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\
3237         :se=\EG0:so=\EG1:up=^K:us=\EG1:ue=\EG0:
3238 adm2|lsi adm2:\
3239         :do=^J:al=\EE:am:le=^H:bs:cd=\EY:ce=\ET:cl=\E;:\
3240         :cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:\
3241         :ho=^^:ic=\EQ:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K:
3242 adm3|3|lsi adm3:\
3243         :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80:
3244 adm42|42|lsi adm42:\
3245         :vs=\EC\E3 \E3(:do=^J:al=270\EE:am:le=^H:bs:cd=\EY:ce=\ET:cl=\E;:\
3246         :cm=\E=%+ %+ :co#80:dc=\EW:dl=\ER:ei=\Er:im=\Eq:ip=6*:li#24:\
3247         :bt=\EI:nd=^L:se=\EG0:so=\EG4:up=^k:ma=^K^P:pc=\177:
3248 adm5|5|lsi adm5:\
3249         :do=^J:cd=\EY:ce=\ET:do=^J:kb=^H:kh=^^:\
3250         :ma=^Hh^Jj^Kk^Ll^^H:se=\EG:sg#1:so=\EG:tc=adm3aplus:
3251 adm20|lear siegler adm20:\
3252         :am:li#24:co#80:bs:cl=^Z:cm=\E=%i%r%+^_%+^_:nd=^L:up=^K:ho=^^:ce=\ET:\
3253         :cd=\EY:al=\EE:dl=\ER:ic=\EQ:dc=\EW:so=\E):se=\E(:\
3254         :bt=\EI:pt:kn#7:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6:^X:k7=^Z:
3255 # From Andrew Scott Beals <bandy@lll-crg.ARPA>
3256 adm12|12|lsi adm12:\
3257         :is=\Eq:do=^J:al=\EE:am:le=^H:bs:ce=\ET:cm=\E=%+ %+ :cl=^Z:cd=\EY:\
3258         :co#80:dc=\EW:dl=\ER:ei=\Er:ho=^^:im=\Eq:\
3259         :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\
3260         :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\
3261         :li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\
3262         :se=\EG0:so=\EG4:up=^K:us=\EG1:ue=\EG0:
3263 adm3a|3a|lsi adm3a:\
3264         :am:do=^J:le=^H:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:\
3265         :li#24:ma=^K^P:nd=^L:up=^K:
3266 adm3a+|3a+|adm3aplus:\
3267         :kl=^H:kd=^J:ku=^K:kr=^L:tc=adm3a:
3268 adm22|22|lsi adm22:\
3269         :is=\E%\014\014\014\016\003\000\003\002\003\002\000\000\000\000\000\000\000\000\000\000\000:\
3270         :al=\EE:am:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\000\E=%+ %+ :co#80:\
3271         :dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
3272         :k1=\001@\015:k2=\001A\015:k3=\001B\015:k4=\001C\015:\
3273         :k5=\001D\015:k6=\001E\015:k7=\001F\015:kn#7:\
3274         :ko=ho:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:\
3275         :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:\
3276         :ma=j^Jk^P^K^Pl ^R^L^L :nd=^L:se=\E(:so=\E):ta=\Ei:up=^K:
3277 #From: stephen%comp.lancs.ac.uk@ucl-cs.arpa
3278 adm11|lsi adm11:\
3279         :do=^J:bs:\
3280         :cd=\EY:ce=\ET:kb=^H:kh=^^:\
3281         :ma=^Hh^Jj^Kk^Ll^^H:so=\E):se=\E(:\
3282         :kl=^H:kd=^J:ku=^K:kr=^L:\
3283         :am:cm=\E=%+ %+ :cl=^Z:co#80:li#24:nd=^L:up=^K:\
3284         :hs:ts=\EF\E):fs=\E(^M:ds=\Eh:
3285\f# --------------------------------
3286 #
3287 # m: MICROTERM
3288 #
3289 # These mime1 entries refer to the Microterm Mime I or Mime II.
3290 # The default mime is assumed to be in enhanced act iv mode.
3291 mime3a|mime1 emulating 3a:\
3292         :am@:ma=^X ^K^J^Z^P:ku=^Z:kd=^K:kl=^H:kr=^X:tc=adm3a:
3293 # New "safe" cursor movement (5/87) from reuss@umd5.  Prevents freakout with
3294 # out-of-range args on Sytek multiplexors.  No so and se since it gets confused
3295 # and it's too dim anyway.  No ic since Sytek insists ^S means xoff.
3296 act4|microterm|microterm act iv:\
3297         :am:bs:cd=2.2*^_:ce=.1*^~:cl=12^L:cm=^T%+^X%>/0%+P:co#80:li#24:\
3298         :le=^H:nd=^X:up=^Z:ho=^]:al=2.3*^A:do=^K:dc=.1*^D:dl=2.3*^W:\
3299         :ku=^Z:kd=^K:kl=^H:kr=^X:\
3300         :.so=^N:.se=^N:.ic=2^S:.ip=.1*^V:.cm=^T%.%.:
3301 # The padding on sr and ta for act5 and mime is a guess and not final.
3302 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
3303 microterm5|act5|microterm act v:\
3304         :uc=^H\EA:sr=3\EH:ku=^Z:kd=^K:kl=^H:kr=^X:ma=^Z^P^Xl^Kj:tc=act4:
3305 # Act V in split screen mode.  act5s is not tested and said not to work.
3306 act5s|skinny act5:\
3307         :ti=\EP:te=\EQ:li#48:co#39:tc=act5:
3308 # Mimes using brightness for standout.  Half bright is really dim unless
3309 # you turn up the brightness so far that lines show up on the screen.
3310 # uc is disabled to get around a curses bug, should be put back in someday.
3311 mime-fb|full bright mime1:\
3312         :so=^Y:se=^S:is=^S\E:tc=mime:
3313 mime-hb|half bright mime1:\
3314         :so=^S:se=^Y:is=^Y\E:tc=mime:
3315 mime|mime1|mime2|mimei|mimeii|microterm mime1:\
3316         :do=^J:al=80^A:am:le=^H:bs:cd=^_:ce=^^:cl=\035^C:cm=^T%+^X%> 0%+P:\
3317         :co#80:dl=80^W:ta=2^I:li#24:nd=^X:pt:uc=^U:up=^z:ho=\035:do=^K:\
3318         :is=^S\E^Q:ma=^X ^K^J^Z^P:ku=^Z:kd=^K:kl=^H:kr=^X:sr=3^R:vt#9:
3319 # These termcaps (for mime 2a) put the terminal in low intensity mode
3320 # since high intensity mode is so obnoxious.
3321 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
3322         :do=^J:al=20*^A:am:le=^H:bs:cd=20*\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :\
3323         :us=\E6:ue=\E7:co#80:dc=\ED:\
3324         :dl=20*^W:kl=^H:kr=^L:ku=^K:kd=^J:ho=^^:is=\E):sr=\EI\
3325         :im=\EE:ei=^Z:ip=2:li#24:nd=^L:so=\E\072:se=\E;:up=\EI:
3326 # This is the preferred mode (but ^X can't be used as a kill character)
3327 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
3328         :do=^J:al=20*^A:le=^H:bs:cd=20*\EQ:co#80:ce=\EP:cl=\EL:cm=\EY%+ %+ :\
3329         :is=^Y:dc=^N:dl=20*^W:ip=2:ei=^Z:ho=\EH:im=^O:kd=\EB:kl=\ED:kr=\EC:\
3330         :ku=\EA:li#24:nd=\EC:pt:se=\E9:so=\E8:up=\EA:sr=\EA:us=\E4:ue=\E5:
3331 mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
3332         :al=80^A:dl=80^W:pt:ce=^X:cd=^_:tc=mime3a:
3333\f# --------------------------------
3334 #
3335 # p: PERKIN ELMER
3336 #
3337 pe550|bantam|perkin elmer 550:\
3338         :do=^J:le=^H:bs:co#80:ce=20\EI:cl=20\EK:cm=\EX%+ \EY%+ :\
3339         :ho=\EH:li#24:ll=\EH\EA:nd=\EC:up=\EA:ma=^Z^P:cd=6^N@^V:
3340 fox|perkin elmer 1100:\
3341         :ct=\E3:st=\E1:do=^J:\
3342         :am:le=^H:bs:cd=5.5*\EJ:ce=\EI:cl=132\EH\EJ:co#80:ho=\EH:li#24:\
3343         :ll=\EH\EA:nd=\EC:cm=\EX%+ \EY%+ :up=\EA:vb=^P^B^P^C:
3344 owl|perkin elmer 1200:\
3345         :ct=\E3:st=\E1:do=^J:al=5.5*\EL:am:le=^H:\
3346         :bs:cd=5.5*\EJ:ce=5.5\EI:cl=132\EH\EJ:ho=\EH:ll=\EH\EA:\
3347         :cm=\EX%+ \EY%+ :co#80:dc=5.5*\EO:dl=5.5*\EM:ic=\EN:ip=5.5*:\
3348         :kb=^h:in:li#24:nd=\EC:up=\EA:se=\E!\200:so=\E!^H:vb=^P^B^P^C:\
3349         :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
3350         :k7=\ERG:k8=\ERH:k9=\ERI:k0=\ERJ:
3351\f# --------------------------------
3352 #
3353 # q: HOME MADE TERMINALS
3354 #
3355 bill croft homebrew:\
3356         :do=^J:am:le=^H:bs:cm=\E=%+ %+ :cl=^Z:co#96:ho=^^:li#72:\
3357         :nd=^L:up=^K:vb=:
3358 nucterm|rayterm|NUC homebrew:\
3359         :do=^J:am:le=^H:bs:cl=1^L:li#24:co#80:nd=^C:\
3360         :up=^N:ho=^B:ll=^K:ce=^A:cd=^E:
3361 ex3000:\
3362         :do=^J:li#24:co#80:ho=^Q:
3363 carlock|klc:\
3364         :do=^J:al=^E:am:bs:ce=^U:cl=100^Z:cm=\E=%+ %+ :co#80:dc=\177:dl=^D:\
3365         :ei=^T:ho=^^:im=^T:li#24:nd=^L:se=^V:so=^V:up=^K:vb=\EV\EV:
3366 # uVAX
3367 qdss|qdcons|qdss glass tty:\
3368         :am:do=^J:le=^H:bs:cm=\E=%.%.:cl=1^Z:co#128:li#57::nd=^L:up=^K:
3369 exidy|exidy2500|exidy sorcerer as dm2500:\
3370         :do=^J:al=^P^J^X:am:le=^H:bs:ce=^W:cl=^^:cm=^L%r%n%.%.:co#64:\
3371         :dc=\b:dl=^P^Z^X:dm=^P:ed=^X:ei=^X:ho=^B:ic=^\:\
3372         :im=^P:li#30:nd=^\:pt:so=^N:se=^X:up=^Z:
3373 netx|netronics:\
3374         :do=^J:le=^H:bs:cd=2000^F^E:ce=1600^E:cl=466^L:cm=\E=%+@%+@:\
3375         :co#64:ho=^D:li#16:ma=j^Jk^Pl :nd=\E+@A:pc=\200:sr=\E=@@^K:up=^K:
3376 # This came from the comp ctr who got it from some user.  Smart indeed!
3377 sexidy|exidy smart:\
3378         :do=^J:li#24:co#64:cl=^l:ho=^q:nd=^s:\
3379         :up=^w:le=^H:bs:le=^a:bc=^a:ma=^x^J:kd=^S:
3380 ubell|ubellchar:\
3381         :if=/usr/share/tabset/ubell:do=^J:am:le=^H:bs:pt:ce=\Ed:cl=^Z:\
3382         :cm=\E=%+ %+ :co#80:li#24:nd=^L:up=^K:ma=j^Jk^P^K^Pl :ho=^^:
3383 ttyWilliams:\
3384         :do=^J:co#80:li#12:le=^Y:bc=^Y:do=^K:up=^Z:cl=^^:ce=^_:am:ho=^]:nd=^X:
3385 xitex|xitex sct-100:\
3386         :do=^J:le=^H:bs:cd=2000^F^E:ce=1600^E:cl=400^L:cm=\E=%+@%+@:co#64:\
3387         :ho=^D:li#16:ma=j^Jk^Pl :nd=\E+@A:pc=\200:sr=\E=@@^K:up=^K:
3388\f# --------------------------------
3389 #
3390 # s: SPECIALS
3391 #
3392 # Special "terminals".  These are used to label tty lines when you don't
3393 # know what kind of terminal is on it.  The characteristics of an unknown
3394 # terminal are the lowest common denominator - they look about like a ti 700.
3395 # The last one, "other", is like unknown but it allows an escape from software
3396 # that insists that a "real" unknown terminal is merely so far unspecified.
3397 network:\
3398         :tc=unknown:
3399 arpanet:\
3400         :tc=unknown:
3401 bussiplexer:\
3402         :tc=unknown:
3403 dialup:\
3404         :tc=unknown:
3405 ethernet:\
3406         :tc=unknown:
3407 lpr|printer|print|printing|line printer:\
3408         :do=^J:le=^H:bs:co#132:hc:os:
3409 plugboard|patch|patchboard:\
3410         :tc=unknown:
3411 # See login.c for "su"
3412 dumb|su|unknown:\
3413         :am:co#80:do=^J:
3414 switch|intelligent switch:\
3415         :tc=unknown:
3416 ansi|any ansi terminal with pessimistic assumptions:\
3417         :co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:\
3418         :nd=\E[C:up=\E[A:ce=\E[K:ho=\E[H:pt:
3419 other|None of the above, but not exactly unknown:\
3420         :gn:cl=\r\n:ho=\r:am:co#80:do=^J:
3421\f# --------------------------------
3422 #
3423 # t: TEXAS INSTRUMENTS
3424 #
3425 ti700|ti733|735|ti735|ti silent 700:\
3426         :do=^J:le=^H:bs:co#80:hc:os:dC#162:
3427 ti745|745|743|ti silent 745:\
3428         :do=^J:le=^H:bs:co#80:hc:os:
3429 ti800|ti omni 800:\
3430         :do=^J:le=^H:bs:co#132:hc:os:
3431 # From lesleymw@topaz.berkeley.edu
3432 ti931|ti 931:\
3433         al=\EN:am:bs:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :co#80:dl=\EO:do=\EB:\
3434         eo:ho=\EH:li#24:ku=\EA:kd=\EB:kr=\EC:kl=\ED:mi:nd:sf=\Eb:sr=\Ea:up=\EA:
3435\f# --------------------------------
3436 #
3437 # v: TELEVIDEO
3438 #
3439 # There are some tvi's that require incredible amounts of padding and
3440 # some that don't.  I'm assuming 912 and 920 are the old slow ones,
3441 # and 912b, 912c, 920b, 920c are the new ones that don't need padding.
3442 tvi912|912|920|tvi920|old televideo:\
3443         :ct=\E3:st=\E1:do=^J:\
3444         :al=33*\EE:le=^H:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:dc=\EW:dl=33*\ER:\
3445         :kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3446         :bs:am:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3447         :ho=^^:ic=\EQ:li#24:nd=^L:pt:se=\Ek:so=\Ej:up=^K:us=\El:ue=\Em:\
3448         :ma=^K^P^L :sg#1:ug#1:if=/usr/share/tabset/stdcrt:
3449 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
3450 # The 920 has this plus real function keys that xmit different things.
3451 # Termcap makes you use the funct key on the 912 but the real keys on the 920.
3452 912b|912c|tvi912b|tvi912c|tvi|new televideo 912:\
3453         :al=5*\EE:dl=5*\ER:tc=tvi912:
3454 920b|920c|tvi920b|tvi920c|new televideo 920:\
3455         :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
3456         :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:al=5*\EE:dl=5*\ER:tc=tvi912:
3457 # set to page 1 when entering ex (\E-17 )
3458 # reset to page 0 when exiting ex (\E-07 )
3459 tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages:\
3460         :ti=\E-17 :te=\E-07 :tc=tvi912:
3461 tvi950-ap|tvi 950 w/alt pages:\
3462         :is=\E\\1:ti=\E-06 :te=\E-16 :tc=tvi950:
3463 tvi950-b|bare tvi950 no is:\
3464         :is@:tc=tvi950:
3465 tvi950-ns|tvi950 w/no standout:\
3466         :so@:se@:us@:ue@:tc=tvi950:
3467 tvi925|925|televideo model 925:\
3468         :hs:xn:am:bs:co#80:li#24:cm=\E=%+ %+ :cl=\E*:cd=\Ey:ce=\Et:is=\El\E":\
3469         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:\
3470         :ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#1:us=\EG8:ue=\EG0:ug#1:\
3471         :up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\
3472         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
3473         :k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\
3474         :ts=\Ef:fs=^M\Eg:ds=\Eh:sr=\Ej:
3475 tvi925vb|925vb|televideo model 925 visual bells:\
3476         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3477         :tc=tvi925:
3478 # Since the 925's uses a character position to store the escape sequences to go
3479 # in and out of both stand out and underline modes, screen positioning is
3480 # difficult.  The following 925 entries don't use these modes.
3481 tvi925n|925n|televideo model 925 no standout or underline:\
3482         :so@:se@:us@:ue@:tc=tvi925:
3483 tvi925vbn|925vbn|televideo model 925 visual bells no so or ul:\
3484         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3485         :tc=tvi925n:
3486 # entry by Tim Curry 5/21/82 Univ. of Central Fla. duke!ucf-cs!tim
3487 925a|tvi925a|TeleVideo Model 925:\
3488         :al=\EE:am:bs:bt=\EI:bw:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:dc=\EW:\
3489         :dl=\ER:do=^V:ic=\EQ:if=/usr/share/tabset/std:kb=^H:kd=^V:\
3490         :kh=^^:kl=^H:kn#12:kr=^L:ku=^K:li#24:nd=^L:pt:se=\EG0:sg#1:so=\EG4:\
3491         :ue=\EG0:ug#1:up=^K:us=\EG8:is=\El\
3492         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3493         :ve=\E.4:vs=\E.2:
3494 # The following tvi descriptions from B:pjphar and virus!mike
3495 # is for all 950's.  It sets the following attributes:
3496 # full duplex (\EDF)            write protect off (\E()
3497 # conversation mode (\EC)       graphics mode off (\E%)
3498 # white on black (\Ed)          auto page flip off (\Ew)
3499 # turn off status line (\Eg)    clear status line (\Ef\r)
3500 # normal video (\E0)            monitor mode off (\EX or \Eu)
3501 # edit mode (\Er)               load blank char to space (\Ee\040)
3502 # line edit mode (\EO)          enable buffer control (^O)
3503 # protect mode off (\E\047)     duplex edit keys (\El)
3504 # program unshifted send key to send line all (\E016)
3505 # program shifted send key to send line unprotected (\E004)
3506 # set the following to nulls:
3507 #       field delimiter (\Ex0\200\200)
3508 #       line delimiter (\Ex1\200\200)
3509 #       start-protected field delimiter (\Ex2\200\200)
3510 #       end-protected field delimiter (\Ex3\200\200)
3511 # set end of text delimiter to carriage return/null (\Ex4\r\200)
3512 # CHANGED 4-29-87 to set tabs and keep status line --John Kunze (jak@opal)
3513 tvi950|950|televideo950:\
3514         :ct=\E3:st=\E1:do=^J:\
3515         :is=\EDF\EC\Ed\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3516         \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3517         \Ex3\200\200\Ex4\r\200\Ef\r:if=/usr/share/tabset/stdcrt:\
3518         :al=\EE:am:le=^H:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
3519         :co#80:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:\
3520         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3521         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^V:kh=^^:kl=^H:\
3522         :ko=ic\054dc\054al\054dl\054cl\054bt\054ce\054cd:kr=^L:\
3523         :ku=^K:li#24:ma=^Vj^Kk^Hh^Ll^^H:mi:ms:nd=^L:pt:se=\EG0:\
3524         :sg#1:so=\EG4:sr=\Ej:ue=\EG0:ug#1:up=^K:us=\EG8:\
3525         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3526         :xn:hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:
3527 #
3528 # is for 950 with two pages adds the following:
3529 #       set 48 line page (\E\\2)
3530 #       place cursor at page 0, line 24, column 1 (\E-07 )
3531 #       set local (no send) edit keys (\Ek)
3532 #
3533 # two page 950 adds the following:
3534 #       when entering ex, set 24 line page (\E\\1)
3535 #       when exiting ex, reset 48 line page (\E\\2)
3536 #                        place cursor at 0,24,1 (\E-07 )
3537 #       set duplex (send) edit keys (\El) when entering vi
3538 #       set local (no send) edit keys (\Ek) when exiting vi
3539 #
3540 tvi950-2p|950-2p|televideo950 w/2 pages:\
3541         :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3542         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3543         \Ex3\200\200\Ex4\r\200\E\\2\E-07 \
3544         :te=\E\\2\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3545 #
3546 # is for 950 with four pages adds the following:
3547 #       set 96 line page (\E\\3)
3548 #       place cursor at page 0, line 24, column 1 (\E-07 )
3549 #
3550 # four page 950 adds the following:
3551 #       when entering ex, set 24 line page (\E\\1)
3552 #       when exiting ex, reset 96 line page (\E\\3)
3553 #                        place cursor at 0,24,1 (\E-07 )
3554 #
3555 tvi950-4p|950-4p|televideo950 w/4 pages:\
3556         :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3557         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3558         \Ex3\200\200\Ex4\r\200\E\\3\E-07 \
3559         :te=\E\\3\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3560 #
3561 # is for reverse video 950 changes the following:
3562 #       set reverse video (\Ed)
3563 #
3564 # set vb accordingly (\Ed ...nulls... \Eb)
3565 #
3566 tvi950-rv|950-rv|televideo950 rev video:\
3567         :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3568         \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3569         \Ex3\200\200\Ex4\r\200:\
3570         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3571         :tc=tvi950:
3572 #
3573 # uses the appropriate entries from 950-2p and 950-rv
3574 #
3575 tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages:\
3576         :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3577         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3578         \Ex3\200\200\Ex4\r\200\E\\2\E-07 :\
3579         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3580         :te=\E\\2\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3581 #
3582 # uses the appropriate entries from 950-4p and 950-rv
3583 #
3584 tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages:\
3585         :is=\EDF\EC\Eb\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O\
3586         \Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\
3587         \Ex3\200\200\Ex4\r\200\E\\3\E-07 :\
3588         :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\
3589         :te=\E\\3\E-07 :ti=\E\\1\E-07 :ks=\El:ke=\Ek:tc=tvi950:
3590 tvi924|924|televideo model 924:\
3591         :am:bs:xn:co#80:li#24:cm=\E=%+ %+ :cl=\E*0:cd=\Ey:ce=\Et:is=\Ek0\E"^O:\
3592         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:ho=^^:\
3593         :nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:us=\EG8:ue=\EG0:up=^K:do=^V:kb=^H:\
3594         :ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^Vj^Kk^Ll^^H^R^L:k1=^A@\r:k2=^AA\r:\
3595         :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
3596         :k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:sr=\Ej:\
3597         :hs:fs=^Y\Es1:ts=\Ef:ds=\Es0\Ef^Y:
3598 tvi924vb|924vb|televideo model 924 visual bells:\
3599         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3600         :tc=tvi924:
3601 # tvipt termcap from armsis@amber (Gene Rochlin), 9/19/84.  Works with vi and
3602 # rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 char/line (rather than
3603 # 40), Esc K chooses the normal character set.  Not sure padding is needed, but
3604 # adapted from the tvi920c termcap.  so and us are klutzy, but at least use no
3605 # screen space.
3606 tvipt|televideopt:if=/usr/share/tabset/stdcrt:\
3607         :is=\Ev\Eu\EK:al=5*\EE:am:bs:bt=\EI:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:\
3608         :dl=5*\ER:kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:ho=^^:li#24:nd=^L:se=\EF:\
3609         :so=\EG1@A\EH:ue=\EF:us=\EG1B@\EH:up=^K:ma=^Kk^Ll^R^L:
3610 # Vanilla tvi910 -- W. Gish (cswarren@violet) 10/29/86
3611 tvi910|910|televideo model 910:if=/usr/share/tabset/stdcrt:\
3612         :bs:bt=\EI:cd=\EY:ce=\ET:cm=\E=%+ %+ :cl=^Z:co#80:\
3613         :kb=^H:ku=^K:kd=^J:kl=^H:kr=^L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
3614         :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k0=^AI\r:\
3615         :li#24:nd=^L:pt:se=\EG0:so=\EG4:up=^K:us=\EG8:ue=\EG0:\
3616         :ho=\E=\001\001:ma=^Kk^Ll^R^L:sg#1:
3617 # from Alan R. Rogers (rogers%albany@csnet-relay)
3618 tvi910+|910+|televideo 910+:\
3619         :al=5*\EE:am:bs:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+\040%+\040:\
3620         :co#80:dc=\EW:dl=\ER:do=^J:ho=^^:ic=\EQ:\
3621         :if=/usr/share/tabset/stdcrt:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
3622         :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=^H:\
3623         :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:li#24:ll=\E=7\040:ma=^K^P^L\040:\
3624         :nd=^L:pt:se=\EG0:sg#1:so=\EG4:ue=\EG0:up=^K:us=\EG8:xn:
3625 # From Humberto Appleton, beto@cs.utexas.edu, 880521 UT Austin
3626 tvi970|970|televideo970:\
3627         :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:\
3628         :ae=\E(B:al=\E[L:as=\E(B:bs:bt=\E[Z:\
3629         :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%d;%df:co#80:\
3630         :da:db:dc=\E[P:dl=\E[M:do=\ED:ei=\E[4l:im=\E[4h:\
3631         :k1=\E?a:k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
3632         :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
3633         :li#24:mi:ms:nd=\E[C:pt:se=\E[0m:sg#0:so=\E[7m:sr=\EM:\
3634         :ue=\E[0m:ug#0:up=\EM:us=\E[4m:vs=\E[1Q:\
3635         :vb=\E[5;m\200\200\200\200\200\200\200\200\200\E[0;m
3636 # From fair@ucbarpa  Sun Oct 27 07:21:05 1985
3637 ims950-b|bare ims950 no is:\
3638         :is@:tc=ims950:
3639 ims950-ns|ims950 w/no standout:\
3640         :so@:se@:us@:ue@:tc=ims950:
3641 ims950|ims televideo 950 emulation:\
3642         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:ko@:kr@:ku@:\
3643         :vb@:xn@:tc=tvi950:
3644 ims950-rv|ims tvi950 rev video:\
3645         :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:ko@:kr@:ku@:\
3646         :vb@:xn@:tc=tvi950-rv:
3647 #From Andreas Stolcke <stolcke@icsi.berkeley.edu>
3648 tvi955|955|televideo955:\
3649         :ct=\E3:st=\E1:do=^J:\
3650         :rs=\EDF\EC\Eg\Er\EO\E\047\E(\Ew\EX\Ee ^O\
3651         \E0P\E6\200\E0p\E4\200\Ef\r:\
3652         :is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
3653         :al=\EE:am:le=^H:bs:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
3654         :co#80:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:\
3655         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
3656         :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^V:kh=^^:kl=^H:\
3657         :ko=ic\054dc\054al\054dl\054cl\054bt\054ce\054cd:kr=^L:\
3658         :ku=^K:li#24:ma=^Vj^Kk^Hh^Ll^^H:mi:nd=^L:pt:se=\EG0:\
3659         :so=\EG4:sr=\Ej:ue=\EG0:up=^K:us=\EG8:\
3660         :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Ed:\
3661         :xn:hs:ts=\Eg\Ef:fs=\r:ds=\Eg\Ef\r:\
3662         :mb=\EG2:mh=\E[=5h:me=\EG0\E[=5l:mk=\EG1:mr=\EG4:\
3663         :ve=\E.2:vi=\E.0:vs=\E.1:\
3664         :xo:RX=^N:SX=^O:RA=\E[=7l:SA=\E[=7h:\
3665         :kA=\EE:kB=\EI:kC=\EY:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kM=\EQ:\
3666         :kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:\
3667         :as=\E$:ae=\E%:ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:\
3668         :5i:ps=\EP:po=\E`:pf=\Ea:
3669 tvi955-w|955-w|televideo955 w/132 cols:\
3670         :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:\
3671         :co#132:tc=tvi955:
3672 # use half-intensity as normal mode, full intensity as bold (md)
3673 tvi955-hb|955-hb|televideo955 half-bright:\
3674         :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:\
3675         :mh@:md=\E[=5l:me=\EG0\E[=5h:\
3676         :tc=tvi955:
3677 ims-ansi|ultima2|ultimaII|IMS Ultima II:\
3678         :pt:am:bs:co#80:li#24:\
3679         :is=\E[0m\E[>14l\E[?1;?5;20l\E>\E[1m^M:if=/usr/share/tabset/vt100:\
3680         :cl=\E[;H\E[2J:cd=\E[0J:ce=\E[0K:cm=\E[%i%2;%2H:up=\EM:do=\ED:\
3681         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:\
3682         :so=\E[7m:se=\E[0m\E[1m:us=\E[4m:ue=\E[0m\E[1m:sr=\EM:
3683\f# --------------------------------
3684 #
3685 # w: WYSE
3686 #
3687 # The wy{30,50,75,85} entries are recommended by
3688 #       Wyse Technology
3689 #       3571 North First Street
3690 #       San Jose, CA 95134
3691 # Entries for the wy60 and wy99 are only based on Wyse's recommendations.
3692 #
3693 # Advice on the Wyse 30 and 50 standout mode glitch:
3694 #                       (from steve@omni.com or ...pyramid!koosh!steve)
3695
3696 # These terminals support a "PROTECT" sequence on/off that has no
3697 # standout-glitch (xmc), while the regular "attribute" stuff enabled
3698 # with <ESC>G'some-character' gives a 1-space glitch.
3699
3700 # All but the very old revision firmware on both terminals support a
3701 # visible PROTECT attribute that's selectable by the ol' SETUP menu.
3702 # (The older rev. terminals do support PROTECT attribute but only
3703 #  have the options REGULAR and DIM)
3704
3705 # Get into your terminal's SETUP menu, and down-key to the 5'th
3706 # menu (on a wyse 30; I think 3'rd or 4'th on a wyse 50) and
3707 # right-key over to the PROTECT item.
3708
3709 # Change PROTECT to REVERSE or REVERSE/DIM, and go over to the next
3710 # item -- ATTRIBUTE and change it to LINE;  then save the changes for
3711 # power-on.  (ATTRIBUTE change isn't necessary but looks a whole lot
3712 # nicer to the eye when inverting the remainder of a line rather then
3713 # the rest of the screen!).
3714
3715 # The next thing to do is change your /usr/lib/something?/terminfo/w/wyse50
3716 # so that it uses the proper escape sequences to turn on/off the protect
3717 # sequence rather than the very-ugly \EG4 and \EG0.
3718
3719 # Change standout to \E), standend to \E(, and glitch to 0, which means
3720 # changing the so, se, and sg fields to :so=\E):se=\E(:sg#0:
3721 #
3722 wy30|wyse30|Wyse 30:\
3723         :am:bw:hs:mi:xo:bs:pt:\
3724         :co#80:li#24:sg#1:ug#1:kn#9:\
3725         :ae=\EG0\EH^C:al=2\EE:as=\EG0\EH^B:bt=\EI:cd=80\Ey:\
3726         :ce=\Et:cl=80\E*:cm=\E=%+ %+ :ct=\E0:dc=10\EW:dl=1\ER:\
3727         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:im=\Eq:ip=2:\
3728         :is=\E'\E(\E\^3\E`9^N^T:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3729         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=\b:\
3730         :kd=\n:kh=^^:kl=\b:kr=\f:ku=^K:nd=\f:se=\EG0:so=\EG4:\
3731         :sr=3\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:us=\EG8:ve=\E`1:\
3732         :pf=^T:po=^R:\
3733         :vi=\E`0:ko=bt,le,do,nd,up,dc,dl,ho,al:
3734 wy30-vb|wyse30-vb|wyse 30 visual bell:\
3735         :vb=\E`8\E`\072\E`9:\
3736         :tc=wy30:
3737 wy50|wyse50|Wyse 50:\
3738         :am:bw:hs:mi:xo:bs:pt:\
3739         :co#80:li#24:sg#1:ug#1:kn#9:\
3740         :ae=\EG0\EH^C:al=\EE:as=\EG0\EH^B:bt=\EI:cd=20\Ey:\
3741         :ce=\Et:cl=20\E*:cm=\E=%+ %+ :ct=\E0:dc=1\EW:dl=\ER:\
3742         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:i1=30\E`\072\E`9:im=\Eq:\
3743         :ip=1:is=^N^T\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
3744         :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
3745         :k9=^AH\r:kb=\b:kd=\n:kh=^^:kl=\b:kr=\f:ku=^K:nd=\f:\
3746         :se=\EG0:so=\EGt:sr=\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:\
3747         :us=\EG8:ve=\E`1:vi=\E`0:\
3748         :pf=^T:po=^R:\
3749         :ko=bt,le,do,nd,up,dc,dl,ho,al:
3750 wy50-vb|wyse50-vb|wyse 50 visual bell:\
3751         :vb=\E`8\E`\072\E`9:\
3752         :tc=wy50:
3753 wy50-w|wyse50-w|wyse 50 132-column:\
3754         :cm=\Ea%i%dR%dC:co#132:dc=2\EW:i1=\E`;\E`9:\
3755         :tc=wy50:
3756 wy50-wvb|wyse50-wvb|wyse 50 132-column visual bell:\
3757         :cm=\Ea%i%dR%dC:co#132:dc=2\EW:i1=\E`;\E`9:\
3758         :vb=\E`8\E`;\E`9:\
3759         :tc=wy50:
3760 # from John Gillmore hoptoad!gnu@lll-crg.arpa
3761 wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
3762         :am:do=^J:if=/usr/share/tabset/wyse-adds:\
3763         :le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:nd=^F:\
3764         :up=^Z:cl=^L:ho=^A:ll=^A^Z:kl=^U:kr=^F:kd=^J:ku=^Z:kh=^A:\
3765         :pt:so=^N:se=^O:us=^N:ue=^O:dl=\El:al=\EM:im=\Eq:ei=\Er:dc=\EW:\
3766         :is=\E`\072\E`9^O\Er:rs=\E`\072\E`9^O\Er:
3767 wyse-vp-nk|Wyse 50 in ADDS Viewpoint enhanced mode with cursor keys gone:\
3768         :kl@:kr@:kd@:ku@:kh@:tc=wyse-vp:
3769 wyse925|Wyse-50 emulating tvi925:\
3770         :xn@:tc=tvi925:
3771 # Wyse 60 in 24 row native mode.
3772 # This termcap is a composite of entries submitted by Steve Van Domelen
3773 # (Wyse Tech, svd@bigboy.wyse.com) and Douglas Good (doug@cli.com).
3774 # Merged by Paul Vojta (vojta@math.berkeley.edu).
3775 wy60|wyse60|Wyse 60 in native mode:\
3776         :ae=\EH^C:al=4\EE:am:as=\EH^B:bl=^G:bs:bt=\EI:bw:cd=100\Ey:ce=\Et:\
3777         :cl=100\E*:cm=\E=%+ %+ :co#80:ct=\E0:da:db:dc=11\EW:dl=5\ER:do=^J:\
3778         :ds=\EF\r:ei=\Er:fs=\r:ho=^^:hs:if=/usr/share/tabset/std:im=\Eq:ip=3:\
3779         :is=\Ed$\EcD\E'\Er\EH^C\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1^N^T\EwG\Ew0^^^K:\
3780         :it#8:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\
3781         :k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=\b:kd=\EOB:ke=200\EcU:kh=\E{:kl=\EOD:\
3782         :kn#10:ko=bt,le,do,nd,up,dc,dl,ho,al:kr=\EOC:\
3783         :ks=200\EZ0+\EOA\177\EZ0,\EOB\177\EZ0.\EOC\177\EZ0-\EOD\177\EZ0*\E{\177:\
3784         :ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
3785         :le=\b:li#24:ll=^^^K:mb=\EG2:me=\EG0:mh=\EGp:mi:mr=\EG4:ms:nd=\f:pf=^T:\
3786         :po=^R:pt:rs=500\E~!\E~4\E`\:\EeF\Ee(\EwG:se=\EG0:sf=^J:so=\EGt:\
3787         :sr=7\Ej:st=\E1:ts=\EF:ue=\EG0:up=^K:us=\EG8:
3788 #       Must delete tc= if using infocomp to translate
3789 wy60-w|wyse60-w|wyse 60 132-column:\
3790         :co#132:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:\
3791         :rs=500\E~!\E~4\EeF\E`;\Ee(\EwG:tc=wy60:
3792 wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
3793         :li#25:\
3794         :rs=500\E~!\E~4\E`\:\EeG\Ee)\EwG:tc=wy60:
3795 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
3796         :co#132:li#25:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:\
3797         :rs=500\E~!\E~4\EeF\E`;\Ee)\EwG:tc=wy60:
3798 wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
3799         :li#42:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\E=%+ %+ :dc=16\EW:\
3800         :dl=11\ER:ip=5:sr=10\Ej:\
3801         :rs=500\E~!\E~4\E`\:\EeF\Ee*\EwG:tc=wy60:
3802 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
3803         :co#132:li#42:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\Ea%i%dR%dC:dc=19\EW:\
3804         :dl=11\ER:ho=2^^:ip=6:sr=10\Ej:\
3805         :rs=500\E~!\E~4\EeF\E`;\Ee*\EwG:tc=wy60:
3806 wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
3807         :li#43:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\E=%+ %+ :dc=16\EW:\
3808         :dl=11\ER:ip=5:sr=10\Ej:\
3809         :rs=500\E~!\E~4\E`\:\EeF\Ee+\EwG:tc=wy60:
3810 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
3811         :co#132:li#43:al=11\EE:cd=260\Ey:cl=260\E*:cm=2\Ea%i%dR%dC:dc=19\EW:\
3812         :dl=11\ER:ho=2^^:ip=6:sr=10\Ej:\
3813         :rs=500\E~!\E~4\EeF\E`;\Ee+\EwG:tc=wy60:
3814 #       Not recommended at high baud rates
3815 wy60-vb|wyse60-vb|Wyse 60 visual bell:\
3816         :vb=\E`8\E`9:\
3817         :tc=wy60:
3818 wy60-w-vb|wy60-wvb|wyse60-w-vb|Wyse 60 132-column visual bell:\
3819         :vb=\E`8\E`9:\
3820         :tc=wy60-w:
3821 #       The following switch screens for vi and emacs
3822 wy60-s|wyse60-s|Wyse 60 with screen switching:\
3823         :te=50^Z\Ew0:ti=50\Ew1:tc=wy60:
3824 wy60-w-s|wyse60-w-s|Wyse 60 132-column with screen switching:\
3825         :te=50^Z\Ew0:ti=50\Ew1:tc=wy60-w:
3826 wy60-nt|wyse60-nt|Wyse 60 with broken tab support:\
3827         :pt@:tc=wy60:
3828 #
3829 #       The Wyse 75 is a vt100 lookalike without advanced video.
3830 #
3831 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
3832 #       Underline) without magic cookies.  The following description
3833 #       uses this capability, but when more than one attribute is
3834 #       put on the screen at once, all attributes will be changed
3835 #       to be the same as the last attribute given.
3836 #          The Wyse 75 can support more attributes when used with magic
3837 #       cookies.  The wy75-mc terminal description uses magic cookies
3838 #       to correctly handle multiple attributes on a screen.
3839 #
3840 wy75|wyse75|wyse 75:\
3841         :am:hs:mi:ms:xn:xo:bs:pt:\
3842         :co#80:li#24:pb#1201:kn#6:\
3843         :AL=2*\E[%dL:DC=3*\E[%dP:DL=1*\E[%dM:DO=\E[%dB:\
3844         :IC=1*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
3845         :al=2\E[L:as=\E[0m^N:bt=\E[1Z:cd=30\E[J:ce=3\E[K:\
3846         :ch=\E[%i%dG:cl=30\E[H\E[J:cm=\E[%i%d;%dH:\
3847         :cs=2\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:dl=\E[M:\
3848         :ds=\E[>,^A^A\E[>-^A^A:ei=\E[4l:fs=^A:ho=\E[H:\
3849         :im=\E[4h:ip=1:is=\E>\E[?7;?8h\E[4;?1l^O\E)0:kb=\b:\
3850         :kd=\E[B:ke=\E[?1l\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
3851         :ks=\E[?1l\E[?7h\E=:ku=\E[A:nd=\E[C:r1=\E7\E[1;24r\E8:\
3852         :r2=20\E[0m\E[35;?7;?8h\E[30;?1l:r3=80\E[?3l:rc=\E8:\
3853         :sc=\E7:se=\E[0m:so=\E[1t\E[7m:sr=2\EM:st=\EH:\
3854         :ts=\E[>,^A:ue=\E[0m:up=\E[A:us=\E[2t\E[4m:ve=\E[?25h:\
3855         :po=\E[5i:pf=\E[4i:\
3856         :vi=\E[?25l:ko=nd,up,dl,ce,ho,al:
3857 #
3858 #       This terminal description uses the non-hidden attribute mode
3859 #       (with magic cookie).
3860 #
3861 wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
3862         :ae=\E[0p^O:as=\E[0p^N:ms@:r2=20\E[0p\E[35;?7;?8h\E[30;?1l:\
3863         :se=\E[0p:sg#1:so=\E[17p:ue=\E[0p:ug#1:us=\E[8p:\
3864         :tc=wy75:
3865 wy75-vb|wyse75-vb|wyse 75 with visual bell:\
3866         :vb=\E[30h\E,\E[30l:\
3867         :tc=wy75:
3868 wy75-w|wyse75-w|wyse 75 in 132 column mode:\
3869         :co#132:r3=80\E[?3h:\
3870         :tc=wy75:
3871 wy75-wvb|wyse75-wvb|wyse 75 with visual bell 132 columns:\
3872         :co#132:r3=80\E[?3h:vb=\E[30h\E,\E[30l:\
3873         :tc=wy75:
3874 #
3875 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
3876         :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:\
3877         :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
3878         :ks=10\E[?1h\E=:ku=\EOA:\
3879         :tc=wyse75:
3880 #
3881 #       Wyse 85 emulating a vt220 7 bit mode.
3882 #               24 line screen with status line.
3883 #
3884 #       The vt220 mode permits more function keys but it wipes out
3885 #       the escape key.  I strongly recommend that f11 be set to
3886 #       escape (esc).
3887 #       The terminal may have to be set for 8 data bits and 2 stop
3888 #       bits for the arrow keys to work.
3889 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
3890 #       (dch) and (ich) work best when XON/XOFF is set.  (ich) and
3891 #       (dch) leave trash on the screen when used without XON/XOFF.
3892 #
3893 wy85|wyse85|wyse 85:\
3894         :am:hs:mi:ms:xn:xo:bs:pt:\
3895         :co#80:li#24:kn#3:\
3896         :AL=5*\E[%dL:DC=3*\E[%dP:DL=3*\E[%dM:DO=\E[%dB:\
3897         :IC=4*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
3898         :al=5\E[L:as=^N:bt=\E[Z:cd=110\E[J:ce=\E[K:\
3899         :cl=110\E[H\E[J:cm=1\E[%i%d;%dH:cs=\E[%i%d;%dr:\
3900         :ct=\E[3g:dc=3\E[P:dl=3\E[M:ds=\E[40l:ei=\E[4l:\
3901         :fs=\E[1;24r\E8:ho=\E[H:\
3902         :i1=\E[62;1"p\E7\E[?6l\E8\E[?5W:im=\E[4h:ip=3:\
3903         :is=16\E[2;4;20;30l\E[?1;4;10;16l\E[12;36h\E[?7;8;25h:\
3904         :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
3905         :kb=\b:kd=\E[B:ke=\E>:kh=\E[26~:\
3906         :kl=\E[D:kr=\E[C:ks=\E[?1l\E=:ku=\E[A:l1=PF1:l2=PF2:\
3907         :l3=PF3:l4=PF4:nd=\E[C:\
3908         :r1=\E<\E[3;13l\E[!p\E7\E[1;24r\E8\E(B:\
3909         :r2=70\E[35h\E[?3l:rc=\E8:sc=\E7:se=\E[m:so=\E[1m:\
3910         :sr=3\EM:st=\EH:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:\
3911         :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:nl=\E[B:\
3912         :po=\E[5i:pf=\E[4i:\
3913         :ko=do,nd,up:
3914 #
3915 #       Wyse 85 with visual bell.
3916 wy85-vb|wyse85-vb|wyse 85 with visual bell:\
3917         :vb=\E[30h\E,\E[30l:\
3918         :tc=wy85:
3919 #
3920 #       Wyse 85 in 132-column mode.
3921 wy85-w|wyse85-w|wyse 85 in 132-column mode:\
3922         :co#132:\
3923         :r2=120\E[35h\E[?3h:\
3924         :tc=wy85:
3925 #
3926 #       Wyse 85 in 132-column mode with visual bell.
3927 wy85-wvb|wyse85-wvb|wyse 85 with visual bell 132-columns:\
3928         :vb=\E[30h\E,\E[30l:\
3929         :tc=wy85:
3930 # From pett@cgl.ucsf.edu
3931 wy99|wyse-99gt|wyse99gt|wyse 99GT, 80 col, native mode:\
3932         :is=\E\140\072\Ee(\Ew1\Ee-\Ee$\Ee'\EeT^T:ct=\E0:st=\E1:gn:\
3933         :li#24:co#80:bl=^G:am:bw:ul:hs:as=\EcE:ae=\EcD:bt=\EI:\
3934         :ma=^Kj^Jk^Hh^Ll^^H:cm=\Ea%i%2R%3C:it#8:\
3935         :vs=^^\EY\E\140\072:vi=\E`0:es:ws#80:\
3936         :lm#0:md=\Ee1\EG6:me=\Ee0\E(:mh=\Ee1\EGb:mb=\Ee1\EG2:\
3937         :mk=\Ee1\EG1:mp=\E):mr=\Ee1\EG4:pf=^T:po=\EP\E7:ps=:\Ed&\E7\
3938         :fs=\004:ds=\EA31:i2=\EA30:vb=\E\1361\E\1360:da:db:sf=^J:sr=\Ej:\
3939         :cl=^Z:ce=\ET:cd=\EY:al=\EE:dl=\ER:dc=\EW:\
3940         :so=\EGt:se=\EG0:sg#1:ue=\EG0:us=\EG8:ug#1:ll=\Ea24R1C:\
3941         :pt:bs:nd=^L:up=^K:do=^J:ho=^^:kl=^H:kr=^L:ku=^K:kd=^J:kh=^^:kn#20:\
3942         :ei=\Er:im=\Eq:mi:if=/usr/share/tabset/stdcrt:\
3943         :k1=^A@^M:k2=^AA^M:k3=^AB^M:k4=^AC^M:k5=^AD^M:\
3944         :k6=^AE^M:k7=^AF^M:k8=^AG^M:k9=^AH^M:k0=^AI^M:\
3945         :l1=^A`^M:l2=^Aa^M:l3=^Ab^M:l4=^Ac^M:l5=^Ad^M:\
3946         :l6=^Ae^M:l7=^Af^M:l8=^Ag^M:l9=^Ah^M:l0=^Ai^M:
3947 # From freudent@eric.ultra.nyu.edu (Eric Freudenthal)
3948 wy100q|Wyse 100 for Quotron:\
3949         :al=\EE:bs:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :co#80:\
3950         :dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:\
3951         :kd=^J:kl=^H:kr=^L:ku=^K:li#24:nd=^L:up=^K:us=\EG8:ue=\EG0:\
3952         :so=\EG4:se=\EG0:sg#1:sr=\Ej:ho=^^:ug#1:
3953\f# --------------------------------
3954 #
3955 # y: TELERAY
3956 #
3957 # Note two things called "teleray".  Reorder should move the common one
3958 # to the front if you have either.  A dumb teleray with the cursor stuck
3959 # on the bottom and no obvious model number is probably a 3700.
3960 t3700|teleray|dumb teleray 3700:\
3961         :do=^J:le=^H:bs:cl=^L:co#80:li#24:
3962 t3800|teleray 3800 series:\
3963         :do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :co#80: \
3964         :do=\n:ho=\EH:li#24:ll=\EY7 :nd=\EC:pt:up=^K:
3965 t1061|teleray 1061:\
3966         :if=/usr/share/tabset/teleray:\
3967         :ct=\EG:st=\EF:do=^J:\
3968         :al=2*\EL:am:le=^H:bs:cd=1\EJ:ce=\EK:cl=1^L:cm=\EY%+ %+ :co#80:\
3969         :dc=\EQ:dl=2*\EM:ho=\EH:ic=\EP:ip=0.4*:\
3970         :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
3971         :li#24:nd=\EC:pt:se=\ER@:so= \ERD:\
3972         :is=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef:\
3973         :up=\EA:us=\ERH:ue=\ER@:xs:xt:sg#2:ug#1:
3974 # "Teleray Arpa Special", officially designated as
3975 # "Teleray Arpa network model 10" with "Special feature 720".
3976 # This is the new (1981) fast microcode updating the older "arpa" proms
3977 # (which gave meta-key and pgmmable-fxn keys).  720 is much much faster,
3978 # converts the keypad to programmable function keys, and has other goodies.
3979 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
3980 # programs handle such lossage properly.
3981 # Note: this is NOT the old termcap's "t1061f with fast proms."
3982 # From Univ of Utah, J.Lepreau  Tue Feb  1 06:39:37 1983
3983 # lepreau@utah-cs, harpo!utah-cs!lepreau
3984 #
3985 t10|teleray 10 special:\
3986         :so@:se@:us@:ue@:\
3987         :al=\EL:bs:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :co#80:\
3988         :dc=\EQ:dl=\EM:ho=\EH:ic=\EP:km:li#24:nd=\EC:pc=\200:pt:\
3989         :se=\ER@:so=\ERD:sf=\Eq:sg#2:sr=\Ep:up=\EA:ug#1:ue=\ER@:us=\ERH:\
3990         :xs:xt:
3991 t1061f|teleray 1061 with fast PROMs:\
3992         :al=\EL:ip@:dl=\EM:tc=t1061:
3993\f# --------------------------------
3994 #
3995 # z: Miscellaneous
3996 #
3997 wind:\
3998         :bs:cm=\Ep%r%.%.:cl=\En\120\030\Eo:co#80:\
3999         :ho=\Ep\200\200:li#24:nd=^L:up=^K:nl=\035:\
4000         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4001         :so=\Em\014:se=\Em\003:
4002 wind16:\
4003         :bs:cm=\Ep%r%.%.:cl=\En\120\020\Eo:co#80:\
4004         :ho=\Ep\200\200:li#16:nd=^L:up=^K:nl=\035:\
4005         :so=\Em\014:se=\Em\003:
4006 wind40:\
4007         :bs:cm=\Ep%r%.%.:cl=\En\120\050\Eo:co#80:\
4008         :ho=\Ep\200\200:li#40:nd=^L:up=^K:nl=\035:\
4009         :so=\Em\014:se=\Em\003:
4010 wind50:\
4011         :bs:cm=\Ep%r%.%.:cl=\En\128\062\Eo:co#88:\
4012         :ho=\Ep\200\200:li#50:nd=^L:up=^K:nl=\035:\
4013         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4014         :so=\Em\014:se=\Em\003:
4015 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
4016         :am:bs:cl=^Z:co#73:ho=\036:li#36:nd=^L:up=^K:
4017 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
4018         :am:bs:cl=^Z:co#85:ho=\036:li#39:nd=^L:up=^K:\
4019         :kl=\E3:kr=\E4:ku=\E1:kd=\E2:k1=\E5:k2=\E6:k3=\E7:k4=\E8:\
4020         :so=\Em\014:se=\Em\003:
4021 v50|visual 50:\
4022         :am:bs:al=\EL:dl=\EM:\
4023         :cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+\040%+\040:co#80:do=^J:ho=\EH:\
4024         :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:li#24:ms:nd=^L:pt:\
4025         :so=\EU:se=\ET:up=^K:
4026 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
4027         :nl=^_:al=^D:am:bs:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :co#80:\
4028         :dl=^K:do=^_:ho=^F:li#24:nd=^]:ms:pt:se=^O:so=^N:up=^^:\
4029         :kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:
4030 #From: ksb@mentor.cc.purdue.edu (Kevin Braunsdorf)
4031 trs16|trs-80 model 16 console:\
4032         :al=\EL:am:bs:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :co#80:dc=\EQ:dl=\EM:\
4033         :do=\EB:ic=\EP:ho=\EH:kb=^H:kd=\EB:kl=\ED:kn#2:kr=\EC:\
4034         :ku=\EA:k0=^A:k1=^B:l0=f1:l1=f2:li#24:nd=\EC:pt:se=\ER@:sg#0:so=\ERD:\
4035         :k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:k7=^S:\
4036         :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:\
4037         :up=\EA:GS=\ERG:GE=\ERg:GV=s:GH=u:GU=e:GD=c:G1=`:G2=_:G3=b:G4=a:\
4038         :BN=\E[?33h:BF=\E[?33l:UC=\E[_\040q:BC=\E[\177\040q:\
4039         :PN=\E]=:PS=\E]+:\
4040         :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
4041 #From {pbrown,ctl}@ocf.berkeley.edu, 12 Mar 90
4042 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
4043         :am:bs:cl=5*^L:li#24:co#80:ho=^A:\
4044         :cd=^K:ce=^D:cm=2%r^B%+ %+ :\
4045         :bl#7:do=^J:up=^I:nd=^F:so=\037\040:se=\037\041:\
4046         :us=\037\042:ue=\037\043:al=\037\060:dl=\037\061:\
4047         :ku=^L:kd=^J:kr=^I:kl=^H:ta:mb=\037\042:md=\E\072^A:\
4048         :mr=\037\040:me=\037\041\E\072\000:\
4049         :vi=\005\040:ve=\005\041
4050 ps300|Picture System 300:us@:ue@:so@:se@:xt:pt@:tc=vt100:
4051 masscomp2:co#64:li#21:tc=masscomp:
4052 masscomp1:co#104:li#36:tc=masscomp:
4053 masscomp:\
4054         :al=\E[L:bs:cd=\E[J:ce=\E[K:co#80:dc=\E[P:dl=\E[M:do=\E[B:\
4055         :ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:li#24:mi:MT:nd=\E[C:pt:se=\E[0m:\
4056         :sg#0:so=\E[7m:cm=\E[%i%d;%dH:ue=\EGau:us=\EGu:up=\E[A:\
4057         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^h:cl=\E[2J:
4058 # Kimtron TC entries include (undocumented) codes for: enter dim mode (mh),
4059 # enter bold mode (md), enter reverse mode (mr), turn off all attributes (me)
4060 # Kimtron ABM 85 added by Dual Systems
4061 abm85|Kimtron ABM 85:\
4062         :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:if=/usr/share/tabset/stdcrt:\
4063         :li#24:co#80:am:bs:bw:ms:pt:\
4064         :cl=\E*:cd=\Ey:dl=\ER:al=\EE:ce=\Et:dc=\EW:im=\EQ:ei=\Er:\
4065         :cm=\E=%+ %+ :do=^J:nd=^L:up=^K:bt=\EI:\
4066         :kh=^^:kb=^H:kd=^J:ku=^K:kd=^J:kl=^H:kr=^L:\
4067         :so=\Ej:se=\Ek:sg#1:us=\El:ue=\Em:ug#1:
4068 # Kimtron ABM 85H added by Dual Systems.
4069 # Some notes about the 85h entries:
4070 # 1) there are several firmware revs of 85H in the world. Use o85h for
4071 #    firmware revs prior to SP51
4072 # 2) Make sure to use 85h entry if the terminal is in 85H mode and the
4073 #    85e entry if it is in 920 emulation mode. They are incompatible in
4074 #    some places and NOT software settable i.e., `is' can't fix change it)
4075 # 3) In 85h mode, the arrow keys and special functions transmit when
4076 #    the terminal is in dup-edit, and work only locally in local-edit.
4077 #    Vi won't swallow `del char' for instance, but `vs' turns on
4078 #    dup-edit anyway so that the arrow keys will work right. If the
4079 #    arrow keys don't work the way you like, change `vs', `ve', and `is'.
4080 #    920E mode does not have software commands to toggle between dup
4081 #    and local edit, so you get whatever was set last on the terminal.
4082 # 4) vb attribute is nice, but seems too slow to work correctly (\Eb<pad>\Ed)
4083 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
4084 #    are selected, the entries :sg@: and :ug@: should be removed.
4085 # 6) auto new-line should be on (selectable from setup mode only)
4086 #
4087 # From fair@ucbarpa  Sun Oct 27 07:21:05 1985
4088 85h|85H|abm85h|Kimtron ABM 85H, 85H mode:\
4089         :is=\EC\EN\EX^T^N\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef^M\EG0\Ed\E.4\El:\
4090         :im=\EZ:kd=^V:so=\EG4:se=\EG0:us=\EG8:ue=\EG0:vb@:vs=\E.2:ve=\E.4:\
4091         :mh=\E):mr=\EG4:me=\E(\EG0:sg@:ug@:ds=\Ee:fs=^M:hs:ts=\Eg\Ef:tc=abm85:
4092 85e|85E|abm85e|Kimtron ABM 85H, 920E mode:\
4093         :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef^M\Ek\Eq\Em:\
4094         :mh=\E):mr=\Ej:me=\E(\Ek:im=\EZ:sg@:ug@:vb@:tc=abm85:
4095 o85h|oabm85h|Kimtron ABM 85H, old firmware rev.:\
4096         :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
4097         :im=\EZ:sg@:ug@:vb=\200\200\200^G\200\200\200:\
4098         :mh=\E):mr=\Ej:me=\E(\Ek:tc=abm85:
4099 #from  malman@bbn-vax.arpa
4100 kt7|kimtron model kt-7:\
4101         :am:bs:co#80:li#24:cm=\E=%+ %+ :cl=^Z:cd=\EY:ce=\ET:is=\El\E":\
4102         :al=\EE:dl=\ER:ic=\EQ:dc=\EW:if=/usr/share/tabset/stdcrt:\
4103         :ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#0:us=\EG8:ue=\EG0:ug#0:\
4104         :up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\
4105         :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
4106         :k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\
4107         :ts=\Ef:fs=\Eg:
4108 appleII|apple ii plus:vs=\024\103\066:ve=\024\103\062:\
4109         :am:co#80:ce=\035:li#24:cl=\014:bs:nd=\034:up=\037:ho=\E\031:pt:\
4110         :cd=\013:so=\017:se=\016:cm=\036%r%+ %+ :is=\024T1\016:do=^J:kd=^J:\
4111         :vb=\024G1\024T1:kr=^U:
4112 #  Gary Ford 21NOV83
4113 #  New version from ee178aci%sdcc7@SDCSVAX.ARPA  Fri Oct 11 21:27:00 1985
4114 apple-80|apple II with smarterm 80 col:\
4115         :am:bs:bt=^R:bw:cd=10*^K:ce=10^]:cl=10*^L:cm=^^%r%+ %+ :\
4116         :co#80:cr=10*^M:do=^J:ho=^Y:le=^H:li#24:nd=^\\:up=^_:
4117 lisa|apple lisa console display, black on white:\
4118         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:co#88:\
4119         :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:li#32:\
4120         :nd=\E[C:ms:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\
4121         :kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:is=\E>\E[0m^L:\
4122         :GS=\E[11m:GE=\E[10m:GV=\140:GH=a:G1=c:G2=f:G3=e:G4=d:GU=u:\
4123         :GD=s:GC=b:GL=v:GR=t:CO=\E[5l:CF=\E[5h:
4124 liswb|apple lisa console display, white on black:\
4125         :so=\E[0m:se=\E[0;7m:us=\E[4m:ue=\E[0;7m:is=\E>\E[0;7m^L:\
4126         :tc=lisa:
4127 # The following is a version of the ibm-pc entry distributed with PC/IX,
4128 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
4129 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
4130 # (the former is untrue, and the latter failed under UCB/man); standout and
4131 # underline modes have been added.  Note: this entry describes the "native"
4132 # capabilities of the PC monochrome display, without ANY emulation; most
4133 # communications packages (but NOT PC/IX connect) do some kind of emulation.
4134 pc|ibmpc|ibm pc PC/IX:\
4135         :li#24:co#80:am:bs:bw:eo:\
4136         :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
4137         :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:
4138 pc3|ibmpc3|IBM PC 386BSD Console:\
4139         :Co#8:\
4140         :DO=\E[%dB:\
4141         :F1=\E[W:\
4142         :F2=\E[X:\
4143         :K1=\E[H:\
4144         :K2=\E[I:\
4145         :K3=\E[E:\
4146         :K4=\E[F:\
4147         :K5=\E[G:\
4148         :LE=\E[%dD:\
4149         :RI=\E[%dC:\
4150         :AB=\E[1;%dx:\
4151         :AF=\E[2;%dx:\
4152         :UP=\E[%dA:\
4153         :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
4154         :am:\
4155         :bl=^G:\
4156         :bs:\
4157         :cb=\E[1K:\
4158         :cd=\E[J:\
4159         :ce=\E[K:\
4160         :cl=\E[H\E[J:\
4161         :cm=\E[%i%d;%dH:\
4162         :co#80:\
4163         :cr=^M:\
4164         :do=\E[B:\
4165         :ho=\E[H:\
4166         :is=\E[m:\
4167         :it#8:\
4168         :k;=\E[V:\
4169         :k1=\E[M:\
4170         :k2=\E[N:\
4171         :k3=\E[O:\
4172         :k4=\E[P:\
4173         :k5=\E[Q:\
4174         :k6=\E[R:\
4175         :k7=\E[S:\
4176         :k8=\E[T:\
4177         :k9=\E[U:\
4178         :kD=\177:\
4179         :@7=\E[F:\
4180         :kN=\E[G:\
4181         :kP=\E[I:\
4182         :kb=\177:\
4183         :kd=\E[B:\
4184         :kh=\E[H:\
4185         :kl=\E[D:\
4186         :kr=\E[C:\
4187         :ku=\E[A:\
4188         :le=^H:\
4189         :li#25:\
4190         :ms:\
4191         :nd=\E[C:\
4192         :op=\E[x:\
4193         :pa#64:\
4194         :rs=\E[m:\
4195         :se=\E[m:\
4196         :sf=\E[S:\
4197         :so=\E[7;1r\E[7m:\
4198         :sr=\E[T:\
4199         :ta=^I:\
4200         :te=\E[m:\
4201         :ti=\E[m:\
4202         :up=\E[A:\
4203         :ut:
4204 ibmx|ibmpcx|IBM PC xenix console display:\
4205         :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:co#80:\
4206         :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:li#25:\
4207         :nd=\E[C:ms:se=\E[0m:so=\E[7m:us=\E[4m:\
4208         :ue=\E[m:up=\E[A:MR=\E[0m:\
4209         :kb=^h:kh=\E[Y:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:\
4210         :GS=\E[11m:GE=\E[10m:\
4211         :GC=b:GL=v:GR=t:RT=^J:\
4212         :GH=\E[196g:GV=\E[179g:\
4213         :GU=\E[193g:GD=\E[194g:\
4214         :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
4215         :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
4216         :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
4217         :HM=\E[Y:EN=\E[d:PU=\E[Z:PD=\E[e:
4218 ibmc|ibmcpc|IBM PC xenix color console display:\
4219         :tc=ibm:
4220 ibmcx|ibmcpcx:\
4221         :tc=ibmx:
4222 kaypro|kaypro2|kaypro II:\
4223         :am:bs:cm=\E=%+ %+ :cl=1^Z:co#80:ho=^^:li#24:ma=^K^P:nd=^L:up=^K:\
4224         :kr=^L:kl=^H:ku=^K:kd=^J:
4225 # From Suk Lee ..!{decvax,linus,allegra,ihnp4}!utcsrgv!spoo
4226 trs100|Radio Shack Model 100:\
4227         :am:bs:le=^H:li#8:co#40:ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:\
4228         :nd=\EC:ho=\EH:ce=\EK:cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
4229         :so=\Ep:se=\Eq:al=\EL:dl=\EM:
4230 mac|macintosh|Macintosh with MacTerminal:\
4231         :al=20\E[L:dl=20\E[M:ip=7:dc=7\E[P:ic=9\E[@:xn:dN#30:tc=vt100:
4232 zen50|z50:zephyr:\
4233         :cm=\E=%+ %+ :cd=\EY:co#80:li#24:\
4234         :am:al=\EE:ce=\ET:dc=\EW:dl=\ER:ic=\EQ:\
4235         :cl=\E+:bs:ma=^Hh^Ll^Jj^Kk:sg#1:se=\EGO:so=\EG4:\
4236         :kl=^H:kr=^L:ku=^K:kd=^J:kh=\036:up=^K:\
4237         :BS=^U:CL=^V:CR=^B:RK=^L:UK=^K:LK=^H:DK=^J:HM=\036:
4238 go140|graphon go-140:\
4239         :co#80:li#24:cl=10\E[;H\E[2J:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
4240         :ce=\E[K:cd=10\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
4241         :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
4242         :dl=\E[M:al=\E[L:dc=\E[P:im=\E[4h:ei=\E[4l:\
4243         :ks=\E[?1h\E=:ke=\E[?1l\E>:\
4244         :if=/usr/share/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
4245         :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=\EM:
4246 go140w|graphon go-140 in 132 column mode:\
4247         :co#132:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
4248         :tc=go140:
4249 #From edm@nwnexus.WA.COM.  Hacked up vt200 termcap to handle GO-225/VT220
4250 go225|go-225|Graphon 225:\
4251         :im=\E[4h:ei=\E[4l:mi:dc=\E[P:al=\E[L:dl=\E[M:\
4252         :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:\
4253         :ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
4254         :so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\
4255         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
4256         :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
4257         :rs=\E[!p\E[?7h\E[2;1;1#w:rf=/usr/share/tabset/vt100:\
4258         :do=^J:co#80:li#25:le=^H:bs:am:ks=\E=:ke=\E>:\
4259         :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:kh=\E[H:\
4260         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:vt#3:xn:\
4261         :sc=\E7:rc=\E8:ti=\E[2;0#w\E[1;25r:te=\E[!p\E[?7h\E[2;1;1#w:
4262 sanyo55|sanyo|sanyo mbc-55x pc compatible:\
4263         :co#80:li#25:am:cl=\E[H\E[J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
4264         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:
4265 #From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
4266 ST|atari st:\
4267         :bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#25:nd=\EC:\
4268         :pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:\
4269         :do=\EB:\
4270         :so=\Ep:se=\Eq:dl=\EM:al=\EL:am:
4271 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
4272 # From Paul M. Aoki, aoki@ucbvax.Berkeley.EDU
4273 uniterm|uniterm49|UniTerm VT200 emulator, 49 lines:\
4274         :li#49:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:\
4275         :tc=vt200:
4276 # YTERM standard version 1.0.  (gts 9-25-84)
4277 # Straight old ascii keyboard except function keys are Yale (e.g.,ASCII.KBD).
4278 # Only 80 tab columns (else yterm 1.1 bug).  No :xn: in 1.0.
4279 # Cannot use termcap :sr=\EM: because vi will not work, too bad.
4280 # vi string is given so that yterm is reset each vi startup.
4281 yterm10|yterm 1.0 UCB ascii.kbd:\
4282         :am:bs:cd=^K:ce=^]:cl=^L:cm=^^%r%+ %+ :co#80:EP:ho=^Y:li#24:nd=^\:pt:\
4283         :rc=\E8:sc=\E7:so=\E[7m:se=\E[m:up=^_:us=\E[4m:ue=\E[m:\
4284         :is=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY0  for \EHYTERM 1.\EH0 with A\EHSCII.KBD\EH 9-13-84\EH        \EH        \EH        \EH        \EH\n:\
4285         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4286         :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
4287         :vs=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY0      \EH        \EH        \EH        \EH        \EH        \EH        \EH        \EH        \EH\r:
4288 # YTERM varient version 1.1.  (gts 9-13-84)  Version 1.1 has :xn:.
4289 yterm11|yterm 1.1 UCB ascii.kbd:\
4290         :xn:is=^O\E[7i\E[m\E[?7h\E[?3g\r\EHY1  for \EHYTERM 1.\EH1 with A\EHSCII.KBD\EH 9-13-84\EH        \EH        \EH        \EH        \EH\n:\
4291         :tc=yterm10:
4292 # YTERM 1.0 varient no autowrap or tabs
4293 # X does not remember autowrap or tabs when T is deleted and restarted.
4294 yterm10nat|yterm 1.0 UCB ascii.kbd no autowrap or tabs:\
4295         :am@:pt@:vs=^O\E[7i\E[m\E[?7l\E[?3g\rY2\r:\
4296         :is=^O\E[7i\E[m\E[?7l\E[?3g\rY2  for YTERM 1.0 with ASCII.KBD 9-20-84 no autowrap or tabs\n:\
4297         :tc=yterm10:
4298 # KERMIT standard all versions.  (gts 9-25-84)
4299 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
4300 kermit|standard kermit:\
4301         :bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:ho=\EH:li#24:nd=\EC:up=\EA:\
4302         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4303         :is=K0 Standard Kermit  9-25-84\n:
4304 kermitam|standard kermit plus am:\
4305         :am:is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
4306 # IBMPC Kermit 1.2.  (gts 8-30-84)
4307 # Bugs :cd:ce: do not work except at beginning of line!  :cl: does not work,
4308 # but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of line).
4309 pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
4310         :am:li#25:cd@:ce@:cl=\EH\EJ:\
4311         :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
4312 # IBMPC Kermit 1.20     (gts 12-19-84)
4313 # Cannot use line 25, now acts funny like ansi special scrolling region.
4314 # Initialization must escape from that region by cursor position to line 24.
4315 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
4316 # Does not use am: because autowrap mode lost when kermit dropped and restarted.
4317 pckermit120|UCB IBMPC Kermit 1.20:\
4318         :al=\EL:am@:dc=\EN:dl=\EM:do=\EB:ei@:im@:li#24:pt:se=\Eq:so=\Ep:\
4319         :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
4320         :vs=\EO\Eq\EEK3:tc=kermit:
4321 # MS-DOS Kermit 2.27 for the IBMPC      (UCB gts 3-17-85)
4322 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
4323 # Cannot use line 25, now acts funny like ansi special scrolling region.
4324 # Initialization must escape from that region by cursor position to line 24.
4325 # Does not use am: because autowrap mode lost when kermit dropped and restarted.
4326 # Reverse video for standout like H19.
4327 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
4328         :al=\EL:am@:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\
4329         :dc=\EN:dl=\EM:do=\EB:ei=\EO:im=\E@:\
4330         :ho=\EH:li#24:nd=\EC:up=\EA:pt:rc=\Ek:sc=\Ej:se=\Eq:so=\Ep:\
4331         :ku=^K:kd=^J:kl=^H:kr=^L:kh=^^:ma=^Hh\012j^Kk^Ll^^H:\
4332         :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
4333         :vs=\EO\Eq\EG\EwK4:
4334 # MS-DOS Kermit 2.27 with automatic margins     (UCB gts 3-17-85)
4335 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
4336         :am:\
4337         :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
4338         :vs=\EO\Eq\EG\EvK5:tc=mskermit227:
4339 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC  (UCB gts 3-17-85)
4340 # Automatic margins now default.  Use ansi set graphic rendition for standout,
4341 # underline and ul codes (md,me,mr).  Define function keys.
4342 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
4343         :am:kn#10:\
4344         :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
4345         :md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:\
4346         :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
4347         :vs=\EO\Eq\EG\EvK6:tc=mskermit227:
4348 # From earle@smeagol.UUCP 29 Oct 85 05:40:18 GMT
4349 # MS-Kermit with Heath-19 emulation mode enabled
4350 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
4351         :am@:ta@:pt@:xt:da:db:tc=h19-u:
4352 # Amiga termcap by Kent Polk, kent@swrinde.nde.swri.edu (30 May 90)
4353 # Added a few more entries, converted caret-type control sequence (^x) entries
4354 # to '\0xx' entries since a couple of people mentioned loosing '^x' sequences.
4355 #
4356 # :as, :ae                      Support for alternate character sets.
4357 # :ve=\E[\040p:vi=\E[\060\040p  cursor visible/invisible.
4358 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
4359 #     This one appears to fix a problem I always had with a line ending
4360 #     at 'width+1' (I think) followed by a blank line in vi. The blank
4361 #     line tended to disappear and reappear depending on how the screen
4362 #     was refreshed. Note that this is probably needed only if you use
4363 #     something like a Dnet Fterm with the window sized to some peculiar
4364 #     dimension larger than 80 columns.
4365 # :k0=\E9~      map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
4366 # :F1-FA                        removed F11 through F20. 
4367 amiga|Amiga ANSI:\
4368         :co#80:li#24:am:bs:bw:\
4369         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
4370         :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:IC=\E[%d@:\
4371         :ae=\017:al=\E[L:as=\016:bl=\007:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
4372         :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:is=\E[20l:\
4373         :k1=\E0~:k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:\
4374         :k9=\E8~:k0=\E9~:kn#10:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:\
4375         :mb=\E[7;2m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
4376         :rs=\Ec:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[0m:up=\E[A:us=\E[4m:\
4377         :vb=\007:ve=\E[\040p:vi=\E[\060\040p:xn:
4378 # The pcplot IBM-PC terminal emulation program is really messed up. It is
4379 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
4380 # doesn't support scrolling regions, ignores add line commands, and ignores
4381 # delete line commands. Consequently, the resulting behavior looks like a
4382 # crude adm3a-type terminal.
4383 # Steve Jacobson 8/85
4384 pcplot:\
4385         :cs@:sc@:rc@:xn@:tc=vt100:
4386 # From Joel Rubin, jmrubin@coral, a preliminary TERMCAP for VIDTEX,
4387 # a terminal program sold by Compuserve.  Line and column numbers are
4388 # computer-dependent (I have a Commodore '64); you should use the meta-B
4389 # option to shut off clean-breaking of lines.  No key codes included 
4390 # since some of them are programmable and most are machine-specific.
4391 # Works on vi if you don't use clean-breaking.  Very similar to the IBM 3101
4392 # termcap.  Escape-D used for backspace because control-H is destructive
4393 # backspace.  There seem to be a few weirdnesses (especially at the beginning
4394 # of a wrapped line), and the cursor does not, unfortunately, flash.
4395 vid|vidtex|Compuserve vidtex program:\
4396         :am:bc=\ED:cl=^L:li#25:co#40:nd=\EC:up=\EA:cd=\EJ:ce=\EK:\
4397         :ho=\EH:cm=\EY%+\40%+\40:pt:
4398 # Fortune from c160-3bp@Coral (Robert Nathanson) via tut   Wed Oct 5, 1983
4399 fos|fortune|Fortune system:\
4400         :is=^_..:li#25:co#80:am:bs:bw:cl=20^L:cd=3*^\Y:\
4401         :ic=5^\Q:dc=5^\W:dl=15^\R:al=15^\E:cm=^\C%+ %+ :ta=^Z:ho=10^^:do=3^J:\
4402         :up=3^K:bs=^H:kb=^H:kd=^Ay\r:kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:\
4403         :nl=5^J:so=^\H`:se=^\I`:sg=0:us=^\HP:ue=^\IP:ug=0:ce=^\Z:rv=\EH:re=\EI:\
4404         :rg=0:GS=\Eo:GE=^O:GG=0:GV=-:GH=&:GU=%:GD=#:G1=(:G2= :G3=":G4=*:CF=\E]:\
4405         :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
4406         :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:PU=^An\r:PD=^Ao\r:\
4407         :PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
4408 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
4409 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
4410 basis|BASIS108 computer with terminal translation table active:\
4411         :do=5000^J:nl=5000*^J:\
4412         :cd=\EY:ce=\ET:cl=300\E*:ma=^K^P^R^L^L :\
4413         :kb=^H:kl=^H:ku=^K:kr=^L:kd=^J:so=\E(:se=\E):tc=adm3a:
4414 # From Peter Harrison, Computer Graphics Lab, San Francisco
4415 #   ucbvax!ucsfmis!harrison  .....uucp
4416 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
4417 # "These two work.  If you don't have the inverse video chip for the
4418 # Apple with videx then remove the so and se fields."
4419 DaleApple|Apple with videx videoterm 80 column board with inverse video:\
4420         :do=^J:am:le=^H:bs:cd=^K:ce=^]:cl=300^L:cm=^^%r%+ %+ :co#80:ho=^Y:\
4421         :kd=^J:kl=^H:kr=^U:kh=^Y:\
4422         :li#24:nd=^\:pt:so=^Z3:se=^Z2:up=^_:xn:
4423 ibmaed|IBM Experimental display:\
4424         :al=\EN:am:bs:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+\40%+\40:co#80:\
4425         :dc=\EQ:dl=\EO:do=\EB:ho=\EH:ic=\EP:li#52:\
4426         :nd=\EC:ms:so=\E0:se=\E0:us=:ue=:up=\EA:\
4427         :kb=^h:ku=\EA:kd=\EB:kl=\ED:kr=\EC:eo:vb=\EG:pt:
4428 # funny terminal that the TANDEM uses.
4429 653|t653x|Tandem 653x multipage terminal:\
4430         :li#24:co#80:ho=\EH:cm=\023%+ %+ :cl=\EI:cd=\EJ:ce=\EK:am:bs:\
4431         :if=/usr/share/tabset/tandem653:sb=\ES:sr=\ET:da:db:so=\E6$:se=\E6 :\
4432         :us=\E60:ue=\E6 :sg#1:ug#1:up=\EA:do=\012:le=\010:nd=\EC:\
4433         :hs:ts=\Eo:fs=\r:ds=\Eo\r:ws#64:
4434 # From Paul Leondis, unllab@amber.berkeley.edu
4435 ifmr|Informer D304:\
4436         :am:bs:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :co#80:dc=\E\\:\
4437         :do=^J:ic=\E[:li#24:nd=\EC:so=\EJ:se=\EK:up=\EA:\
4438         :sr=\En:ho=\EH:
4439 # From Christian Weisgerber, naddy@mips.inka.de, a TERMCAP entry 
4440 # for Linux consoles.
4441 linux|Linux Console:\
4442         :am:eo:mi:ms:xn:xo:\
4443         :co#80:it#8:li#25:\
4444         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
4445         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:K2=\E[G:\
4446         :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
4447         :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
4448         :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
4449         :im=\E[4h:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
4450         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
4451         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:kH=\E[4~:@7=\E[4~:*6=\E[4~:\
4452         :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
4453         :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
4454         :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4455         :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
4456         :ve=\E[?25h:vi=\E[?25l:
4457 linux-m|Linux Console no color:\
4458         :pa@:Co@:AF@:AB@:op@:\
4459         :tc=linux:
4460 cygwin:\
4461         :xn@:op=\E[39;49m:Km=\E[M:tc=linux:
4462 # Multilingual Sysinstall (kon2 console)
4463 # HOSOKAWA, Tatsumi (hosokawa@FreeBSD.org)
4464 kons25x|kons25-euc:\
4465         :ac=q\207x\214m\205v\212j\202t\210n\206u\211l\204w\213k\203y\053z\053f\336~\245a\043h\043`^D.v-\136I^U0\215:\
4466         :ve=\E[25h:vi=\E[25l:\
4467         :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
4468         :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:\
4469         :kN=\E[G:kP=\E[I:\
4470         :tc=linux:
4471 kons25x-m|kons25-euc-mono:\
4472         :pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=kons25x:
4473
4474 # Termcap for Top Gun Telnet and SSH on the Palm Pilot.
4475 # http://www.ai/~iang/TGssh/
4476 pilot|tgtelnet:am:xn:bs:co#39:li#16:cl=\Ec:cm=\Em%+ %+ :ho=\Em  :nw=\Em~ :\
4477         :so=\Eb:se=\EB:bl=^g:cr=^m:do=^j:le=^h:kP=^k:kN=^l:
4478
4479 # Termcap entry for rxvt, taken from the sources of rxvt-2.6.3
4480 # with additional @7 capability to make END work correctly.
4481 # From Giorgos Keramidas <charon@labs.gr>
4482 # Fix alternate character set capabilities (ae, as) -- nectar@freebsd.org
4483 rxvt-mono|rxvt terminal emulator (monochrome) (X Window System):\
4484         :am:eo:km:mi:ms:xn:xo:\
4485         :co#80:it#8:li#24:\
4486         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4487         :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
4488         :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
4489         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4490         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
4491         :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
4492         :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
4493         :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
4494         :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
4495         :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
4496         :kh=\E[7~:@7=\E[8~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
4497         :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
4498         :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4499         :te=\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
4500         :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
4501
4502 rxvt|rxvt terminal emulator (X Window System):\
4503         :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono:
4504
4505 # Termcap entry for Eterm, taken from the sources of Eterm-0.9.1
4506 # From Jeremy Norris <ishmael27@home.com>
4507 Eterm|Eterm-color|Eterm with xterm-style color support (X Window System):\
4508         :am:bw:eo:km:mi:ms:xn:xo:\
4509         :co#80:it#8:li#24:lm#0:\
4510         :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4511         :K1=\E[7~:K2=\EOu:K3=\E[5~:K4=\E[8~:K5=\E[6~:LE=\E[%dD:\
4512         :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
4513         :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4514         :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
4515         :ec=\E[%dX:ei=\E[4l:ho=\E[H:i1=\E[?47l\E>\E[?1l:ic=\E[@:\
4516         :im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
4517         :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
4518         :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
4519         :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=:kh=\E[7~:\
4520         :kl=\E[D:kr=\E[C:ks=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
4521         :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\
4522         :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4523         :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
4524         :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
4525
4526 #
4527 # END OF TERMCAP
4528 #  ------------------------