]> ncurses.scripts.mit.edu Git - ncurses.git/blob - misc/terminfo.src
fedfe67ece42971022c2de682c10864e9ed6652e
[ncurses.git] / misc / terminfo.src
1 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
2 #
3 #       Version 10.2.0
4 #       terminfo syntax
5 #
6 #       Eric S. Raymond         (current maintainer)
7 #       John Kunze, Berkeley
8 #       Craig Leres, Berkeley
9 #
10 # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
11 # address is no longer valid.
12 #
13 # PURPOSE OF THIS FILE:
14 #
15 # This file describes the capabilities of various character-cell terminals,
16 # as needed by software such as screen-oriented editors.
17 #
18 # Other terminfo and termcap files exist, supported by various OS vendors
19 # or as relics of various older versions of UNIX.  This one is the longest
20 # and most comprehensive one in existence.  It subsumes not only the entirety
21 # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
22 # termcap file, but also large numbers of vendor-maintained termcap and
23 # terminfo entries more complete and carefully tested than those in historical
24 # termcap/terminfo versions.
25 #
26 # Pointers to related resources (including the ncurses distribution) may
27 # be found at <http://earthspace.net/terminfo>.
28 #
29 # INTERNATIONALIZATION:
30 #
31 # This file uses only the US-ASCII character set (no ISO8859 characters).
32 #
33 # This file assumes a US-ASCII character set. If you need to fix this, start
34 # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
35 # for your character set.  \E(A and \E)A enables the British character set
36 # with the pound sign at position 2/3.  
37 #
38 # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
39 # C1 characters are considered the first-byte set of the Japanese encodings,
40 # so \E)0 should be avoided in <enacs> and initialization strings.
41 #
42 # FILE FORMAT:
43 #
44 # The version you are looking at may be in any of three formats: master
45 # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
46 # which by the format given in the header above.
47 #
48 # The master format is accepted and generated by the terminfo tools in the
49 # ncurses suite; it differs from stock (System V-compatible) terminfo only
50 # in that it admits a group of capabilities (prefixed `OT') equivalent to
51 # various obsolete termcap capabilities.  You can, thus, convert from master
52 # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
53 # you have ncurses `tic -I' is nicer (among other things, it automatically
54 # outputs entries in a canonical form).
55 #
56 # The termcap version is generated automatically from the master version
57 # using tic -C.  This filtering leaves in the OT capabilities under their
58 # original termcap names.  All translated entries fit within the 1023-byte
59 # string-table limit of archaic termcap libraries except where explicitly
60 # noted below.  Note that the termcap translation assumes that your termcap
61 # library can handle multiple tc capabilities in an entry. 4.4BSD has this
62 # capability.  Older versions of GNU termcap, through 1.3, do not. 
63 #
64 # For details on these formats, see terminfo(5) in the ncurses distribution,
65 # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
66 # curses has been declared obsolete by the caretakers of the 4.4BSD sources
67 # as of June 1995; they are encouraging everyone to migrate to ncurses.
68 #
69 # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
70 # no entry in this file has embedded comments.  This is so source translation
71 # to termcap only has to carry over leading comments.  Also, no name field
72 # contains embedded whitespace (such whitespace confuses rdist).
73 #
74 # Further note: older versions of this file were often installed with an editor
75 # script (reorder) that moved the most common terminal types to the front of
76 # the file.  This should no longer be necessary, as the file is now ordered
77 # roughly by type frequency with ANSI/VT100 and other common types up front.
78 #
79 # Some information has been merged in from terminfo files distributed by
80 # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
81 # comes from vendors who maintain official terminfos for their hardware
82 # (notably DEC and Wyse).
83 #
84 # A detailed change history is included at the end of this file.
85 #
86 # FILE ORGANIZATION:
87 #
88 # Comments in this file begin with # - they cannot appear in the middle
89 # of a terminfo/termcap entry.  Individual capabilities are commented out by
90 # placing a period between the colon and the capability name.
91 #
92 # The file is divided up into major sections (headed by lines beginning with 
93 # the string "########") and minor sections (beginning with "####"); do
94 #
95 #       grep "^####" <file> | more
96 #
97 # to see a listing of section headings.  The intent of the divisions is
98 # (a) to make it easier to find things, and (b) to order the database so
99 # that important and frequently-encountered terminal types are near the
100 # front (so that you'll get reasonable search efficiency even if you don't
101 # use reorder).  Minor sections usually correspond to manufacturers or
102 # standard terminal classes.  Parenthesized words following manufacturer
103 # names are type prefixes or product line names used by that manufacturers.
104 #
105 # HOW TO READ THE ENTRIES:
106 #
107 # The first name in an entry is the canonical name for the model or
108 # type, last entry is a verbose description.  Others are mnemonic synonyms for
109 # the terminal.
110 #
111 # Terminal names look like <manufacturer> <model> - <modes/options>
112 # The part to the left of the dash, if a dash is present, describes the
113 # particular hardware of the terminal.  The part to the right may be used
114 # for flags indicating special ROMs, extra memory, particular terminal modes,
115 # or user preferences.
116 #
117 # All names should be in lower case, for consistency in typing.
118 #
119 # The following are conventionally used suffixes:
120 #       -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
121 #       -am     Enable auto-margin.
122 #       -m      Monochrome.  Suppress color support
123 #       -mc     Magic-cookie.  Some terminals (notably older Wyses) can
124 #               only support one attribute without magic-cookie lossage.
125 #               Their base entry is usually paired with another that
126 #               uses magic cookies to support multiple attributes.
127 #       -na     No arrow keys - termcap ignores arrow keys which are
128 #               actually there on the terminal, so the user can use
129 #               the arrow keys locally.
130 #       -nam    No auto-margin - suppress <am> capability
131 #       -nl     No labels - suppress soft labels
132 #       -ns     No status line - suppress status line
133 #       -rv     Terminal in reverse video mode (black on white)
134 #       -s      Enable status line.
135 #       -vb     Use visible bell (<flash>) rather than <bel>.
136 #       -w      Wide - in 132 column mode.
137 # If a name has multiple suffixes and one is a line height, that one should 
138 # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.  
139
140 # Entries with embedded plus signs are designed to be included through use/tc
141 # capabilities, not used as standalone entries. 
142 #
143 # To avoid search clashes, some older all-numeric names for terminals have
144 # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
145 # All primary names of terminals now have alphanumeric prefixes.
146 #
147 # Comments marked "esr" are mostly results of applying the termcap-compiler
148 # code packaged with ncurses and contemplating the resulting error messages. 
149 # In many cases, these indicated obvious fixes to syntax garbled by the
150 # composers.  In a few cases, I was able to deduce corrected forms for garbled
151 # capabilities by looking at context.  All the information in the original
152 # entries is preserved in the comments.
153 #
154 # In the comments, terminfo capability names are bracketed with <> (angle
155 # brackets).  Termcap capability names are bracketed with :: (colons).
156 #
157 # INTERPRETATION OF USER CAPABILITIES
158 #
159 # The System V Release 4 and XPG4 terminfo format defines ten string
160 # capabilities for use by applications, <u0>...<u9>.   In this file, we use
161 # certain of these capabilities to describe functions which are not covered
162 # by terminfo.  The mapping is as follows:
163 #
164 #       u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
165 #       u8      terminal answerback description
166 #       u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
167 #       u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
168 #
169 # The terminal enquire string <u9> should elicit an answerback response
170 # from the terminal.  Common values for <u9> will be ^E (on older ASCII
171 # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
172 #
173 # The cursor position request (<u7>) string should elicit a cursor position
174 # report.  A typical value (for VT100 terminals) is \E[6n.
175 #
176 # The terminal answerback description (u8) must consist of an expected
177 # answerback string.  The string may contain the following scanf(3)-like
178 # escapes:
179 #
180 #       %c      Accept any character
181 #       %[...]  Accept any number of characters in the given set
182 #
183 # The cursor position report (<u6>) string must contain two scanf(3)-style 
184 # %d format elements.  The first of these must correspond to the Y coordinate
185 # and the second to the %d.  If the string contains the sequence %i, it is
186 # taken as an instruction to decrement each value after reading it (this is
187 # the inverse sense from the cup string).  The typical CPR value is
188 # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
189 #
190 # These capabilities are used by tac(1m), the terminfo action checker soon
191 # to be distributed with ncurses.
192 #
193 # TABSET FILES
194 #
195 # All the entries in this file have been edited to assume that the tabset
196 # files directory is /usr/share/tabset, in conformance with the File Hierarchy
197 # Standard for Linux and free BSD systems.  Some vendors (notably Sun) use
198 # /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
199 #
200 # No curses package we know of uses these files.  If their location is an
201 # issue, you will have to hand-patch the file locations before compiling
202 # this file.
203
204 # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
205 #
206 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
207 # character-cell terminals are increasingly replaced by X displays, much of
208 # this file is becoming a historical document (this is part of the reason for
209 # the new organization, which puts ANSI types, xterm, free-Unix consoles,
210 # and vt100 up front in confidence that this will catch 95% of new hardware).
211 #
212 # For the terminal types still alive, I'd like to have manufacturer's
213 # contact data (Internet address and/or snail-mail + phone).
214 #
215 # I'm also interested in enriching the comments so that the latter portions of
216 # the file do in fact become a potted history of VDT technology as seen by
217 # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
218 # include its live/dead/out-of-the-business status, and for as many
219 # terminal types as possible to be tagged with information like years
220 # of heaviest use, popularity, and interesting features.
221 #
222 # I'm especially interested in identifying the obscure entries listed under
223 # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
224 # wisdom about them gets lost.  If you know a lot about obscure old terminals,
225 # please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
226 # eyeball it for things you can identify and describe. 
227 #
228 # If you have been around long enough to contribute, please read the file
229 # with this in mind and send me your annotations.
230 #
231 # COPYRIGHTS AND OTHER DELUSIONS
232 #
233 # The BSD ancestor of this file had a standard Regents of the University of
234 # California copyright with dates from 1980 to 1993.
235 #
236 # Some information has been merged in from a terminfo file SCO distributes.
237 # It has an obnoxious boilerplate copyright which I'm ignoring because they 
238 # took so much of the content from the ancestral BSD versions of this file
239 # and didn't attribute it, thereby violating the BSD Regents' copyright.
240 #
241 # Not that anyone should care.  However many valid functions copyrights may
242 # serve, putting one on a termcap/terminfo file with hundreds of anonymous
243 # contributors makes about as much sense as copyrighting a wall-full of
244 # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
245 #
246 # This file deliberately has no copyright.  It belongs to no one and everyone.
247 # If you claim you own it, you will merely succeed in looking like a fool. 
248 # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
249 # There are no guarantees anywhere.  Svaha!
250 #
251
252 ######## STANDARD AND SPECIAL TYPES
253 #
254 # This section describes terminal classes and maker brands that are still
255 # quite common.
256 #
257
258 #### Specials
259 #
260 # Special "terminals".  These are used to label tty lines when you don't
261 # know what kind of terminal is on it.  The characteristics of an unknown
262 # terminal are the lowest common denominator - they look about like a ti 700.
263 #
264
265 dumb|80-column dumb tty, 
266         am, 
267         cols#80, 
268         bel=^G, cr=^M, cud1=^J, ind=^J, 
269 unknown|unknown terminal type, 
270         gn, use=dumb, 
271 lpr|printer|line printer, 
272         hc, os, 
273         cols#132, lines#66, 
274         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
275 glasstty|classic glass tty interpreting ASCII control characters, 
276         am, 
277         cols#80, 
278         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, 
279         kcub1=^H, kcud1=^J, nel=^M^J, 
280
281 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
282 #
283 # See the end-of-file comment for more on these.
284 #
285
286 # The IBM PC alternate character set.  Plug this into any Intel console entry.
287 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
288 # ROM graphics for control characters such as the diamond, up- and down-arrow.
289 # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
290 # will work with any Intel console, they all seem to have inherited \E[11m
291 # from the ANSI.SYS de-facto standard.
292 klone+acs|alternate character set for ansi.sys displays, 
293         acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
294         rmacs=\E[10m, smacs=\E[11m, 
295
296 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
297 # console drivers for Intel boxes obey these.  Makes the same assumption
298 # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
299 # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
300 klone+sgr|attribute control for ansi.sys displays, 
301         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
302         rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
303         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
304         sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
305         use=klone+acs, 
306
307 # Highlight controls corresponding to the ANSI.SYS standard.  *All*
308 # console drivers for Intel boxes obey these.  Does not assume \E[11m will
309 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
310 # diamond and arrow characters under curses.
311 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
312         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, 
313         rmul=\E[m, 
314         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
315         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
316         use=klone+acs, 
317
318 # KOI8-R (RFC1489) acs (alternate character set)
319 # From: QingLong <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
320 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
321         acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225, 
322         rmacs=\E[10m, smacs=\E[11m, 
323
324 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
325 # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
326 # but equivalent strings that don't rely on that coincidence:
327 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
328 # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
329 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
330 # They match a subset of ECMA-48.
331 klone+color|color control for ansi.sys and ISO6429-compatible displays, 
332         colors#8, ncv#3, pairs#64, 
333         op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
334
335 # This is better than klone+color, it doesn't assume white-on-black as the
336 # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
337 ecma+color|color control for ECMA-48-compatible terminals, 
338         colors#8, ncv#3, pairs#64, 
339         op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
340
341 # Attribute control for ECMA-48-compatible terminals
342 ecma+sgr|attribute capabilities for true ECMA-48 terminals, 
343         rmso=\E[27m, rmul=\E[24m, 
344         use=klone+sgr, 
345
346 # For comparison, here are all the capabilities implied by the Intel
347 # Binary Compatibility Standard (level 2) that fit within terminfo.
348 # For more detail on this rather pathetic standard, see the comments
349 # near the end of this file.
350 ibcs2|Intel Binary Compatibility Standard prescriptions, 
351         cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
352         cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
353         dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX, 
354         hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
355         indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
356         smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
357
358 #### ANSI/ECMA-48 terminals and terminal emulators
359 #
360 # See near the end of this file for details on ANSI conformance.
361 # Don't mess with these entries!  Lots of other entries depend on them!
362 #
363 # This section lists entries in a least-capable to most-capable order.
364 # if you're in doubt about what `ANSI' matches yours, try them in that
365 # order and back off from the first that breaks.
366
367 ansi-mini|any ansi terminal with pessimistic assumptions, 
368         am, 
369         cols#80, it#8, lines#24, 
370         clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
371         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
372         ht=^I, 
373
374 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
375 #
376 # The following is an entry for the full ANSI 3.64 (1977).  It lacks
377 # padding, but most terminals using the standard are "fast" enough
378 # not to require any -- even at 9600 bps.  If you encounter problems,
379 # try including the padding specifications.
380 #
381 # Note: the "as" and "ae" specifications are not implemented here, for
382 # the available termcap documentation does not make clear WHICH alternate
383 # character set to specify.  ANSI 3.64 seems to make allowances for several.
384 # Please make the appropriate adjustments to fit your needs -- that is
385 # if you will be using alternate character sets.
386 #
387 # There are very few terminals running the full ANSI 3.64 standard,
388 # so I could only test this entry on one verified terminal (Visual 102).
389 # I would appreciate the results on other terminals sent to me.
390 #
391 # Please report comments, changes, and problems to:
392 #
393 # U.S. MAIL:   Hugh Hansard
394 #              Box: 22830
395 #              Emory University
396 #              Atlanta, GA. 30322.
397 #
398 # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
399 #
400 ansi77|ansi 3.64 standard 1977 version, 
401         am, mir, 
402         cols#80, it#8, lines#24, 
403         bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
404         cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
405         cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K, 
406         home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 
407         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
408         kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM, 
409         rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m, 
410         smul=\E[4m, 
411
412 # Procomm and some other ANSI emulations don't recognize all of the ANSI-
413 # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
414 # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
415 # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
416 # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
417 # to confuse many emulators.  On the other hand, we can count on these programs
418 # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured 
419 # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
420 # ANSI.SYS influence.
421 # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
422 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
423         am, mir, msgr, 
424         cols#80, it#8, lines#24, 
425         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
426         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
427         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
428         hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
429         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, 
430         use=klone+sgr-dumb, 
431 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
432         lines#25, use=pcansi-m, 
433 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
434         lines#33, use=pcansi-m, 
435 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
436         lines#43, use=pcansi-m, 
437 # The color versions.  All PC emulators do color...
438 pcansi|ibm-pc terminal programs claiming to be ansi, 
439         use=klone+color, use=pcansi-m, 
440 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
441         lines#25, use=pcansi, 
442 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
443         lines#33, use=pcansi, 
444 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
445         lines#43, use=pcansi, 
446
447 # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
448 # If you want pound signs rather than dollars, replace `B' with `A'
449 # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
450 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
451 ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
452         mc5i, 
453         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
454         cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
455         ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
456         ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H, 
457         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
458         kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, 
459         rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B, 
460         s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g, 
461         vpa=\E[%i%p1%dd, use=pcansi-m, 
462
463 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
464 # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
465 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
466 ansi|ansi/pc-term compatible with color, 
467         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
468         u9=\E[c, 
469         use=ecma+color, use=klone+sgr, use=ansi-m, 
470
471 #
472 # ANSI.SYS entries
473 #
474 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
475 # documentation (except for the keyboard key reassignment feature, which
476 # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
477 # though undocumented.  The <pfkey> capability is untested but should work for
478 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
479 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
480 ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
481         am, mir, msgr, xon, 
482         cols#80, lines#25, 
483         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
484         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, 
485         is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
486         khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
487         rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
488         u7=\E[6n, 
489         use=klone+color, use=klone+sgr, 
490 ansi.sys|ANSI.SYS 3.1 and later versions, 
491         el=\E[K, use=ansi.sys-old, 
492
493 #
494 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
495 # This should only be used when the terminal emulator cannot redefine the keys.
496 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
497 # definitions must be restored.  If the terminal emulator is quit while in vi
498 # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
499 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
500 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
501 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
502 # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
503 # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
504 # Consequently the End keypad key could not be set (it is relatively safe and
505 # actually useful because it sends ^@ O, which beeps and opens a line above).
506 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
507         is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
508         rmkx=\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, 
509         smkx=\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, 
510         use=ansi.sys, 
511 #
512 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
513 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
514         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
515         is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys, 
516 #
517 # See ansi.sysk and nansi.sys above.
518 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
519         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
520         is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
521         use=ansi.sysk, 
522
523 #### ANSI console types
524 #
525
526 #### BeOS entry for Terminal program. Seems to be almost ANSI
527 #       
528 beterm|BeOS Terminal, 
529         am, eo, mir, msgr, xenl, xon, 
530         colors#8, cols#80, it#8, lines#25, pairs#64, 
531         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
532         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
533         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
534         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
535         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
536         el=\E[K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
537         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
538         il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G, 
539         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
540         kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~, 
541         kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
542         kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~, 
543         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
544         nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
545         rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm, 
546         setaf=\E[3%p1%dm, setb=\E[%p1%'('%+%cm, 
547         setf=\E[%p1%{30}%+%cm, sgr0=\E[0;10m, smir=\E[4h, 
548         smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, 
549         u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
550
551 # This entry is good for the 1.2.13 version of the Linux console driver.
552 #
553 # Note: there are numerous broken linux entries out there, which didn't screw
554 # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
555 # One common pathology is an incorrect tab length of 4.
556 #
557 # ***************************************************************************
558 # *                                                                         *
559 # *                           WARNING:                                      *
560 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
561 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
562 # * character. Here are the keymap replacement lines that will set this up: *
563 # *                                                                         *
564 #       keycode  15 = Tab             Tab
565 #               alt     keycode  15 = Meta_Tab
566 #               shift   keycode  15 = F26
567 #       string F26 ="\033[Z"
568 # *                                                                         *
569 # * This has to use a key slot which is unfortunate (any unused one will    *
570 # # do, F26 is the higher-numbered one).  The change ought to be built      *
571 # * into the kernel tables.                                                 *
572 # *                                                                         *
573 # ***************************************************************************
574 #
575 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
576 # and it matters, turn off <ccc>.  The %02x escape used to implement this is
577 # not back-portable to SV curses and not supported in ncurses versions before
578 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
579 # themselves; this entry assumes that capability.
580 #
581 linux|linux console, 
582         am, bce, eo, mir, msgr, xenl, xon, 
583         it#8, ncv@, 
584         acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
585         bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h, 
586         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
587         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
588         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
589         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
590         flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG, 
591         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
592         il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D, 
593         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
594         kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, 
595         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
596         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
597         kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, 
598         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
599         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
600         nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, 
601         rmul=\E[24m, rs1=\Ec, sc=\E7, 
602         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
603         smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
604         u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
605         use=klone+sgr, use=ecma+color, 
606 linux-m|Linux console no color, 
607         colors@, pairs@, 
608         setab@, setaf@, setb@, setf@, use=linux, 
609 linux-c-nc|linux console 1.3.x hack for ncurses only, 
610         ccc, 
611         initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x, 
612         oc=\E]R, 
613         use=linux, 
614 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
615 linux-c|linux console 1.3.6+ with private palette for each virtual console, 
616         ccc, 
617         colors#8, pairs#64, 
618         initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;, 
619         oc=\E]R, 
620         use=linux, 
621
622 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
623 linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
624         ich@, ich1@, 
625         use=linux, 
626
627 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
628 # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
629 linux-koi8|linux with koi8 alternate character set, 
630         acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224, 
631         use=linux, use=klone+koi8acs, 
632
633 # Another entry for KOI8-r with QingLong's acsc.
634 # (which one better complies the standard?)
635 linux-koi8r|linux with koi8-r alternate character set, 
636         use=linux, use=klone+koi8acs, 
637
638 # SCO console and SOS-Syscons console for 386bsd
639 # (scoansi: had unknown capabilities
640 #       :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
641 #       :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
642 #       :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
643 #       :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
644 #       :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
645 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
646 # on the <smacs>=\E[12m  -- esr)
647 scoansi|SCO Extended ANSI standard crt, 
648         am, eo, xon, 
649         cols#80, it#8, lines#25, 
650         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
651         cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
652         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
653         ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, 
654         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M, 
655         kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, 
656         kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
657         ri=\E[T, 
658         use=klone+sgr-dumb, 
659
660 # This actually describes the generic SVr4 display driver for Intel boxes.
661 # The <dim=\E[2m> isn't documented and therefore may not be reliable.
662 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
663 att6386|at386|386at|AT&T WGS 6386 console, 
664         am, bw, eo, xon, 
665         cols#80, it#8, lines#25, 
666         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
667         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 
668         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 
669         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
670         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
671         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
672         dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
673         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
674         ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 
675         indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 
676         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
677         kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 
678         kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
679         kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 
680         knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
681         ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
682         sc=\E7, 
683         sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 
684         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
685         tbc=\E[2g, vpa=\E[%i%p1%dd, 
686         use=klone+color, 
687 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
688 pc6300plus|AT&T 6300 plus, 
689         am, xon, 
690         cols#80, lines#24, 
691         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
692         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 
693         cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
694         dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 
695         home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 
696         invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
697         kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 
698         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 
699         nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
700         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
701
702 # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
703 #
704 # I have a UNIX PC which I use as a terminal attached to my Linux PC.
705 # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
706 # is broken. All the special key sequences are broken, making it unusable
707 # with Emacs. The problem stems from the following:
708
709 # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
710 # keypad!), loadable fonts, and strange highlighting modes ("dithered"
711 # half-intensity, "smeared" bold, and real strike-out, for example.) It also
712 # uses resizable terminal windows, but the bundled terminal program always
713 # uses an 80x24 window (and doesn't support seem to support a 132-column
714 # mode.) 
715
716 # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
717 # library which was a superset of SVr3.5 curses (called tam, for "terminal
718 # access method".) tam includes support for real, overlapping windows,
719 # onscreen function key labels, and bitmap graphics. But since the primary
720 # user interface on the UNIX PC was a GUI program (ua, for "user
721 # assistant",) and remote administration was considered important for the
722 # machine, tam also supported VT100-compatible terminals attached to the
723 # serial port or used across the StarLan network. To simulate the extra keys
724 # not present on a VT100, users could press ESC and a two-letter sequence,
725 # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
726 # however, were not the same as those sent by the actual Undo key. The
727 # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
728 # (If you're interested in adding some of the tam calls to ncurses, btw, I
729 # have the full documentation and several programs which use tam. It also
730 # used an extended terminfo format to describe key sequences, special
731 # highlighting modes, etc.) 
732
733 # KEYS: This means that ncurses would quite painful on the UNIX PC, since
734 # there are two sequences for every key-modifier combination (local keyboard
735 # sequence and remote "VT100" sequence.) But I doubt many people are trying
736 # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
737 # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
738 # seem to have been built from the manual describing the VT100 sequences. 
739 # This means it doesn't work for a real live UNIX PC. 
740
741 # FONTS: The UNIX PC also has a strange interpretation of "alternate
742 # character set". Rather than the VT100 graphics you might expect, it allows
743 # up to 8 custom fonts to be loaded at any given time. This means that
744 # programs expecting VT100 graphics will usually be disappointed. For this
745 # reason I have disabled the smacs/rmacs sequences, but they could easily be
746 # re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
747 # manpage), should you wish to do so: 
748
749 # SGR10 - Select font 0 - ESC [ 10 m or SO
750 # SGR11 - Select font 1 - ESC [ 11 m or SI
751 # SGR12 - Select font 2 - ESC [ 12 m
752 # ... (etc.)
753 # SGR17 - Select font 7 - ESC [ 17 m
754
755 # Graphics for line drawing are not reliably found at *any* character
756 # location because the UNIX PC has dynamically reloadable fonts. I use font
757 # 0 for regular text and font 1 for italics, but this is by no means
758 # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
759
760 # MISC: The cursor visible/cursor invisible sequences were swapped in the
761 # distributed terminfo.
762
763 # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
764 # the UNIX PC terminfo entry. The modified version works great with Lynx,
765 # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
766 # attached by serial cable. In Emacs, even the Undo key works, and many
767 # applications can now use the F1-F8 keys. 
768
769 # esr's notes:
770 #       Terminfo entry for the AT&T Unix PC 7300
771 #       from escape(7) in Unix PC 7300 Manual.
772 #       Somewhat similar to a vt100-am (but different enough
773 #       to redo this from scratch.)
774 #
775 #       /***************************************************************
776 #       *
777 #       *           FONT LOADING PROGRAM FOR THE UNIX PC
778 #       *
779 #       *     This routine loads a font defined in the file ALTFONT
780 #       *     into font memory slot #1.  Once the font has been loaded,
781 #       *     it can be used as an alternative character set.
782 #       *
783 #       *     The call to ioctl with the argument WIOCLFONT is the key 
784 #       *     to this routine.  For more information, see window(7) in 
785 #       *     the PC 7300 documentation.
786 #       ***************************************************************/
787 #       #include <string.h>             /* needed for strcpy call */
788 #       #include <sys/window.h>         /* needed for ioctl call */
789 #       #define FNSIZE  60              /* font name size */
790 #       #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
791 #       /*
792 #       *     The file /usr/lib/wfont/special.8.ft comes with the
793 #       *     standard PC software.  It defines a graphics character set
794 #       *     similar to that of the Teletype 5425 terminal.  To view
795 #       *     this or other fonts in /usr/lib/wfont, use the command
796 #       *     cfont <filename>.  For further information on fonts see
797 #       *     cfont(1) in the PC 7300 documentation.
798 #       */
799 #       
800 #       struct altfdata         /* structure for alt font data */
801 #       {
802 #       short   altf_slot;              /* memory slot number */
803 #       char    altf_name[FNSIZE];      /* font name (file name) */
804 #       };
805 #       ldfont()
806 #       {
807 #               int wd;         /* window in which altfont will be */
808 #               struct altfdata altf;
809 #               altf.altf_slot=1;
810 #               strcpy(altf.altf_name,ALTFONT);
811 #               for (wd =1; wd < 12; wd++) {
812 #                    ioctl(wd, WIOCLFONT,&altf);
813 #               }
814 #       }
815 #
816 # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
817 # they're confirmed by the man page for the System V display---esr)
818 #
819 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
820         am, xon, 
821         cols#80, it#8, lines#24, 
822         bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 
823         clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, 
824         cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
825         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
826         cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
827         ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 
828         il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 
829         kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 
830         kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 
831         kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 
832         kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 
833         kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 
834         kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
835         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 
836         ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 
837         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
838         kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 
839         kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 
840         kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 
841         kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 
842         ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 
843         rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
844         smul=\E[4m, 
845
846 # From: Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997
847 # (iris-ansi: added rmam/smam based on init string -- esr)
848 iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100), 
849         am, 
850         cols#80, it#8, lines#40, 
851         bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
852         cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
853         cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
854         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
855         cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
856         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
857         home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
858         is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P, 
859         kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
860         kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
861         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
862         kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\EOQ, kf11=\EOR, 
863         kf12=\EOS, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
864         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
865         kf9=\EOP, khome=\E[H, kich1=\E[139q, knp=\E[154q, 
866         kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, kspd=\E[217q, 
867         nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8, 
868         rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7, 
869         sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
870         tbc=\E[3g, 
871 iris-ansi-ap|IRIS ANSI in application-keypad mode, 
872         is2=\E[?1l\E>\E[?7h, kf10=\E[010q, kf11=\E[011q, 
873         kf12=\E[012q, rmkx=\E>, smkx=\E=, 
874         use=iris-ansi, 
875
876 # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
877 # (T.Dickey 98/1/24)
878 iris-color|xwsh|IRIX ANSI with color, 
879         ncv#33, 
880         csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m, 
881         ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m, 
882         rmul=\E[24m, rs1=\Ec, 
883         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
884         sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
885         use=klone+color, use=iris-ansi-ap, 
886
887 # The following is a version of the ibm-pc entry distributed with PC/IX,
888 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
889 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
890 # (the former is untrue, and the latter failed under UCB/man); standout and
891 # underline modes have been added.  Note: this entry describes the "native"
892 # capabilities of the PC monochrome display, without ANY emulation; most
893 # communications packages (but NOT PC/IX connect) do some kind of emulation.
894 pcix|PC/IX console, 
895         am, bw, eo, 
896         cols#80, lines#24, 
897         clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
898         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
899         home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
900         smul=\E[4m, 
901
902 # (ibmpcx: this entry used to be known as ibmx.
903 # It formerly included the following extension capabilities:
904 #       :GC=b:GL=v:GR=t:RT=^J:\
905 #       :GH=\E[196g:GV=\E[179g:\
906 #       :GU=\E[193g:GD=\E[194g:\
907 #       :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
908 #       :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
909 #       :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
910 # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
911 # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
912 # what was there before. -- esr)
913 ibmpcx|xenix|ibmx|IBM PC xenix console display, 
914         am, msgr, 
915         cols#80, lines#25, 
916         clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
917         cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
918         ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H, 
919         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, 
920         kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
921         kpp=\E[Z, 
922         use=klone+acs, use=klone+sgr, 
923
924
925 # QNX 4.0 Console
926 # Michael's original version of this entry had <am@>, <smcup=\Ei>,
927 # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
928 # right corner without triggering a scroll.  The ncurses terminfo library can
929 # handle this case with the <ich1> capability, and prefers <am> for better
930 # optimization.  Bug: The <op> capability resets attributes.
931 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
932 qnx|qnx4|qnx console, 
933         daisy, km, mir, msgr, xhpa, xt, 
934         colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
935         acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263, 
936         bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
937         cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
938         cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, cvvis=\Ey2, 
939         dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
940         il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
941         kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
942         kDL=\377\366, kEND=\377\301, kEOL=\377\311, 
943         kEXT=\377\367, kFND=\377\370, kHLP=\377\371, 
944         kHOM=\377\260, kIC=\377\340, kLFT=\377\264, 
945         kMOV=\377\306, kMSG=\377\304, kNXT=\377\272, 
946         kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
947         kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
948         kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
949         kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0, 
950         kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
951         kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
952         kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
953         kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
954         ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320, 
955         kext=\377\270, kf1=\377\201, kf10=\377\212, 
956         kf11=\377\256, kf12=\377\257, kf13=\377\213, 
957         kf14=\377\214, kf15=\377\215, kf16=\377\216, 
958         kf17=\377\217, kf18=\377\220, kf19=\377\221, 
959         kf2=\377\202, kf20=\377\222, kf21=\377\223, 
960         kf22=\377\224, kf23=\377\333, kf24=\377\334, 
961         kf25=\377\225, kf26=\377\226, kf27=\377\227, 
962         kf28=\377\230, kf29=\377\231, kf3=\377\203, 
963         kf30=\377\232, kf31=\377\233, kf32=\377\234, 
964         kf33=\377\235, kf34=\377\236, kf35=\377\276, 
965         kf36=\377\277, kf37=\377\321, kf38=\377\322, 
966         kf39=\377\323, kf4=\377\204, kf40=\377\324, 
967         kf41=\377\325, kf42=\377\326, kf43=\377\327, 
968         kf44=\377\330, kf45=\377\331, kf46=\377\332, 
969         kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206, 
970         kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
971         khlp=\377\350, khome=\377\240, khts=\377\342, 
972         kich1=\377\253, kil1=\377\273, kind=\377\261, 
973         kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
974         knp=\377\252, knxt=\377\312, kopn=\377\357, 
975         kopt=\377\353, kpp=\377\242, kprt=\377\255, 
976         kprv=\377\302, krdo=\377\336, kref=\377\354, 
977         kres=\377\360, krfr=\377\347, kri=\377\271, 
978         krmir=\377\313, krpl=\377\362, krst=\377\352, 
979         ksav=\377\361, kslt=\377\247, kspd=\377\335, 
980         ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
981         rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
982         rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
983         setf=\E@%p1%Pf%gb%gf%d%d, 
984         sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;, 
985         sgr0=\E}\E]\E>\E), smcup=\Ei, smso=\E(, smul=\E[, 
986
987 #### NetBSD consoles
988 #
989 # pcvt termcap database entries (corresponding to release 3.31)
990 # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
991 #
992 # (For the terminfo master file, I translated these into terminfo syntax.
993 # Then I dropped all the pseudo-HP entries. we don't want and can't use
994 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
995 # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
996
997 # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
998 # both <ich1> and <smir> are specified (an original VT220 
999 # shows the same buggy behaviour!), <ich1> has been taken
1000 # out of this entry. for reference, it should be <ich1=\E[@>.
1001 pcvtXX|pcvt vt200 emulator (DEC VT220), 
1002         am, km, mir, msgr, xenl, 
1003         it#8, vt#3, 
1004         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
1005         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
1006         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1007         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1008         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1009         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1010         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
1011         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
1012         is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
1013         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1014         kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
1015         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
1016         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
1017         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
1018         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1019         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
1020         rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1021         sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1022         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1023
1024 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1025 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1026 #       50 lines entries; 80 columns
1027 pcvt25|dec vt220 emulation with 25 lines, 
1028         cols#80, lines#25, 
1029         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1030 pcvt28|dec vt220 emulation with 28 lines, 
1031         cols#80, lines#28, 
1032         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1033 pcvt35|dec vt220 emulation with 35 lines, 
1034         cols#80, lines#35, 
1035         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1036 pcvt40|dec vt220 emulation with 40 lines, 
1037         cols#80, lines#40, 
1038         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1039 pcvt43|dec vt220 emulation with 43 lines, 
1040         cols#80, lines#43, 
1041         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1042 pcvt50|dec vt220 emulation with 50 lines, 
1043         cols#80, lines#50, 
1044         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1045
1046 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1047 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1048 #       50 lines entries; 132 columns
1049 pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
1050         cols#132, lines#25, 
1051         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1052 pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
1053         cols#132, lines#28, 
1054         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1055 pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
1056         cols#132, lines#35, 
1057         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1058 pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
1059         cols#132, lines#40, 
1060         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1061 pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
1062         cols#132, lines#43, 
1063         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1064 pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
1065         cols#132, lines#50, 
1066         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1067
1068 # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
1069 # manufactured by Sharp for the Japenese market.
1070 # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1071 x68k|x68k-ite|NetBSD/x68k ITE, 
1072         cols#96, lines#32, 
1073         kclr=\E[9~, khlp=\E[28~, use=vt220, 
1074
1075 #### FreeBSD console entries
1076 #
1077 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
1078 # Andrey Chernov maintains the FreeBSD termcap distributions.
1079 #
1080 # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1081 # or comment out the :cb: capability in the console entry.
1082 #
1083 # Alexander Lukyanov reports:
1084 # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
1085 # Now el1 clears not only to the line beginning, but also a large chunk
1086 # of previous line. But there is another bug - ech does not work at all.
1087 #
1088
1089 # for syscons
1090 # common entry without semigraphics
1091 # Bug: The <op> capability resets attributes.
1092 # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
1093 # instance el1 does if the cursor is moved to the right margin first.  Removed
1094 # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
1095 #
1096 # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
1097 # Note that this disables standout with color.
1098 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
1099         am, bce, bw, eo, msgr, npc, 
1100         colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
1101         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
1102         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
1103         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1104         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
1105         dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
1106         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, 
1107         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
1108         indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
1109         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, 
1110         kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, 
1111         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
1112         kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, 
1113         nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
1114         rmso=\E[m, rs1=\E[x\E[m\Ec, setab=\E[4%p1%dm, 
1115         setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
1116 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode), 
1117         acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371, 
1118         use=cons25w, 
1119 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
1120         colors@, pairs@, 
1121         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25, 
1122 cons30|ansi80x30|freebsd console (30-line ansi mode), 
1123         lines#30, use=cons25, 
1124 cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode), 
1125         lines#30, use=cons25-m, 
1126 cons43|ansi80x43|freebsd console (43-line ansi mode), 
1127         lines#43, use=cons25, 
1128 cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode), 
1129         lines#43, use=cons25-m, 
1130 cons50|ansil|ansi80x50|freebsd console (50-line ansi mode), 
1131         lines#50, use=cons25, 
1132 cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode), 
1133         lines#50, use=cons25-m, 
1134 cons60|ansi80x60|freebsd console (60-line ansi mode), 
1135         lines#60, use=cons25, 
1136 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
1137         lines#60, use=cons25-m, 
1138 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
1139         acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225, 
1140         use=cons25w, 
1141 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
1142         colors@, pairs@, 
1143         op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r, 
1144 cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines), 
1145         lines#50, use=cons25r, 
1146 cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono), 
1147         lines#50, use=cons25r-m, 
1148 cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines), 
1149         lines#60, use=cons25r, 
1150 cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono), 
1151         lines#60, use=cons25r-m, 
1152 # ISO 8859-1 FreeBSD console
1153 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
1154         acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237, 
1155         use=cons25w, 
1156 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
1157         colors@, pairs@, 
1158         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1, 
1159 cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines), 
1160         lines#50, use=cons25l1, 
1161 cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono), 
1162         lines#50, use=cons25l1-m, 
1163 cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines), 
1164         lines#60, use=cons25l1, 
1165 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono), 
1166         lines#60, use=cons25l1-m, 
1167
1168 #### 386BSD and BSD/OS Consoles
1169 #
1170
1171 # This was the original 386BSD console entry (I think).  
1172 # Some places it's named oldpc3|oldibmpc3.
1173 # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1174 origpc3|origibmpc3|IBM PC 386BSD Console, 
1175         am, bw, eo, xon, 
1176         cols#80, lines#25, 
1177         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
1178         bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1179         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
1180         home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1181         kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x, 
1182         rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x, 
1183         smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x, 
1184
1185 # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1186 oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
1187         km, 
1188         lines#25, 
1189         bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M, 
1190         ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1191         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, 
1192         knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
1193
1194 # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
1195 # Note, the emulator supports many of the additional console features
1196 # listed in the iBCS2 (e.g. character-set selection) though not all
1197 # are described here.  This entry really ought to be upgraded.
1198 # Also note, the console will also work with fewer lines after doing
1199 # "stty rows NN", e.g. to use 24 lines.
1200 # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
1201 # Bug: The <op> capability resets attributes.
1202 bsdos|BSD/OS console, 
1203         am, bw, eo, km, xon, 
1204         colors#8, cols#80, it#8, lines#25, pairs#64, 
1205         bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
1206         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1207         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1208         cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[=8F, dl=\E[%p1%dM, 
1209         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
1210         il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1211         kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G, 
1212         kpp=\E[I, nel=^M^J, op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m, 
1213         sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m, 
1214         smso=\E[7m, 
1215 bsdos-bold|IBM PC BSD/386 Console with bold instead of underline, 
1216         rmul=\E[0m, smul=\E[1m, 
1217         use=bsdos, 
1218
1219 # If you are BSDI, you want the following entries, for the moment.  
1220 # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
1221 pc3|IBM PC BSD/386 Console, 
1222         use=bsdos, 
1223 ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline, 
1224         smul=\E[1m, 
1225         use=bsdos-bold, 
1226
1227 #### DEC VT100 and compatibles
1228 #
1229 # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
1230 # the basis of some emulations) are collected here. Older DEC terminals and
1231 # micro consoles can be found in the `obsolete' section.  More details on
1232 # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
1233 # found near the end of this file.
1234 #
1235 # Except where noted, these entries are DEC's official terminfos.
1236 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1237 # Engineering for more information.  Updated terminfos and termcaps 
1238 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1239 #
1240 # In October 1995 DEC sold its terminals business, including the VT and Dorio
1241 # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
1242 # its name to Boundless Technologies; see http://www.boundless.com.
1243 #
1244
1245 # (The <acsc>, <rmacs>, and <smacs> capabilities aren't in DEC's official
1246 # entry -- esr)
1247 vt52|dec vt52, 
1248         cols#80, it#8, lines#24, 
1249         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1250         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
1251         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
1252         el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
1253         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
1254
1255 # NOTE:  Any VT100 emulation, whether in hardware or software, almost
1256 # certainly includes what DEC called the `Level 1 editing extension' codes;
1257 # only the very oldest VT100s lacked these and there probably aren't any of
1258 # those left alive.  To capture these, use one of the VT102 entries.
1259 #
1260 # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
1261 # since the cursor is left in a different position while in the
1262 # weird state (concept at beginning of next line, vt100 at end
1263 # of this line) so all versions of vi before 3.7 don't handle
1264 # <xenl> right on vt100. The correct way to handle <xenl> is when
1265 # you output the char in column 80, immediately output CR LF
1266 # and then assume you are in column 1 of the next line. If <xenl>
1267 # is on, am should be on too.
1268
1269 # I assume you have smooth scroll off or are at a slow enough baud
1270 # rate that it doesn't matter (1200? or less). Also this assumes
1271 # that you set auto-nl to "on", if you set it off use vt100-nam 
1272 # below.
1273
1274 # The padding requirements listed here are guesses. It is strongly
1275 # recommended that xon/xoff be enabled, as this is assumed here.
1276
1277 # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
1278 # tab settings are in non-volatile memory and don't need to be 
1279 # reset upon login. Also setting the number of columns glitches 
1280 # the screen annoyingly. You can type "reset" to get them set.
1281 #
1282 # Here's a diagram of the VT100 keypad keys with their bindings.
1283 # The top line is the name of the key (some DEC keyboards have the keys
1284 # labelled somewhat differently, like GOLD instead of PF1, but this is
1285 # the most "official" name).  The second line is the escape sequence it
1286 # generates in Application Keypad mode (where "$" means the ESC
1287 # character).  The third line contains two items, first the mapping of
1288 # the key in terminfo, and then in termcap.
1289 #   _______________________________________
1290 #  |   PF1   |   PF2   |   PF3   |   PF4   |
1291 #  |   $OP   |   $OQ   |   $OR   |   $OS   |
1292 #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1293 #  |    7         8         9         -    |
1294 #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1295 #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1296 #  |    4    |    5    |    6    |    ,    |
1297 #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1298 #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1299 #  |    1    |    2    |    3    |         |
1300 #  |   $Oq   |   $Or   |   $Os   |  enter  |
1301 #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1302 #  |         0         |   .     |         |
1303 #  |        $Op        |  $On    |         |
1304 #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1305 #
1306 # And here, for those of you with orphaned VT100s lacking documentation, is
1307 # a description of the soft switches invoked when you do `Set Up'.
1308
1309 #  Scroll 0-Jump               Shifted 3   0-#
1310 #  |      1-Smooth             |           1-British pound sign
1311 #  | Autorepeat 0-Off          | Wrap Around 0-Off
1312 #  | |          1-On           | |           1-On
1313 #  | | Screen 0-Dark Bkg       | | New Line 0-Off
1314 #  | | |      1-Light Bkg      | | |        1-On
1315 #  | | | Cursor 0-Underline    | | | Interlace 0-Off
1316 #  | | | |      1-Block        | | | |         1-On
1317 #  | | | |                     | | | |
1318 #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1319 #                | | | |                     | | | |
1320 #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1321 #                | | |               1-On    | | |       1-50 Hz
1322 #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
1323 #                | |           1-ANSI        | |                1-8 Bits
1324 #                | Keyclick 0-Off            | Parity 0-Off
1325 #                |          1-On             |        1-On
1326 #                Margin Bell 0-Off           Parity Sense 0-Odd
1327 #                            1-On                         1-Even
1328 #
1329 # The following SET-UP modes are assumed for normal operation:
1330 #       ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
1331 #       WRAP_AROUND_ON  JUMP_SCROLL_OFF
1332 # Other SET-UP modes may be set for operator convenience or communication
1333 # requirements; I recommend
1334 #       AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
1335 # Unless you have a graphics add-on such as Digital Engineering's VT640
1336 # (and even then, whenever it can be arranged!) you should set
1337 #       INTERLACE_OFF
1338 #
1339 # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
1340 vt100|vt100-am|dec vt100 (w/advanced video), 
1341         am, msgr, xenl, xon, 
1342         cols#80, it#8, lines#24, vt#3, 
1343         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1344         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1345         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1346         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1347         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1348         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1349         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1350         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
1351         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
1352         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
1353         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
1354         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
1355         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
1356         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
1357         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1358         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1359         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1360         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
1361 vt100nam|vt100-nam|vt100 no automargins, 
1362         am@, xenl@, use=vt100-am, 
1363 vt100-vb|dec vt100 (w/advanced video) & no beep, 
1364         bel@, flash=\E[?5h\E[?5l, use=vt100, 
1365
1366 # Ordinary vt100 in 132 column ("wide") mode.
1367 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
1368         cols#132, lines#24, 
1369         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, 
1370 vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
1371         cols#132, lines#14, vt@, 
1372         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, 
1373
1374 # vt100 with no advanced video.
1375 vt100-nav|vt100 without advanced video option, 
1376         xmc#1, 
1377         blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, 
1378         smul@, 
1379         use=vt100, 
1380 vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
1381         cols#132, lines#14, use=vt100-nav, 
1382
1383 # vt100 with one of the 24 lines used as a status line.
1384 # We put the status line on the top.
1385 vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
1386         eslok, hs, 
1387         lines#23, 
1388         clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
1389         cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8, 
1390         fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8, 
1391         tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am, 
1392
1393 # Status line at bottom. 
1394 # Clearing the screen will clobber status line.
1395 vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
1396         eslok, hs, 
1397         lines#23, 
1398         dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
1399         tsl=\E7\E[24;%p1%dH\E[1K, 
1400         use=vt100-am, 
1401
1402 # Most of the `vt100' emulators out there actually emulate a vt102
1403 # This entry (or vt102-nsgr) is probably the right thing to use for
1404 # these.  
1405 vt102|dec vt102, 
1406         mir, 
1407         dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100, 
1408 vt102-w|dec vt102 in wide mode, 
1409         cols#132, 
1410         rs3=\E[?3h, use=vt102, 
1411
1412 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1413 # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
1414 # string in the canonical vt100 entry above leaves the screen littered
1415 # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
1416 # after highlight turnoffs.  This entry should fix that, and even leave
1417 # ACS support working, at the cost of making multiple-highlight changes 
1418 # slightly more expensive.
1419 # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1420 vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
1421         sgr@, sgr0=\E[m, 
1422         use=vt102, 
1423
1424 # VT125 Graphics CRT.  Clear screen also erases graphics
1425 vt125|vt125 graphics terminal, 
1426         clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100, 
1427
1428 # This isn't a DEC entry, it came from University of Wisconsin.
1429 # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
1430 vt131|dec vt131, 
1431         am, xenl, 
1432         cols#80, it#8, lines#24, vt#3, 
1433         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
1434         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1435         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
1436         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
1437         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
1438         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
1439         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
1440         kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, 
1441         rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>, 
1442         rmul=\E[m$<2/>, 
1443         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1444         sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=, 
1445         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
1446
1447 # vt132 - like vt100 but slower and has ins/del line and such.
1448 # I'm told that <smir>/<rmir> are backwards in the terminal from the
1449 # manual and from the ANSI standard, this describes the actual 
1450 # terminal. I've never actually used a vt132 myself, so this 
1451 # is untested.
1452 #
1453 vt132|DEC vt132, 
1454         xenl, 
1455         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
1456         ip=$<7>, rmir=\E[4h, smir=\E[4l, 
1457         use=vt100, 
1458
1459 # vt220:
1460 # This vt220 description maps F5--F9 to the second block of function keys
1461 # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
1462 # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
1463 # PF1--PF4 are used as F1--F4.
1464 #
1465 vt220|vt200|DEC VT220 in vt100 emulation mode, 
1466         am, mir, xenl, xon, 
1467         cols#80, lines#24, vt#3, 
1468         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1469         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
1470         clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
1471         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1472         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1473         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1474         if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, 
1475         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1476         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
1477         kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
1478         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
1479         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8, 
1480         rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
1481         ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1482         rmso=\E[27m, rmul=\E[24m, 
1483         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1484         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1485         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1486         smso=\E[7m, smul=\E[4m, 
1487 vt220-w|vt200-w|DEC vt220 in wide mode, 
1488         cols#132, 
1489         rs3=\E[?3h, use=vt220, 
1490
1491 #
1492 # vt220d:
1493 # This vt220 description regards F6--F10 as the second block of function keys
1494 # at the top of the keyboard.  This mapping follows the description given
1495 # in the VT220 Programmer Reference Manual and agrees with the labeling
1496 # on some terminals that emulate the vt220.  There is no support for an F5.
1497 # See vt220 for an alternate mapping. 
1498 #
1499 vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
1500         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
1501         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
1502         kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~, 
1503         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1504         use=vt220, 
1505
1506 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
1507         am@, 
1508         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1509
1510 # This is misnamed (see xterm-8bit for an example of 8-bit controls)
1511 vt220-8|dec vt220 8 bit terminal, 
1512         am, mc5i, mir, msgr, xenl, xon, 
1513         cols#80, it#8, lines#24, 
1514         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1515         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
1516         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1517         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1518         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1519         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1520         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
1521         flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
1522         ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
1523         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1524         is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
1525         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
1526         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1527         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
1528         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
1529         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
1530         khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
1531         kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, 
1532         mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
1533         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
1534         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
1535         smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1536
1537 # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
1538 # (not an official DEC entry!)
1539 # The problem with real vt220 terminals is they don't send escapes when in
1540 # in vt220 mode.  This can be gotten around two ways.  1> don't send
1541 # escapes or 2> put the vt220 into vt100 mode and use all the nifty
1542 # features of vt100 advanced video which it then has.
1543 #
1544 # This entry takes the view of putting a vt220 into vt100 mode so
1545 # you can use the escape key in emacs and everything else which needs it.
1546 #
1547 # You probably don't want to use this on a VMS machine since VMS will think
1548 # it has a vt220 and will get fouled up coming out of emacs
1549 #
1550 # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
1551 vt200-js|vt220-js|dec vt200 series with jump scroll, 
1552         am, 
1553         cols#80, 
1554         bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1555         cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
1556         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
1557         il1=\E[L, ind=\ED, 
1558         is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m, 
1559         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1560         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, 
1561         rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l, 
1562         rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m, 
1563         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smdc=, 
1564         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m, 
1565  
1566 # This was DEC's vt320.  Use the purpose-built one below instead 
1567 #vt320|DEC VT320 in vt100 emulation mode,
1568 #       use=vt220,
1569
1570 #
1571 # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
1572 #
1573 vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
1574         am@, 
1575         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1576
1577 # These entries are not DEC's official ones, they were purpose-built for the 
1578 # VT320.  Here are the designer's notes:
1579 # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
1580 # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1581 # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1582 # Things that use <knxt> usually use tab anyways... and things that don't use
1583 # tab usually use <knxt> instead...
1584 # kprv is same as tab - Backtab is useless...
1585 # I left out <sgr> because of its RIDICULOUS complexity,
1586 # and the resulting fact that it causes the termcap translation of the entry
1587 # to SMASH the 1k-barrier...
1588 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1589 # (vt320: uncommented <fsl> --esr) 
1590 vt320|vt300|dec vt320 7 bit terminal, 
1591         am, eslok, hs, mir, msgr, xenl, 
1592         cols#80, lines#24, wsl#80, 
1593         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1594         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1595         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
1596         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1597         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1598         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1599         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1600         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, 
1601         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
1602         il1=\E[L, ind=\ED, 
1603         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1604         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, 
1605         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1606         kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
1607         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1608         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
1609         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
1610         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1611         khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~, 
1612         kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, 
1613         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300, 
1614         ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1615         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
1616         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1617         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1618         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1619         tsl=\E[1$}\E[H\E[K, 
1620 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
1621         am@, 
1622         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1623         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1624         use=vt320, 
1625 # We have to init 132-col mode, not 80-col mode.
1626 vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
1627         cols#132, wsl#132, 
1628         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1629         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1630         use=vt320, 
1631 vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
1632         am@, 
1633         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1634         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1635         use=vt320-w, 
1636
1637 # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
1638 #   which are pretty much a superset of the VT320.  They have the
1639 #   host writable status line, yet another different DRCS matrix size,
1640 #   and such, but they add the DEC Technical character set, Multiple text
1641 #   pages, selectable length pages, and the like.  The difference between
1642 #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
1643 #   monitor, the former has 4 planes and a color monitor.  These terminals
1644 #   support VT131 and ANSI block mode, but as with much of these things,
1645 #   termcap/terminfo doesn't deal with these features.
1646 #
1647 # Note that this entry is are set up in what was the standard way for GNU
1648 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1649 # keys were switched into application mode at the same time the numeric pad
1650 # is switched into application mode.  This changes the definitions of the
1651 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1652 # your termcap or terminfo entry,
1653 #
1654 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1655 # (vt340: string capability "sb=\E[M" corrected to "sr";
1656 # also, added <rmam>/<smam> based on the init string -- esr)
1657 vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
1658         am, eslok, hs, mir, msgr, xenl, xon, 
1659         cols#80, it#8, lines#24, vt#3, 
1660         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1661         blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
1662         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1663         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1664         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1665         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
1666         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1667         dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
1668         flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I, 
1669         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1670         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1671         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1672         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
1673         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
1674         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
1675         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
1676         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
1677         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
1678         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
1679         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
1680
1681 # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
1682 # (originally written with vt420 as its primary name, and usable for it).
1683
1684 # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
1685 #    text pages and long text pages with selectable length of the vt340, along
1686 #    with left and right margins, rectangular area text copy, fill, and erase
1687 #    operations, selected region character attribute change operations,
1688 #    page memory and rectangle checksums, insert/delete column, reception
1689 #    macros, and other features too numerous to remember right now.  TERMCAP
1690 #    can only take advantage of a few of these added features.
1691 #
1692 # Note that this entry is are set up in what was the standard way for GNU
1693 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1694 # keys were switched into application mode at the same time the numeric pad
1695 # is switched into application mode.  This changes the definitions of the
1696 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1697 # your termcap entry,
1698 #
1699 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1700 # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
1701 # also, added <rmam>/<smam> based on the init string -- esr)
1702 vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
1703         am, eslok, hs, mir, msgr, xenl, xon, 
1704         cols#80, it#8, lines#24, vt#3, 
1705         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1706         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1707         clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
1708         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1709         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1710         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1711         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
1712         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
1713         el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
1714         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
1715         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1716         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1717         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1718         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
1719         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
1720         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
1721         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
1722         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
1723         rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
1724         smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
1725         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1726         tsl=\E[2$~\E[1$}\E[1;%dH, 
1727
1728 # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
1729 # a missing <sc> -- esr)
1730 vt420|DEC VT420, 
1731         am, mir, xenl, xon, 
1732         cols#80, lines#24, vt#3, 
1733         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1734         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1735         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1736         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1737         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1738         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1739         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1740         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1741         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1742         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
1743         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
1744         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
1745         kslt=\E[4~, rc=\E8, rev=\E[7m$<2>, 
1746         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>, 
1747         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
1748         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1749         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1750         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1751         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1752         smkx=\E=, smso=\E[7m, smul=\E[4m, 
1753
1754 #
1755 # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
1756 # takes two parameters, the key and the string.  Translating the key is
1757 # straightforward (keys 1-5 are not defined on real terminals, though some
1758 # emulators define these):
1759 #
1760 #               if (key < 16) then  value = key;
1761 #               else if (key < 21) then value = key + 1; 
1762 #               else if (key < 25) then value = key + 2;
1763 #               else if (key < 27) then value = key + 3;
1764 #               else if (key < 30) then value = key + 4;
1765 #               else value = key + 5;
1766 #
1767 # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
1768 # There's no provision in terminfo for emitting a string in this format, so the
1769 # application has to know it.
1770 #
1771 vt420pc|DEC VT420 w/PC keyboard, 
1772         kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
1773         kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
1774         kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~, 
1775         kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, 
1776         kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, 
1777         kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, 
1778         kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, 
1779         kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, 
1780         kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
1781         kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~, 
1782         kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~, 
1783         kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, 
1784         kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
1785         kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
1786         pctrm=USR_TERM\:vt420pcdos\:, 
1787         pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, use=vt420, 
1788
1789 vt420pcdos|DEC VT420 w/PC for DOS Merge, 
1790         lines#25, 
1791         dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;, 
1792         pctrm@, 
1793         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@, 
1794         sgr0=\E[m, smsc=\E[?1;2r\E[34h, 
1795         use=vt420pc, 
1796
1797 vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
1798         kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
1799         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
1800         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
1801         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
1802         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1803         khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS, 
1804         use=vt420, 
1805
1806 vt510|DEC VT510, 
1807         use=vt420, 
1808 vt510pc|DEC VT510 w/PC keyboard, 
1809         use=vt420pc, 
1810 vt510pcdos|DEC VT510 w/PC for DOS Merge, 
1811         use=vt420pcdos, 
1812
1813 # VT520/VT525
1814 #
1815 # The VT520 is a monochrome text terminal capable of managing up to
1816 # four independent sessions in the terminal.  It has multiple ANSI
1817 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
1818 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
1819 # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
1820 #
1821 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
1822 # [Alt]/[Print Screen] depending upon which keyboard and which
1823 # terminal mode is being used.  If Set-Up has been disabled or
1824 # assigned to an unknown key, Set-Up may be entered by pressing
1825 # [F3] as the first key after power up, regardless of keyboard type.
1826 # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
1827 vt520|DEC VT520, 
1828         am, mir, xenl, xon, 
1829         cols#80, lines#24, vt#3, 
1830         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1831         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1832         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1833         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1834         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1835         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1836         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1837         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1838         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1839         kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
1840         kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
1841         kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
1842         kpp=\E[5~, kslt=\E[4~, 
1843         pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
1844         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
1845         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1846         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1847         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1848         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1849         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1850         smso=\E[7m, smul=\E[4m, 
1851
1852 # (vt525: I added <rmam>/<smam> based on the init string;
1853 # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
1854 vt525|DEC VT525, 
1855         am, mir, xenl, xon, 
1856         cols#80, lines#24, vt#3, 
1857         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1858         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1859         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1860         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1861         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1862         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1863         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1864         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1865         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1866         kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
1867         kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
1868         kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
1869         kpp=\E[5~, kslt=\E[4~, 
1870         pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
1871         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
1872         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1873         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1874         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1875         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1876         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1877         smso=\E[7m, smul=\E[4m, 
1878
1879 #### VT100 emulations
1880 #
1881
1882 # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
1883 # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
1884 # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
1885 # that this works best with a stock vt100 entry.
1886 dec-vt100|EWAN telnet's vt100 emulation, 
1887         use=vt100, 
1888
1889 # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
1890 dec-vt220|DOS tnvt200 terminal emulator, 
1891         am@, use=vt220, 
1892
1893 # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
1894 # anyone who needs PC VT340 emulation. (or anything below that level, for
1895 # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
1896 # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
1897 # I can send the address if requested.
1898 # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1899 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1900 z340|zstem vt340 terminal emulator 132col 42line, 
1901         lines#42, 
1902         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
1903         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
1904         use=vt320-w, 
1905 z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins), 
1906         am@, 
1907         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
1908         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
1909         use=z340, 
1910
1911 #### X terminal emulators
1912 #
1913 # You can add the following line to your .Xdefaults to change the terminal type
1914 # set by the xterms you start up to my-xterm:
1915 #
1916 # *termName:  my-xterm
1917 #
1918 # System administrators can change the default entry for xterm instances
1919 # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
1920 # case, xterm will detect and reject an invalid terminal type, falling back
1921 # to the default of xterm.
1922 #
1923
1924 # X10/6.6       11/7/86, minus alternate screen, plus (csr)
1925 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1926 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
1927 # as these seem not to work -- esr)
1928 x10term|vs100-x10|xterm terminal emulator (X10 window system), 
1929         am, km, mir, msgr, xenl, xon, 
1930         cols#80, it#8, lines#65, 
1931         bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
1932         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1933         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
1934         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
1935         il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, 
1936         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
1937         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
1938         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
1939         sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
1940         smso=\E[7m, smul=\E[4m, 
1941 # Compatible with the R5 xterm 
1942 # (from the XFree86 3.2 distribution, <blink=@> removed)
1943 xterm-r5|xterm R5 version, 
1944         am, km, msgr, xenl, 
1945         cols#80, it#8, lines#24, 
1946         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
1947         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1948         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1949         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1950         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1951         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
1952         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
1953         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
1954         kdl1=\E[31~, kel=\E[8~, kf0=\EOq, kf1=\E[11~, kf10=\E[21~, 
1955         kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~, 
1956         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
1957         kf9=\E[20~, khome=\E[7~, kich1=\E[2~, kil1=\E[30~, 
1958         knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM, 
1959         rmkx=\E[?1l\E>, rmso=\E[m, 
1960         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, sc=\E7, 
1961         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
1962         sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, tbc=\E[3g, 
1963 # Compatible with the R6 xterm
1964 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
1965 xterm-r6|xterm-old|xterm X11R6 version, 
1966         am, km, mir, msgr, xenl, 
1967         cols#80, it#8, lines#24, 
1968         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1969         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
1970         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1971         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1972         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1973         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1974         el=\E[K, enacs=\E)0, home=\E[H, ht=^I, il=\E[%p1%dL, 
1975         il1=\E[L, ind=^J, 
1976         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
1977         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1978         kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
1979         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
1980         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
1981         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, 
1982         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
1983         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
1984         memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
1985         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
1986         rmso=\E[m, rmul=\E[m, 
1987         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
1988         sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
1989         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1990 # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
1991 # The name has been changed and some aliases have been removed.
1992 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
1993         am, bce, km, mir, msgr, xenl, 
1994         colors#8, cols#80, it#8, lines#24, pairs#64, 
1995         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1996         bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
1997         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
1998         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1999         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2000         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2001         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2002         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2003         enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, 
2004         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2005         il=\E[%p1%dL, il1=\E[L, ind=^J, 
2006         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
2007         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
2008         kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2009         kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
2010         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2011         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2012         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2013         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2014         kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
2015         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
2016         memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
2017         rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
2018         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O, 
2019         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
2020         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2021         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2022         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2023         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2024         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
2025         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2026         tbc=\E[3g, vpa=\E[%i%p1%dd, 
2027
2028 # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
2029 # codes for F1-F4 except while in VT220 mode.
2030 xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
2031         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
2032         use=xterm-xf86-v32, 
2033
2034 # This beta version will probably be released in XFree86 4.0 in 1998.
2035 # Besides providing printer support, it exploits a new feature that allows
2036 # xterm to use terminfo-based descriptions with the titeInhibit resource.
2037 xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
2038         mc5i, 
2039         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l, 
2040         rs1=\Ec, smcup=\E[?1048h\E[?1047h, 
2041         use=xterm-xf86-v33, 
2042
2043 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
2044 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
2045         rmso=\E[m, rmul=\E[m, 
2046         use=xterm-xf86-v33, 
2047
2048 # This is one of the variants from XFree86 3.3 (T.Dickey)
2049 xterm-16color|xterm with 16 colors like aixterm, 
2050         colors#16, ncv#32, pairs#256, 
2051         setab@, setaf@, 
2052         setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
2053         setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
2054         use=xterm-xf86-v40, 
2055
2056 # This is another variant, for XFree86 4.0 xterm (T.Dickey)
2057 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
2058 # To use it, your decTerminalID resource must be set to 200 or above.
2059 #
2060 #       HTS     \E H    \210
2061 #       RI      \E M    \215
2062 #       SS3     \E O    \217
2063 #       CSI     \E [    \233
2064 #
2065 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
2066         am, bce, km, mc5i, mir, msgr, xenl, 
2067         colors#8, cols#80, it#8, lines#24, pairs#64, 
2068         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2069         bel=^G, bold=\2331m, cbt=\233Z, civis=\233?25l, 
2070         clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
2071         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
2072         cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
2073         cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
2074         cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P, 
2075         dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J, 
2076         el=\233K, el1=\2331K, enacs=\E(B\E)0, 
2077         flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG, 
2078         ht=^I, hts=\210, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
2079         il1=\233L, ind=^J, 
2080         is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2081         ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
2082         kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B, 
2083         kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\217F, 
2084         kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
2085         kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
2086         kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
2087         kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
2088         kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
2089         kf9=\23320~, kfnd=\2331~, khome=\217H, kich1=\2332~, 
2090         kmous=\233M, knp=\2336~, kpp=\2335~, kslt=\2334~, 
2091         mc0=\233i, mc4=\2334i, mc5=\2335i, meml=\El, memu=\Em, 
2092         op=\23339;49m, rc=\E8, rev=\2337m, ri=\215, rmacs=^O, 
2093         rmam=\233?7l, rmcup=\2332J\233?47l\E8, rmir=\2334l, 
2094         rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, rs1=\Ec, 
2095         rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2096         sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
2097         setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2098         setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2099         sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2100         sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\E7\233?47h, 
2101         smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
2102         tbc=\2333g, vpa=\233%i%p1%dd, 
2103
2104 # This is xterm for ncurses. It mainly adds mappings for more high-half
2105 # characters.  Note that these will only work for fixed-width fonts.
2106 xterm|vs100|xterms|xterm terminal emulator (X Window System), 
2107         acsc=++\,\,--..00``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2108         kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2109         use=xterm-r6, 
2110
2111 # These entries allow access to the X titlebar and icon name as a status line. 
2112 # Note that twm (and possibly window managers descended from it such as tvtwm, 
2113 # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
2114 # with it.
2115 xterm+sl|access X title line and icon name, 
2116         hs, 
2117         wsl#40, 
2118         dsl=\E]0;\007, fsl=^G, tsl=\E]0;, 
2119 xterm+sl-twm|access X title line (pacify twm-descended window managers), 
2120         hs, 
2121         wsl#40, 
2122         dsl=\E]2;\007, fsl=^G, tsl=\E]2;, 
2123
2124 #
2125 # The following xterm variants don't depend on your base version
2126 #
2127 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
2128         smso=\E[1m, 
2129         use=xterm, 
2130 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
2131 # (kterm should not invoke DEC Graphics as the alternate character set
2132 #  -- Kenji Rikitake)
2133 kterm|kterm kanji terminal emulator (X window system), 
2134         eslok, hs, 
2135         acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F, 
2136         kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@, 
2137         tsl=\E[?E\E[?%i%dT, 
2138         use=xterm-r6, use=klone+color, 
2139 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
2140 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
2141         ich@, ich1@, 
2142         use=xterm, 
2143 # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
2144 xterm1|xterm terminal emulator ignoring the alternate screen buffer, 
2145         rmcup@, smcup@, 
2146         use=xterm, 
2147
2148 # This describes the capabilities of color_xterm, an xterm variant from
2149 # before ECMA-64 color support was folded into the main-line xterm release.
2150 # This entry is straight from color_xterm's maintainer.
2151 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
2152 color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
2153         am, km, mir, msgr, xenl, 
2154         colors#8, cols#80, it#8, lines#65, pairs#64, 
2155         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2156         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2157         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2158         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2159         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2160         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2161         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
2162         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2163         is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy, 
2164         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB, 
2165         kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
2166         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
2167         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2168         kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, 
2169         kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8, 
2170         rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
2171         rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
2172         rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
2173         sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2174         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2175         sgr0=\E[m, smacs=^N, smam=\E[?7h, 
2176         smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
2177         smul=\E[4m, 
2178
2179 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
2180 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
2181 # Notes:
2182 # rxvt 2.21b uses
2183 #       smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
2184 # but some applications don't work with that.
2185 # It also has an AIX extension
2186 #       box2=lqkxjmwuvtn,
2187 # and
2188 #       ech=\E[%p1%dX,
2189 # but the latter does not work correctly.
2190 #
2191 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
2192 # Since rxvt is not really compatible with xterm, it should be configured as
2193 # "rxvt" (monochrome) and "rxvt-color". 
2194 rxvt-basic|rxvt terminal base (X Window System), 
2195         am, bce, eo, km, mir, msgr, xenl, xon, 
2196         cols#80, it#8, lines#24, 
2197         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2198         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2199         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2200         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2201         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2202         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2203         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2204         dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
2205         flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH, 
2206         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2207         is1=\E[?47l\E=\E[?1l, 
2208         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
2209         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
2210         kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, 
2211         kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
2212         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, 
2213         kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, 
2214         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2215         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2216         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2217         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2218         kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, 
2219         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, 
2220         rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[?47l\E8, rmir=\E[4l, 
2221         rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
2222         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
2223         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
2224         s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
2225         smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
2226         smul=\E[4m, tbc=\E[3g, 
2227 rxvt|rxvt terminal emulator (X Window System), 
2228         colors#8, pairs#64, 
2229         op=\E[39;49m, setab=\E[%p1%{40}%+%dm, 
2230         setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic, 
2231
2232 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
2233 # Here's a termcap entry I've been using for xterm_color, which comes
2234 # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
2235 # color stuff, I also have a status line defined as the window manager
2236 # title bar. [I have translated it to terminfo -- ESR]
2237 xterm-pcolor|xterm with color used for highlights and status line, 
2238         bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
2239         smul=\E[4m\E[42m, 
2240         use=xterm+sl, use=xterm-r6, 
2241
2242 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
2243 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
2244 hpterm|X-hpterm|hp X11 terminal emulator, 
2245         am, da, db, mir, xhp, 
2246         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
2247         acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
2248         cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
2249         cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
2250         hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, 
2251         kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2252         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
2253         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
2254         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
2255         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El, 
2256         memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
2257         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
2258         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
2259         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
2260         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
2261         rmul=\E&d@, 
2262         sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
2263         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
2264         smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
2265
2266 # This entry describes an xterm with Sun-style function keys enabled
2267 # via the X resource setting "xterm*sunFunctionKeys:true"
2268 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
2269 # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
2270 # because we want it to be seen as <kcpy>. 
2271 # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
2272 # with their Sun keyboard labels instead.
2273 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
2274 xterm-sun|xterm with sunFunctionKeys true, 
2275         kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z, 
2276         kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z, 
2277         kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
2278         kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z, 
2279         kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z, 
2280         kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
2281         kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z, 
2282         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2283         kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z, 
2284         knp=\E[222z, kpp=\E[216z, kund=\E[195z, 
2285         use=xterm, 
2286 xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
2287         cols#80, lines#24, use=xterm-sun, 
2288
2289 # This is for the extensible terminal emulator on the X11R6 contrib tape.
2290 # (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)
2291 emu|emu native mode, 
2292         mir, msgr, xon, 
2293         colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
2294         acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
2295         bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
2296         clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
2297         cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
2298         cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
2299         cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;, 
2300         dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, 
2301         el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh, 
2302         il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
2303         kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
2304         kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
2305         kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
2306         kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02, 
2307         kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
2308         kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
2309         knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
2310         rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES, 
2311         rs2=\ES\Es0;\Er0;, setb=\Es%i%p1%d;, setf=\Er%i%p1%d;, 
2312         sgr0=\ES, smacs=\0, smir=\EY, smso=\ES\ET, smul=\ES\EV, 
2313         tbc=\Ej, 
2314
2315 ######## MGR
2316 #
2317 # MGR is a Bell Labs window system lighter-weight than X.
2318 # These entries describe MGR's xterm-equivalent. 
2319 # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
2320 #
2321
2322 mgr|Bellcore MGR (non X) window system terminal emulation, 
2323         am, km, 
2324         bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M, 
2325         csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er, 
2326         cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h, 
2327         dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>, 
2328         dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u, 
2329         ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>, 
2330         il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
2331         kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S, 
2332         rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n, 
2333         smul=\E4n, 
2334 mgr-sun|Mgr window with Sun keyboard, 
2335         ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, 
2336         kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z, 
2337         kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, 
2338         kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, 
2339         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2340         kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z, 
2341         kopn=\E[198z, kpp=\E[216z, kund=\E[195z, 
2342         use=mgr, 
2343 mgr-linux|Mgr window with Linux keyboard, 
2344         ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, 
2345         kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~, 
2346         kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, 
2347         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2348         khome=\E[1~, knp=\E[6~, kpp=\E[5~, 
2349         use=mgr, 
2350
2351 ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
2352 #
2353
2354 # Columbus UNIX virtual terminal. This terminal also appears in 
2355 # UNIX 4.0 and successors as line discipline 1 (?), but is 
2356 # undocumented and does not really work quite right.
2357 cbunix|cb unix virtual terminal, 
2358         am, da, db, 
2359         cols#80, lines#24, lm#0, 
2360         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
2361         cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL, 
2362         el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB, 
2363         kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A, 
2364         smso=\Ea^D, smul=\Ea^A, 
2365 # (vremote: removed obsolete ":nl@:" -- esr)
2366 vremote|virtual remote terminal, 
2367         am@, 
2368         cols#79, use=cbunix, 
2369
2370 pty|4bsd pseudo teletype, 
2371         cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
2372         smso=\Ea$, smul=\Ea!, 
2373         use=cbunix, 
2374
2375 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
2376 eterm|gnu emacs term.el terminal emulation, 
2377         am, mir, xenl, 
2378         cols#80, lines#24, 
2379         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
2380         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2381         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2382         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2383         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\\E[J, 
2384         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
2385         il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m, 
2386         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
2387         sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, 
2388         smul=\E[4m, 
2389
2390 # Entries for use by the FSF's `screen' program.  The screen and
2391 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
2392 # come from University of Wisconsin and may be older.
2393 # (screen: added <cnorm> on ANSI model -- esr)
2394
2395 screen|VT 100/ANSI X3.64 virtual terminal, 
2396         am, km, mir, msgr, xenl, 
2397         colors#8, cols#80, it#8, lines#24, pairs#64, 
2398         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2399         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2400         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
2401         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2402         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2403         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
2404         cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2405         dl1=\E[M, ed=\E[J, el=\E[K, enacs=\E(B\E)0, flash=\Eg, 
2406         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
2407         il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
2408         kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, 
2409         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
2410         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2411         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
2412         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l, 
2413         rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7, 
2414         sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=, 
2415         smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
2416         use=ecma+color, 
2417
2418 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
2419         cols#132, use=screen, 
2420
2421 screen2|old VT 100/ANSI X3.64 virtual terminal, 
2422         cols#80, it#8, lines#24, 
2423         cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
2424         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
2425         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2426         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2427         el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, 
2428         il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2429         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
2430         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
2431         nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, 
2432         rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
2433         smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
2434 # (screen3: removed unknown ":xv:LP:G0:" -- esr)
2435 screen3|older VT 100/ANSI X3.64 virtual terminal, 
2436         km, mir, msgr, 
2437         cols#80, it#8, lines#24, 
2438         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
2439         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2440         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2441         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
2442         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2443         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
2444         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
2445         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
2446         kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
2447         rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
2448         sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
2449         smul=\E[4m, tbc=\E[3g, 
2450
2451 #### Pilot Pro Palm-Top
2452 #
2453 # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
2454 pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional, 
2455         am, xenl, 
2456         cols#39, lines#16, 
2457         bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J, 
2458         cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I, 
2459         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
2460         rmso=\EB, smso=\Eb, 
2461
2462 ######## WORKSTATION CONSOLES
2463 #
2464
2465 #### Alpha consoles
2466 #
2467
2468 # This is from the OSF/1 Release 1.0 termcap file
2469 pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation, 
2470         am, xon, 
2471         cols#80, lines#25, 
2472         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2473         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
2474         el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H, 
2475         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
2476         nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
2477
2478 #### Sun consoles
2479 #
2480
2481 # :is1: resets scrolling region in case a previous user had used "tset vt100"
2482 oldsun|Sun Microsystems Workstation console, 
2483         am, km, mir, msgr, 
2484         cols#80, it#8, lines#34, 
2485         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
2486         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
2487         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
2488         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2489         is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2490         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
2491         rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
2492 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
2493 # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
2494 # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
2495 sun-il|Sun Microsystems console with working insert-line, 
2496         am, km, msgr, 
2497         cols#80, lines#34, 
2498         bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2499         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
2500         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
2501         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2502         kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
2503         kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z, 
2504         kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 
2505         kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, 
2506         kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
2507         knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z, 
2508         kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s, 
2509         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
2510         sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t, 
2511 # On a SparcStation 5, <il1>/<il> flake out on the last line.
2512 # Unfortunately, without them the terminal has no way to scroll.
2513 sun-ss5|Sun SparcStation 5 console, 
2514         il@, il1@, use=sun-il, 
2515 # If you are using an SS5, change the sun definition to use sun-ss5.
2516 sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
2517         use=sun-il, 
2518
2519 # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
2520 sun-s|Sun Microsystems Workstation window with status line, 
2521         hs, 
2522         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun, 
2523 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
2524         hs, 
2525         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e, 
2526 sun-48|Sun 48-line window, 
2527         cols#80, lines#48, use=sun, 
2528 sun-34|Sun 34-line window, 
2529         cols#80, lines#34, use=sun, 
2530 sun-24|Sun 24-line window, 
2531         cols#80, lines#24, use=sun, 
2532 sun-17|Sun 17-line window, 
2533         cols#80, lines#17, use=sun, 
2534 sun-12|Sun 12-line window, 
2535         cols#80, lines#12, use=sun, 
2536 sun-1|Sun 1-line window for sysline, 
2537         eslok, hs, 
2538         cols#80, lines#1, 
2539         dsl=^L, fsl=\E[K, tsl=^M, use=sun, 
2540 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
2541         ich1@, rmir@, smir@, 
2542         use=sun, 
2543 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
2544         lines#35, 
2545         rmcup=\E[>4h, smcup=\E[>4l, use=sun, 
2546
2547 #### Iris consoles
2548 #
2549
2550 # (wsiris: this had extension capabilities
2551 #       :HS=\E7F2:HE=\E7F7:\
2552 #       :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
2553 # See the note on Iris extensions near the end of this file.  
2554 # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> & 
2555 # <flash> from BRL -- esr)
2556 wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
2557         am, 
2558         cols#80, it#8, lines#40, 
2559         bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, cuf1=\EC, 
2560         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;, 
2561         dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, 
2562         flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL, 
2563         ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB, 
2564         kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, 
2565         kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI, 
2566         rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P, 
2567         smul=\E7R2\E9P, 
2568
2569 #### NeWS consoles
2570 #
2571 # Console terminal windows under the NeWS (Sun's Display Postscript windowing
2572 # environment).   Note: these have nothing to do with Sony's News workstation
2573 # line.
2574 #
2575
2576 # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
2577 # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
2578 psterm|psterm-basic|NeWS psterm-80x34, 
2579         am, hs, km, ul, 
2580         cols#80, it#8, lines#34, 
2581         blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;, 
2582         cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY, 
2583         dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, 
2584         home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
2585         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr, 
2586         ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^], 
2587         sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu, 
2588         tsl=\EOl, 
2589 psterm-96x48|NeWS psterm 96x48, 
2590         cols#96, lines#48, use=psterm, 
2591 psterm-90x28|NeWS psterm 90x28, 
2592         cols#90, lines#28, use=psterm, 
2593 psterm-80x24|NeWS psterm 80x24, 
2594         cols#80, lines#24, use=psterm, 
2595 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
2596 # some control characters you type will do strange things to the screen.
2597 # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
2598 psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
2599         am, hs, km, ul, 
2600         cols#80, it#8, lines#34, 
2601         blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;, 
2602         cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y, 
2603         dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
2604         il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
2605         kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni, 
2606         rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
2607         smso=^Oo, smul=^Ou, tsl=^Ol, 
2608
2609 #### NeXT Consoles
2610 #
2611 # Use `glasstty' for the Workspace application
2612 #
2613
2614 # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
2615 next|NeXT console, 
2616         am, xt, 
2617         cols#80, it#8, lines#24, 
2618         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2619         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
2620         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
2621         rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m, 
2622 nextshell|NeXT Shell application, 
2623         am, 
2624         cols#80, 
2625         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
2626         kcud1=^J, nel=^M^J, 
2627
2628 ### Sony NEWS workstations
2629 #
2630
2631 # (news-unk: this had :KB=news: -- esr)
2632 news-unk|SONY NEWS vt100 emulator common entry, 
2633         am, xenl, 
2634         cols#80, 
2635         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2636         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
2637         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
2638         ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
2639         if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
2640         is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD, 
2641         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP, 
2642         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
2643         kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM, 
2644         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
2645         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2646 #
2647 # (news-29: this had :TY=ascii: --esr)
2648 news-29, 
2649         lines#29, use=news-unk, 
2650 # (news-29-euc: this had :TY=euc: --esr)
2651 news-29-euc, 
2652         use=news-29, 
2653 # (news-29-sjis: this had :TY=sjis: --esr)
2654 news-29-sjis, 
2655         use=news-29, 
2656 #
2657 # (news-33: this had :TY=ascii: --esr)
2658 news-33, 
2659         lines#33, use=news-unk, 
2660 # (news-33-euc: this had :TY=euc: --esr)
2661 news-33-euc, 
2662         use=news-33, 
2663 # (news-33-sjis: this had :TY=sjis: --esr)
2664 news-33-sjis, 
2665         use=news-33, 
2666 #
2667 # (news-42: this had :TY=ascii: --esr)
2668 news-42, 
2669         lines#42, use=news-unk, 
2670 # (news-42-euc: this had :TY=euc: --esr)
2671 news-42-euc, 
2672         use=news-42, 
2673 # (news-42-sjis: this had :TY=sjis: --esr)
2674 news-42-sjis, 
2675         use=news-42, 
2676 #
2677 #       NEWS-OS old termcap entry 
2678 #
2679 # (news-old-unk: this had :KB=news:TY=sjis: --esr)
2680 news-old-unk|SONY NEWS vt100 emulator common entry, 
2681         am, xenl, 
2682         cols#80, vt#3, 
2683         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
2684         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
2685         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
2686         home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H, 
2687         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
2688         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM, 
2689         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
2690         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2691 #
2692 # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
2693 nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines, 
2694         lines#40, 
2695         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
2696 #
2697 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
2698 nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
2699         
2700         
2701 s, 
2702         lines#42, 
2703         is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk, 
2704 #
2705 # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
2706 nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines, 
2707         lines#40, 
2708         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
2709 #
2710 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
2711 nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines, 
2712         lines#31, 
2713         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
2714 #
2715 # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
2716 # also the alias vt100-bm.
2717 nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines, 
2718         lines#33, 
2719         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk, 
2720 #
2721 # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
2722 nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines, 
2723         lines#31, 
2724         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
2725 #
2726 # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
2727 news28|sony vt100 emulator 28 lines, 
2728         lines#28, 
2729         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk, 
2730 #
2731 # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
2732 news29|news28-a|sony vt100 emulator 29 lines, 
2733         lines#29, 
2734         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk, 
2735 #
2736 # (news511: this had :TY=sjis: --esr)
2737 nwp511|nwp-511|nwp-511 vt100, 
2738         am, xenl, 
2739         cols#80, lines#24, 
2740         clear=\E[;H\E[2J$<20/>, cuf1=\E[C, 
2741         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M, 
2742         ed=\E[J$<30/>, el=\E[K$<3/>, 
2743         flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
2744         il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D, 
2745         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
2746         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H, 
2747         ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
2748         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
2749 # (news517: this had :TY=sjis:. --esr)
2750 nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows, 
2751         eslok, hs, 
2752         cols#80, lines#30, 
2753         dsl=\E[1$~, fsl=\E[0$}, 
2754         is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2755         tsl=\E[1$}\E[;%df, 
2756         use=vt200, 
2757 # (news517-w: this had :TY=sjis:. --esr)
2758 nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows, 
2759         eslok, hs, 
2760         cols#132, lines#50, 
2761         dsl=\E[1$~, fsl=\E[0$}, 
2762         is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
2763         tsl=\E[1$}\E[;%df, 
2764         use=vt200, 
2765
2766 #### Common Desktop Environment
2767 #
2768
2769 # This ships with Sun's CDE in Solaris 2.5
2770 dtterm|CDE desktop terminal, 
2771         am, mir, msgr, xenl, xon, 
2772         colors#8, cols#80, it#8, lines#24, lm#0, pairs#64, 
2773         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2774         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2775         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
2776         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2777         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2778         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2779         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
2780         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2781         flash=\E[?5h$<200>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
2782         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
2783         invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, kbs=^H, 
2784         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2785         kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
2786         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2787         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2788         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
2789         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2790         kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
2791         kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, 
2792         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, 
2793         rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm, 
2794         setaf=\E[%p1%{30}%+%dm, 
2795         sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2796         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
2797         smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
2798
2799 ### Non-Unix Consoles
2800 #
2801
2802 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
2803 # a Unix-style environment used on OS/2.  (Note that the suffix makes some
2804 # names longer than 14 characters, the nominal maximum).
2805 #
2806 # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
2807 ansi-emx|ANSI.SYS color, 
2808         am, bce, eo, mir, msgr, xenl, xon, 
2809         colors#16, cols#80, it#8, lines#25, pairs#64, 
2810         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2811         clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
2812         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
2813         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
2814         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
2815         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
2816         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
2817         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
2818         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m, 
2819         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m, 
2820         rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm, 
2821         setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h, 
2822         smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m, 
2823         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
2824 ansi-color-2-emx|ANSI.SYS color 2, 
2825         am, bce, eo, mir, msgr, xenl, xon, 
2826         colors#16, cols#80, it#8, lines#25, pairs#64, 
2827         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2828         clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
2829         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
2830         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
2831         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
2832         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
2833         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
2834         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
2835         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
2836         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m, 
2837         rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm, 
2838         setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h, 
2839         smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m, 
2840         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
2841 ansi-color-3-emx|ANSI.SYS color 3, 
2842         am, bce, eo, mir, msgr, xenl, xon, 
2843         colors#16, cols#80, it#8, lines#25, pairs#64, 
2844         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2845         clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
2846         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
2847         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
2848         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
2849         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
2850         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
2851         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
2852         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
2853         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m, 
2854         rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm, 
2855         setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h, 
2856         smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m, 
2857         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
2858 mono-emx|stupid monochrome ansi terminal with only one kind of emphasis, 
2859         am, 
2860         cols#80, it#8, lines#24, 
2861         clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
2862         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
2863         ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, 
2864         kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, 
2865         kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, 
2866         kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
2867         sgr0=\E[0m, 
2868
2869 # This entry fits the Windows NT console when the _POSIX_TERM environment
2870 # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
2871 # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
2872 # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
2873 # systems is not, and (surprise!) they match very well.
2874 #
2875 # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
2876 # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
2877 # are the installation instructions a pile of mind-numbing bureaucratese,
2878 # but the termcap entry is actually broken and unusable as given; the :do:
2879 # capability is misspelled "d".
2880 #
2881 # To use this, you need to a bunch of environment variables: 
2882 #
2883 # SET _POSIX_TERM=on
2884 # SET TERM=ansi
2885 # SET TERMCAP=location of termcap file in POSIX file format
2886 # which is case-sensitive.
2887 # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
2888 # SET TMP=//C/TEMP
2889 #
2890 # Important note: setting the TMP environment variable in POSIX style renders
2891 # it incompatible with a lot of other applications, including Visual C++. So
2892 # you should have a separate command window just for vi. All the other
2893 # variables may be permanently set in the Control Panel\System applet. 
2894 #
2895 # You can find out more about the restrictions of this facility at
2896 # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
2897 #
2898 # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
2899 ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode, 
2900         am, bw, msgr, 
2901         cols#80, it#8, lines#25, 
2902         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2903         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
2904         home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V, 
2905         kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m, 
2906         ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m, 
2907
2908 ######## COMMON TERMINAL TYPES
2909 #
2910 # This section describes terminal classes and maker brands that are still
2911 # quite common, but have proprietary command sets not blessed by ANSI.
2912 #
2913
2914 #### Altos
2915 #
2916 # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
2917 # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
2918 # Acer has a web site at http://www.acer.com.
2919 #
2920 # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
2921 # His comments suggest they were shipped with the system.
2922 #
2923
2924 # (altos2: had extension capabilities
2925 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
2926 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
2927 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
2928 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
2929 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
2930 #       :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
2931 #       :HL=^AP\r:SP=\E[i:\
2932 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
2933 #       :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
2934 # Comparison with the k* capabilities makes it obvious that the c* things are
2935 # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
2936 # :sr: was given as a boolean-- esr)
2937 altos2|alt2|altos-2|altos II, 
2938         cols#80, it#8, lines#24, xmc#0, 
2939         clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C, 
2940         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M, 
2941         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
2942         if=/usr/share/tabset/vt100, il1=\E[L, ind=^J, 
2943         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
2944         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D, 
2945         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r, 
2946         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
2947         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
2948         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
2949         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
2950         kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r, 
2951         nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
2952         smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
2953 # (altos3: had extension capabilities
2954 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
2955 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
2956 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
2957 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
2958 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
2959 #       :HL=^AP\r:SP=\E[i:\
2960 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
2961 altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
2962         blink=\E[5p, ri=\EM, sgr0=\E[p, 
2963         use=altos2, 
2964 altos4|alt4|altos-4|altos IV, 
2965         use=wy50, 
2966 # (altos7: had extension capabilities:
2967 #       :GG#0:GI=\EH8:GF=\EH7:\
2968 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
2969 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
2970 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
2971 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
2972 # Comparison with the k* capabilities makes it obvious that the c* things are
2973 # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
2974 # also made this entry relative to adm12 in order to give it an <sgr>. The
2975 # <invis> imported by use=adm+sgr may work, let me know. -- esr)
2976 altos7|alt7|altos VII, 
2977         am, mir, 
2978         cols#80, lines#24, xmc#0, 
2979         acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt, 
2980         clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
2981         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
2982         dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
2983         ind=^J, invis=\EG1, 
2984         is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r, 
2985         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H, 
2986         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r, 
2987         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
2988         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
2989         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
2990         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
2991         kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r, 
2992         knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej, 
2993         rmir=\Er, smir=\Eq, 
2994         use=adm+sgr, 
2995 altos7pc|alt7pc|altos PC VII, 
2996         kend=\ET, use=altos7, 
2997
2998 #### Hewlett-Packard (hp)
2999 #
3000 #       Hewlett-Packard
3001 #       8000 Foothills Blvd 
3002 #       Roseville, CA 95747
3003 #       Vox: 1-(916)-785-4363   (Technical response line for VDTs)
3004 #            1-(800)-633-3600   (General customer support)
3005 #
3006
3007 # Generic HP terminal - this should (hopefully) work on any HP terminal.
3008 hpgeneric|hp|hewlett-packard generic terminal, 
3009         am, da, db, mir, xhp, 
3010         cols#80, lines#24, lm#0, vt#6, 
3011         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3012         cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM, 
3013         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
3014         ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
3015         sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
3016         vpa=\E&a%p1%dY, 
3017
3018 hp110|hewlett-packard model 110 portable, 
3019         lines#16, use=hpgeneric, 
3020
3021 hp+pfk+cr|hp function keys with CR, 
3022         kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
3023         kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
3024
3025 hp+pfk-cr|hp function keys w/o CR, 
3026         kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
3027         kf8=\Ew, 
3028
3029 # The hp2621s use the same keys for the arrows and function keys, 
3030 # but not separate escape sequences. These definitions allow the 
3031 # user to use those keys as arrow keys rather than as function 
3032 # keys.
3033 hp+pfk+arrows|hp alternate arrow definitions, 
3034         kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@, 
3035         kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r, 
3036         kll=\Eq\r, kri=\Es\r, 
3037
3038 hp+arrows|hp arrow definitions, 
3039         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3040         kind=\ES, kll=\EF, kri=\ET, 
3041
3042 # Generic stuff from the HP 262x series
3043 #
3044 hp262x|HP 262x terminals, 
3045         xhp, 
3046         blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES, 
3047         invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3048         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
3049         kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
3050         krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
3051         sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c, 
3052         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
3053
3054 # Note: no <home> on HPs since that homes to top of memory, not screen.
3055 # Due to severe 2621 braindamage, the only way to get the arrow keys to
3056 # transmit anything at all is to turn on the function key labels
3057 # with <smkx>, and even then the user has to hold down shift!
3058 # The default 2621 turns off the labels except when it has to to 
3059 # enable the function keys. If your installation prefers labels 
3060 # on all the time, or off all the time (at the "expense" of the 
3061 # function keys), use 2621-nl or 2621-wl.
3062
3063 # Note: there are newer ROMs for 2621's that allow you to set 
3064 # strap A so the regular arrow keys xmit \EA, etc, as with the 
3065 # 2645. However, even with this strap set, the terminal stops 
3066 # xmitting if you reset it, until you unset and reset the strap!
3067 # Since there is no way to set/unset the strap with an escape 
3068 # sequence, we don't use it in the default.
3069 # If you like, you can use 2621-ba (brain-damaged arrow keys).
3070 hp2621-ba|2621 w/new rom and strap A set, 
3071         rmkx@, smkx@, use=hp+arrows, 
3072         use=hp2621, 
3073
3074 # hp2621 with function labels. Most of the time they are off,
3075 # but inside vi, the function key labels appear. You have to
3076 # hold down shift to get them to xmit.
3077 hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
3078         is2=\E&jA\r, rmkx=\E&jA, 
3079         use=hp2621-fl, 
3080 hp2621-fl|hp 2621, 
3081         xhp@, xon, 
3082         pb#19200, 
3083         cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>, 
3084         ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@, 
3085         sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD, 
3086         use=hp+pfk+cr, use=hpgeneric, 
3087
3088 # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
3089 hp2621p|hp 2621 with printer, 
3090         mc4=\E&p13C, mc5=\E&p11C, use=hp2621, 
3091
3092 hp2621p-a|hp2621p with fn as arrows, 
3093         use=hp+pfk+arrows, use=hp2621p, 
3094
3095 # hp2621 with k45 keyboard
3096 hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard, 
3097         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
3098         khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, 
3099         use=hp2621, 
3100
3101 # 2621 using all 48 lines of memory, only 24 visible at any time.  
3102 hp2621-48|48 line 2621, 
3103         lines#48, 
3104         cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621, 
3105
3106 # 2621 with no labels ever. Also prevents vi delays on escape.
3107 hp2621-nl|hp 2621 with no labels, 
3108         kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl, 
3109
3110 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
3111 # (wrong).
3112 #
3113 hp2621-nt|hp 2621 w/no tabs, 
3114         ht@, use=hp2621, 
3115
3116 # Hp 2624 B with 4 or 10 pages of memory.
3117
3118 # Some assumptions are made with this entry. These settings are 
3119 # NOT set up by the initialization strings.
3120
3121 # Port Configuration
3122 #       RecvPace=Xon/Xoff
3123 #       XmitPace=Xon/Xoff
3124 #       StripNulDel=Yes
3125
3126 # Terminal Configuration
3127 #       InhHndShk=Yes
3128 #       InhDC2=Yes
3129 #       XmitFnctn(A)=No
3130 #       InhEolWrp=No
3131
3132 # Note: the 2624 DOES have a true <home>, believe it or not!
3133
3134 # The 2624 has an "error line" to which messages can be sent. 
3135 # This is CLOSE to what is expected for a "status line". However,
3136 # after a message is sent to the "error line", the next carriage 
3137 # return is EATEN and the "error line" is turned back off again! 
3138 # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
3139
3140 # This entry supports emacs (and any other program that uses raw 
3141 # mode) at 4800 baud and less. I couldn't get the padding right 
3142 # for 9600.
3143 #
3144 # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
3145 hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B, 
3146         da, db, 
3147         lm#96, 
3148         flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp, 
3149
3150 # This hp2626 entry does not use any of the fancy windowing stuff 
3151 # of the 2626.
3152
3153 # Indeed, terminfo does not yet handle such stuff. Since changing 
3154 # any window clears memory, it is probably not possible to use 
3155 # this for screen opt.
3156
3157 # ed is incredibly slow most of the time - I am guessing at the 
3158 # exact padding. Since the terminal uses xoff/xon this is intended 
3159 # only for cost computation, so that the terminal will prefer el 
3160 # or even dl1 which is probably faster!
3161
3162 # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
3163 # extra slow on the last line of the window. 
3164
3165 # The padding probably should be changed.
3166 #
3167 hp2626|hp2626a|hp2626p|hp 2626, 
3168         da, db, 
3169         lm#0, pb#19200, 
3170         ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
3171         is2=\E&j@\r, rin=\E&r%p1%dU, 
3172         use=hp+pfk+cr, use=hp+labels, use=scrhp, 
3173
3174 # This entry is for sysline. It allocates a 23 line window with 
3175 # a 115 line workspace for regular use, and a 1 line window for 
3176 # the status line.
3177
3178 # This assumes port 2 is being used.
3179 # Turn off horizontal line, Create ws #1 with 115 lines,
3180 # Create ws #2 with 1 line, Create window #1 lines 1-23,
3181 # Create window #2 lines 24-24, Attach cursor to workspace #1.
3182 # Note that this clears the tabs so it must be done by tset before
3183 # it sets the tabs.
3184 #
3185 hp2626-s|hp 2626 using only 23 lines, 
3186         eslok, hs, 
3187         lines#23, 
3188         fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
3189         is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
3190         tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, 
3191         use=hp2626, 
3192 # Force terminal back to 24 lines after being 23.
3193 hp2626-ns|hp 2626 using all 24 lines, 
3194         is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626, 
3195 # Various entries useful for small windows on 2626.
3196 hp2626-12|hewlett-packard 2626 12 lines, 
3197         lines#12, use=hp2626, 
3198 hp2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
3199         cols#40, lines#12, use=hp2626, 
3200 hp2626-x40|hewlett-packard 2626 40 columns, 
3201         cols#40, use=hp2626, 
3202 hp2626-12-s|hewlett-packard 2626 11 lines plus status, 
3203         lines#11, use=hp2626-s, 
3204
3205 #
3206 # hp2627 color tubes from University of Wisconsin
3207 #
3208 hp2627a-rev|hp 2627 with reverse video colors, 
3209         cr=^M, cud1=^J, ht=^I, ind=^J, 
3210         is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
3211         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@, 
3212         smul=\E&dD\E&v1S, 
3213         use=hp2621-nl, 
3214 hp2627a|hp 2627 color terminal with no labels, 
3215         cr=^M, cud1=^J, ht=^I, ind=^J, 
3216         is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
3217         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
3218         rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, 
3219         use=hp2621-nl, 
3220 hp2627c|hp 2627 color (cyan) terminal with no labels, 
3221         cr=^M, cud1=^J, ht=^I, ind=^J, 
3222         is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
3223         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3224         use=hp2627a, 
3225
3226 # hp2640a doesn't have the Y cursor addressing feature, and C is 
3227 # memory relative instead of screen relative, as we need.
3228 #
3229 hp2640a|hp 2640a, 
3230         cup@, rmkx@, smkx@, use=hp2645, 
3231
3232 hp2640b|hp2644a|hp 264x series, 
3233         rmkx@, smkx@, use=hp2645, 
3234
3235 # (hp2641a: removed unknown :gu: -- esr)
3236 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry, 
3237         am, da, db, mir, xhp, 
3238         cols#80, lines#24, 
3239         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3240         cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM, 
3241         ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I, 
3242         if=/usr/share/tabset/std, il1=\EL, ind=^J, 
3243         is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3244         rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB, 
3245         vpa=\E&a%p1%2dY, 
3246
3247 # This terminal should be used at 4800 baud or less. It needs padding for
3248 # plain characters at 9600, I guessed at an appropriate cr delay.  It really
3249 # wants ^E/^F handshaking, but that doesn't work well even if you write
3250 # software to support it.
3251 hp2645|hp45|HP 2645 series, 
3252         pb#9600, 
3253         blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED, 
3254         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3255         ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
3256         kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
3257         rmkx=\E&s0A, 
3258         sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c, 
3259         sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, 
3260         use=hpgeneric, 
3261 # You should use this terminal at 4800 baud or less.
3262 hp2648|hp2648a|HP 2648a graphics terminal, 
3263         clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
3264         dch1=\EP$<7>, ip=$<5>, 
3265         use=hp2645, 
3266
3267 # The HP 150 terminal is a fairly vanilla HP terminal, with the 
3268 # clreol standout problem. It also has graphics capabilities and 
3269 # a touch screen, which we don't describe here.
3270 hp150|hewlett packard Model 150, 
3271         use=hp2622, 
3272
3273 # HP 2382a terminals, "the little ones." They don't have any 
3274 # alternate character set support and sending out ^N/^O will 
3275 # leave the screen blank.
3276 hp2382a|hp2382|hewlett packard 2382a, 
3277         da, db, 
3278         lh#1, lm#48, 
3279         acsc@, 
3280         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
3281         rmacs@, 
3282         sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c, 
3283         sgr0=\E&d@, smacs@, 
3284         use=hp+labels, use=scrhp, 
3285
3286 hp2621-a|hp2621a-a|hp2621 with fn as arrows, 
3287         use=hp+pfk+arrows, use=hp2621-fl, 
3288
3289 # newer hewlett packard terminals
3290
3291 newhpkeyboard|generic entry for HP extended keyboard, 
3292         kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3293         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
3294         kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV, 
3295         kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A, 
3296         use=hp+pfk-cr, 
3297
3298 newhp|generic entry for new hewlett packard terminals, 
3299         am, bw, mir, xhp, xon, 
3300         cols#80, lines#24, pb#4800, 
3301         acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x., 
3302         bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
3303         cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
3304         dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
3305         invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J, 
3306         pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
3307         pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
3308         pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
3309         rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
3310         sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;, 
3311         sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
3312         tbc=\E3, 
3313         use=newhpkeyboard, 
3314
3315 memhp|memory relative addressing for new HP ttys, 
3316         vt#6, 
3317         clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, 
3318         cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, 
3319         home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r, 
3320         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp, 
3321
3322 scrhp|screen relative addressing for new HP ttys, 
3323         clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
3324         cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
3325         cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
3326         home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
3327         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp, 
3328
3329 # (hp+labels: added label values from a BRL termcap -- esr)
3330 hp+labels|"standard" label info for new HP ttys, 
3331         lh#2, lw#8, nlab#8, 
3332         lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
3333         pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
3334         rmln=\E&j@, smln=\E&jB, 
3335
3336 hp+printer|"standard" printer info for HP ttys, 
3337         ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C, 
3338
3339
3340 # The new hp2621b is kind of a cross between the old 2621 and the
3341 # new 262x series of machines. It has dip-switched options. 
3342 # The firmware has a bug in it such that if you give it a null 
3343 # length label, the following character is eaten!
3344 hp2621b|hp 2621b with old style keyboard, 
3345         lh#1, lm#48, lw#8, nlab#8, 
3346         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3347         kind=\ET, kll=\EF, kri=\ES, 
3348         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r, 
3349         smln=\E&jB, 
3350         use=hp2621, 
3351
3352 hp2621b-p|hp 2621b with printer, 
3353         use=hp+printer, use=hp2621b, 
3354
3355 # hp2621b - new 2621b with new extended keyboard
3356 # these are closer to the new 26xx series than the other 2621b
3357 hp2621b-kx|hp 2621b with extended keyboard, 
3358         use=newhpkeyboard, use=hp2621b, 
3359
3360 hp2621b-kx-p|hp 2621b with new keyboard & printer, 
3361         use=hp+printer, use=hp2621b-kx, 
3362
3363 # Some assumptions are made in the following entries.
3364 # These settings are NOT set up by the initialization strings.
3365
3366 #    Port Configuration
3367 # RecvPace=Xon/Xoff     XmitPace=Xon/Xoff       StripNulDel=Yes
3368
3369 #    Terminal Configuration
3370 # InhHndShk(G)=Yes      InhDC2(H)=Yes
3371 # XmitFnctn(A)=No               InhEolWrp=No
3372 #
3373
3374 # Hp 2622a & hp2623a display and graphics terminals
3375 #
3376 hp2622|hp2622a|hp 2622, 
3377         da, db, 
3378         lm#0, pb#19200, 
3379         is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp, 
3380
3381 # The 2623 is a 2622 with extra graphics hardware.
3382 hp2623|hp2623a|hp 2623, 
3383         use=hp2622, 
3384
3385 hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
3386         use=hp+printer, use=hp2624, 
3387
3388 # The hewlett packard B can have an optional extra 6 pages of memory.
3389 hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
3390         lm#240, use=hp2624, 
3391
3392 hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
3393         lm#240, use=hp2624b-p, 
3394
3395 # Color manipulations for HP terminals
3396 hp+color|hp with colors, 
3397         ccc, 
3398         colors#16, ncv#17, pairs#7, 
3399         initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI, 
3400         oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
3401         op=\E&v0S, scp=\E&v%p1%dS, 
3402
3403 # <is2> sets the screen to be 80 columns wide
3404 hp2397a|hp2397|hewlett packard 2397A color terminal, 
3405         is2=\E&w6f80X, 
3406         use=memhp, use=hp+labels, use=hp+color, 
3407
3408 #  HP 700/44 Setup parameters:  
3409 # Terminal Mode         HP-PCterm
3410 # Inhibit Auto Wrap     NO
3411 # Status Line           Host Writable
3412 # PC Character Set      YES
3413 # Twenty-Five Line Mode YES
3414 # XON/XOFF              @128 or 64 (sc)
3415 # Keycode Mode          NO   or YES (sc)
3416 # Backspace Key         BS or BS/DEL
3417 #
3418 # <is2>         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
3419 # \E\\? does not turn off keycode mode
3420 # <smsc>        sets alternate start/stop; keycode on
3421 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
3422         am, eo, xenl, xon, 
3423         cols#80, lines#25, 
3424         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
3425         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
3426         cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
3427         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
3428         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
3429         ind=^J, 
3430         is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
3431         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
3432         kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
3433         kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, 
3434         kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~, 
3435         kpp=\E[5~, rmam=\E[?7l, 
3436         rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m, 
3437         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
3438         smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
3439         smul=\E[4m, xoffc=g, xonc=e, 
3440 #
3441 # (hp2392: copied <rmir> here from hpex -- esr)
3442 hp2392|239x series, 
3443         cols#80, 
3444         cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r, 
3445         kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, 
3446         kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, 
3447         rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, 
3448         use=hpsub, 
3449
3450 hpsub|hp terminals -- capability subset, 
3451         am, da, db, mir, xhp, xon, 
3452         lines#24, 
3453         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3454         cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
3455         ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
3456         is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
3457         kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@, 
3458         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, 
3459
3460 # hpex:
3461 #       May be used for most 24 x 80 hp terminals,
3462 # but has no padding added, so may allow runover in some terminals at high 
3463 # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
3464 # hp98x5 terminal emulators or hp98x6 consoles.  
3465 #       Adds xy-cursor addressing, vertical cursor addressing, home, 
3466 # last line, and underline capabilities.
3467 #
3468 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
3469 # moved <rmir> here from hpsub -- esr)
3470 hpex|hp extended capabilites, 
3471         cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H, 
3472         kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ, 
3473         smul=\E&dD, vpa=\E&a%p1%dY, 
3474         use=hpsub, 
3475
3476 # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
3477 hp2|hpex2|hewlett-packard extended capabilities newer version, 
3478         am, da, db, mir, xhp, 
3479         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0, 
3480         bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
3481         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3482         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3483         il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
3484         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3485         ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
3486         kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
3487         kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
3488         krmir=\ER, ktbc=\E3, meml=\El, memu=\Em, 
3489         pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
3490         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
3491         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
3492         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
3493         rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
3494         sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
3495         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
3496         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
3497
3498 # HP 236 console
3499 # From: <ddavis@ic.berkeley.edu>
3500 hp236|hp236 internal terminal emulator, 
3501         am, 
3502         cols#80, lines#24, 
3503         clear=\EF, cnorm=\EDE, cub1=^H, 
3504         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB, 
3505         dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI, 
3506         sgr0=\ECI, smso=\EBI, 
3507
3508 # This works on a hp300 console running Utah 4.3 BSD
3509 # From: Craig Leres <leres@okeeffe.berkeley.edu>
3510 hp300h|HP Catseye console, 
3511         am, da, db, mir, xhp, 
3512         cols#128, lines#51, lm#0, xmc#0, 
3513         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
3514         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3515         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
3516         if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H, 
3517         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3518         rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, 
3519         smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
3520         vpa=\E&a%p1%dY, 
3521 # From: Greg Couch <gregc@ernie.berkeley.edu>
3522 hp9837|hp98720|hp98721|HP 9000/300 workstations, 
3523         am, da, db, mir, xhp, 
3524         cols#128, it#8, lines#46, lm#0, 
3525         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB, 
3526         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3527         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3528         il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED, 
3529         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3530         ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU, 
3531         kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, 
3532         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
3533         tbc=\E3, vpa=\E&a%p1%dY, 
3534 # HP 9845 desktop computer from BRL
3535 # (hp9845: removed unknown capability :gu: -- esr)
3536 hp9845|HP 9845, 
3537         am, da, db, eo, mir, xhp, 
3538         cols#80, lines#21, 
3539         clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, 
3540         dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, 
3541         if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@, 
3542         smir=\EQ, smso=\E&dB, 
3543 # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
3544 # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
3545 # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3546 hp98550|hp98550a|HP 9000 Series 300 color console, 
3547         am, da, db, mir, xhp, 
3548         cols#128, it#8, lines#49, lm#0, 
3549         acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR, 
3550         clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3551         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
3552         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3553         if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds, 
3554         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3555         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
3556         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
3557         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
3558         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, 
3559         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
3560         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ, 
3561         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
3562 # From: Victor Duchovni <vic@fine.princeton.edu>
3563 # (hp700-wy: removed obsolete ":nl=^J:";
3564 # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
3565 hp700-wy|HP700/41 emulating wyse30, 
3566         am, bw, mir, msgr, 
3567         cols#80, it#8, lines#24, xmc#1, 
3568         cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
3569         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3570         dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1, 
3571         if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>, 
3572         is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI, 
3573         kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY, 
3574         kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, 
3575         ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
3576         sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
3577         smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
3578 # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3579 hp70092|hp70092a|hp70092A|HP 700/92, 
3580         am, da, db, xhp, 
3581         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
3582         acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei, 
3583         clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3584         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
3585         dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
3586         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3587         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
3588         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
3589         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
3590         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB, 
3591         ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, 
3592         rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ, 
3593         smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
3594         vpa=\E&a%p1%dY, 
3595
3596 bobcat|sbobcat|HP 9000 model 300 console, 
3597         am, da, db, mir, xhp, 
3598         cols#128, it#8, lines#47, xmc#0, 
3599         cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3600         cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>, 
3601         ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>, 
3602         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
3603         khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, 
3604         rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB, 
3605         smul=\E&dD, vpa=\E&a%dY$<6/>, 
3606 gator-t|HP 9000 model 237 emulating extra-tall AAA, 
3607         lines#94, use=gator, 
3608 gator|HP 9000 model 237 emulating AAA, 
3609         bw, km, mir, ul, 
3610         cols#128, it#8, lines#47, 
3611         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
3612         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, 
3613         dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>, 
3614         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, 
3615         ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
3616         il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3617         rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
3618         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
3619 gator-52|HP 9000 model 237 emulating VT52, 
3620         cols#128, lines#47, use=vt52, 
3621 gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
3622         lines#94, use=gator-52, 
3623
3624 #### Honeywell-Bull
3625 #
3626 # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
3627 #
3628
3629 # Honeywell Bull terminal.  Its cursor and function keys send single
3630 # control characters and it has standout/underline glitch.  Most programs
3631 # do not like these features/bugs.  Visual bell is realized by flashing the
3632 # "keyboard locked" LED.
3633 dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
3634         cols#80, lines#25, 
3635         clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
3636         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
3637         flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y, 
3638         kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J, 
3639 dku7003|Honeywell Bull DKU 7003 all features described, 
3640         msgr, 
3641         xmc#1, 
3642         blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m, 
3643         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
3644         use=dku7003-dumb, 
3645
3646 #### Lear-Siegler (adm)
3647 #
3648 # These guys are long since out of the terminals business, but
3649 # in 1995 many current terminals still have an adm type as one of their
3650 # emulations (usually their stupidest, and usually labeled adm3, though
3651 # these `adm3' emulations normally have adm3a+ capabilities).
3652 #
3653 # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
3654 # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
3655 # was being held to ground would trigger a send of the top line on the screen.
3656 # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
3657 # hanging in the air.
3658 #
3659
3660 adm1a|adm1|lsi adm1a, 
3661         am, 
3662         cols#80, lines#24, 
3663         bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3664         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
3665         ind=^J, 
3666 adm2|lsi adm2, 
3667         am, 
3668         cols#80, lines#24, 
3669         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3670         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3671         dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
3672         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
3673 # (adm3: removed obsolete ":ma=^K^P:" -- esr)
3674 adm3|lsi adm3, 
3675         am, 
3676         cols#80, lines#24, 
3677         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
3678 # The following ADM-3A switch settings are assumed for normal operation:
3679 #       SPACE           U/L_DISP        CLR_SCRN        24_LINE
3680 #       CUR_CTL         LC_EN           AUTO_NL         FDX
3681 # Other switches may be set for operator convenience or communication
3682 # requirements.  I recommend
3683 #       DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
3684 #       ETX_OFF         EOT_OFF
3685 # Most of these terminals required an option ROM to support lower case display.
3686 # Open the case and look at the motherboard; if you see an open 24-pin DIP
3687 # socket, you may be out of luck.
3688 #
3689 # (adm3a: some capabilities merged in from BRl entry -- esr)
3690 adm3a|lsi adm3a, 
3691         am, 
3692         cols#80, lines#24, 
3693         bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3694         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
3695         ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rs1=^N, 
3696 adm3a+|adm3a plus, 
3697         kbs=^H, use=adm3a, 
3698 # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
3699 adm5|lsi adm5, 
3700         xmc#1, 
3701         bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^, 
3702         rmso=\EG, smso=\EG, 
3703         use=adm3a+, 
3704 # A lot of terminals other than adm11s use these.  Wherever you see
3705 # use=adm+sgr with some of its capabilities disabled, try the
3706 # disabled ones.  They may well work but not have been documented or
3707 # expressed in the using entry.  We'd like to cook up an <sgr> but the
3708 # <rmacs>/<smacs> sequences of the using entries vary too much.
3709 adm+sgr|adm style highlight capabilities, 
3710         invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
3711         smso=\EG4, smul=\EG8, 
3712 # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
3713 # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
3714 # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
3715 # be ^Z, according to his entry.
3716 # (adm11: <smul>=\EG4 was obviously erroneous because it also said
3717 # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
3718 adm11|LSI ADM-11, 
3719         am, hs, 
3720         cols#80, lines#24, 
3721         bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, cud1=^J, 
3722         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
3723         dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, kbs=^H, 
3724         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf2=^AA\r, 
3725         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
3726         kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E), 
3727         use=adm+sgr, 
3728 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
3729 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
3730 # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
3731 # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
3732 # via BRL.  That entry asserted <xmc#1>, but I've left that out because 
3733 # neither earlier nor later ADMSs have it -- esr)
3734 adm12|lsi adm12, 
3735         am, mir, 
3736         cols#80, it#8, lines#24, 
3737         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3738         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3739         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
3740         is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1, 
3741         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
3742         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
3743         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0, 
3744         use=adm+sgr, 
3745 # (adm20: removed obsolete ":kn#7:" -- esr)
3746 adm20|lear siegler adm20, 
3747         am, 
3748         cols#80, it#8, lines#24, 
3749         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
3750         cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW, 
3751         dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
3752         kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, 
3753         sgr0=\E(, smso=\E), 
3754 adm21|lear siegler adm21, 
3755         xmc#1, 
3756         bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET, 
3757         ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H, 
3758         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
3759         use=adm+sgr, use=adm3a, 
3760 # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
3761 # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
3762 # removed bogus-looking \200 from before <cup>. -- esr)
3763 adm22|lsi adm22, 
3764         am, 
3765         cols#80, lines#24, 
3766         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3767         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3768         dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
3769         is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0, 
3770         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
3771         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
3772         kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
3773         lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E), 
3774 # ADM 31 DIP Switches
3775 #
3776 # This information comes from two versions of the manual for the
3777 # Lear-Siegler ADM 31.
3778 #
3779 # Main board:
3780 #                  rear of case
3781 #   +-||||-------------------------------------+
3782 #   + S1S2                              ||S    +
3783 #   +                                   ||3    +
3784 #   +                                          +
3785 #   +                                ||S       +
3786 #   +                                ||4       +
3787 #   +                                          +
3788 #   +                                          +
3789 #   +                                          +
3790 #   +                                          +
3791 #   +                                          +
3792 # +-+                                          +-+
3793 # +                                              +
3794 # +                               S5 S6 S7       +   
3795 # +                               == == ==       +
3796 # +----------------------------------------------+
3797 #            front of case (keyboard)
3798 #
3799 #  S1 - Data Rate - Modem
3800 #  S2 - Data Rate - Printer
3801 # ------------------------
3802 # Data Rate   Setting
3803 # -------------------
3804 # 50          0 0 0 0
3805 # 75          1 0 0 0
3806 # 110         0 1 0 0
3807 # 134.5       1 1 0 0
3808 # 150         0 0 1 0
3809 # 300         1 0 1 0
3810 # 600         0 1 1 0
3811 # 1200        1 1 1 0
3812 # 1800        0 0 0 1
3813 # 2000        1 0 0 1
3814 # 2400        0 1 0 1
3815 # 3600        1 1 0 1
3816 # 4800        0 0 1 1
3817 # 7200        1 0 1 1
3818 # 9600        0 1 1 1
3819 # x           1 1 1 1
3820 #
3821 # S3 - Interface/Printer/Attributes
3822 # ---------------------------------
3823 # Printer Busy Control
3824 # sw1   sw2   sw3
3825 # ---------------
3826 # off   off   off   Busy not active, CD disabled
3827 # off   off   on    Busy not active, CD enabled
3828 # off   on    off   Busy active on J5-20, CD disabled
3829 # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
3830 # on    off   on    Busy active on J5-19, CD enabled
3831 #
3832 # sw4   Used in conjuction with S4 for comm interface control - Fact 0
3833 #
3834 # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
3835 #
3836 # sw6   ON enables printer BUSY active LOW - Factory Setting
3837 #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
3838 #
3839 # sw7   ON - steady cursor - Factory Setting
3840 #       OFF - blinking cursor
3841 #
3842 # sw8   ON causes selected attribute character to be displayed
3843 #       OFF causes SPACE to be displayed instead - Factory Setting
3844 #
3845 # S4 - Interface
3846 # --------------
3847 # Modem Interface
3848 # S3    S4    S4    S4    S4
3849 # sw4   sw1   sw2   sw3   sw4
3850 # ---------------------------
3851 # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
3852 #                               Current Loop disabled - Factory Setting
3853 # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
3854 #                               disabled
3855 # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
3856 #                               Current Loop Disabled
3857 #
3858 # sw5   ON disables dot stretching mode - Factory Setting
3859 #       OFF enables dot stretching mode
3860 # sw6   ON enables blanking function
3861 #       OFF enables underline function - Factory Setting
3862 # sw7   ON causes NULLS to be displayed as NULLS
3863 #       OFF causes NULLS to be displayed as SPACES - Factory Setting
3864 #
3865 # S5 - Word Structure
3866 # -------------------
3867 # sw1   ON enables BREAK key - Factory Setting
3868 #       OFF disables BREAK key
3869 # sw2   ON selects 50Hz monitor refresh rate
3870 #       OFF selects 60Hz monitor refresh rate - Factory Setting
3871 #
3872 # Modem Port Selection
3873 # sw3   sw4   sw5
3874 # ---------------
3875 # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
3876 # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
3877 # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
3878 # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
3879 # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
3880 # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
3881 # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
3882 # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
3883 #
3884 # sw6   ON  sends bit 8 a 1 (mark)
3885 #       OFF sends bit 8 as 0 (space) - Factory Setting
3886 # sw7   ON  selects Block Mode
3887 #       OFF selects Conversation Mode - Factory Setting
3888 # sw8   ON  selects Full Duplex operation
3889 #       OFF selects Half Duplex operation - Factory Setting
3890 #
3891 # S6 - Printer
3892 # ------------
3893 # sw1, sw2, sw6, sw7   Reserved - Factory 0
3894 #
3895 # Printer Port Selection
3896 # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
3897 #
3898 # sw8   ON   enables Printer Port
3899 #       OFF disables Printer Port - Factory Setting
3900 #
3901 # S7 - Polling Address
3902 # --------------------
3903 # sw1-7 Establish ASCII character which designates terminal polling address
3904 #       ON  = logic 0
3905 #       OFF = logic 1 - Factory Setting
3906 # sw8   ON   enables Polling Option
3907 #       OFF disables Polling Option - Factory Setting
3908 #
3909 #
3910 # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
3911 #
3912 # This adm31 entry uses underline as the standout mode.
3913 # If the adm31 gives you trouble with standout mode, check the DIP switch in
3914 # position 6, bank @c11, 25% from back end of the circuit board.  Should be
3915 # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
3916 # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
3917 adm31|lsi adm31 with sw6 set for underline mode, 
3918         am, mir, 
3919         cols#80, lines#24, 
3920         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3921         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3922         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0, 
3923         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
3924         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
3925         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0, 
3926         rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1, 
3927 adm31-old|o31|old adm31, 
3928         rmul@, smso=\EG4, smul@, use=adm31, 
3929 # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
3930 adm36|LSI ADM36, 
3931         if=/usr/lib/tabset/vt100, 
3932         is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, use=vt100, 
3933 # (adm42: removed obsolete ":ma=^K^P:" -- esr)
3934 adm42|lsi adm42, 
3935         am, 
3936         cols#80, lines#24, 
3937         bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3938         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
3939         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I, 
3940         il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J, 
3941         kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@, 
3942         smir=\Eq, smul@, 
3943         use=adm+sgr, 
3944 # The following termcap for the Lear Siegler ADM-42 leaves the 
3945 # "system line" at the bottom of the screen blank (for those who 
3946 # find it distracting otherwise)
3947 adm42-ns|lsi adm-42 with no system line, 
3948         cbt=\EI\EF \011, clear=\E;\EF \011, 
3949         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
3950         dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
3951         el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
3952         smir=\Eq\EF \011, 
3953         use=adm42, 
3954 # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
3955 # The insert mode of this terminal is commented out because it's broken for our
3956 # purposes in that it will shift the position of every character on the page,
3957 # not just the cursor line!
3958 # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
3959 adm1178|1178|lsi adm1178, 
3960         am, 
3961         cols#80, lines#24, xmc#1, 
3962         bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
3963         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
3964         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, 
3965         home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H, 
3966         kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0, 
3967         sgr0=\E), smso=\EG4, smul=\EG1, 
3968
3969 #### Prime
3970 #
3971 # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
3972 # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
3973 #
3974
3975 # Standout mode is dim reverse-video.
3976 pt100|pt200|wren|fenix|prime pt100/pt200, 
3977         am, bw, mir, msgr, 
3978         cols#80, it#8, lines#24, 
3979         cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
3980         cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
3981         cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, cuu1=\EM, 
3982         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, ed=\E[J\E[r, 
3983         el=\E[K\E[t, flash=\E$$<200/>\E$P, home=\E$B, ht=^I, 
3984         il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
3985         kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, rmcup=, 
3986         rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
3987         smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
3988         smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
3989 pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
3990         cols#132, 
3991         cup=\E[%i%p1%d;%p2%dH, use=pt100, 
3992 pt250|Prime PT250, 
3993         rmso@, smso@, use=pt100, 
3994 pt250w|Prime PT250 in 132-column mode, 
3995         rmso@, smso@, use=pt100w, 
3996
3997 #### Qume (qvt)
3998 #
3999 #       Qume, Inc.
4000 #       3475-A North 1st Street
4001 #       San Jose CA 95134
4002 #       Vox: (800)-457-4447
4003 #       Fax: (408)-473-1510
4004 #       Net: josed@techsupp.wyse.com (Jose D'Oliveira)
4005 #
4006 # Qume was bought by Wyse, but still (as of early 1995) has its own support
4007 # group and production division.
4008 #
4009 # Discontinued Qume models:
4010 #
4011 # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
4012 # built to replace them, and a qvt119+ which was a 101+ with available wide
4013 # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
4014 # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
4015 # ANSI-compatible terminals with the qvt323 and qvt61.
4016 #
4017 # Current Qume models (as of February 1995):
4018 #
4019 # All current Qume terminals have ANSI-compatible operation modes.
4020 # Qume is still producing the qvt62, which features emulations for other
4021 # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
4022 # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
4023 # with many emulations including Wyse370, Wyse 325, etc.  Their newest
4024 # model is the qvt520, which is vt420-compatible.
4025 #
4026 # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
4027
4028 qvt101|qvt108|qume qvt 101 and QVT 108, 
4029         xmc#1, use=qvt101+, 
4030
4031 # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
4032 # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
4033 # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
4034 # What seems to be going on here is that this entry was designed so that
4035 # the normal highlight is bold and standout is dim plus something else
4036 # (reverse-video maybe?  But then, are there two <rev> sequences?)  
4037 qvt101+|qvt101p|qume qvt 101 PLUS product, 
4038         am, bw, hs, ul, 
4039         cols#80, lines#24, xmc#0, 
4040         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J, 
4041         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4042         dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
4043         flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
4044         ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H, 
4045         kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET, 
4046         kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
4047         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
4048         khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(, 
4049         smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, 
4050         use=adm+sgr, 
4051 qvt102|qume qvt 102, 
4052         cnorm=\E., use=qvt101, 
4053 # (qvt103: added <rmam>/<smam> based on init string -- esr)
4054 qvt103|qume qvt 103, 
4055         am, xenl, xon, 
4056         cols#80, it#8, lines#24, vt#3, 
4057         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
4058         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
4059         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
4060         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
4061         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
4062         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
4063         hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
4064         kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
4065         rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
4066         rmso=\E[m$<2>, rmul=\E[m$<2>, 
4067         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
4068         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
4069         sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
4070         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
4071 qvt103-w|qume qvt103 132 cols, 
4072         cols#132, lines#24, 
4073         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103, 
4074 qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
4075         am, hs, mir, msgr, 
4076         cols#80, lines#24, xmc#0, 
4077         bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H, 
4078         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
4079         cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, 
4080         el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I, 
4081         hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX, 
4082         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
4083         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4084         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4085         mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8, 
4086         tbc=\E3, tsl=\Eg\Ef, 
4087         use=adm+sgr, 
4088 qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
4089         lines#25, use=qvt119+, 
4090 qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
4091         cols#132, 
4092         is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+, 
4093 qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
4094         lines#25, use=qvt119+, 
4095 qvt203|qvt203+|qume qvt 203 Plus, 
4096         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
4097         ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
4098         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
4099         kf9=\E[28~, rmir=\E[4l, smir=\E[4h, 
4100         use=qvt103, 
4101 qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
4102         cols#132, lines#24, 
4103         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203, 
4104 #
4105 #       Since a command is present for enabling 25 data lines,
4106 #       a specific terminfo entry may be generated for the 203.
4107 #       If one is desired for the QVT 119 PLUS then 25 lines must
4108 #       be selected in the status line (setup line 9).
4109 #
4110 qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
4111         cols#80, lines#25, 
4112         is2=\E[=40h\E[?3l, use=qvt203, 
4113 qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
4114         cols#132, lines#25, 
4115         rs2=\E[?3h\E[=40h, use=qvt203, 
4116
4117 #### Televideo (tvi)
4118 #
4119 #       TeleVideo
4120 #       550 East Brokaw Road
4121 #       PO Box 49048    95161
4122 #       San Jose CA 95112
4123 #       Vox: (408)-954-8333
4124 #       Fax: (408)-954-0623
4125 #
4126 #
4127 # There are some tvi terminals that require incredible amounts of padding and
4128 # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
4129 # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
4130 #
4131 # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
4132 # Televideo terminals are ANSI and PC-ANSI compatible.
4133
4134 tvi803|televideo 803, 
4135         clear=\E*$<10>, use=tvi950, 
4136
4137 # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
4138 # Switch settings are:
4139
4140 # S1  1 2 3 4
4141 #     D D D D  9600
4142 #     D D D U    50
4143 #     D D U D    75
4144 #     D D U U   110
4145 #     D U D D   135
4146 #     D U D U   150
4147 #     D U U D   300
4148 #     D U U U   600
4149 #     U D D D  1200
4150 #     U D D U  1800
4151 #     U D U D  2400
4152 #     U D U U  3600
4153 #     U U D D  4800
4154 #     U U D U  7200
4155 #     U U U D  9600
4156 #     U U U U 19200
4157
4158 # S1  5 6 7 8
4159 #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
4160 #     U D X U  7N2
4161 #     U U D D  7O1
4162 #     U U D U  7O2
4163 #     U U U D  7E1
4164 #     U U U U  7E2
4165 #     D D X D  8N1
4166 #     D D X U  8N2
4167 #     D U D D  8O1
4168 #     D U U U  8E2
4169
4170 # S1  9  Autowrap
4171 #     U  on
4172 #     D  off
4173
4174 # S1 10  CR/LF
4175 #     U  do CR/LF when CR received
4176 #     D  do CR when CR received
4177
4178 # S2  1  Mode
4179 #     U  block
4180 #     D  conversational
4181
4182 # S2  2  Duplex
4183 #     U  half
4184 #     D  full
4185
4186 # S2  3  Hertz
4187 #     U  50
4188 #     D  60
4189
4190 # S2  4  Edit mode
4191 #     U  local
4192 #     D  duplex
4193
4194 # S2  5  Cursor type
4195 #     U  underline
4196 #     D  block
4197
4198 # S2  6  Cursor down key
4199 #     U  send ^J
4200 #     D  send ^V
4201
4202 # S2  7  Screen colour
4203 #     U  green on black
4204 #     D  black on green
4205
4206 # S2  8  DSR status (pin 6)
4207 #     U  disconnected
4208 #     D  connected
4209
4210 # S2  9  DCD status (pin 8)
4211 #     U  disconnected
4212 #     D  duplex
4213
4214 # S2 10  DTR status (pin 20)
4215 #     U  disconnected
4216 #     D  duplex
4217 # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
4218 # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
4219 tvi910|televideo model 910, 
4220         am, msgr, 
4221         cols#80, it#8, lines#24, xmc#1, 
4222         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4223         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
4224         home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I, 
4225         if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H, 
4226         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
4227         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4228         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4229         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
4230 # From: Alan R. Rogers <rogers%albany@csnet-relay>
4231 # as subsequently hacked over by someone at SCO
4232 # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
4233 #
4234 # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
4235 #
4236 # S1  1 2 3 4:
4237 #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
4238 #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
4239 #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
4240 #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
4241 #
4242 # S1  5 6 7 8:
4243 #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
4244 #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
4245 #     D U D D  8O1     D U U U  8E2
4246
4247 # S1  9  Autowrap            (U = on, D = off)
4248 # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
4249 # S2  1  Mode                (U = block, D = conversational)
4250 # S2  2  Duplex              (U =  half, D = full)
4251 # S2  3  Hertz               (U = 50, D = 60)
4252 # S2  4  Edit mode           (U = local, D = duplex)
4253 # S2  5  Cursor type         (U = underline, D = block)
4254 # S2  6  Cursor down key     (U = send ^J, D = send ^V)
4255 # S2  7  Screen colour       (U = green on black, D = black on green)
4256 # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
4257 # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
4258 # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
4259 #
4260 tvi910+|televideo 910+, 
4261         dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>, 
4262         kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
4263         kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, 
4264         ll=\E=7\s, 
4265         use=tvi910, 
4266
4267 # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
4268 # <khome> from BRL entry -- esr)
4269 tvi912|tvi914|tvi920|old televideo 912/914/920, 
4270         am, msgr, 
4271         cols#80, it#8, lines#24, xmc#1, 
4272         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4273         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4274         dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^, 
4275         ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
4276         il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
4277         kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
4278         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
4279         kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
4280         tbc=\E3, 
4281 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
4282 # The 920 has this plus real function keys that xmit different things.
4283 # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
4284 tvi912c|tvi912b|new televideo 912, 
4285         dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912, 
4286 # set to page 1 when entering curses application (\E-17 )
4287 # reset to page 0 when exiting curses application (\E-07 )
4288 tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages, 
4289         rmcup=\E-07\s, smcup=\E-17\s, use=tvi912, 
4290 # We got some new tvi912c terminals that act really weird on the regular 
4291 # termcap, so one of our gurus worked this up. Seems that cursor 
4292 # addressing is broken.
4293 tvi912cc|tvi912 at cowell college, 
4294         cup@, use=tvi912c, 
4295
4296 # Here are the switch settings for the tvi920c:
4297 #
4298 # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
4299 # 2: 9600       3: 4800         4: 2400         5: 1200
4300 # 6:  600       7:  300         8:  150         9:   75
4301 # 10: 110
4302 #
4303 # S2 UART/Terminal options:
4304 #               Up                      Down
4305 # 1:            Not used                Not allowed
4306 # 2:    Alternate character set   Standard character set
4307 # 3:        Full duplex             Half duplex
4308 # 4:        50 Hz refresh           60 Hz refresh
4309 # 5:          No parity              Send parity
4310 # 6:         2 stop bits             1 stop bit
4311 # 7:         8 data bits             7 data bits
4312 # 8:            Not used                Not allowed on Rev E or lower
4313 # 9:         Even parity             Odd parity
4314 # 10:       Steady cursor           Blinking cursor
4315 #       (On Rev E or lower, use W25 instead of switch 10.)
4316
4317 # S5 UART/Terminal options:
4318 #               Open                    Closed
4319 # 1:    P3-6 Not connected      DSR received on P3-6
4320 # 2:    P3-8 Not connected      DCD received on P3-8
4321 #
4322 # 3 Open, 4 Open:               P3-20 Not connected
4323 # 3 Open, 4 Closed:     DTR on when terminal is on
4324 # 3 Closed, 4 Open:     DTR is connected to RTS
4325 # 3 Closed, 4 Closed:   Not allowed
4326 #
4327 # 5 Closed:     HDX printer (hardware control) Rev. K with extension port off,
4328 #               all data transmitted out of the modem port (P3) will also be
4329 #               transmitted out of the printer port (P4).
4330 #
4331 # 6 Open, 7 Open:               Not allowed
4332 # 6 Open, 7 Closed:     20ma current loop input
4333 # 6 Closed, 7 Open:     RS232 input
4334 # 6 Closed, 7 Closed:   Not allowed
4335 #
4336 # Jumper options:
4337 # If the jumper is installed, the effect will occur (the next time the terminal
4338 # is switched on).
4339 #
4340 # S4/W31:       Enables automatic LF upon receipt of CR from
4341 #               remote or keyboard.
4342 # S4/W32:       Enables transmission of EOT at the end of Send.  If not 
4343 #               installed, a carriage return is sent.
4344 # S4/W33:       Disables automatic carriage return in column 80.
4345 # S4/W34:       Selects Page Print Mode as initial condition.  If not 
4346 #               installed, Extension Mode is selected.
4347 #
4348 tvi920b|tvi920c|new televideo 920, 
4349         dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r, 
4350         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4351         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
4352         use=tvi912, 
4353
4354 # Televideo 921 and variants
4355 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
4356 # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
4357 # also added empty <acsc> to suppress tic warning -- esr)
4358 tvi921|televideo model 921 with sysline same as page & real vi function, 
4359         am, hs, xenl, xhp, 
4360         cols#80, lines#24, xmc#0, 
4361         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
4362         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
4363         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
4364         el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
4365         if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@, 
4366         is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H, 
4367         kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, 
4368         ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%, 
4369         rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, 
4370         use=adm+sgr, 
4371 # without the beeper
4372 # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
4373 # also added empty <acsc> to suppress tic warning -- esr)
4374 tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper, 
4375         am, hs, xenl, xhp, 
4376         cols#80, lines#24, xmc#0, 
4377         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
4378         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
4379         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
4380         el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I, 
4381         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
4382         invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
4383         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
4384         kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
4385         nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0, 
4386         use=adm+sgr, 
4387 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
4388 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
4389         dl1=\ER$<2*/>, il1=\EE$<2*/>, 
4390         is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
4391         kil1=\EE$<2*/>, 
4392         use=tvi92B, 
4393
4394 # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
4395 # in from a BSD termcap file because it looks like they do something the
4396 # old ones skip -- esr)
4397 tvi924|televideo tvi924, 
4398         am, bw, hs, in, mir, msgr, xenl, xon, 
4399         cols#80, it#8, lines#24, wsl#80, xmc#0, 
4400         bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0, 
4401         cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c, 
4402         cub1=^H, cud1=^V, cuf1=^L, 
4403         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1, 
4404         dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et, 
4405         flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1, 
4406         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
4407         invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, 
4408         kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
4409         kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r, 
4410         kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r, 
4411         kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, 
4412         kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
4413         kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
4414         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
4415         pfkey=\E|%p1%'1'%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr, 
4416
4417 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
4418 #
4419 # Here are the settings for the external (baud) switches (S1):
4420 #
4421 #             Position          Baud
4422 # 7     8       9       10              [Printer]
4423 # 1     2       3       4               [Main RS232]
4424 # -----------------------------------------------------
4425 # D     D       D       D       9600
4426 # D     D       D       U         50
4427 # D     D       U       D         75
4428 # D     D       U       U        110
4429 # D     U       D       D        135
4430 # D     U       D       U        150
4431 # D     U       U       D        300
4432 # D     U       U       U        600
4433 # U     D       D       D       1200
4434 # U     D       D       U       1800
4435 # U     D       U       D       2400
4436 # U     D       U       U       3600
4437 # U     U       D       D       4800
4438 # U     U       D       U       7200
4439 # U     U       U       D       9600
4440 # U     U       U       U       19200
4441
4442
4443 # Settings for word length and stop-bits (S1)
4444 #
4445 #  Position     Description
4446 # 5     6       
4447 # ---------------------------
4448 # U     -       7-bit word
4449 # D     -       8-bit word
4450 # -     U       2 stop bits
4451 # -     D       1 stop bit
4452
4453
4454 # S2 (external) settings
4455 #
4456 # Position      Up      Dn      Description
4457 # --------------------------------------------
4458 # 1             X               Local edit
4459 #                       X       Duplex edit (transmit editing keys)
4460 # --------------------------------------------
4461 # 2             X               912/920 emulation
4462 #                       X       925
4463 # --------------------------------------------
4464 # 3                     X
4465 # 4                     X       No parity
4466 # 5                     X       
4467 # --------------------------------------------
4468 # 3                     X
4469 # 4                     X       Odd parity
4470 # 5             X       
4471 # --------------------------------------------
4472 # 3                     X
4473 # 4             X               Even parity
4474 # 5             X       
4475 # --------------------------------------------
4476 # 3             X       
4477 # 4                     X       Mark parity
4478 # 5             X               
4479 # --------------------------------------------
4480 # 3             X
4481 # 4             X               Space parity
4482 # 5             X
4483 # --------------------------------------------
4484 # 6             X               White on black display
4485 #                       X       Black on white display
4486 # --------------------------------------------
4487 # 7                     X       Half Duplex
4488 # 8                     X
4489 # --------------------------------------------
4490 # 7             X               Full Duplex
4491 # 8                     X       
4492 # --------------------------------------------
4493 # 7                     X       Block mode
4494 # 8             X       
4495 # --------------------------------------------
4496 # 9                     X       50 Hz
4497 #               X               60 Hz
4498 # --------------------------------------------
4499 # 10            X               CR/LF (Auto LF)
4500 #                       X       CR only
4501
4502 # S3 (internal switch) settings:
4503
4504 # Position      Up      Dn      Description
4505 # --------------------------------------------
4506 # 1             X               Keyclick off 
4507 #                       X       Keyclick on
4508 # --------------------------------------------
4509 # 2                     X       English
4510 # 3                     X       
4511 # --------------------------------------------
4512 # 2                     X       German
4513 # 3             X               
4514 # --------------------------------------------
4515 # 2             X               French
4516 # 3                     X       
4517 # --------------------------------------------
4518 # 2             X               Spanish
4519 # 3             X       
4520 # --------------------------------------------
4521 # 4                     X       Blinking block cursor
4522 # 5                     X       
4523 # --------------------------------------------
4524 # 4                     X       Blinking underline cursor
4525 # 5             X               
4526 # --------------------------------------------
4527 # 4             X               Steady block cursor
4528 # 5                     X       
4529 # --------------------------------------------
4530 # 4             X               Steady underline cursor
4531 # 5             X       
4532 # --------------------------------------------
4533 # 6             X               Screen blanking timer (ON)
4534 #                       X       Screen blanking timer (OFF)
4535 # --------------------------------------------
4536 # 7             X               Page attributes
4537 #                       X       Line attributes
4538 # --------------------------------------------
4539 # 8             X               DCD disconnected
4540 #                       X       DCD connected
4541 # --------------------------------------------
4542 # 9             X               DSR disconnected
4543 #                       X       DSR connected
4544 # --------------------------------------------
4545 # 10            X               DTR Disconnected
4546 #                       X       DTR connected
4547 # --------------------------------------------
4548 #
4549 # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
4550 tvi925|televideo 925, 
4551         am, bw, hs, ul, 
4552         cols#80, lines#24, xmc#1, 
4553         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V, 
4554         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4555         cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET, 
4556         flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1, 
4557         ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z, 
4558         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
4559         ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
4560         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
4561         kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3, 
4562         tsl=\Eh\Ef, 
4563         use=adm+sgr, 
4564 # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
4565 # to avoid "magic cookie" standout glitch:
4566 tvi925-hi|TeleVideo Model 925 with half intensity standout mode, 
4567         xmc@, 
4568         kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925, 
4569
4570 # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
4571 # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
4572 # for additional capabilities, 
4573 # The following tvi descriptions from B:pjphar and virus!mike
4574 # is for all 950s.  It sets the following attributes:
4575 # full duplex (\EDF)            write protect off (\E()
4576 # conversation mode (\EC)       graphics mode off (\E%)
4577 # white on black (\Ed)          auto page flip off (\Ew)
4578 # turn off status line (\Eg)    clear status line (\Ef\r)
4579 # normal video (\E0)            monitor mode off (\EX or \Eu)
4580 # edit mode (\Er)               load blank char to space (\Ee\040)
4581 # line edit mode (\EO)          enable buffer control (^O)
4582 # protect mode off (\E\047)     duplex edit keys (\El)
4583 # program unshifted send key to send line all (\E016)
4584 # program shifted send key to send line unprotected (\E004)
4585 # set the following to nulls:
4586 #       field delimiter (\Ex0\200\200)
4587 #       line delimiter (\Ex1\200\200)
4588 #       start-protected field delimiter (\Ex2\200\200)
4589 #       end-protected field delimiter (\Ex3\200\200)
4590 # set end of text delimiter to carriage return/null (\Ex4\r\200)
4591
4592 #                     TVI 950 Switch Setting Reference Charts
4593
4594 #                                     TABLE 1:
4595
4596 #      S1     1     2     3     4     5     6     7     8     9    10
4597 #          +-----------------------+-----+-----+-----------------------+
4598 #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
4599 #          |                       |Bits |Bits |                       |
4600 #   +------+-----------------------+-----+-----+-----------------------+
4601 #   |  Up  |        See            |  7  |  2  |        See            |
4602 #   +------+-----------------------+-----+-----+-----------------------+
4603 #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
4604 #   +------+-----------------------+-----+-----+-----------------------+
4605
4606
4607 #      S2     1     2     3     4     5     6     7     8     9    10
4608 #          +-----+-----+-----------------+-----+-----------+-----+-----+
4609 #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
4610 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4611 #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
4612 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4613 #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
4614 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
4615 #  
4616 #                                    TABLE 2:
4617
4618 #             +-----------+-----+-----+-----+-----+-----------+
4619 #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
4620 #             +-----------+-----+-----+-----+-----+           |
4621 #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
4622 #             +-----------+-----+-----+-----+-----+-----------+
4623 #                         |  D  |  D  |  D  |  D  |   9600    |
4624 #                         |  U  |  D  |  D  |  D  |     50    |
4625 #                         |  D  |  U  |  D  |  D  |     75    |
4626 #                         |  U  |  U  |  D  |  D  |    110    |
4627 #                         |  D  |  D  |  U  |  D  |    135    |
4628 #                         |  U  |  D  |  U  |  D  |    150    |
4629 #                         |  D  |  U  |  U  |  D  |    300    |
4630 #                         |  U  |  U  |  U  |  D  |    600    |
4631 #                         |  D  |  D  |  D  |  U  |   1200    |
4632 #                         |  U  |  D  |  D  |  U  |   1800    |
4633 #                         |  D  |  U  |  D  |  U  |   2400    |
4634 #                         |  U  |  U  |  D  |  U  |   3600    |
4635 #                         |  D  |  D  |  U  |  U  |   4800    |
4636 #                         |  U  |  D  |  U  |  U  |   7200    |
4637 #                         |  D  |  U  |  U  |  U  |   9600    |
4638 #                         |  U  |  U  |  U  |  U  |  19200    |
4639 #                         +-----+-----+-----+-----+-----------+
4640
4641 #                                    TABLE 3:
4642 #                         +-----+-----+-----+-----------+
4643 #                         |  3  |  4  |  5  |   Parity  |
4644 #                         +-----+-----+-----+-----------+
4645 #                         |  X  |  X  |  D  |    None   |
4646 #                         |  D  |  D  |  U  |     Odd   |
4647 #                         |  D  |  U  |  U  |    Even   |
4648 #                         |  U  |  D  |  U  |    Mark   |
4649 #                         |  U  |  U  |  U  |   Space   |
4650 #                         +-----+-----+-----+-----------+
4651 #                                 X = don't care
4652
4653 #                                     CHART:
4654 #                         +-----+-----+-----------------+
4655 #                         |  7  |  8  | Communication   |
4656 #                         +-----+-----+-----------------+
4657 #                         |  D  |  D  |  Half Duplex    |
4658 #                         |  D  |  U  |  Full Duplex    |
4659 #                         |  U  |  D  |     Block       |
4660 #                         |  U  |  U  |     Local       |
4661 #                         +-----+-----+-----------------+
4662
4663 # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
4664 # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
4665 # should be present and all tvi native modes use the same string for this.
4666 # Finally, note that BSD has cud1=^V. -- esr) 
4667 tvi950|televideo 950, 
4668         am, hs, mir, msgr, xenl, xon, 
4669         cols#80, it#8, lines#24, xmc#1, 
4670         acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*, 
4671         cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4672         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4673         dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
4674         fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
4675         invis@, 
4676         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r, 
4677         kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
4678         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
4679         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4680         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4681         kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X, 
4682         rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
4683         use=adm+sgr, 
4684 #
4685 # is for 950 with two pages adds the following:
4686 #       set 48 line page (\E\\2)
4687 #       place cursor at page 0, line 24, column 1 (\E-07 )
4688 #       set local (no send) edit keys (\Ek)
4689 #
4690 # two page 950 adds the following:
4691 #       when entering ex, set 24 line page (\E\\1)
4692 #       when exiting ex, reset 48 line page (\E\\2)
4693 #                        place cursor at 0,24,1 (\E-07 )
4694 #       set duplex (send) edit keys (\El) when entering vi
4695 #       set local (no send) edit keys (\Ek) when exiting vi
4696 #
4697 tvi950-2p|televideo950 w/2 pages, 
4698         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011, 
4699         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
4700         smkx=\El, 
4701         use=tvi950, 
4702 #
4703 # is for 950 with four pages adds the following:
4704 #       set 96 line page (\E\\3)
4705 #       place cursor at page 0, line 24, column 1 (\E-07 )
4706 #
4707 # four page 950 adds the following:
4708 #       when entering ex, set 24 line page (\E\\1)
4709 #       when exiting ex, reset 96 line page (\E\\3)
4710 #                        place cursor at 0,24,1 (\E-07 )
4711 #
4712 tvi950-4p|televideo950 w/4 pages, 
4713         is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011, 
4714         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
4715         smkx=\El, 
4716         use=tvi950, 
4717 #
4718 # <is2> for reverse video 950 changes the following:
4719 #       set reverse video (\Ed)
4720 #
4721 # set vb accordingly (\Ed ...delay... \Eb)
4722 #
4723 tvi950-rv|televideo950 rev video, 
4724         flash=\Ed$<200/>\Eb, 
4725         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, use=tvi950, 
4726
4727 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
4728 tvi950-rv-2p|televideo950 rev video w/2 pages, 
4729         flash=\Ed$<200/>\Eb, 
4730         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s, 
4731         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
4732         smkx=\El, 
4733         use=tvi950, 
4734
4735 # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
4736 tvi950-rv-4p|televideo950 rev video w/4 pages, 
4737         flash=\Ed$<200/>\Eb, 
4738         is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s, 
4739         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
4740         smkx=\El, 
4741         use=tvi950, 
4742 # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
4743 # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
4744 # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
4745 # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
4746 # the :ko: string had :cl: in it, which means that one of the original
4747 # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
4748 # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
4749 # ko implies -- esr)
4750 # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
4751 # also work.
4752 tvi955|televideo 955, 
4753         mc5i, msgr@, 
4754         it#8, xmc@, 
4755         acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
4756         civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH, 
4757         cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1, 
4758         is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
4759         knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%, 
4760         rmam=\E[=7l, rmxon=^N, 
4761         rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r, 
4762         sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
4763         use=tvi950, 
4764 tvi955-w|955-w|televideo955 w/132 cols, 
4765         cols#132, 
4766         is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955, 
4767 # use half-intensity as normal mode, full intensity as <bold>
4768 tvi955-hb|955-hb|televideo955 half-bright, 
4769         bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, 
4770         sgr0=\EG0\E[=5h, 
4771         use=tvi955, 
4772 # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
4773 # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
4774 # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
4775 # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
4776 # it does to the function keys.  I deduced <rmam>/<smam>.
4777 # also added empty <acsc> to suppress tic warning,  -- esr)
4778 tvi970|televideo 970, 
4779         am, da, db, mir, msgr, 
4780         cols#80, it#8, lines#24, 
4781         acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
4782         cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
4783         cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
4784         ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H, 
4785         hpa=\E[%i%p1%dG, ht=^I, il1=\E[L, 
4786         is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
4787         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
4788         kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, 
4789         kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, 
4790         rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
4791         sgr0=\E[m, smacs=\E(B, smam=\E[?7l, 
4792         smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
4793         smul=\E[4m, vpa=\E[%i%p1%dd, 
4794 tvi970-vb|televideo 970 with visual bell, 
4795         flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, use=tvi970, 
4796 tvi970-2p|televideo 970 with using 2 pages of memory, 
4797         rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
4798         use=tvi970, 
4799 # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
4800 # per line (rather than 40), Esc K chooses the normal character set.  Not sure
4801 # padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
4802 # <smul> strings are klutzy, but at least use no screen space.
4803 # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
4804 # its absence means <smam>=\Ev isn't save to use. -- esr)
4805 # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
4806 # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
4807 # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
4808 tvipt|televideo personal terminal, 
4809         am, 
4810         cols#80, lines#24, 
4811         cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
4812         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>, 
4813         ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt, 
4814         il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
4815         kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R, 
4816         rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH, 
4817 # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
4818 tvi9065|televideo 9065, 
4819         am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
4820         cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
4821         wnum#0, wsl#30, 
4822         acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G, 
4823         blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
4824         cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
4825         cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
4826         cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu=\E[%p1%dA, cuu1=^K, 
4827         cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
4828         dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
4829         el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
4830         ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
4831         il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1, 
4832         ip=$<3>, 
4833         is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er, 
4834         is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s, 
4835         kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
4836         kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
4837         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4838         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
4839         mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
4840         pfkey=\E|%p1%'0'%+%c3%p2%s\031, 
4841         pfloc=\E|%p1%'0'%+%c2%p2%s\031, 
4842         pfx=\E|%p1%'0'%+%c1%p2%s\031, 
4843         pln=\E_%p1%'?'%+%c%p2%s\r, prot=\E&, 
4844         rep=\E[%p2%db%p1%c, rev=\EG4, 
4845         rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
4846         rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
4847         rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
4848         rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
4849         rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1, 
4850         rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0, 
4851         sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;, 
4852         sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
4853         smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
4854         tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 
4855
4856 #### Visual (vi)
4857 #
4858 # In September 1993, Visual Technology of Westboro, Massachusetts,
4859 # merged with White Pine Software of Nashua, New Hampshire.
4860 #
4861 # White Pine Software may be contacted at +1 603/886-9050.
4862 # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
4863 #
4864
4865 # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
4866 # Recently I hacked together the following termcap for Visual
4867 # Technology's Visual 50 terminal. It's a slight modification of
4868 # the vt52 termcap. 
4869 # It's intended to run when the Visual 50 is in vt52 emulation mode
4870 # (I know what you're thinking; if it's emulating a vt52, then why
4871 # another termcap? Well, it turns out that the Visual 50 can handle
4872 # <dl1> and db(?) among other things, which the vt52 can't)
4873 # The termcap works OK for the most part. The only problem is on
4874 # character inserts. The whole line gets painfully redrawn for each
4875 # character typed. Any suggestions?
4876 # Beau's entry is combined with the vi50 entry from University of Wisconsin.
4877 # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
4878 # disguise; <kf7>-<kf9> are really l1-l3.
4879 vi50|visual 50, 
4880         am, da, db, msgr, 
4881         cols#80, it#8, lines#24, 
4882         bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, 
4883         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
4884         dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, ht=^I, 
4885         il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
4886         kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE, 
4887         kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, nel=^M^J, 
4888         ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES, 
4889 # this one was BSD & SCO's vi50
4890 vi50adm|visual 50 in adm3a mode, 
4891         am, msgr, 
4892         cols#80, it#8, lines#24, 
4893         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4894         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
4895         ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
4896         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, 
4897         rmso=\ET, smso=\EU, 
4898 # From: Jeff Siegal <jbs@athena.mit.edu>
4899 vi55|Visual 55, 
4900         am, mir, msgr, 
4901         cols#80, it#8, lines#24, 
4902         clear=\Ev, csr=\E_%p1%'A'%+%c%p2%'A'%+%c, cub1=^H, 
4903         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
4904         cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
4905         il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
4906         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET, 
4907         smir=\Ea, smso=\EU, 
4908
4909 # Visual 200 from BRL
4910 # The following switch settings are assumed for normal operation:
4911 #       FULL_DUPLEX             SCROLL                  CR
4912 #       AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
4913 # Other switches may be set for operator convenience or communication
4914 # requirements.
4915 # Character insertion is kludged in order to get around the "beep" misfeature.
4916 # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
4917 # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
4918 # and <dl1> strings, but we seem to get along fine without them.
4919 vi200|visual 200, 
4920         am, mir, msgr, 
4921         cols#80, it#8, lines#24, 
4922         acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
4923         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
4924         cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey, 
4925         el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea, 
4926         kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
4927         kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p, 
4928         kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
4929         kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
4930         kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
4931         rmacs=\EG, rmkx=\E>, rmso=\E3, 
4932         rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF, 
4933         smkx=\E=, smso=\E4, tbc=\Eg, 
4934 # The older Visuals didn't come with function keys. This entry uses
4935 # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
4936 # If your version of vi doesn't support function keys you may want
4937 # to use vi200-f.
4938 vi200-f|visual 200 no function keys, 
4939         is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
4940         kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, 
4941         kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@, 
4942         use=vi200, 
4943 vi200-rv|visual 200 reverse video, 
4944         cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200, 
4945
4946 # the function keys are programmable but we don't reprogram them to their
4947 # default values with <is2> because programming them is very verbose. maybe
4948 # an initialization file should be made for the 300 and they could be stuck
4949 # in it.
4950 # (vi300: added <rmam>/<smam> based on init string -- esr)
4951 vi300|visual 300 ansi x3.64, 
4952         am, bw, mir, xenl, 
4953         cols#80, lines#24, 
4954         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
4955         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
4956         dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
4957         il1=\E[L, ind=^J, 
4958         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
4959         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
4960         kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, 
4961         kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, 
4962         kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
4963         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
4964         smso=\E[1m, smul=\E[4m, 
4965 # some of the vi300s have older firmware that has the command
4966 # sequence for setting editing extent reversed.
4967 vi300-old|visual 300 with old firmware (set edit extent reversed), 
4968         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, 
4969         use=vi300, 
4970
4971 # Visual 500 prototype entry from University of Wisconsin.
4972 # The best place to look for the escape sequences is page A1-1 of the
4973 # Visual 500 manual.  The initialization sequence given here may be
4974 # overkill, but it does leave out some of the initializations which can
4975 # be done with the menus in set-up mode.
4976 # The :xp: line below is so that emacs can understand the padding requirements
4977 # of this slow terminal.  :xp: is 10 time the padding factor.
4978 # (vi500: removed unknown :xp#4: termcap;
4979 # also added empty <acsc> to suppress tic warning -- esr)
4980 vi500|visual 500, 
4981         am, mir, msgr, 
4982         cols#80, it#8, lines#33, 
4983         acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
4984         csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
4985         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
4986         dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>, 
4987         el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>, 
4988         ind=^J, 
4989         is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
4990         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
4991         khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
4992         rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D, 
4993
4994 # The visual 550 is a visual 300 with tektronix graphics,
4995 # and with 33 lines. clear screen is modified here to
4996 # also clear the graphics.
4997 vi550|visual 550 ansi x3.64, 
4998         lines#33, 
4999         clear=\030\E[H\E[2J, use=vi300, 
5000
5001 vi603|visual603|visual 603, 
5002         hs, mir, 
5003         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
5004         csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
5005         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
5006         dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L, 
5007         ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, 
5008         rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
5009         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~, 
5010         use=vt100, 
5011
5012 #### Wyse (wy)
5013 #
5014 #       Wyse Technology
5015 #       3471 North First Street
5016 #       San Jose, CA 95134
5017 #       Vox: (408)-473-1200
5018 #       Fax: (408) 473-1222
5019 #       Web: http://www.wyse.com
5020 #
5021 # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
5022 # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
5023 # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
5024 # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
5025 #
5026 # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
5027 # They now own the Qume and Amdek brands, too.  So these are the people to
5028 # talk with about all Link, Qume, and Amdek terminals.
5029 #
5030 # These entries include a few small fixes.
5031 # I canceled the bel capacities in the vb entries.
5032 # I made two trivial syntax fixes in the wyse30 entry.
5033 # I made some entries relative to adm+sgr.
5034 #
5035 #
5036 # Note: The wyse75, wyse85, and wyse99 have been discontinued.
5037
5038 #          Although the Wyse 30 can support more than one attribute
5039 #       it requires magic cookies to do so.  Many applications do not
5040 #       function well with magic cookies.  The following terminfo uses
5041 #       the protect mode to support one attribute (dim) without cookies.
5042 #       If more than one attribute is needed then the wy30-mc terminfo
5043 #       should be used.
5044 #
5045 wy30|wyse30|Wyse 30, 
5046         am, bw, hs, mc5i, mir, msgr, xon, 
5047         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
5048         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
5049         civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H, 
5050         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5051         cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, 
5052         dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, 
5053         fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
5054         ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
5055         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
5056         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
5057         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5058         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
5059         kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
5060         mc5=^X, nel=^M^J, pfx=\Ez%p1%'?'%+%c%p2%s\177, 
5061         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
5062         rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
5063         sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5064         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
5065         smso=\E`7\E), tbc=\E0, tsl=\EF, 
5066 #
5067 #       This terminal description uses the non-hidden attribute mode
5068 #       (with magic cookie).
5069 #
5070 # (wy30-mc: added <smcup> to suppress tic warning --esr)
5071 wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
5072         msgr@, 
5073         ma@, xmc#1, 
5074         blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
5075         rmcup=\EG0, rmso=\EG0, 
5076         sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5077         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
5078         smso=\EG4, use=wy30, 
5079         use=adm+sgr, 
5080 #       The mandatory pause used by <flash> does not work with
5081 #       older versions of terminfo.  If you see this effect then
5082 #       unset xon and delete the / from the delay.
5083 #       i.e. change $<100/> to $<100>
5084 wy30-vb|wyse30-vb|wyse 30 visible bell, 
5085         bel@, use=wy30, 
5086 #
5087 #          The Wyse 50 can support one attribute (e.g. Dim, Inverse,
5088 #       Normal) without magic cookies by using the protect mode.
5089 #       The following description uses this feature, but when more
5090 #       than one attribute is put on the screen at once, all attributes
5091 #       will be changed to be the same as the last attribute given.
5092 #          The Wyse 50 can support more attributes when used with magic
5093 #       cookies.  The wy50-mc terminal description uses magic cookies
5094 #       to correctly handle multiple attributes on a screen.
5095 #
5096 wy50|wyse50|Wyse 50, 
5097         am, bw, hs, mc5i, mir, msgr, xon, 
5098         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
5099         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
5100         civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H, 
5101         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5102         cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
5103         ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
5104         home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>, 
5105         is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H, 
5106         kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
5107         kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
5108         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
5109         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5110         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5111         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
5112         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
5113         pfx=\Ez%p1%'?'%+%c%p2%s\177, 
5114         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
5115         ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
5116         sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5117         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
5118         smso=\E`6\E), tbc=\E0, tsl=\EF, 
5119 #
5120 #       This terminal description uses the non-hidden attribute mode
5121 #       (with magic cookie).
5122 #
5123 #       The mandatory pause used by flash does not work with some
5124 #       older versions of terminfo.  If you see this effect then
5125 #       unset <xon> and delete the / from the delay.
5126 #       i.e. change $<100/> to $<100>
5127 # (wy50-mc: added <smcup> to suppress tic warning --esr)
5128 wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
5129         msgr@, 
5130         ma@, xmc#1, 
5131         blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4, 
5132         rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
5133         sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5134         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
5135         smso=\EGt, use=wy50, 
5136         use=adm+sgr, 
5137 wy50-vb|wyse50-vb|wyse 50 visible bell, 
5138         bel@, use=wy50, 
5139 wy50-w|wyse50-w|wyse 50 132-column, 
5140         cols#132, lw#7, nlab#16, wsl#97, 
5141         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50, 
5142 wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
5143         bel@, 
5144         use=wy50-w, 
5145 #
5146 #       The Wyse 350 is a Wyse 50 with color.
5147 #       Unfortunately this means that it has magic cookies.
5148 #       The color attributes are designed to overlap the reverse, dim and
5149 #       underline attributes.  This is nice for monochrome applications
5150 #       because you can make underline stuff green (or any other color)
5151 #       but for true color applications it's not so hot because you cannot
5152 #       mix color with reverse, dim or underline.
5153 #           To further complicate things one of the attributes must be
5154 #       black (either the foreground or the background).  In reverse video
5155 #       the background changes color with black letters.  In normal video
5156 #       the foreground changes colors on a black background.  
5157 #           This terminfo uses some of the more advanced features of curses
5158 #       to display both color and blink.  In the final analysis I am not
5159 #       sure that the wy350 runs better with this terminfo than it does
5160 #       with the wy50 terminfo (with user adjusted colors).
5161 #
5162 #       The mandatory pause used by flash does not work with
5163 #       older versions of terminfo.  If you see this effect then
5164 #       unset xon and delete the / from the delay.
5165 #       i.e. change $<100/> to $<100>
5166 #
5167 # Bug: The <op> capability resets attributes.
5168 wy350|wyse350|Wyse 350, 
5169         am, bw, hs, mc5i, mir, xon, 
5170         colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8, 
5171         wsl#45, xmc#1, 
5172         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
5173         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
5174         cub1=^H, cud1=^J, cuf1=^L, 
5175         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>, 
5176         dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET, 
5177         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
5178         il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>, 
5179         is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI, 
5180         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
5181         ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
5182         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
5183         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5184         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5185         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
5186         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
5187         pfx=\Ez%p1%'?'%+%c%p2%s\177, 
5188         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
5189         rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
5190         setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%'0'%+%c, 
5191         sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%'0'%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5192         sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
5193         smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, 
5194         use=adm+sgr, 
5195 wy350-vb|wyse350-vb|wyse 350 visible bell, 
5196         bel@, use=wy350, 
5197 wy350-w|wyse350-w|wyse 350 132-column, 
5198         cols#132, lw#7, nlab#16, wsl#97, 
5199         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350, 
5200 wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
5201         bel@, 
5202         use=wy350-w, 
5203 #
5204 #       This terminfo description is untested.
5205 #       The wyse100 emulates an adm31, so the adm31 entry should work.
5206 #
5207 wy100|wyse 100, 
5208         hs, mir, 
5209         cols#80, lines#24, xmc#1, 
5210         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5211         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5212         dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J, 
5213         invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
5214         kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
5215         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
5216         rmir=\Er, smir=\Eq, tsl=\EF, 
5217         use=adm+sgr, 
5218 #
5219 #       The Wyse 120/150 has most of the features of the Wyse 60.
5220 #       This terminal does not need padding up to 9600 baud!
5221 #       <msgr> should be set but the clear screen fails when in
5222 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
5223 #       then set <msgr>.
5224 #
5225 wy120|wyse120|wy150|wyse150|Wyse 120/150, 
5226         am, bw, hs, km, mc5i, mir, msgr, xon, 
5227         cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
5228         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5229         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
5230         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5231         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
5232         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
5233         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>, 
5234         hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
5235         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5236         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5237         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5238         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5239         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5240         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5241         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
5242         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
5243         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
5244         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
5245         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
5246         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
5247         rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
5248         rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
5249         rs3=\EwG\Ee($<100>, 
5250         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
5251         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5252         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
5253         tbc=\E0, tsl=\EF, 
5254         use=adm+sgr, 
5255 #
5256 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
5257         cols#132, lw#7, nlab#16, wsl#97, 
5258         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
5259         rs2=\E`;$<70>, use=wy120, 
5260 #
5261 wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
5262         lh@, lines#25, lw@, nlab@, 
5263         pln@, rs3=\EwG\Ee)$<100>, use=wy120, 
5264 #
5265 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
5266         lh@, lines#25, lw@, nlab@, 
5267         pln@, rs3=\EwG\Ee)$<100>, use=wy120-w, 
5268 #
5269 wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
5270         bel@, 
5271         use=wy120, 
5272 #
5273 wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
5274         bel@, 
5275         use=wy120-w, 
5276 #
5277 #       The Wyse 60 is like the Wyse 50 but with more padding.
5278 #       The reset strings are slow and the pad times very depending
5279 #       on other parameters such as font loading.  I have tried
5280 #       to follow the following outline:
5281 #
5282 #               <rs1> -> set personality
5283 #               <rs2> -> set number of columns
5284 #               <rs3> -> set number of lines
5285 #               <is1> -> select the proper font
5286 #               <is2> -> do the initialization
5287 #               <is3> -> set up display memory (2 pages)
5288 #
5289 #       The Wyse 60's that have vt100 emulation are slower than the
5290 #       older Wyse 60's.  This change happened mid-1987.
5291 #       The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
5292 #
5293 #       The meta key is only half right.  This terminal will return the
5294 #       high order bit set when you hit CTRL-function_key
5295 #
5296 #       It may be useful to assign two function keys with the
5297 #       values  \E=(\s  look at old data in page 1
5298 #               \E=W,   look at bottom of page 1
5299 #       where \s is a space ( ).
5300 #
5301 #       Note:
5302 #          The Wyse 60 runs faster when the XON/XOFF
5303 #          handshake is turned off.
5304 #
5305 # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
5306 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
5307 wy60|wyse60|Wyse 60, 
5308         am, bw, hs, km, mc5i, mir, msgr, 
5309         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
5310         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5311         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
5312         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5313         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5314         dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r, 
5315         ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
5316         home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
5317         ip=$<3>, is1=\EcB0\EcC1, 
5318         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5319         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5320         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5321         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5322         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5323         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5324         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
5325         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
5326         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
5327         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
5328         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
5329         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
5330         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
5331         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
5332         rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
5333         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
5334         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5335         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
5336         tbc=\E0, tsl=\EF, 
5337         use=adm+sgr, 
5338 #
5339 wy60-w|wyse60-w|wyse 60 132-column, 
5340         cols#132, lw#7, nlab#16, wsl#97, 
5341         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
5342         rs2=\EeF$<150>\E`;$<150>, use=wy60, 
5343 #
5344 wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
5345         lh@, lines#25, lw@, nlab@, 
5346         pln@, rs3=\EwG\Ee)$<200>, use=wy60, 
5347 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
5348         lh@, lines#25, lw@, nlab@, 
5349         pln@, rs3=\EwG\Ee)$<200>, use=wy60-w, 
5350 #
5351 wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
5352         lines#42, 
5353         clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, 
5354         dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
5355         ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
5356         ri=\Ej$<10>, rs3=\Ee*$<150>, 
5357         use=wy60, 
5358 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
5359         cols#132, lw#7, nlab#16, wsl#97, 
5360         clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
5361         dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>, 
5362         nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, 
5363         use=wy60-42, 
5364 #
5365 wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
5366         lh@, lines#43, lw@, nlab@, 
5367         pln@, rs3=\Ee+$<150>, use=wy60-42, 
5368 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
5369         lh@, lines#43, lw@, nlab@, 
5370         pln@, rs3=\Ee+$<150>, use=wy60-42-w, 
5371 #
5372 wy60-vb|wyse60-vb|Wyse 60 visible bell, 
5373         bel@, use=wy60, 
5374 wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
5375         bel@, 
5376         use=wy60-w, 
5377
5378 #       The Wyse-99GT looks at lot like the Wyse 60 except that it
5379 #       does not have the 42/43 line mode.  In the Wyse-60 the "lines"
5380 #       setup parameter controls the number of lines on the screen.
5381 #       For the Wyse 99GT the "lines" setup parameter controls the
5382 #       number of lines in a page.  The screen can display 25 lines max.
5383 #           The Wyse-99GT also has personalities for the VT220 and
5384 #       Tektronix 4014.  But this has no bearing on the native mode.
5385 #
5386 #       (msgr) should be set but the clear screen fails when in
5387 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
5388 #       then set msgr, else use msgr@.
5389 #
5390 #       u0 -> enter Tektronix mode
5391 #       u1 -> exit Tektronix mode
5392 #
5393 wy99gt|wyse99gt|Wyse 99gt, 
5394         msgr@, 
5395         clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>, 
5396         el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>, 
5397         il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@, 
5398         ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1, 
5399         u0=\E~>\E8, u1=\E[42h, 
5400         use=wy60, 
5401 #
5402 wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
5403         cols#132, lw#7, nlab#16, wsl#97, 
5404         clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
5405         dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt, 
5406 #
5407 wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
5408         lh@, lines#25, lw@, nlab@, 
5409         pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt, 
5410 #
5411 wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
5412         lh@, lines#25, lw@, nlab@, 
5413         pln@, rs2=\E`;$<150>, use=wy99gt-w, 
5414 #
5415 wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
5416         bel@, use=wy99gt, 
5417 #
5418 wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
5419         bel@, 
5420         use=wy99gt-w, 
5421 #
5422 #       The Wyse 160 is combination of the WY-60 and the WY-99gt.
5423 #       The reset strings are slow and the pad times very depending
5424 #       on other parameters such as font loading.  I have tried
5425 #       to follow the following outline:
5426 #
5427 #               <rs1> -> set personality
5428 #               <rs2> -> set number of columns
5429 #               <rs3> -> set number of lines
5430 #               <is1> -> select the proper font
5431 #               <is2> -> do the initialization
5432 #               <is3> -> set up display memory (2 pages)
5433 #
5434 #       The display memory may be used for either text or graphics.
5435 #       When "Display Memory = Shared" the terminal will have more pages
5436 #       but garbage may be left on the screen when you switch from
5437 #       graphics to text.  If "Display Memory = Unshared" then the
5438 #       text area will be only one page long.
5439 #
5440 # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
5441 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
5442 wy160|wyse160|Wyse 160, 
5443         am, bw, hs, km, mc5i, mir, msgr, 
5444         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
5445         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5446         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
5447         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5448         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
5449         dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, 
5450         el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
5451         hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1, 
5452         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5453         is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5454         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5455         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5456         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5457         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5458         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
5459         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
5460         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
5461         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
5462         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
5463         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
5464         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
5465         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
5466         rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
5467         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
5468         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5469         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
5470         tbc=\E0, tsl=\EF, 
5471         use=adm+sgr, 
5472 #
5473 wy160-w|wyse160-w|wyse 160 132-column, 
5474         cols#132, lw#7, nlab#16, wsl#90, 
5475         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
5476         rs2=\EeF$<150>\E`;$<150>, use=wy160, 
5477 #
5478 wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
5479         lh@, lines#25, lw@, nlab@, 
5480         pln@, rs3=\EwG\Ee)$<200>, use=wy160, 
5481 wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
5482         lh@, lines#25, lw@, nlab@, 
5483         pln@, rs3=\EwG\Ee)$<200>, use=wy160-w, 
5484 #
5485 wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
5486         lines#42, 
5487         clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>, 
5488         ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>, 
5489         rs3=\Ee*$<150>, 
5490         use=wy160, 
5491 wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
5492         cols#132, lw#7, nlab#16, wsl#90, 
5493         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
5494         rs2=\EeF$<150>\E`;$<150>, 
5495         use=wy160-42, 
5496 #
5497 wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
5498         lh@, lines#43, lw@, nlab@, 
5499         pln@, rs3=\Ee+$<150>, use=wy160-42, 
5500 wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
5501         lh@, lines#43, lw@, nlab@, 
5502         pln@, rs3=\Ee+$<150>, use=wy160-42-w, 
5503 #
5504 wy160-vb|wyse160-vb|Wyse 160 visible bell, 
5505         bel@, use=wy160, 
5506 wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
5507         bel@, 
5508         use=wy160-w, 
5509 #
5510 #       The Wyse 75 is a vt100 lookalike without advanced video.
5511 #
5512 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
5513 #       Underline) without magic cookies.  The following description
5514 #       uses this capability, but when more than one attribute is
5515 #       put on the screen at once, all attributes will be changed
5516 #       to be the same as the last attribute given.
5517 #          The Wyse 75 can support more attributes when used with magic
5518 #       cookies.  The wy75-mc terminal description uses magic cookies
5519 #       to correctly handle multiple attributes on a screen.
5520 #
5521 wy75|wyse75|wyse 75, 
5522         am, hs, mc5i, mir, msgr, xenl, xon, 
5523         cols#80, lines#24, ma#1, pb#1201, wsl#78, 
5524         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5525         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>, 
5526         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>, 
5527         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
5528         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
5529         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
5530         dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
5531         dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001, 
5532         ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
5533         enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A, 
5534         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
5535         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
5536         ind=\n$<2>, ip=$<1>, 
5537         is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
5538         is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy, 
5539         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
5540         kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM, 
5541         kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
5542         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
5543         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i, 
5544         kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M, 
5545         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
5546         khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~, 
5547         kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i, 
5548         mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, 
5549         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
5550         rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l, 
5551         sc=\E7, 
5552         sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;, 
5553         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
5554         smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
5555         tbc=\E[3g, tsl=\E[>\,\001, 
5556 #
5557 #       This terminal description uses the non-hidden attribute mode
5558 #       (with magic cookie).
5559 #
5560 wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
5561         msgr@, 
5562         ma@, xmc#1, 
5563         blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
5564         rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p, 
5565         sgr=\E[%{0}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{16}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{1}%|%;%?%p7%t%{4}%|%;%dp%?%p9%t\016%e\017%;, 
5566         sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p, 
5567         use=wy75, 
5568 wy75-vb|wyse75-vb|wyse 75 with visible bell, 
5569         pb@, 
5570         bel@, use=wy75, 
5571 wy75-w|wyse75-w|wyse 75 in 132 column mode, 
5572         cols#132, wsl#130, 
5573         rs2=\E[35h\E[?3h$<80>, use=wy75, 
5574 wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
5575         pb@, 
5576         bel@, use=wy75-w, 
5577 #
5578 #       Wyse 85 emulating a vt220 7 bit mode.
5579 #               24 line screen with status line.
5580 #
5581 #       The vt220 mode permits more function keys but it wipes out
5582 #       the escape key.  I strongly recommend that <f11> be set to
5583 #       escape (esc).
5584 #       The terminal may have to be set for 8 data bits and 2 stop
5585 #       bits for the arrow keys to work.
5586 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
5587 #       <dch> and <ich> work best when XON/XOFF is set.  <ich> and
5588 #       <dch> leave trash on the screen when used without XON/XOFF.
5589 #
5590 wy85|wyse85|wyse 85, 
5591         am, hs, mc5i, mir, msgr, xenl, xon, 
5592         cols#80, it#8, lines#24, wsl#80, 
5593         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5594         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5595         clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
5596         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
5597         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5598         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
5599         dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
5600         dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
5601         ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
5602         enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
5603         fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
5604         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
5605         ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
5606         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
5607         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
5608         kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
5609         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP, 
5610         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
5611         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
5612         kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
5613         kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
5614         kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
5615         knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, 
5616         lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
5617         ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
5618         rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p, 
5619         rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7, 
5620         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5621         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
5622         smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
5623         tsl=\E[40h\E7\E[25;%i%p1%dH, 
5624 #
5625 #       Wyse 85 with visual bell.
5626 wy85-vb|wyse85-vb|wyse 85 with visible bell, 
5627         bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85, 
5628 #
5629 #       Wyse 85 in 132-column mode.
5630 wy85-w|wyse85-w|wyse 85 in 132-column mode, 
5631         cols#132, wsl#132, 
5632         rs2=\E[35h\E[?3h$<70>, use=wy85, 
5633 #
5634 #       Wyse 85 in 132-column mode with visual bell.
5635 wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
5636         bel@, 
5637         use=wy85-w, 
5638 #
5639 #       Wyse 185 emulating a vt320 7 bit mode.
5640 #
5641 #       This terminal always displays 25 lines.  These lines may be used
5642 #       as 24 data lines and a terminal status line (top or bottom) or
5643 #       25 data lines.  The 48 and 50 line modes change the page size
5644 #       and not the number of lines on the screen.
5645 #
5646 #       The Compose Character key can be used as a meta key if changed
5647 #       by set-up.
5648 #
5649 wy185|wyse185|wyse 185, 
5650         am, hs, km, mc5i, mir, msgr, xenl, xon, 
5651         cols#80, it#8, lines#24, wsl#80, 
5652         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5653         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5654         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
5655         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
5656         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5657         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
5658         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>, 
5659         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
5660         dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
5661         el=\E[K, el1=\E[1K, enacs=\E)0, 
5662         flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8, 
5663         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
5664         ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
5665         ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
5666         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
5667         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
5668         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
5669         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, 
5670         kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
5671         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
5672         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
5673         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
5674         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
5675         khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
5676         kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
5677         mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>, 
5678         rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>, 
5679         rmso=\E[27m, rmul=\E[24m, 
5680         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
5681         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
5682         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5683         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
5684         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
5685         tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
5686 #
5687 #       Wyse 185 with 24 data lines and top status (terminal status)
5688 wy185-24|wyse185-24|wyse 185 with 24 data lines, 
5689         hs@, 
5690         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185, 
5691 #
5692 #       Wyse 185 with visual bell.
5693 wy185-vb|wyse185-vb|wyse 185+flash, 
5694         bel@, use=wy185, 
5695 #
5696 #       Wyse 185 in 132-column mode.
5697 wy185-w|wyse185-w|wyse 185 in 132-column mode, 
5698         cols#132, wsl#132, 
5699         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
5700         ip=$<7>, rs2=\E[35h\E[?3h, 
5701         use=wy185, 
5702 #
5703 #       Wyse 185 in 132-column mode with visual bell.
5704 wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
5705         bel@, use=wy185-w, 
5706
5707 # wy325 terminfo entries
5708 # Done by Joe H. Davis        3-9-92
5709
5710 # lines 25  columns 80
5711 #
5712 wy325|wyse325|Wyse epc, 
5713         am, bw, hs, mc5i, mir, 
5714         cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
5715         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5716         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
5717         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5718         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
5719         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
5720         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
5721         il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
5722         is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5723         is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5724         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5725         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5726         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5727         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5728         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
5729         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
5730         mc0=\EP, mc4=^T, mc5=\Ed#, 
5731         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
5732         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
5733         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
5734         rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
5735         rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
5736         rs3=\EwG\Ee($<100>, 
5737         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
5738         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5739         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
5740         tsl=\EF, 
5741         use=adm+sgr, 
5742
5743 #
5744 # lines 24  columns 80  vb 
5745 #
5746 wy325-vb|wyse325-vb|wyse-325 with visual bell, 
5747         bel@, use=wy325, 
5748
5749 #
5750 # lines 24  columns 132
5751 #
5752 wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
5753         cols#132, lw#7, nlab#16, wsl#97, 
5754         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
5755         rs2=\E`;$<70>, use=wy325, 
5756 #
5757 # lines 25  columns 80
5758 #
5759 wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
5760         lh@, lines#25, lw@, nlab@, 
5761         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
5762 #
5763 # lines 25  columns 132
5764 #
5765 wy325-25w|wyse325-25w|wy325 132 columns, 
5766         lh@, lines#25, lw@, nlab@, 
5767         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
5768 #
5769 # lines 25  columns 132  vb 
5770 #
5771 wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
5772         bel@, 
5773         use=wy325-w, 
5774
5775 #
5776 # lines 42  columns 80
5777 #
5778 wy325-42|wyse325-42|wyse-325 42 lines, 
5779         lh@, lines#42, lw@, nlab@, 
5780         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
5781 #
5782 # lines 42  columns 132
5783 #
5784 wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
5785         lh@, lines#42, lw@, nlab@, 
5786         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
5787 #
5788 # lines 42  columns 132  vb 
5789 #
5790 wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
5791         bel@, 
5792         use=wy325-w, 
5793 #
5794 # lines 43  columns 80
5795 #
5796 wy325-43|wyse325-43|wyse-325 43 lines, 
5797         lh@, lines#43, lw@, nlab@, 
5798         pln@, use=wy325, 
5799 #
5800 # lines 43  columns 132
5801 #
5802 wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
5803         lh@, lines#43, lw@, nlab@, 
5804         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
5805 #
5806 # lines 43  columns 132  vb 
5807 #
5808 wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
5809         bel@, 
5810         use=wy325-w, 
5811
5812 #       Wyse 370 -- 24 line screen with status line.
5813 #
5814 #       The terminal may have to be set for 8 data bits and 2 stop
5815 #       bits for the arrow keys to work.
5816 #
5817 #       If you change keyboards the terminal will send different
5818 #       escape sequences.
5819 #       The following definition is for the basic terminal without
5820 #       function keys.
5821 #
5822 #       <u0> -> enter Tektronix 4010/4014 mode
5823 #       <u1> -> exit  Tektronix 4010/4014 mode
5824 #       <u2> -> enter ASCII mode (from any ANSI mode)
5825 #       <u3> -> exit  ASCII mode (goto native ANSI mode)
5826 #       <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
5827 #       <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
5828 #
5829 # Bug: The <op> capability resets attributes.
5830 wy370-nk|wyse 370 without function keys, 
5831         am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
5832         colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80, 
5833         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5834         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5835         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
5836         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
5837         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5838         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
5839         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>, 
5840         dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
5841         dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
5842         el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
5843         flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8, 
5844         home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
5845         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
5846         ind=\n$<2>, 
5847         initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
5848         invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
5849         is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
5850         is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
5851         mc5=\E[5i, 
5852         oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w, 
5853         op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
5854         rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
5855         rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
5856         rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
5857         rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw, 
5858         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
5859         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
5860         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
5861         tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
5862         u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B, 
5863         u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd, 
5864 #
5865 #       Function key set for the ASCII (wy-50 compatible) keyboard
5866 #       This is the default 370.
5867 #
5868 wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
5869         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
5870         kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i, 
5871         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
5872         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i, 
5873         kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
5874         kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
5875         knp=\E[U, kpp=\E[V, 
5876         use=wy370-nk, 
5877 #
5878 #       Function key set for the VT-320 (and wy85) compatible keyboard
5879 #
5880 wy370-105k|Wyse 370 with 105 key keyboard, 
5881         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, 
5882         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
5883         kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
5884         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
5885         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
5886         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
5887         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
5888         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
5889         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
5890         use=wy370-nk, 
5891 #
5892 #       Function key set for the PC compatible keyboard
5893 #
5894 wy370-EPC|Wyse 370 with 102 key keyboard, 
5895         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
5896         kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
5897         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
5898         kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
5899         khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, 
5900         use=wy370-nk, 
5901 #
5902 #       Wyse 370 with visual bell.
5903 wy370-vb|Wyse 370 with visible bell, 
5904         bel@, use=wy370, 
5905 #
5906 #       Wyse 370 in 132-column mode.
5907 wy370-w|Wyse 370 in 132-column mode, 
5908         cols#132, wsl#132, 
5909         rs2=\E[35h\E[?3h$<70>, use=wy370, 
5910 #
5911 #       Wyse 370 in 132-column mode with visual bell.
5912 wy370-wvb|Wyse 370 with visible bell 132-columns, 
5913         flash=\E[30h\E\,\E[30l$<300>, 
5914         use=wy370-w, 
5915 wy370-rv|Wyse 370 reverse video, 
5916         rs3=\E[32h\E[?5h, use=wy370, 
5917 #
5918 #       Wyse 99gt Tektronix 4010/4014 emulator,
5919 #
5920 wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
5921         am, os, 
5922         cols#74, lines#35, 
5923         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
5924         cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
5925         cuu1=^K, ff=^L, 
5926         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
5927         home=^]7`x @\037, 
5928         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
5929         is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
5930 #
5931 #       Wyse 160 Tektronix 4010/4014 emulator,
5932 #
5933 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
5934         cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
5935         home=^]8`g @\037, 
5936         use=wy99gt-tek, 
5937 #
5938 #       Wyse 370 Tektronix 4010/4014 emulator,
5939 #
5940 wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
5941         am, os, 
5942         cols#80, lines#36, 
5943         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
5944         cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037, 
5945         cuu1=^K, ff=^L, 
5946         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
5947         home=^]8g @\037, 
5948         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
5949         is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K, 
5950         nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
5951
5952 # Vendor-supplied Wyse entries end here.
5953
5954 #
5955 #TITLE:  TERMINFO ENTRY WY520
5956 #DATE:   8/5/93
5957 # The WY520 terminfo is based on the WY285 entry published on the WYSE 
5958 # BBS with the addition of more function keys and special keys.
5959 #
5960 #               rs1 -> set personality
5961 #               rs2 -> set number of columns
5962 #               rs3 -> set number of lines
5963 #               is1 -> select the proper font
5964 #               is2 -> do the initialization
5965 #               is3 -> If this string is empty then rs3 gets sent.
5966 #
5967 #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
5968 #       - The BS key is programmed to generate BS in smcup since
5969 #         is2 doesn't seem to work.
5970 #       - Remove and shift/Remove: delete a character
5971 #       - Insert : enter insert mode
5972 #       - Find   : delete to end of file
5973 #       - Select : clear a line
5974 #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
5975 #       - F14 : Home key
5976 #       - Bottom status line (host writable line) is used.
5977 #       - smkx,rmkx are removed because this would put the numeric
5978 #         keypad in Dec application mode which doesn't seem to work
5979 #         with SCO applications.
5980 #
5981 wy520|wyse520|wyse 520, 
5982         am, hs, km, mc5i, mir, xenl, xon, 
5983         cols#80, it#8, lines#24, wsl#80, 
5984         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
5985         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5986         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
5987         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
5988         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
5989         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
5990         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>, 
5991         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~, 
5992         ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
5993         enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
5994         hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
5995         il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
5996         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h, 
5997         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy, 
5998         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
5999         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~, 
6000         kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
6001         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
6002         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
6003         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6004         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6005         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
6006         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
6007         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
6008         ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, 
6009         rmso=\E[m, rmul=\E[24m, 
6010         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
6011         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
6012         sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6013         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, 
6014         smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
6015         tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`, 
6016         vpa=\E[%i%p1%dd, 
6017 #
6018 #       Wyse 520 with 24 data lines and status (terminal status)
6019 wy520-24|wyse520-24|wyse 520 with 24 data lines, 
6020         hs@, 
6021         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520, 
6022 #
6023 #       Wyse 520 with visual bell.
6024 wy520-vb|wyse520-vb|wyse 520 with visible bell, 
6025         flash=\E[30h\E\,\E[30l$<100>, use=wy520, 
6026 #
6027 #       Wyse 520 in 132-column mode.
6028 wy520-w|wyse520-w|wyse 520 in 132-column mode, 
6029         cols#132, wsl#132, 
6030         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6031         ip=$<7>, rs2=\E[35h\E[?3h, 
6032         use=wy520, 
6033 #
6034 #       Wyse 520 in 132-column mode with visual bell.
6035 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
6036         flash=\E[30h\E\,\E[30l$<100>, 
6037         use=wy520-w, 
6038 #
6039 #
6040 #       Wyse 520 emulating a vt420 7 bit mode.
6041 #       The DEL key is programmed to generate BS in is2.
6042 #       With EPC keyboard.
6043 #       - 'End' key will clear till end of line on EPC keyboard
6044 #       - Shift/End : ignored.
6045 #       - Insert : enter insert mode.
6046 #       - Delete : delete a character (have to change interrupt character
6047 #                  to CTRL-C: stty intr '^c') for it to work since the
6048 #                  Delete key sends 7FH.
6049 wy520-epc|wyse520-epc|wyse 520 with EPC keyboard, 
6050         kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
6051         kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
6052         use=wy520, 
6053 #
6054 #       Wyse 520 with 24 data lines and status (terminal status)
6055 #       with EPC keyboard.
6056 wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines, 
6057         hs@, 
6058         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc, 
6059 #
6060 #       Wyse 520 with visual bell.
6061 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell, 
6062         flash=\E[30h\E\,\E[30l$<100>, 
6063         use=wy520-epc, 
6064 #
6065 #       Wyse 520 in 132-column mode.
6066 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard, 
6067         cols#132, wsl#132, 
6068         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6069         ip=$<7>, rs2=\E[35h\E[?3h, 
6070         use=wy520-epc, 
6071 #
6072 #       Wyse 520 in 132-column mode with visual bell.
6073 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns, 
6074         flash=\E[30h\E\,\E[30l$<100>, 
6075         use=wy520-epc-w, 
6076 #
6077 #       Wyse 520 in 80-column, 36 lines
6078 wy520-36|wyse520-36|wyse 520 with 36 data lines, 
6079         hs@, 
6080         lines#36, 
6081         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520, 
6082 #
6083 #       Wyse 520 in 80-column, 48 lines
6084 wy520-48|wyse520-48|wyse 520 with 48 data lines, 
6085         hs@, 
6086         lines#48, 
6087         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520, 
6088 #
6089 #       Wyse 520 in 132-column, 36 lines
6090 wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines, 
6091         cols#132, wsl#132, 
6092         rs2=\E[?3h, 
6093         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36, 
6094 #
6095 #       Wyse 520 in 132-column, 48 lines
6096 wy520-48w|wyse520-48w|wyse 520 with 48 data lines, 
6097         cols#132, wsl#132, 
6098         rs2=\E[?3h, 
6099         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48, 
6100 #
6101 #
6102 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
6103 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard, 
6104         hs@, 
6105         lines#36, 
6106         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc, 
6107 #
6108 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
6109 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard, 
6110         hs@, 
6111         lines#48, 
6112         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc, 
6113 #
6114 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
6115 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard, 
6116         cols#132, wsl#132, 
6117         rs2=\E[?3h, 
6118         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc, 
6119 #
6120 #       Wyse 520 in 132-column, 48 lines with EPC keyboard
6121 wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines, 
6122         cols#132, wsl#132, 
6123         rs2=\E[?3h, 
6124         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc, 
6125
6126 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
6127 # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
6128 # file and we don't know what <hts> is -- esr)
6129 wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
6130         am, 
6131         cols#80, it#8, lines#24, 
6132         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
6133         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
6134         dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J, 
6135         is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, 
6136         kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O, 
6137         rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N, 
6138         smul=^N, 
6139
6140 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
6141         is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
6142         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
6143         khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, 
6144         use=wy75, 
6145
6146 # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
6147 wy100q|Wyse 100 for Quotron, 
6148         cols#80, lines#24, xmc#1, 
6149         cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
6150         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
6151         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
6152         is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
6153         kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, 
6154         use=adm+sgr, 
6155
6156 #### Kermit terminal emulations
6157 #
6158 # Obsolete Kermit versions may be listed in the section describing obsolete
6159 # non-ANSI terminal emulators later in the file.
6160 #
6161
6162 # KERMIT standard all versions.
6163 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
6164 # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
6165 # From: greg small <gts@populi.berkeley.edu> 9-25-84
6166 kermit|standard kermit, 
6167         cols#80, lines#24, 
6168         clear=\EE, cub1=^H, cuf1=\EC, 
6169         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
6170         el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n, 
6171         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
6172 kermit-am|standard kermit plus auto-margin, 
6173         am, 
6174         is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit, 
6175 # IBMPC Kermit 1.2.
6176 # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
6177 # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
6178 # line).
6179 # From: greg small <gts@populi.berkeley.edu> 8-30-84
6180 pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
6181         am, 
6182         lines#25, 
6183         clear=\EH\EJ, ed@, el@, 
6184         is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit, 
6185 # IBMPC Kermit 1.20
6186 # Cannot use line 25, now acts funny like ansi special scrolling region.
6187 # Initialization must escape from that region by cursor position to line 24.
6188 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
6189 # Does not use :am: because autowrap is lost when kermit dropped and restarted.
6190 # From: greg small <gts@populi.berkeley.edu> 12-19-84
6191 pckermit120|UCB IBMPC Kermit 1.20, 
6192         it#8, lines#24, 
6193         cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I, 
6194         il1=\EL, 
6195         is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
6196         rmir@, rmso=\Eq, smir@, smso=\Ep, 
6197         use=kermit, 
6198 # MS-DOS Kermit 2.27 for the IBMPC
6199 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
6200 # Cannot use line 25, now acts funny like ansi special scrolling region.
6201 # Initialization must escape from that region by cursor position to line 24.
6202 # Does not use am: because autowrap is lost when kermit dropped and restarted.
6203 # Reverse video for standout like H19.
6204 # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
6205 # From: greg small <gts@populi.berkeley.edu> 3-17-85
6206 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
6207         am@, 
6208         cols#80, it#8, lines#24, 
6209         clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
6210         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
6211         cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK, 
6212         home=\EH, ht=^I, il1=\EL, 
6213         is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
6214         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek, 
6215         rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep, 
6216 # MS-DOS Kermit 2.27 with automatic margins
6217 # From: greg small <gts@populi.berkeley.edu> 3-17-85
6218 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
6219         am, 
6220         cvvis=\EO\Eq\EG\EvK5, 
6221         is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227, 
6222 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
6223 # Automatic margins now default.  Use ansi <sgr> for highlights.
6224 # Define function keys.
6225 # (msk22714: removed obsolete ":kn#10:" -- esr)
6226 # From: greg small <gts@populi.berkeley.edu> 3-17-85
6227 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
6228         am, 
6229         bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
6230         is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
6231         kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, 
6232         kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
6233         sgr0=\E[m, smso=\E[1m, smul=\E[4m, 
6234         use=mskermit227, 
6235 # This was designed for a VT320 emulator, but it is probably a good start
6236 # at support for the VT320 itself.
6237 # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
6238 # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
6239 vt320-k3|MS-Kermit 3.00's vt320 emulation, 
6240         am, eslok, hs, km, mir, msgr, xenl, 
6241         cols#80, it#8, lines#49, pb#9600, vt#3, 
6242         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6243         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
6244         clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
6245         csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H, 
6246         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6247         cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6248         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
6249         dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
6250         flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
6251         fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
6252         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
6253         is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD, 
6254         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~, 
6255         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6256         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
6257         kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8, 
6258         rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l, 
6259         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
6260         rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E4i\E?4i\E[m\E[r\E[2$~, 
6261         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
6262         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6263         tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
6264 # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
6265 # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
6266 # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
6267 vt320-k311|dec vt320 series as defined by kermit 3.11, 
6268         am, eslok, hs, mir, msgr, xenl, xon, 
6269         cols#80, it#8, lines#24, vt#3, 
6270         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6271         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
6272         clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
6273         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6274         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6275         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6276         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
6277         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
6278         flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH, 
6279         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED, 
6280         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
6281         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
6282         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6283         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
6284         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
6285         rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O, 
6286         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
6287         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
6288         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
6289         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
6290
6291 ######## NON-ANSI TERMINAL EMULATIONS
6292 #
6293
6294 #### Avatar
6295 #
6296 # These entries attempt to describe Avatar, a terminal emulation used with
6297 # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
6298 # capabilities, but with cheaper (shorter) control sequences.  Messy design,
6299 # excessively dependent on PC idiosyncracies, but apparently rather popular
6300 # in the BBS world.
6301 #
6302 # No color support.  Avatar doesn't fit either of the Tektronix or HP color
6303 # models that terminfo knows about.  An Avatar color attribute is the
6304 # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
6305 #
6306 # I wrote these entries while looking at the Avatar spec.  I don't have
6307 # the facilities to test them.  Let me know if they work, or don't.
6308 #
6309 # Avatar escapes not used by these entries (because maybe you're smarter
6310 # and more motivated than I am and can figure out how to wrap terminfo
6311 # around some of them, and because they are weird enough to be funny):
6312 #                               level 0:
6313 # ^L            -- clear window/reset current attribute to default
6314 # ^V^A%p1%c     -- set current color attribute, parameter decodes as follows:
6315
6316 #      bit:         6   5   4   3   2   1   0
6317 #                   |       |   |   |       |
6318 #                   +---+---+   |   +---+---+
6319 #                       |       |       |
6320 #                       |       |  foreground color
6321 #                       |  foreground intensity
6322 #                  background color
6323 #                               level 0+:
6324 # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) up by p1 lines
6325 # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) down by p1 lines
6326 # ^V^L%p1%c%p2%c%p3%c           -- clear p2 lines and p3 cols w/attr %p1 
6327 # ^V^M%p1%c%p2%c%p3%c%p4%c      -- fill p3 lines & p4 cols w/char p2+attr %p1 
6328 # (^V^L and ^V^M set the current attribute as a side-effect.)
6329 # ^V ^Y <a> [...] <c>   -- repeat pattern. <a> specifies the number of bytes
6330 #                          in the pattern, <c> the number of times the pattern
6331 #                          should be repeated. If either value is 0, no-op.
6332 #                          The pattern can contain Avatar console codes,
6333 #                          including other ^V ^Y patterns.
6334 #                               level 1:
6335 # ^V^O          -- clockwise mode on; turn print direction right each time you
6336 #                  hit a window edge (yes, really).  Turned off by CR
6337 # ^V^P          -- no-op
6338 # ^V^Q%c        -- query the driver
6339 # ^V^R          -- driver reset
6340 # ^V^S          -- Sound tone (PC-specific)
6341 # ^V^T                  -- change highlight at current cursor poition to %c
6342 # ^V^U%p1%c%p2%c        -- highlight window <a> with attribute <b>
6343 # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
6344 #                       -- define window 
6345 #
6346 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6347 # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
6348 # tell ncurses that the corresponding highlights exist; it should use <sgr>,
6349 # which is the only method that will actually work for multiple highlights.)
6350 avatar0|avatar terminal emulator level 0, 
6351         am, bce, msgr, 
6352         cols#80, it#8, lines#25, 
6353         blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
6354         cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
6355         ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp, 
6356         rs2=^L, 
6357         sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
6358         sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, 
6359         use=klone+acs, 
6360 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6361 avatar0+|avatar terminal emulator level 0+, 
6362         dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0, 
6363 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6364 avatar|avatar1|avatar terminal emulator level 1, 
6365         civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
6366         rmam=^V", rmir=^V^P, smam=^V$, 
6367         use=avatar0+, 
6368
6369 #### RBcomm
6370 #
6371 # RBComm is a lean and mean terminal emulator written by the Interrupt List
6372 # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
6373 # '90s), especially in the BBS world, and still has some loyal users due to
6374 # its very small memory footprint and to a cute macro language.
6375 rbcomm|IBM PC with RBcomm and EMACS keybindings, 
6376         am, bw, mir, msgr, xenl, 
6377         cols#80, it#8, lines#25, 
6378         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6379         clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
6380         cub1=^H, cud1=^C, cuf1=^B, 
6381         cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, 
6382         cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z, 
6383         ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K, 
6384         ind=\ED, invis=\E[8m, 
6385         is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H, 
6386         kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED, 
6387         rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=, 
6388         rmir=^], rmkx=\E>, rmso=^U, rmul=^U, 
6389         rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m, 
6390         smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T, 
6391 rbcomm-nam|IBM PC with RBcomm without autowrap, 
6392         am@, 
6393         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
6394         is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H, 
6395         kcub1=^H, kcud1=^J, nel=^M^J, 
6396         use=rbcomm, 
6397 rbcomm-w|IBM PC with RBcomm in 132 column mode, 
6398         cols#132, 
6399         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
6400         is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H, 
6401         kcub1=^H, kcud1=^J, nel=^M^J, 
6402         use=rbcomm, 
6403
6404 ######## OLDER TERMINAL TYPES
6405 #
6406 # This section is devoted to older commercial terminal brands that are now
6407 # discontinued, but known to be still in use or represented by emulations.
6408 #
6409
6410 #### AT&T (att, tty)
6411 #
6412 # This section also includes Teletype-branded VDTs.
6413 #
6414 # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
6415 # Boundless Technologies); for details, see the header comment on the ADDS
6416 # section.
6417 #
6418 # These are AT&T's official terminfo entries.  All-caps aliases have been
6419 # removed.
6420 #
6421 att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
6422         am, eo, mir, msgr, xon, 
6423         cols#80, it#8, lines#24, 
6424         bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
6425         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6426         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6427         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
6428         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
6429         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
6430         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
6431         kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
6432         kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
6433         kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r, 
6434         kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H, 
6435         kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
6436         rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
6437         smso=\E[7m, 
6438 att2350|AT&T 2350 Video Information Terminal 80 column mode, 
6439         mc0@, mc4@, mc5@, 
6440         use=att2300, 
6441
6442 # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
6443 # Seems upward compatible with vt100, plus ins/del line/char.
6444 # On sgr, the protection parameter is ignored.
6445 # No check is made to make sure that only 3 parameters are output.
6446 #       standout= reverse + half-intensity = 3 | 5.
6447 #       bold= reverse + underline = 2 | 3.
6448 # note that half-bright blinking doesn't look different from normal blinking.
6449 # NOTE:you must program the function keys first, label second!
6450 # (att4410: a BSD entry has been seen with the following capabilities: 
6451 # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
6452 # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
6453 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
6454         am, hs, mir, msgr, xon, 
6455         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
6456         acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6457         bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
6458         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
6459         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
6460         dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I, 
6461         ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
6462         is3=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW, 
6463         kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6464         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
6465         kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, 
6466         ll=\E[24H, nel=^M^J, 
6467         pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
6468         pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
6469         rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
6470         sc=\E7, 
6471         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6472         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
6473         tsl=\E7\E[25;%p1%{1}%+%dH, 
6474
6475 att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
6476         cols#132, wsl#132, 
6477         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1, 
6478
6479 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
6480         pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, 
6481         use=att5410v1, 
6482
6483 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
6484         cols#132, wsl#132, 
6485         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410, 
6486
6487 # 5410 in terms of a vt100
6488 # (v5410: added <rmam>/<smam> based on init string -- esr)
6489 v5410|att5410 in terms of a vt100, 
6490         am, mir, msgr, xon, 
6491         cols#80, it#8, lines#24, vt#3, 
6492         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6493         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
6494         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
6495         cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
6496         cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P, 
6497         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
6498         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@, 
6499         il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
6500         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
6501         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
6502         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
6503         kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
6504         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
6505         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
6506         sc=\E7, 
6507         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
6508         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
6509         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
6510
6511
6512 # Teletype Model 5420 -- A souped up 5410, with multiple windows,
6513 # even! the 5420 has three modes: scroll, window or page mode
6514 # this terminfo should work in scroll or window mode, but doesn't
6515 # take advantage of any of the differences between them.
6516 #
6517 # Has memory below (2 lines!)
6518 # 3 pages of memory (plus some spare)
6519 # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
6520 # <hpa>, <hts> would work for these, but these work in both scroll and window
6521 # mode... Unset insert character so insert mode works
6522 # <is1> sets 80 column mode,
6523 # <is2> escape sequence:
6524 # 1) turn off all fonts
6525 # 2) function keys off, keyboard lock off, control display off,
6526 #    insert mode off, erasure mode off,
6527 # 3) full duplex, monitor mode off, send graphics off, nl on lf off
6528 # 4) reset origin mode
6529 # 5) set line wraparound
6530 # 6) exit erasure mode, positional attribute mode, and erasure extent mode
6531 # 7) clear margins
6532 # 8) program ENTER to transmit ^J,
6533 # We use \212 to program the ^J because a bare ^J will get translated by
6534 # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
6535 #     1      2            3              4     5     6    7  8
6536 # <is3> set screen color to black,
6537 # No representation in terminfo for the delete word key: kdw1=\Ed
6538 # Key capabilities assume the power-up send sequence...
6539 # This <rmcup> is not strictly necessary, but it helps maximize 
6540 # memory usefulness: <rmcup=\Ez>,
6541 # Alternate sgr0:       <sgr0=\E[m\EW^O>,
6542 # Alternate sgr:        <sgr=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;>,
6543 # smkx programs the SYS PF keys to send a set sequence.
6544 # It also sets up labels f1, f2, ..., f8, and sends edit keys.
6545 # This string causes them to send the strings <kf1>-<kf8>
6546 # when pressed in SYS PF mode.
6547 # (att4415: I added <rmam>/<smam> based on the init string -- esr)
6548 att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
6549         db, mir, xon, 
6550         lh#2, lm#78, lw#8, nlab#8, wsl#55, 
6551         cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD, 
6552         cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx, 
6553         cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP, 
6554         dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD, 
6555         flash=\E[?5h$<200>\E[?5l, home=\E[x, 
6556         hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@, 
6557         il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>, 
6558         is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212, 
6559         is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, 
6560         kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd, 
6561         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
6562         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
6563         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
6564         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, 
6565         mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
6566         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
6567         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 
6568         rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
6569         rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
6570         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6571         sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
6572         smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
6573         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
6574         use=att4410, 
6575
6576 att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
6577         cols#132, lm#54, wsl#97, 
6578         is1=\E[?3h$<100>, use=att4415, 
6579
6580 att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
6581         flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, 
6582         use=att4415, 
6583
6584 att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
6585         cols#132, lm#54, wsl#97, 
6586         flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, use=att4415, 
6587
6588 # Note that this mode permits programming USER PF KEYS and labels
6589 # However, when you program user pf labels you have to reselect
6590 # user pf keys to make them appear! 
6591 att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
6592         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
6593         pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
6594         pln=\E[%p1%d;0;0;1q%p2%:-16.16s, 
6595
6596 att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
6597         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
6598         use=att4415+nl, use=att4415, 
6599
6600 att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
6601         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
6602         use=att4415+nl, use=att4415-rv, 
6603
6604 att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
6605         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
6606         use=att4415+nl, use=att4415-w, 
6607
6608 att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
6609         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
6610         use=att4415+nl, use=att4415-w-rv, 
6611
6612 att5420_2|AT&T 5420 model 2 80 cols, 
6613         am, db, hs, mir, msgr, xon, 
6614         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
6615         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6616         blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j, 
6617         cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6618         cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C, 
6619         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j, 
6620         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
6621         dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
6622         el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
6623         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
6624         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
6625         invis=\E[8m, 
6626         is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;0j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, 
6627         kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
6628         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
6629         kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, 
6630         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
6631         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
6632         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
6633         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, 
6634         mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
6635         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
6636         pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8, 
6637         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j, 
6638         rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
6639         sc=\E7, 
6640         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6641         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
6642         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6643         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
6644 att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
6645         cols#132, 
6646         is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, use=att5420_2, 
6647
6648 att4418|att5418|AT&T 5418 80 cols, 
6649         am, xon, 
6650         cols#80, lines#24, 
6651         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6652         bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
6653         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
6654         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
6655         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
6656         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
6657         ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
6658         is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@, 
6659         kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h, 
6660         kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I, 
6661         kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
6662         kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j, 
6663         kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8, 
6664         rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7, 
6665         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
6666 att4418-w|att5418-w|AT&T 5418 132 cols, 
6667         cols#132, 
6668         is1=\E[?3h, use=att5418, 
6669
6670 att4420|tty4420|teletype 4420, 
6671         da, db, eo, msgr, ul, xon, 
6672         cols#80, lines#24, lm#72, 
6673         bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC, 
6674         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
6675         dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s, 
6676         kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
6677         kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH, 
6678         kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
6679         lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~, 
6680         rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
6681
6682 #  The following is a terminfo entry for the Teletype 4424
6683 #  asynchronous keyboard-display terminal.  It supports
6684 #  the vi editor.  The terminal must be set up as follows,
6685 #       
6686 #       HIGHLIGHT DEFINITION    3-TONE
6687 #       DISPLAY FUNCTION        GROUP III
6688 #       
6689 #  The second entry below provides limited (a la adm3a)
6690 #  operation under GROUP II.
6691 #       
6692 #  This must be used with DISPLAY FUNCTION GROUP I or III
6693 #       and HIGHLIGHT DEFINITION 3-TONE
6694 # The terminal has either bold or blink, depending on options
6695 #
6696 # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
6697 att4424|tty4424|teletype 4424, 
6698         am, xon, 
6699         cols#80, lines#24, 
6700         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6701         bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M, 
6702         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6703         cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC, 
6704         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA, 
6705         dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM, 
6706         ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
6707         ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h, 
6708         kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6709         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
6710         khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, 
6711         rmul=\EZ, 
6712         sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
6713         sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\, 
6714         tbc=\EF, 
6715
6716 att4424-1|tty4424-1|teletype 4424 in display function group I, 
6717         kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@, 
6718         use=att4424, 
6719
6720 # This entry is not one of AT&T's official ones, it was translated from the
6721 # 4.4BSD termcap file.  The highlight strings are different from att4424.
6722 # I have no idea why this is -- older firmware version, maybe?
6723 # The following two lines are the comment originally attached to the entry:
6724 # This entry appears to avoid the top line - I have no idea why.
6725 # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
6726 att4424m|tty4424m|teletype 4424M, 
6727         am, da, db, mir, 
6728         cols#80, it#8, lines#23, 
6729         bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
6730         cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP, 
6731         dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>, 
6732         is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
6733         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
6734         kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m, 
6735         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
6736
6737 # The Teletype 5425 is really version 2 of the Teletype 5420. It 
6738 # is quite similar, except for some minor differences. No page 
6739 # mode, for example, so all of the <cup> sequences used above have 
6740 # to change back to what's being used for the 5410. Many of the 
6741 # option settings have changed their numbering as well.
6742
6743 # This has been tested on a preliminary model.
6744 #
6745 # (att5425: added <rmam>/<smam> based on the init string -- esr)
6746 att5425|tty5425|att4425|AT&T 4425/5425, 
6747         am, da, db, hs, mir, msgr, xenl, xon, 
6748         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
6749         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6750         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
6751         clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
6752         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6753         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6754         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6755         cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
6756         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, 
6757         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
6758         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
6759         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
6760         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
6761         invis=\E[8m, is1=\E<\E[?3l$<100>, 
6762         is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212, 
6763         is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
6764         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
6765         kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, 
6766         kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
6767         kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T, 
6768         kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
6769         nel=^M^J, 
6770         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
6771         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8, 
6772         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 
6773         rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, 
6774         rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
6775         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6776         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6777         smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 
6778         smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 
6779         vpa=\E[%p1%{1}%+%dd, 
6780
6781 att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
6782         smkx=\E[21;1j\E[25;4j\Eent, 
6783         use=att4425, 
6784
6785 att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
6786         cols#132, lm#54, wsl#97, 
6787         is1=\E[?3h$<100>, use=tty5425, 
6788
6789 # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
6790 # I also added <rmam>/<smam> -- esr)
6791 att4426|tty4426|teletype 4426S, 
6792         am, da, db, xon, 
6793         cols#80, lines#24, lm#48, 
6794         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6795         bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, 
6796         cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
6797         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
6798         cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
6799         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H, 
6800         hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^, 
6801         il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS, 
6802         is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, 
6803         kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
6804         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
6805         kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
6806         nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT, 
6807         rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
6808         rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0, 
6809         smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g, 
6810         vpa=\E[%p1%dd, 
6811
6812 # Terminfo entry for the AT&T 510 A Personal Terminal
6813 # Function keys 9 - 16 are available only after the 
6814 # screen labeled (soft keys/action blocks) are labeled.  Function key
6815 # 9 corresponds to the leftmost touch target on the screen,
6816 # function key 16 corresponds to the rightmost.
6817 #
6818 # This entry is based on one done by Ernie Rice at Summit, NJ and
6819 # changed by Anne Gallup, Skokie, IL, ttrdc!anne
6820 att510a|bct510a|AT&T 510A Personal Terminal, 
6821         am, mir, msgr, xenl, xon, 
6822         cols#80, lh#2, lines#24, lw#7, nlab#8, 
6823         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
6824         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
6825         civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
6826         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
6827         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
6828         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, 
6829         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
6830         el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I, 
6831         hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l, 
6832         is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
6833         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, 
6834         kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, 
6835         kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, 
6836         kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
6837         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
6838         pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
6839         rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7, 
6840         sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
6841         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
6842         smul=\E[4m, tbc=\E[3g, 
6843
6844 # Terminfo entry for the AT&T 510 D Personal Terminal
6845 # Function keys 9 through 16 are accessed by bringing up the
6846 # system blocks.
6847 # Function key 9 corresponds to the leftmost touch target on the screen,
6848 # function key 16 corresponds to the rightmost.
6849 #
6850 # There are problems with soft key labeling.  These are due to 
6851 # strangenesses in the native terminal that are impossible to
6852 # describe in a terminfo.  
6853 att510d|bct510d|AT&T 510D Personal Terminal, 
6854         am, da, db, mir, msgr, xenl, xon, 
6855         cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
6856         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
6857         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
6858         clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
6859         cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
6860         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
6861         cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
6862         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
6863         el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, 
6864         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
6865         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
6866         invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
6867         kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
6868         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd, 
6869         kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi, 
6870         kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
6871         kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, 
6872         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE, 
6873         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
6874         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
6875         rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, 
6876         rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, 
6877         rs2=\E[5;0|, sc=\E7, 
6878         sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6879         sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, 
6880         smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m, 
6881         smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
6882
6883 # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
6884 att500|att513|AT&T 513 using page mode, 
6885         am, chts, mir, msgr, xenl, xon, 
6886         cols#80, lh#2, lines#24, lw#8, nlab#8, 
6887         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
6888         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
6889         clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
6890         csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6891         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6892         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6893         cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m, 
6894         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
6895         enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
6896         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
6897         indn=\E[%p1%dE, invis=\E[8m, 
6898         is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
6899         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
6900         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
6901         kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, 
6902         kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
6903         kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY, 
6904         kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw, 
6905         kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, 
6906         kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
6907         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent, 
6908         kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
6909         kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, 
6910         khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
6911         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
6912         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
6913         kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB, 
6914         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
6915         mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i, 
6916         nel=\EE, 
6917         pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
6918         pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
6919         pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
6920         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
6921         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
6922         rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
6923         rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
6924         rmul=\E[m, 
6925         rs1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l\E[2;0|\E[6;1|\E[8;0|\E[19;0|\E[1{\E[?99l, 
6926         rs2=\E[5;0|, sc=\E7, 
6927         sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
6928         sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
6929         smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
6930         smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
6931
6932 # 01-07-88
6933 # printer must be set to EMUL ANSI to accept ESC codes
6934 # <cuu1> stops at top margin
6935 # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
6936 #       and alt font ascii,wrap on,tabs cleared
6937 # <is2> disables newline on LF,Emphasized off
6938 # The <u0> capability sets form length
6939 att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
6940         xhpa, xvpa, 
6941         bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10, 
6942         orhi#100, orl#12, orvi#72, 
6943         cpi=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;, 
6944         cr=^M, 
6945         csnm=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;, 
6946         cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM, 
6947         ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r, 
6948         lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;, 
6949         rshm=\E[m, 
6950         scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;, 
6951         smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
6952         smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m, 
6953         u0=\E[%p1%dt, vpa=\E[%p1%dd, 
6954
6955 # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
6956 # The following SET-UP modes are assumed for normal operation:
6957 #       CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
6958 # Other SET-UP modes may be set for operator convenience or communication
6959 # requirements.  This termcap description is for the Resident Terminal Mode.
6960 # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6961 # The BRL entry also said: UNSAFE :ll=\E[70H:
6962 att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs, 
6963         am, xon, 
6964         cols#88, it#8, lines#70, vt#3, 
6965         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
6966         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
6967         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
6968         home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
6969         il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, 
6970         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
6971         kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT, 
6972         rs1=\Ec, sc=\E7, 
6973
6974 # 5620 terminfo  (2.0 or later ROMS with char attributes)
6975 # The following SET-UP modes are assumed for normal operation:
6976 #       DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
6977 # Other SET-UP modes may be set for operator convenience or communication
6978 # requirements.  This termcap description is for Resident Terminal Mode.  No
6979 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
6980 # assumptions: <ind> (scroll forward one line) is only done at screen bottom
6981 # Be aware that older versions of the dmd have a firmware bug that affects
6982 # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
6983 # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
6984 # also has <ll>=\E[70H commented out and marked unsafe.
6985 # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
6986 att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
6987         am, msgr, npc, xon, 
6988         cols#88, it#8, lines#70, 
6989         bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
6990         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
6991         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
6992         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
6993         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
6994         indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
6995         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J, 
6996         pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T, 
6997         rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7, 
6998         sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
6999 att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
7000         lines#24, use=att5620, 
7001 att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
7002         lines#34, use=att5620, 
7003 # 5620 layer running the "S" system's downloaded graphics handler:
7004 att5620-s|tty5620-s|layer|vitty|5620 S layer, 
7005         am, 
7006         cols#80, it#8, lines#72, 
7007         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
7008         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED, 
7009         el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J, 
7010         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
7011         kll=\E[70;1H, 
7012
7013 # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
7014 #
7015 # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
7016 # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
7017 att605|AT&T 605 80 column 102key keyboard, 
7018         am, eo, xon, 
7019         cols#80, lines#24, lw#8, nlab#8, wsl#80, 
7020         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7021         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
7022         cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
7023         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
7024         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
7025         el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
7026         il1=\E[L, ind=^J, invis=\E[8m, 
7027         is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017, 
7028         kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
7029         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7030         kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
7031         kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, 
7032         kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
7033         kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, 
7034         kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
7035         kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, 
7036         kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
7037         kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, 
7038         kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, 
7039         kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
7040         kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, 
7041         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7042         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7043         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7044         rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
7045         rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016, 
7046         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
7047         tsl=\E7\E[25;%i%p1%dx, 
7048 att605-pc|ATT 605 in pc term mode, 
7049         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
7050         cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
7051         dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z, 
7052         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7053         kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, 
7054         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
7055         kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I, 
7056         rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g, 
7057         xonc=e, 
7058         use=att605, 
7059 att605-w|AT&T 605-w 132 column 102 key keyboard, 
7060         cols#132, wsl#132, 
7061         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605, 
7062 # (att610: I added <rmam>/<smam> based on the init string.  I also
7063 # added <indn> and <rin> because the BSD file says the att615s have them,
7064 # and the 615 is like a 610 with a big keyboard, and most of their other
7065 # smart terminals support the same sequence -- esr)
7066 att610|AT&T 610; 80 column; 98key keyboard, 
7067         am, eslok, hs, mir, msgr, xenl, xon, 
7068         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7069         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7070         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7071         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7072         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7073         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7074         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7075         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7076         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7077         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
7078         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
7079         indn=\E[%p1%dS, invis=\E[8m, 
7080         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
7081         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
7082         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7083         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7084         kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
7085         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7086         kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, 
7087         nel=\EE, 
7088         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7089         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7090         ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
7091         rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
7092         sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7093         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7094         smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx, 
7095 att610-w|AT&T 610; 132 column; 98key keyboard, 
7096         cols#132, wsl#132, 
7097         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610, 
7098
7099 att610-103k|AT&T 610; 80 column; 103key keyboard, 
7100         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7101         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7102         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
7103         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
7104         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
7105         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
7106         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
7107         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
7108         khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl, 
7109         knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
7110         kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq, 
7111         krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
7112         kslt=\ENI, kspd=\EOp, kund=\EOs, 
7113         use=att610, 
7114 att610-103k-w|AT&T 610; 132 column; 103key keyboard, 
7115         cols#132, wsl#132, 
7116         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k, 
7117 att615|AT&T 615; 80 column; 98key keyboard, 
7118         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7119         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
7120         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
7121         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
7122         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
7123         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
7124         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
7125         use=att610, 
7126 att615-w|AT&T 615; 132 column; 98key keyboard, 
7127         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7128         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
7129         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
7130         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
7131         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
7132         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
7133         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
7134         use=att610-w, 
7135 att615-103k|AT&T 615; 80 column; 103key keyboard, 
7136         kLFT=\E[ A, kRIT=\E[ @, 
7137         use=att610-103k, 
7138 att615-103k-w|AT&T 615; 132 column; 103key keyboard, 
7139         kLFT=\E[ A, kRIT=\E[ @, 
7140         use=att610-103k-w, 
7141 # (att620: I added <rmam>/<smam> based on the init string and
7142 # <rin>/<indn> from a BSD termcap -- esr)
7143 att620|AT&T 620; 80 column; 98key keyboard, 
7144         am, eslok, hs, mir, msgr, xenl, xon, 
7145         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7146         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7147         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7148         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7149         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7150         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7151         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7152         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7153         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7154         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
7155         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
7156         indn=\E[%p1%dS, invis=\E[8m, 
7157         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
7158         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
7159         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7160         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7161         kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7162         kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, 
7163         kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
7164         kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, 
7165         kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
7166         kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, 
7167         kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
7168         kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
7169         kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
7170         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7171         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7172         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7173         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 
7174         rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
7175         rs2=\Ec\E[?3l, sc=\E7, 
7176         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7177         sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
7178         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
7179         tsl=\E7\E[25;%i%p1%dx, 
7180 att620-w|AT&T 620; 132 column; 98key keyboard, 
7181         cols#132, wsl#132, 
7182         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620, 
7183 att620-103k|AT&T 620; 80 column; 103key keyboard, 
7184         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7185         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7186         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
7187         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
7188         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
7189         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
7190         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
7191         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
7192         kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@, 
7193         kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, 
7194         kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@, 
7195         kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
7196         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
7197         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
7198         kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, 
7199         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, 
7200         use=att620, 
7201
7202 att620-103k-w|AT&T 620; 132 column; 103key keyboard, 
7203         cols#132, wsl#132, 
7204         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k, 
7205
7206 # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
7207 # The following SETUP modes are assumed for normal operation:
7208 #       Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
7209 #       Font_Size=Large         Non-Layers_Window_Cols=80
7210 #                               Non-Layers_Window_Rows=60
7211 # Other SETUP modes may be set for operator convenience or communication
7212 # requirements.  Some capabilities assume a printer attached to the Aux EIA
7213 # port.  This termcap description is for the Fixed Non-Layers Window.  No
7214 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7215 # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
7216 att630|AT&T 630 windowing terminal, 
7217         am, da, db, mir, msgr, npc, xon, 
7218         cols#80, it#8, lines#60, lm#0, 
7219         bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
7220         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
7221         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7222         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
7223         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
7224         el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
7225         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
7226         kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
7227         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M, 
7228         kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, 
7229         kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
7230         kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
7231         kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i, 
7232         mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
7233         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
7234         rmul=\E[m, rs2=\Ec, sc=\E7, 
7235         sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
7236         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
7237 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
7238         lines#24, use=att630, 
7239
7240 # This entry was modified 3/13/90 by JWE.
7241 # fixes include additions of <enacs>, correcting <rep>, and modification
7242 # of <kHOM>.  (See comments below)
7243 # att730 has status line of 80 chars
7244 # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
7245 # the <kf25> and up keys are used for shifted system Fkeys
7246 # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
7247 # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
7248 # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
7249 # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
7250 # 102, 102+1, or 122 key keyboards
7251 #       kHOM=\E[2J,
7252 # (att730: I added <rmam>/<smam> based on the init string -- esr)
7253 att730|AT&T 730 windowing terminal, 
7254         am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
7255         cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80, 
7256         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7257         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7258         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7259         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7260         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7261         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7262         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7263         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7264         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
7265         home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
7266         ind=\ED, invis=\E[8m, 
7267         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
7268         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
7269         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7270         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7271         kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
7272         kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{, 
7273         kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD, 
7274         kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH, 
7275         kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
7276         kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf, 
7277         kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ, 
7278         kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg, 
7279         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7280         kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
7281         mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7282         pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%:-2d  %e;0;3q%;%p2%s, 
7283         pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s, 
7284         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
7285         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
7286         rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m, 
7287         rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, 
7288         sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
7289         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7290         smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h, 
7291         swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
7292 att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
7293         lines#41, use=att730, 
7294 att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
7295         lines#24, use=att730, 
7296 att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
7297         flash=\E[?5l$<200>\E[?5h, 
7298         is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730, 
7299 att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
7300         lines#41, use=att730r, 
7301 att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
7302         lines#24, use=att730r, 
7303
7304 # The following represents the screen layout along with the associated
7305 # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
7306 # not appear on the screen but are shown to reference the bezel buttons.
7307 # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
7308 # position relative to the screen.
7309 #
7310 #
7311 #
7312 #      +----------------------------------------------------------------+
7313 #      |                                                                |
7314 # XXXX | kf0                                                       kf24 | XXXX
7315 #      |                                                                |
7316 #      |                                                                |
7317 # XXXX | kf1                                                       kf23 | XXXX
7318 #      |                                                                |
7319 #      |                                                                |
7320 # XXXX | kf2                                                       kf22 | XXXX
7321 #      |                                                                |
7322 #      |                                                                |
7323 # XXXX | kf3                                                       kf21 | XXXX
7324 #      |                                                                |
7325 #      |                                                                |
7326 # XXXX | kf4                                                       kf20 | XXXX
7327 #      |                                                                |
7328 #      |                                                                |
7329 # XXXX | kf5                                                       kf19 | XXXX
7330 #      |                                                                |
7331 #      |                                                                |
7332 # XXXX | kf6                                                       kf18 | XXXX
7333 #      |                                                                |
7334 #      |                                                                |
7335 # XXXX |                                                                | XXXX
7336 #      |                                                                |
7337 #      |                                                                |
7338 #      +----------------------------------------------------------------+
7339 #
7340 #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
7341 #
7342 # Note: XXXX represents the screen buttons
7343 #                                                          CMD   REDRAW
7344 #
7345 #                                                          MAIL
7346 #
7347 # version 1 note: 
7348 #       The character string sent by key 'kf26' may be user programmable
7349 #       to send either \E[16s, or \E[26s.
7350 #       The character string sent by key 'krfr' may be user programmable
7351 #       to send either \E[17s, or \E[27s.
7352 #
7353 # Depression of the "CMD" key sends    \E!    (kcmd)
7354 # Depression of the "MAIL" key sends   \E[26s (kf26)
7355 # "REDRAW" same as "REFRESH" (krfr)
7356 #
7357 # "kf" functions adds carriage return to output string if terminal is in
7358 # 'new line' mode.
7359 #
7360 # The following are functions not covered in the table above:
7361 #
7362 #       Set keyboard character (SKC): \EPn1;Pn2w
7363 #                       Pn1= 0 Back Space key
7364 #                       Pn1= 1 Break key
7365 #                       Pn2=   Program char (hex)
7366 #
7367 #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
7368 #                       Pn1=     Window number (1-39)
7369 #                       Pn2-Pn5= Y;X;Y;X coordinates
7370 #
7371 #       Screen Selection (SSL): \E[Pnu
7372 #                       Pn= Window number
7373 #
7374 #       Set Terminal Modes (SM): \E[Pnh
7375 #                       Pn= 3 Graphics mode
7376 #                       Pn= > Cursor blink
7377 #                       Pn= < Enter new line mode
7378 #                       Pn= = Enter reverse insert/replace mode
7379 #                       Pn= ? Enter no scroll mode
7380 #
7381 #       Reset Terminal Mode (RM): \E[Pnl
7382 #                       Pn= 3 Exit graphics mode
7383 #                       Pn= > Exit cursor blink
7384 #                       Pn= < Exit new line mode
7385 #                       Pn= = Exit reverse insert/replace mode
7386 #                       Pn= ? Exit no scroll mode
7387 #
7388 #       Screen Status Report (SSR): \E[Pnp
7389 #                       Pn= 0 Request current window number
7390 #                       Pn= 1 Request current window dimensions
7391 #
7392 #       Device Status Report (DSR): \E[6n    Request cursor position
7393 #
7394 #       Call Status Report (CSR): \E[Pnv
7395 #                       Pn= 0 Call failed
7396 #                       Pn= 1 Call successful
7397 #
7398 #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
7399 #                       Pn1= Button number to be loaded
7400 #                       Pn2= Character count of "string"
7401 #                       Pn3= Key mode being loaded:
7402 #                               0= Unshifted
7403 #                               1= Shifted
7404 #                               2= Control
7405 #                       String= Text string (15 chars max)
7406 #
7407 #       Screen Number Report (SNR): \E[Pnp
7408 #                       Pn= Screen number
7409 #
7410 #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
7411 #                       Pn1= Number of rows available in window
7412 #                       Pn2= Number of columns available in window
7413 #
7414 #       Cursor Position Report (CPR): \E[Pn1;Pn2R
7415 #                       Pn1= "Y" Position of cursor
7416 #                       Pn2= "X" Position of cursor
7417 #
7418 #       Request Answer Back (RAB): \E[c
7419 #
7420 #       Answer Back Response (ABR): \E[?;*;30;VSV
7421 #                       *=  0 No printer available
7422 #                       *=  2 Printer available
7423 #                       V=  Software version number
7424 #                       SV= Software sub version number
7425 #       (printer-available field not documented in v1)
7426 #
7427 #       Screen Alignment Aid: \En
7428 #
7429 #       Bell (lower pitch): \E[x
7430 #
7431 #       Dial Phone Number: \EPdstring\
7432 #                       string= Phone number to be dialed
7433 #
7434 #       Set Phone Labels: \EPpstring\
7435 #                       string= Label for phone buttons
7436 #
7437 #       Set Clock: \EPchour;minute;second\
7438 #
7439 #       Position Clock: \EPsY;X\
7440 #                       Y= "Y" coordinate
7441 #                       X= "X" coordinate
7442 #
7443 #       Delete Clock: \Epr\
7444 #
7445 #       Programming The Function Buttons: \EPfPn;string\
7446 #                       Pn= Button number (00-06, 18-24)
7447 #                                         (kf00-kf06, kf18-kf24)
7448 #                       string= Text to sent on button depression
7449 #
7450 # The following in version 2 only:
7451 #
7452 #       Request For Local Directory Data: \EPp12;\
7453 #
7454 #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
7455 #
7456 #       Request for Local Directory Data in print format: \EPp13;\
7457 #
7458 #       Enable 'Prt on Line' mode: \022 (DC2)
7459 #
7460 #       Disable 'Prt on Line' mode: \024 (DC4)
7461 #
7462
7463 # 05-Aug-86:
7464 # The following Terminfo entry describes functions which are supported by
7465 # the AT&T 5430/pt505 terminal software version 2 and later.
7466 att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
7467         am, xon, 
7468         cols#80, it#8, lines#24, 
7469         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7470         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
7471         cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
7472         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7473         cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7474         cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
7475         dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E2K, home=\E[H, ht=^I, 
7476         il=\E[%p1%dL, il1=\E[L, ind=^J, 
7477         is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
7478         kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7479         kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s, 
7480         kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s, 
7481         kf22=\E[22s, kf23=\E[23s, kf24=\E24s, kf26=\E26s, 
7482         kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s, 
7483         krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
7484         rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m, 
7485         rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m, 
7486         smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m, 
7487
7488 # The following Terminfo entry describes functions which are supported by
7489 # the AT&T 5430/pt505 terminal software version 1.
7490 att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
7491         lines#24, 
7492         mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505, 
7493 tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
7494         lines#22, use=att505, 
7495 #
7496 # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
7497 # This cut mark helps make life less painful for people running ncurses tic
7498 # on machines with relatively little RAM.  The file can be broken in half here
7499 # cleanly and compiled in sections -- no `use' references cross this cut
7500 # going forward.
7501 #
7502
7503 #### Ampex (Dialogue)
7504 #
7505 # Yes, these are the same people who are better-known for making audio- and
7506 # videotape.  I'm told they are located in Redwood City, CA.
7507 #
7508
7509 # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
7510 # (ampex80: some capabilities merged in from SCO's entry -- esr)
7511 ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
7512         am, bw, ul, 
7513         cols#80, it#8, lines#24, 
7514         bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, 
7515         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
7516         dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, 
7517         ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em, 
7518         smso=\Ej, smul=\El, tbc=\E3, 
7519 # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
7520 ampex175|ampex d175, 
7521         am, 
7522         cols#80, lines#24, 
7523         bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
7524         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
7525         dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
7526         is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
7527         kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, 
7528         rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
7529 # No backspace key in the main QWERTY cluster. Fortunately, it has a
7530 # NEWLINE/PAGE key just above RETURN that sends a strange single-character
7531 # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
7532 # mode), this key can be used as the erase key; I find I like this. Because
7533 # some people and some systems may not, there is another termcap ("ampex175")
7534 # that suppresses this little eccentricity by omitting the relevant capability.
7535 ampex175-b|ampex d175 using left arrow for erase, 
7536         kbs=^_, 
7537         use=ampex175, 
7538 # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
7539 # (ampex210: removed obsolete ":kn#10:" -- esr)
7540 ampex210|a210|ampex a210, 
7541         am, hs, xenl, 
7542         cols#80, it#8, lines#24, xmc#1, 
7543         cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
7544         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
7545         dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX, 
7546         fsl=\E.2, home=^^, ht=^I, ich1=\EQ, 
7547         if=/usr/share/tabset/std, il1=\EE, invis@, 
7548         is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H, 
7549         kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
7550         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
7551         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^, 
7552         tsl=\E.0\Eg\E}\Ef, use=adm+sgr, 
7553 # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
7554 # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
7555 # and moved the padding to be *after* the caps -- esr)
7556 ampex219|ampex-219|amp219|Ampex with Automargins, 
7557         hs, xenl, 
7558         cols#80, it#8, lines#24, 
7559         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z, 
7560         clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M, 
7561         csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
7562         cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
7563         cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>, 
7564         el=\E[K$<3>, home=\E[H, ht=^I, ind=^J, 
7565         is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
7566         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~, 
7567         kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~, 
7568         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
7569         rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>, 
7570         rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h, 
7571         smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
7572 ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
7573         cols#132, lines#24, 
7574         bel=^G, cr=^M, cud1=^J, ind=^J, 
7575         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219, 
7576 # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr) 
7577 ampex232|ampex-232|Ampex Model 232, 
7578         am, 
7579         cols#80, lines#24, xmc#1, 
7580         cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V, 
7581         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
7582         dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET, 
7583         flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>, 
7584         invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, 
7585         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
7586         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
7587         kf9=^AI\r, khome=^^, 
7588         use=adm+sgr, 
7589 # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
7590 ampex232w|Ampex Model 232 / 132 columns, 
7591         cols#132, lines#24, 
7592         is2=\E\034Eg\El, use=ampex232, 
7593
7594 #### Ann Arbor (aa)
7595 #
7596 # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
7597 # numbers of function keys.  At least some used monitors in portrait mode,
7598 # allowing up to 76-character screen heights!  They were reachable at:
7599 #
7600 #       Ann Arbor Terminals
7601 #       6175 Jackson Road
7602 #       Ann Arbor, MI 48103
7603 #       (313)-663-8000
7604 #
7605 # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
7606 # can't be found on the Web; I fear they're long dead.  R.I.P.
7607 #
7608
7609
7610 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
7611 # Highly modified 6/22 by Mike O'Brien.
7612 # split out into several for the various screen sizes by dave-yost@rand
7613 # Modifications made 3/82 by Mark Horton
7614 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
7615 # status line moved to top of screen, <flash> removed 5/82
7616 # Some unknown person at SCO then hacked the init strings to make them more
7617 # efficient.
7618 #
7619 # assumes the following setup:
7620 #   A menu: 0000 1010  0001 0000
7621 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
7622 #   C menu: 56   66   0    0    9600  0110 1100
7623 #   D menu: 0110 1001   1   0
7624 #
7625 #       Briefly, the settings are for the following modes:
7626 #          (values are for bit set/clear with * indicating our preference
7627 #           and the value used to test these termcaps)
7628 #       Note that many of these settings are irrelevent to the terminfo
7629 #       and are just set to the default mode of the terminal as shipped
7630 #       by the factory.
7631 #
7632 # A menu: 0000 1010  0001 0000
7633 #       Block/underline cursor*
7634 #       blinking/nonblinking cursor*
7635 #       key click/no key click*
7636 #       bell/no bell at column 72*
7637 #
7638 #       key pad is cursor control*/key pad is numeric
7639 #       return and line feed/return for <cr> key *
7640 #       repeat after .5 sec*/no repeat
7641 #       repeat at 25/15 chars per sec. *
7642 #
7643 #       hold data until pause pressed/process data unless pause pressed*
7644 #       slow scroll/no slow scroll*
7645 #       Hold in area/don't hold in area*
7646 #       functions keys have default*/function keys disabled on powerup
7647 #
7648 #       show/don't show position of cursor during page transmit*
7649 #       unused
7650 #       unused
7651 #       unused
7652 #
7653 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
7654 #       Baud rate (9600*)
7655 #
7656 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
7657 #       1 stop bit*/2 stop bits
7658 #       parity error detection off*/on
7659 #
7660 #       keyboard local/on line*
7661 #       half/full duplex*
7662 #       disable/do not disable keyboard after data transmission*
7663 #
7664 #       transmit entire page/stop transmission at cursor*
7665 #       transfer/do not transfer protected characters*
7666 #       transmit all characters/transmit only selected characters*
7667 #       transmit all selected areas/transmit only 1 selected area*
7668 #
7669 #       transmit/do not transmit line separators to host*
7670 #       transmit/do not transmit page tab stops tabs to host*
7671 #       transmit/do not transmit column tab stop tabs to host*
7672 #       transmit/do not transmit graphics control (underline,inverse..)*
7673 #
7674 #       enable*/disable auto XON/XOFF control
7675 #       require/do not require receipt of a DC1 from host after each LF*
7676 #       pause key acts as a meta key/pause key is pause*
7677 #       unused
7678 #
7679 #       unused
7680 #       unused
7681 #       unused
7682 #       unused
7683 #
7684 #       XON character (17*)
7685 #       XOFF character (19*)
7686 #
7687 # C menu: 56   66   0    0    9600  0110 1100
7688 #       number of lines to print data on (printer) (56*)
7689 #
7690 #       number of lines on a sheet of paper (printer) (66*)
7691 #
7692 #       left margin (printer) (0*)
7693 #
7694 #       number of pad chars on new line to printer (0*)
7695 #
7696 #       printer baud rate (9600*)
7697 #
7698 #       printer parity: 00=odd,01=even*,10=space,11=mark
7699 #       printer stop bits: 2*/1
7700 #       print/do not print guarded areas*
7701 #
7702 #       new line is: 01=LF,10=CR,11=CRLF*
7703 #       unused
7704 #       unused
7705 #
7706 # D menu: 0110 1001   1   0
7707 #       LF is newline/LF is down one line, same column*
7708 #       wrap to preceding line if move left from col 1*/don't wrap
7709 #       wrap to next line if move right from col 80*/don't wrap
7710 #       backspace is/is not destructive*
7711 #
7712 #       display*/ignore DEL character
7713 #       display will not/will scroll*
7714 #       page/column tab stops*
7715 #       erase everything*/erase unprotected only
7716 #
7717 #       editing extent: 0=display,1=line*,2=field,3=area
7718 #
7719 #       unused
7720 #
7721
7722 annarbor4080|aa4080|ann arbor 4080, 
7723         am, 
7724         cols#80, lines#40, 
7725         bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
7726         cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c, 
7727         cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
7728         kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
7729
7730 # Strange Ann Arbor terminal from BRL
7731 aas1901|Ann Arbor K4080 w/S1901 mod, 
7732         am, 
7733         cols#80, lines#40, 
7734         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
7735         home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c, 
7736         nel=^M^J, 
7737
7738 # If you're using the GNU termcap library, add
7739 #       :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
7740 # to these capabilities.  This is the nonstandard GNU termcap scrolling
7741 # capability, arguments are:
7742 #   1. Total number of lines on the screen.
7743 #   2. Number of lines above desired scroll region.
7744 #   3. Number of lines below (outside of) desired scroll region.
7745 #   4. Total number of lines on the screen, the same as the first parameter.
7746 # The generic Ann Arbor entry is the only one that uses this.
7747 aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
7748         am, km, mc5i, mir, xon, 
7749         cols#80, it#8, 
7750         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
7751         clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
7752         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
7753         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7754         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
7755         el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
7756         hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
7757         il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8, 
7758         is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
7759         kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7760         kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK, 
7761         kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP, 
7762         kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
7763         kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC, 
7764         kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI, 
7765         khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i, 
7766         mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, 
7767         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
7768         rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
7769         rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
7770         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
7771         sgr0=\E[m, 
7772         smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
7773         smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
7774         vpa=\E[%p1%{1}%+%dd, 
7775
7776 aaa+rv|ann arbor ambassador in reverse video, 
7777         blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
7778         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
7779         rs1=\E[H\E[7m\E[J$<156>, 
7780         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
7781         sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
7782 # Ambassador with the DEC option, for partial vt100 compatibility.
7783 aaa+dec|ann arbor ambassador in dec vt100 mode, 
7784         acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
7785         csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
7786         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
7787         smacs=^O, 
7788 aaa-18|ann arbor ambassador/18 lines, 
7789         lines#18, 
7790         is2=\E7\E[60;0;0;18p\E8, 
7791         rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, use=aaa+unk, 
7792 aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
7793         use=aaa+rv, use=aaa-18, 
7794 aaa-20|ann arbor ambassador/20 lines, 
7795         lines#20, 
7796         is2=\E7\E[60;0;0;20p\E8, 
7797         rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, use=aaa+unk, 
7798 aaa-22|ann arbor ambassador/22 lines, 
7799         lines#22, 
7800         is2=\E7\E[60;0;0;22p\E8, 
7801         rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, use=aaa+unk, 
7802 aaa-24|ann arbor ambassador/24 lines, 
7803         lines#24, 
7804         is2=\E7\E[60;0;0;24p\E8, 
7805         rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, use=aaa+unk, 
7806 aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
7807         use=aaa+rv, use=aaa-24, 
7808 aaa-26|ann arbor ambassador/26 lines, 
7809         lines#26, 
7810         is2=\E7\E[60;0;0;26p\E8, 
7811         rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
7812         smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk, 
7813 aaa-28|ann arbor ambassador/28 lines, 
7814         lines#28, 
7815         is2=\E7\E[60;0;0;28p\E8, 
7816         rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
7817         smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk, 
7818 aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
7819         eslok, hs, 
7820         lines#29, 
7821         dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
7822         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
7823         rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
7824         smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
7825         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
7826         use=aaa+unk, 
7827 aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
7828         use=aaa+rv, use=aaa-30-s, 
7829 aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
7830         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
7831         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
7832 aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video, 
7833         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
7834         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
7835 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
7836         lines#30, 
7837         is2=\E7\E[60;0;0;30p\E8, 
7838         rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
7839         smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk, 
7840 aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
7841         use=aaa+rv, use=aaa-30, 
7842 aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
7843         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
7844         use=aaa-30, 
7845 aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
7846         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
7847         use=aaa+rv, use=aaa-30, 
7848 aaa-36|ann arbor ambassador/36 lines, 
7849         lines#36, 
7850         is2=\E7\E[60;0;0;36p\E8, 
7851         rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
7852         smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk, 
7853 aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
7854         use=aaa+rv, use=aaa-36, 
7855 aaa-40|ann arbor ambassador/40 lines, 
7856         lines#40, 
7857         is2=\E7\E[60;0;0;40p\E8, 
7858         rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
7859         smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk, 
7860 aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
7861         use=aaa+rv, use=aaa-40, 
7862 aaa-48|ann arbor ambassador/48 lines, 
7863         lines#48, 
7864         is2=\E7\E[60;0;0;48p\E8, 
7865         rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
7866         smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk, 
7867 aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
7868         use=aaa+rv, use=aaa-48, 
7869 aaa-60-s|ann arbor ambassador/59 lines+status, 
7870         eslok, hs, 
7871         lines#59, 
7872         dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
7873         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
7874         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
7875         use=aaa+unk, 
7876 aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
7877         use=aaa+rv, use=aaa-60-s, 
7878 aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
7879         use=aaa+dec, use=aaa+rv, use=aaa-60-s, 
7880 aaa-60|ann arbor ambassador/60 lines, 
7881         lines#60, 
7882         is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk, 
7883 aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
7884         use=aaa+rv, use=aaa-60, 
7885 aaa-db|ann arbor ambassador 30/destructive backspace, 
7886         cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, 
7887         use=aaa-30, 
7888
7889 guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
7890         lines#33, 
7891         flash=\E[>59h$<100>\E[>59l, 
7892         is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
7893         rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, 
7894         use=aaa+unk, 
7895 guru+rv|guru changes for reverse video, 
7896         flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
7897 guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
7898         use=guru+rv, use=guru-33, 
7899 guru+s|guru status line, 
7900         eslok, hs, 
7901         dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l, 
7902         rmcup=\E[255;1p\E[255;1H\E[K, smcup=, 
7903         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
7904 guru-nctxt|guru with no saved context, 
7905         smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru, 
7906 guru-s|guru-33-s|ann arbor guru/33 lines+status, 
7907         lines#32, 
7908         is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
7909         smcup=\E[33;1p\E[255;1H\E[K, 
7910         use=guru+s, use=guru+unk, 
7911 guru-24|ann arbor guru 24 lines, 
7912         cols#80, lines#24, 
7913         is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk, 
7914 guru-44|ann arbor guru 44 lines, 
7915         cols#97, lines#44, 
7916         is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk, 
7917 guru-44-s|ann arbor guru/44 lines+status, 
7918         lines#43, 
7919         is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
7920         smcup=\E[44;1p\E[255;1H\E[K, 
7921         use=guru+s, use=guru+unk, 
7922 guru-76|guru with 76 lines by 89 cols, 
7923         cols#89, lines#76, 
7924         is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk, 
7925 guru-76-s|ann arbor guru/76 lines+status, 
7926         cols#89, lines#75, 
7927         is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
7928         smcup=\E[76;1p\E[255;1H\E[K, 
7929         use=guru+s, use=guru+unk, 
7930 guru-76-lp|guru-lp|guru with page bigger than line printer, 
7931         cols#134, lines#76, 
7932         is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk, 
7933 guru-76-w|guru 76 lines by 178 cols, 
7934         cols#178, lines#76, 
7935         is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk, 
7936 guru-76-w-s|ann arbor guru/76 lines+status+wide, 
7937         cols#178, lines#75, 
7938         is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
7939         smcup=\E[76;1p\E[255;1H\E[K, 
7940         use=guru+s, use=guru+unk, 
7941 guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
7942         cols#178, lines#76, 
7943         is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk, 
7944 aaa-rv-unk|ann arbor unknown type, 
7945         lh#0, lw#0, nlab#0, 
7946         blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 
7947         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
7948         rs1=\E[H\E[7m\E[J, 
7949         sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
7950         sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
7951
7952 #### Applied Digital Data Systems (adds)
7953 #
7954 # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
7955 # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
7956 # terminals was merged again.  Then AT&T sold the terminal business to
7957 # SunRiver, which later changed its  name to Boundless Technologies.  The
7958 # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
7959 # as of early 1995) are at:
7960 #
7961 #       Boundless Technologies
7962 #       100 Marcus Boulevard
7963 #       Hauppauge, NY 11788-3762
7964 #       Vox: (800)-231-5445
7965 #       Fax: (516)-342-7378
7966 #
7967 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
7968 # In 1995 Boundless acquired DEC's terminals business.  
7969 #
7970
7971 # Regent: lowest common denominator, works on all regents.
7972 # (regent: renamed ":bc:" to ":le:" -- esr)
7973 regent|Adds Regent Series, 
7974         am, 
7975         cols#80, lines#24, 
7976         bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z, 
7977         home=\EY\s\s, ind=^J, ll=^A, 
7978 # Regent 100 has a bug where if computer sends escape when user is holding
7979 # down shift key it gets confused, so we avoid escape.
7980 regent100|Adds Regent 100, 
7981         xmc#1, 
7982         bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c, 
7983         kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
7984         kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, 
7985         lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, 
7986         sgr0=\E0@, smso=\E0P, smul=\E0`, 
7987         use=regent, 
7988 regent20|Adds Regent 20, 
7989         bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent, 
7990 regent25|Adds Regent 25, 
7991         bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20, 
7992 regent40|Adds Regent 40, 
7993         xmc#1, 
7994         bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r, 
7995         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
7996         kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, 
7997         lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, 
7998         smul=\E0`, 
7999         use=regent25, 
8000 regent40+|Adds Regent 40+, 
8001         is2=\EB, use=regent40, 
8002 regent60|regent200|Adds Regent 60, 
8003         dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF, 
8004         rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, 
8005         use=regent40+, 
8006 # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
8007 # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
8008 viewpoint|addsviewpoint|adds viewpoint, 
8009         am, 
8010         cols#80, lines#24, 
8011         bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, 
8012         cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
8013         cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>, 
8014         ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
8015         kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
8016         rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N, 
8017 # Some viewpoints have bad ROMs that foo up on ^O
8018 screwpoint|adds viewpoint with ^O bug, 
8019         cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint, 
8020
8021 # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
8022 # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
8023 # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
8024 # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
8025 # invis=01000100 and %c is the logical or of desired attributes.
8026 # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
8027 vp3a+|viewpoint3a+|adds viewpoint 3a+, 
8028         am, bw, 
8029         cols#80, it#8, lines#24, 
8030         civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J, 
8031         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8032         ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
8033         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
8034         sgr=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
8035         sgr0=\E(, smso=\E0Q\E), 
8036 vp60|viewpoint60|addsvp60|adds viewpoint60, 
8037         use=regent40, 
8038 #
8039 # adds viewpoint 90 - from cornell
8040 # Note:  emacs sends ei occasionally to insure the terminal is out of
8041 #        insert mode. This unfortunately puts the viewpoint90 IN insert
8042 #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
8043 #   -    :ei=:im=: must be present in the termcap translation.)
8044 #   -    <xhp> indicates glitch that attributes stick to location
8045 #   -    <msgr> means it's safe to move in standout mode
8046 #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
8047 #               the status line
8048 # Function key and label capabilities merged in from SCO.
8049 vp90|viewpoint90|adds viewpoint 90, 
8050         bw, msgr, xhp, 
8051         cols#80, lines#24, 
8052         clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
8053         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
8054         dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I, 
8055         ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J, 
8056         kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, 
8057         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
8058         kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2, 
8059         lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, 
8060         lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, 
8061         sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
8062 # Note: if return acts weird on a980, check internal switch #2
8063 # on the top chip on the CONTROL pc board.
8064 adds980|a980|adds consul 980, 
8065         am, 
8066         cols#80, lines#24, 
8067         bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
8068         cuf1=\E^E01, cup=\013%p1%'@'%+%c\E\005%p2%2d, 
8069         dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
8070         kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
8071         kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
8072
8073 #### C. Itoh Electronics
8074 #
8075 # As of 1995 these people no longer make terminals (they're still in the
8076 # printer business).  Their terminals were all clones of the DEC VT series.
8077 # They're located in Orange County, CA.
8078 #
8079
8080 # CIT 80  - vt-52 emulator, the termcap has been modified to remove
8081 #           the delay times and do an auto tab set rather than the indirect
8082 #           file used in vt100.
8083 cit80|cit-80|citoh 80, 
8084         am, 
8085         cols#80, lines#24, 
8086         clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
8087         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, 
8088         ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
8089         kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, 
8090 # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
8091 # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
8092 cit101|citc|C.itoh fast vt100, 
8093         am, xenl, 
8094         cols#80, lines#24, 
8095         bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C, 
8096         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U, 
8097         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
8098         flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L, 
8099         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
8100         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
8101         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
8102         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
8103         smul=\E[4m, 
8104 # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
8105 # The following termcap entry was created from the Callan cd100 entry.  The
8106 # last two lines (with the capabilities in caps) are used by RM-cobol to allow
8107 # full selection of combinations of reverse video, underline, and blink.
8108 # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
8109 # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
8110 # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
8111 cit101e|C. Itoh CIT-101e, 
8112         am, mir, msgr, 
8113         cols#80, it#8, lines#24, 
8114         acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr, 
8115         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
8116         cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J, 
8117         el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L, 
8118         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT, 
8119         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl, 
8120         kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
8121         rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
8122         smkx=\E=, smso=\E[7m, smul=\E[4m, 
8123 # From: David S. Lawyer, June 1997:
8124 # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
8125 # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
8126 # late 1980's CIT Terminals went out of business.
8127 # There is no need to use the initialization string is=... (by invoking
8128 # tset or setterm etc.) provided that the terminal has been manually set
8129 # up (and the setup saved with ^S) to be compatible with this termcap.  To be
8130 # compatible it should be in ANSI mode (not VT52).   A set-up that
8131 # works is to set all the manually setable stuff to factory defaults
8132 # by pressing ^D in set-up mode.  Then increse the brighness with the
8133 # up-arrow key since the factory default will likely be dim on an old
8134 # terminal.  Then change any options you want (provided that they are
8135 # compatible with the termcap).  For my terminal I set: Screen
8136 # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
8137 # on.  I also set up mine for parity (but you may not need it).  Then 
8138 # save the setup with ^S.
8139
8140 cit101e-rv|Citoh CIT-101e (sets reverse video), 
8141         am, eo, mir, msgr, xenl, xon, 
8142         cols#80, it#8, lines#24, 
8143         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v, 
8144         clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M, 
8145         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8146         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8147         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8148         cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
8149         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>, 
8150         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
8151         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
8152         is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
8153         kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8154         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
8155         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
8156         rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7, sgr0=\E[m, 
8157         smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, smso=\E[7m, 
8158         smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, 
8159         u8=\E[?6c, u9=\E[c, 
8160 cit101e-n|CIT-101e w/o am, 
8161         am@, 
8162         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8163 cit101e-132|CIT-101e with 132 cols, 
8164         cols#132, 
8165         kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8166 cit101e-n132|CIT-101e with 132 cols w/o am, 
8167         am@, 
8168         cols#132, 
8169         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8170 # CIE Terminals CIT-500 from BRL
8171 # The following SET-UP modes are assumed for normal operation:
8172 #       GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
8173 #       AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
8174 #       DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
8175 # Other SET-UP modes may be set for operator convenience or communication
8176 # requirements.
8177 # Hardware tabs are assumed to be set every 8 columns; they can be set up
8178 # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
8179 # "stty ixon -ixany" to enable DC3/DC1 flow control!
8180 # (cit500: I added <rmam>/<smam> based on the init string -- esr)
8181 cit500|CIE Terminals CIT-500, 
8182         mir, msgr, xon, 
8183         cols#80, it#8, lines#64, vt#3, 
8184         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
8185         clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
8186         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
8187         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
8188         cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
8189         ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
8190         il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD, 
8191         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M, 
8192         ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
8193         kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ, 
8194         khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1, 
8195         lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18, 
8196         lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m, 
8197         ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
8198         rmso=\E[m, rmul=\E[m, 
8199         rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>, 
8200         sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
8201         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
8202
8203 # C. Itoh printers begin here
8204 citoh|ci8510|8510|c.itoh 8510a, 
8205         cols#80, it#8, 
8206         bold=\E!, cub1@, 
8207         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073., 
8208         rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
8209         smul=\EX, 
8210         use=lpr, 
8211 citoh-pica|citoh in pica, 
8212         is1=\EN, use=citoh, 
8213 citoh-elite|citoh in elite, 
8214         cols#96, 
8215         is1=\EE, 
8216         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., use=citoh, 
8217 citoh-comp|citoh in compressed, 
8218         cols#136, 
8219         is1=\EQ, 
8220         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., use=citoh, 
8221 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
8222 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
8223         cols#32767, 
8224         is1=\EP, use=citoh, 
8225 citoh-6lpi|citoh in 6 lines per inch mode, 
8226         is3=\EA, use=citoh, 
8227 citoh-8lpi|citoh in 8 lines per inch mode, 
8228         lines#88, 
8229         is3=\EB, use=citoh, 
8230
8231 #### Control Data (cdc)
8232 #
8233
8234 cdc456|cdc 456 terminal, 
8235         am, 
8236         cols#80, lines#24, 
8237         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
8238         cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X, 
8239         el=^V, home=^Y, il1=\EL, ind=^J, 
8240
8241 # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
8242 cdc721|CDC Viking, 
8243         am, 
8244         cols#80, lines#24, 
8245         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
8246         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
8247         kcuu1=^W, khome=^Y, 
8248 cdc721ll|CDC Vikingll, 
8249         am, 
8250         cols#132, lines#24, 
8251         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
8252         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
8253         kcuu1=^W, khome=^Y, 
8254 # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
8255 cdc752|CDC 752, 
8256         am, bw, xhp, 
8257         cols#80, lines#24, 
8258         bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
8259         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V, 
8260         home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017, 
8261 # CDC 756
8262 # The following switch/key settings are assumed for normal operation:
8263 #       96 chars        SCROLL          FULL duplex     not BLOCK
8264 # Other switches may be set according to communication requirements.
8265 # Insert/delete-character cannot be used, as the whole display is affected.
8266 # "so" & "se" are commented out until jove handles "sg" correctly.
8267 cdc756|CDC 756, 
8268         am, bw, 
8269         cols#80, lines#24, 
8270         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
8271         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, 
8272         dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J, 
8273         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI, 
8274         kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, 
8275         kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y, 
8276         khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4, 
8277         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z, 
8278         rs1=\031\030\002\003\017, 
8279 #
8280 # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
8281 #
8282 # Part of the long initialization string defines the "DOWN" key to the left
8283 # of the tab key to send an ESC.  The real ESC key is positioned way out 
8284 # in right field.
8285 #
8286 # The termcap won't work in 132 column mode due to the way it it moves the
8287 # cursor.  Termcap doesn't have the capability (as far as I could tell) to
8288 # handle the 721 in 132 column mode.
8289 #
8290 # (cdc721: changed :ri: to :sr: -- esr)
8291 cdc721-esc|Control Data 721, 
8292         am, bw, msgr, xon, 
8293         cols#80, it#8, lines#30, 
8294         bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z, 
8295         cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
8296         dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
8297         ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
8298         is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o, 
8299         kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
8300         kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
8301         kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
8302         ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^], 
8303         sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk, 
8304         smso=^^D, smul=^\, tbc=^^^RY, 
8305
8306 #### Getronics
8307 #
8308 # Getronics is a Dutch electronics company that at one time was called 
8309 # `Geveke' and made async terminals; but (according to the company itself!)
8310 # they've lost all their documentation on the command set.  The hardware
8311 # documentation suggests the terminals were actually manufactured by a
8312 # Taiwanese electronics company named Cal-Comp.  There are known
8313 # to have been at least two models, the 33 and the 50.
8314 #
8315
8316 # The 50 seems to be a top end vt220 clone, with the addition of a higher
8317 # screen resolution, a larger screen, at least 1 page of memory above and
8318 # below the screen, apparently pages of memory right and left of the screen
8319 # which can be panned, and about 75 function keys (15 function keys x normal,
8320 # shift, control, func A, func B). It also has more setup possibilities than
8321 # the vt220. The monitor case is dated November 1978 and the keyboard case is
8322 # May 1982.
8323 #
8324 # The vt100 emulation works as is.  The entry below describes the rather
8325 # non-conformant (but more featureful) ANSI mode.
8326 #
8327 # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
8328 visa50|geveke visa 50 terminal in ansi 80 character mode, 
8329         bw, mir, msgr, 
8330         cols#80, lines#25, 
8331         acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
8332         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
8333         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
8334         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8335         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8336         dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM, 
8337         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H, 
8338         hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
8339         il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
8340         is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
8341         ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS, 
8342         kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
8343         kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002, 
8344         kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
8345         kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char, 
8346         lf3=A insert line, lf4=A delete line, lf5=A clear, 
8347         lf6=A ce of/cf gn, lf7=A print, lf8=A on-line, 
8348         lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l, 
8349         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, 
8350         rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, 
8351         smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
8352         vpa=\E[%i%p1%dd, 
8353
8354 #### Human Designed Systems (Concept)
8355 #
8356 #       Human Designed Systems
8357 #       400 Fehley Drive
8358 #       King of Prussia, PA 19406
8359 #       Vox: (610)-277-8300
8360 #       Fax: (610)-275-5739
8361 #       Net: support@hds.com
8362
8363 # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
8364 # the character-terminal business now (1995) and making X terminals.  In
8365 # particular, the whole `Concept' line described here was discontinued long
8366 # ago.
8367 #
8368
8369 # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
8370 # Extensive changes to c108 by arpavax:eric Feb 1982
8371 # Some unknown person at SCO then translated it to terminfo.
8372 #
8373 # There seem to be a number of different versions of the C108 PROMS
8374 # (with bug fixes in its Z-80 program).
8375
8376 # The first one that we had would lock out the keyboard of you
8377 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
8378 # Try that on your C108 and see if it sends a ^S when you type it.
8379 # If so, you have an old version of the PROMs.
8380
8381 # You should configure the C108 to send ^S/^Q before running this.
8382 # It is much faster (at 9600 baud) than the c100 because the delays
8383 # are not fixed.
8384 # new status line display entries for c108-8p:
8385 # <is3> - init str #3 - setup term for status display - 
8386 # set programmer mode, select window 2, define window at last 
8387 # line of memory, set bkgnd stat mesg there, select window 0.
8388
8389 # <tsl> - to status line - select window 2, home cursor, erase to 
8390 # end-of-window, 1/2 bright on, goto(line#0, col#?)
8391
8392 # <fsl> - from status line - 1/2 bright off, select window 0
8393
8394 # <dsl> - disable status display - set bkgnd status mesg with 
8395 # illegal window #
8396
8397 # There are probably more function keys that should be added but 
8398 # I don't know what they are.
8399 #
8400 # No delays needed on c108 because of ^S/^Q handshaking
8401 #
8402 c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
8403         is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
8404         rmcup=\Ev  \001\177p\Ep\r\n, 
8405         use=c108-4p, 
8406 c108-4p|concept108-4p|concept 108 w/4 pages, 
8407         eslok, hs, xon, 
8408         pb@, 
8409         acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M, 
8410         cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
8411         cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
8412         ind=^J, is1=\EK\E!\E F, 
8413         is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
8414         rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
8415         smcup=\EU\Ev  8p\Ep\r\E\025, 
8416         tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100, 
8417 c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
8418         rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, 
8419         use=c108-rv-4p, 
8420 c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
8421         flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, 
8422         use=c108-4p, 
8423 c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
8424         cols#132, 
8425         is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
8426         smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p, 
8427
8428 # Concept 100:
8429 # These have only window relative cursor addressing, not screen 
8430 # relative. To get it to work right here, smcup/rmcup (which 
8431 # were invented for the concept) lock you into a one page 
8432 # window for screen style programs.
8433
8434 # To get out of the one page window, we use a clever trick:
8435 # we set the window size to zero ("\Ev    " in rmcup) which the 
8436 # terminal recognizes as an error and resets the window to all 
8437 # of memory.
8438
8439 # This trick works on c100 but does not on c108, sigh.
8440
8441 # Some tty drivers use cr3 for concept, others use nl3, hence 
8442 # the delays on cr and ind below. This padding is only needed at 
8443 # 9600 baud and up.  One or the other is commented out depending on 
8444 # local conventions.
8445
8446 # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
8447 # less than 6 but more than 2 will work.
8448
8449 # Note: can't use function keys f7-f10 because they are 
8450 # indistinguishable from arrow keys (!), also, del char and 
8451 # clear eol use xon/xoff so they probably won't work very well.
8452
8453 # Also note that we don't define insrt/del char/delline/eop/send 
8454 # because they don't transmit unless we reset them - I figured 
8455 # it was a bad idea to clobber their definitions.
8456
8457 # The <mc5> sequence changes the escape character to ^^ so that 
8458 # escapes will be passed through to the printer. Only trouble 
8459 # is that ^^ won't be - ^^ was chosen to be unlikely. 
8460 # Unfortunately, if you're sending raster bits through to be 
8461 # plotted, any character you choose will be likely, so we lose.
8462 #
8463 # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
8464 # cannot be # in is2 because it will hang a c100 with no printer 
8465 # if sent twice.
8466 c100|concept100|concept|c104|c100-4p|hds concept 100, 
8467         am, eo, mir, ul, xenl, 
8468         cols#80, lines#24, pb#9600, vt#8, 
8469         bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
8470         cub1=^H, cud1=^J, cuf1=\E=, 
8471         cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
8472         dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
8473         ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
8474         ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
8475         is1=\EK, 
8476         is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c, 
8477         is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
8478         kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
8479         kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
8480         kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
8481         khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
8482         kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027, 
8483         mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
8484         rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
8485         rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
8486         rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
8487         smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX, 
8488         smso=\ED, smul=\EG, 
8489 c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
8490         cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, 
8491         smso=\EE, 
8492         use=c100, 
8493 oc100|oconcept|c100-1p|old 1 page concept 100, 
8494         in, 
8495         is3@, use=c100, 
8496
8497 # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
8498 # Lots of notes, originally inline, but ncurses doesn't grok that.
8499 #
8500 # am:   not available in power on mode, but turned on with \E[=107;207h in
8501 #       is2=.  Also, \E=124l in is2= could have been used to prevent needing
8502 #       to specify xenl:, but that would have rendered the last space on the
8503 #       last line useless.
8504 # bw:   Not available in power on mode, but turned on with \E[=107;207h in
8505 #       is2=.
8506 # clear: Could be done with \E[2J alone, except that vi (and probably most
8507 #       other programs) assume that this also homes the cursor.
8508 # dsl:  Go to window 2, go to the beginning of the line, use a line feed to
8509 #       scroll the window, and go back to window 1.
8510 # is2:  the string may cause a warning to be issued by tic that it
8511 #       found a very long line and that it suspects that a comma is missing
8512 #       somewhere.  This warning can be ignored (unless it comes up more than
8513 #       once).  The initialization string contains the following commands:
8514 #
8515 #        [Setup mode items changed from factory defaults:]
8516 #               \E)0                    set alternate character set to
8517 #                                               graphics
8518 #               ^O                      set character set to default
8519 #        [In case it wasn't]
8520 #               \E[m                    turn off all attributes
8521 #        [In case they weren't off]
8522 #               \E[=107;                cursor wrap and
8523 #                       207h                    character wrap on
8524 #               \E[90;3u                set Fkey definitions to "transmit"
8525 #                                               defaults
8526 #               \E[92;3u                set cursor key definitions to
8527 #                                               "transmit" defaults
8528 #               \E[43;1u                set shift F13 to transmit...
8529 #               \177\E$P\177
8530 #               \E[44;1u                set shift F14 to transmit...
8531 #                       \177\E$Q\177
8532 #               \E[45;1u                set shift F15 to transmit...
8533 #                       \177\E$R\177
8534 #               \E[46;1u                set shift F16 to transmit...
8535 #                       \177\E$S\177
8536 #               \E[200;1u               set shift up to transmit...
8537 #                       \177\E$A\177
8538 #               \E[201;1u               set shift down to transmit...
8539 #                       \177\E$B\177
8540 #               \E[202;1u               set shift right to transmit...
8541 #                       \177\E$C\177
8542 #               \E[203;1u               set shift left to transmit...
8543 #                       \177\E$D\177
8544 #               \E[204;1u               set shift home to transmit...
8545 #                       \177\E$H\177
8546 #               \E[212;1u               set backtab to transmit...
8547 #                       \177\E$I\177
8548 #               \E[213;1u               set shift backspace to transmit...
8549 #                       \177\E$^H\177
8550 #               \E[214;1u               set shift del to transmit...
8551 #                       "\E$\177"
8552 #        [Necessary items not mentioned in setup mode:]
8553 #               \E[2!w                  move to window 2
8554 #               \E[25;25w               define window as line 25 of memory
8555 #               \E[!w                   move to window 1
8556 #               \E[2*w                  show current line of window 2 as
8557 #                                               status line
8558 #               \E[2+x                  set meta key to use high bit
8559 #               \E[;3+}                 move underline to bottom of character
8560 #
8561 #       All Fkeys are set to their default transmit definitions with \E[90;3u
8562 #       in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
8563 #       setting MUST be redefined or deactivated, because the default is
8564 #       contained in almost all of this terminal's Fkey strings!  If for some
8565 #       reason "quit" cannot be altered, the Fkeys can, but it would be
8566 #       necessary to change ^| to ^] in all of these definitions, and add
8567 #       \E[2;029!t to is2.
8568 # lines: is set to 24 because this terminal refuses to treat the 25th
8569 #       line normally.
8570 # ll:   Not available in power on mode, but turned on with \E[=107;207h in
8571 #       is2=.
8572 # lm:   Pointless, given that this definition locks a single screen of
8573 #       memory into view, but what the hey...
8574 # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
8575 #       other attributes alone), but some programs expect this to turn off
8576 #       everything.
8577 # rmul: Could use \E[4!{ to turn off only underline (leaving any other
8578 #       attributes alone), but some programs expect this to turn off
8579 #       everything.
8580 # sgr:  Attributes are set on this terminal with the string \E[ followed by
8581 #       a list of attribute code numbers (in decimal, separated by
8582 #       semicolons), followed by the character m.  The attribute code
8583 #       numbers are:
8584 #                 1 for bold;
8585 #                 2 for dim (which is ignored in power on mode);
8586 #                 4 for underline;
8587 #                 5 for blinking;
8588 #                 7 for inverse;
8589 #                 8 for not displayable; and
8590 #               =99 for protected (except that there are strange side
8591 #               effects to protected characters which make them inadvisable).
8592 #        The mapping of terminfo parameters to attributes is as follows:
8593 #               %p1 (standout) = bold and inverse together;
8594 #               %p2 (underline) = underline;
8595 #               %p3 (reverse) = inverse;
8596 #               %p4 (blink) = blinking;
8597 #               %p5 (dim) is ignored;
8598 #               %p6 (bold) = bold;
8599 #               %p7 (invisible) = not displayable;
8600 #               %p8 (protected) is ignored; and
8601 #               %p9 (alt char set) = alt char set.
8602 #        The code to do this is:
8603 #               \E[0            OUTPUT  \E[0
8604 #               %?%p1%p6%O      IF      (standout; bold) OR
8605 #               %t;1            THEN    OUTPUT  ;1
8606 #               %;              ENDIF
8607 #               %?%p2           IF      underline
8608 #               %t;4            THEN    OUTPUT  ;4
8609 #               %;              ENDIF
8610 #               %?%p4           IF      blink
8611 #               %t;5            THEN    OUTPUT  ;5
8612 #               %;              ENDIF
8613 #               %?%p1%p3%O      IF      (standout; reverse) OR
8614 #               %t;7            THEN    OUTPUT  ;7
8615 #               %;              ENDIF
8616 #               %?%p7           IF      invisible
8617 #               %t;8            THEN    OUTPUT  ;8
8618 #               %;              ENDIF
8619 #               m               OUTPUT  m
8620 #               %?%p9           IF      altcharset
8621 #               %t^N            THEN    OUTPUT  ^N
8622 #               %e^O            ELSE    OUTPUT  ^O
8623 #               %;              ENDIF
8624 # sgr0: Everything is turned off (including alternate character set), since
8625 #       there is no way of knowing what it is that the program wants turned
8626 #       off.
8627 # smul: The "underline" attribute is reconfigurable to an overline or
8628 #       strikethru, or (as done with \E[;3+} in is2=), to a line at the true
8629 #       bottom of the character cell.  This was done to allow for more readable
8630 #       underlined characters, and to be able to distinguish between an
8631 #       underlined space, an underscore, and an underlined underscore.
8632 # xenl: Terminal can be configured to not need this, but this "glitch"
8633 #       behavior is actually preferable with autowrap terminals.
8634 #
8635 # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
8636 # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
8637 # string modifies the 'O' in kf43 to kf46 to a '$'.
8638 #
8639 # kcbt was originally ^I but redefined in is2=.
8640 # kHOM was \E[H originally but redefined in is2=, as were a number of
8641 # other keys.
8642 # kDC was originally \177 but redefined in is2=.
8643 #
8644 # kbs:  Shift was also ^H originally but redefined as \E$^H in is2=.
8645 # tsl:  Go to window 2, then do an hpa=.
8646 #
8647 #------- flash=\E[8;3!}^G\E[3;3!}
8648 #------- flash=\E[?5h$<100>\E[?5l
8649 # There are two ways to flash the screen, both of which have their drawbacks. 
8650 # The first is to set the bell mode to video, transmit a bell character, and
8651 # set the bell mode back - but to what?  There is no way of knowing what the
8652 # user's old bell setting was before we messed with it.  Worse, the command to
8653 # set the bell mode also sets the key click volume, and there is no way to say
8654 # "leave that alone", or to know what it's set to, either.
8655 # The second way to do a flash is to set the screen to inverse video, pad for a
8656 # tenth of a second, and set it back - but like before, there's no way to know
8657 # that the screen wasn't ALREADY in inverse video, or that the user may prefer
8658 # it that way.  The point is moot anyway, since vi (and probably other
8659 # programs) assume that by defining flash=, you want the computer to use it
8660 # INSTEAD of bel=, rather than as a secondary type of signal.
8661 #
8662 #------- cvvis=\E[+{
8663 # The is the power on setting, which is also as visible as the cursor
8664 # gets.
8665 #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
8666 # Windowing is possible, but not defined here because it is also used to
8667 # emulate status line functions.  Allowing a program to set a window could
8668 # clobber the status line or render it unusable.  There is additional memory,
8669 # but screen scroll functions are destructive and do not make use of it.
8670 #
8671 #-------   dim=                 Not available in power on mode.
8672 # You have a choice of defining low intensity characters as "half bright" and
8673 # high intensity as "normal", or defining low as "normal" and high as "bold". 
8674 # No matter which you choose, only one of either "half bright" or "bold" is
8675 # available at any time, so taking the time to override the default is
8676 # pointless.
8677 #
8678 #-------  prot=\E[=0;99m
8679 # Not defined, because it appears to have some strange side effects.
8680 #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
8681 #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
8682 #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
8683 #        Available, but making them available to programs is inadvisable.
8684 #        The code to do this is:
8685 #               %?%p1%{24}%<    IF      ((key; 24) <;
8686 #               %p1%{30}%>               ((key; 30) >;
8687 #               %p1%{54}%<                (key; 54) <
8688 #               %A                       ) AND
8689 #               %O                      ) OR
8690 #        [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
8691 #               %t\E[           THEN    OUTPUT  \E[
8692 #               %p1%d                   OUTPUT  (key) as decimal
8693 #        [next line applies to pfx only]
8694 #               ;1                      OUTPUT  ;1
8695 #               u                       OUTPUT  u
8696 #               \177                    OUTPUT  \177
8697 #               %p2%s                   OUTPUT  (string) as string
8698 #               \177                    OUTPUT  \177
8699 #        [DEL chosen as delimiter, but could be any character]
8700 #        [implied:              ELSE    do nothing]
8701 #               %;              ENDIF
8702 #       
8703 #-------   rs2=
8704 # Not defined since anything it might do could be done faster and easier with
8705 # either Meta-Shift-Reset or the main power switch.
8706 #
8707 #-------  smkx=\E[1!z
8708 #-------  rmkx=\E[!z
8709 # These sequences apply to the cursor and setup keys only, not to the
8710 # numeric keypad.  But it doesn't matter anyway, since making these
8711 # available to programs is inadvisable.
8712 # For the key definitions below, all sequences beginning with \E$ are
8713 # custom and programmed into the terminal via is2.  \E$ also has no
8714 # meaning to any other terminal.
8715 #
8716 #------- cmdch=\E[;%p1%d!t
8717 # Available, but making it available to programs is inadvisable.
8718 #------- smxon=\E[1*q
8719 # Available, but making it available to programs is inadvisable.
8720 # Terminal will send XON/XOFF on buffer overflow.
8721 #------- rmxon=\E[*q
8722 # Available, but making it available to programs is inadvisable.
8723 # Terminal will not notify on buffer overflow.
8724 #-------   smm=\E[2+x
8725 #-------   rmm=\E[+x
8726 # Available, but making them available to programs is inadvisable.
8727 #
8728 # Printing:
8729 #        It's not made clear in the manuals, but based on other ansi/vt type
8730 #        terminals, it's a good guess that this terminal is capable of both
8731 #        "transparent print" (which doesn't copy data to the screen, and
8732 #        therefore needs mc5i: specified to say so) and "auxilliary print"
8733 #        (which does duplicate printed data on the screen, in which case mc4=
8734 #        and mc5= should use the \E[?4i and \E[?5i strings instead).
8735
8736 hds200|Human Designed Systems HDS200, 
8737         am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
8738         cols#80, it#8, lines#24, lm#0, 
8739         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
8740         blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{, 
8741         clear=\E[H\E[J, cnorm=\E[+{, cr=^M, 
8742         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
8743         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8744         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8745         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
8746         dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K, 
8747         fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
8748         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
8749         invis=\E[0;8m, 
8750         is2=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+}, 
8751         kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H, 
8752         kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8753         kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r, 
8754         kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ, 
8755         kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r, 
8756         kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r, 
8757         kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r, 
8758         kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r, 
8759         kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r, 
8760         kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r, 
8761         kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r, 
8762         kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r, 
8763         kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r, 
8764         kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H, 
8765         kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A, 
8766         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8, 
8767         rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017, 
8768         rmul=\E[m\017, sc=\E7, 
8769         sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
8770         sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m, 
8771         smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG, 
8772         vpa=\E[%i%p1%dd, 
8773
8774 # <ht> through <el> included to specify padding needed in raw mode.
8775 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
8776 avt-ns|concept avt no status line, 
8777         am, eo, mir, ul, xenl, xon, 
8778         cols#80, it#8, lines#24, lm#192, 
8779         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
8780         clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
8781         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8782         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
8783         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8784         cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>, 
8785         dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H, 
8786         hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, 
8787         ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
8788         invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l, 
8789         is2=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\:0\:32!r\E[0*w\E[w\E2\r\n\E[2;27!t, 
8790         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8791         kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
8792         kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, 
8793         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
8794         pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#, 
8795         prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
8796         ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l, 
8797         rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, sc=\E7, 
8798         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
8799         sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r, 
8800         smir=\E1, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
8801         tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
8802 avt-rv-ns|concept avt in reverse video mode/no status line, 
8803         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
8804         use=avt-ns, 
8805 avt-w-ns|concept avt in 132 column mode/no status line, 
8806         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
8807         use=avt-ns, 
8808 avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
8809         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
8810         smcup=\E[H\E[1;24;1;132w, 
8811         use=avt-ns, 
8812
8813 # Concept AVT with status line. We get the status line using the
8814 # "Background status line" feature of the terminal. We swipe the
8815 # first line of memory in window 2 for the status line, keeping
8816 # 191 lines of memory and 24 screen lines for regular use.
8817 # The first line is used instead of the last so that this works
8818 # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
8819 # assumes an 8 page AVT but lm isn't currently used anywhere.)
8820 #
8821 avt+s|concept avt status line changes, 
8822         eslok, hs, 
8823         lm#191, 
8824         dsl=\E[0*w, fsl=\E[1;1!w, 
8825         is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
8826         rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
8827         tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
8828 avt|avt-s|concept-avt|avt w/80 columns, 
8829         use=avt+s, use=avt-ns, 
8830 avt-rv|avt-rv-s|avt reverse video w/sl, 
8831         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s, 
8832         use=avt-ns, 
8833 avt-w|avt-w-s|concept avt 132 cols+status, 
8834         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s, 
8835         use=avt-ns, 
8836 avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
8837         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
8838         smcup=\E[H\E[1;24;1;132w, 
8839         use=avt+s, use=avt-ns, 
8840
8841 #### Contel Business Systems. 
8842 #
8843
8844 # Contel c300 and c320 terminals. 
8845 contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
8846         am, in, xon, 
8847         cols#80, lines#24, xmc#1, 
8848         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
8849         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
8850         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
8851         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
8852         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
8853         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
8854         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
8855         rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3, 
8856 # Contel c301 and c321 terminals.
8857 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
8858         flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>, 
8859         use=contel300, 
8860
8861 #### Data General (dg)
8862 #
8863 # According to James Carlson <carlson@xylogics.com> writing in January 1995,
8864 # the terminals group at Data General was shut down in 1991; all these
8865 # terminals have thus been discontinued.
8866 #
8867
8868 # According to the 4.4BSD termcap file, the dg200 <cup> should be the
8869 # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
8870 # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
8871 # maybe they were originally nuls (which would fit).
8872 dg200|data general dasher 200, 
8873         am, bw, 
8874         cols#80, lines#24, 
8875         bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
8876         cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J, 
8877         kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q, 
8878         kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
8879         kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
8880         smso=^^D, smul=^T, 
8881 # Data General 210/211 (and 410?)       from Lee Pearson (umich!lp) via BRL
8882 dg210|dg-ansi|Data General 210/211, 
8883         am, 
8884         cols#80, lines#24, 
8885         clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
8886         ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, kcud1=\E[B, 
8887         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, nel=\r\E[H\E[A\n, 
8888         rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, smul=\E[4;m, 
8889 # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
8890 # courtesy of Carlos Rucalde of Vantage Software, Inc.
8891 # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
8892 # I suspect the d200 function keys actually work on the dg211, check it out.)
8893 dg211|Data General d211, 
8894         cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
8895         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
8896         rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, 
8897         use=dg200, 
8898 # dg450 from cornell
8899 dg450|dg6134|data general 6134, 
8900         cub1@, cuf1=^X, use=dg200, 
8901 # Note: lesser Dasher terminals will not work with vi because vi insists upon
8902 # having a command to move straight down from any position on the bottom line
8903 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
8904 # above have both, the D210/211, for instance, has neither.  We must use ANSI
8905 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
8906 # backspace on all terminals.  This is not so in DG mode.
8907 # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
8908 # grounds that there is no matching ":ml:"
8909 # fixed garbled ":k9=\E[00\:z:" capability -- esr)
8910 dg460-ansi|Data General Dasher 460 in ANSI-mode, 
8911         am, msgr, ul, 
8912         cols#80, it#8, lines#24, 
8913         blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
8914         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
8915         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
8916         il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, kcub1=\E[D, 
8917         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z, 
8918         kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, kf4=\E[005z, 
8919         kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, kf8=\E[009z, 
8920         kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4, 
8921         lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, ri=\E[T, 
8922         rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
8923 # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
8924 # Data General 605x     
8925 # Ought to work for a Model 6242, Type D210 as well as a 605x.
8926 # Note that the cursor-down key transmits ^Z.  Job control users, beware!
8927 # This also matches a posted description of something called a `Dasher 100'
8928 # so there's a dg100 alias here. 
8929 # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
8930 dg6053|dg100|data general 6053, 
8931         am, bw, ul, 
8932         cols#80, lines#24, 
8933         bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
8934         cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H, 
8935         ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, 
8936         kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, 
8937         kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\0^^E, 
8938         rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, smul=^T, 
8939
8940 #### Datamedia (dm)
8941 #
8942 # Datamedia was headquartered in Nashua, New Hampshire in 1993.
8943 # As of early 1996, at least one company called `Datamedia' has been taken
8944 # over by:
8945 #
8946 #    Axent Technologies, Inc.
8947 #    2400 Research Boulevard
8948 #    Rockville, Maryland 20850
8949 #    voice: +1 301/258-5043
8950 #      fax: +1 301/330-5756
8951 #    email: <info@axent.com>
8952 #
8953 # makers of OmniGuard client/server security software.  They are a software
8954 # only company and no longer make terminals.  However, the operator there
8955 # told me that she had once spoken to a customer looking for Datamedia
8956 # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
8957 # by comp.terminals poosting describing the ID plate on the back of a
8958 # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
8959 # Inquiring minds want to know...
8960 #
8961
8962 cs10|colorscan|Datamedia Color Scan 10, 
8963         msgr, 
8964         cols#80, lines#24, 
8965         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
8966         cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
8967         ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8968         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
8969         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
8970 cs10-w|Datamedia Color Scan 10 with 132 columns, 
8971         cols#132, 
8972         cup=\E[%i%p1%02d;%p2%03dH, use=cs10, 
8973
8974 # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
8975 dm1520|dm1521|datamedia 1520, 
8976         am, xenl, 
8977         cols#80, it#8, lines#24, 
8978         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
8979         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
8980         home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
8981         khome=^Y, 
8982 # dm2500: this terminal has both <ich> and <smir>. Applications using 
8983 # termcap/terminfo directly (rather than through ncurses) might be confused.
8984 dm2500|datamedia2500|datamedia 2500, 
8985         cols#80, lines#24, 
8986         bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
8987         cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
8988         dch1=\020\010\030\035$<10*>, 
8989         dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
8990         ich1=\020\034\030\035$<10*>, 
8991         il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
8992         rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
8993         smdc=^P, smir=^P, smso=^N, 
8994 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
8995 # also, has a meta-key.
8996 # From: <goldberger@su-csli.arpa>
8997 # (dmchat: ":MT:" changed to ":km:" -- esr)
8998 dmchat|dmchat version of datamedia 2500, 
8999         km, 
9000         dl1=\020\032\030\035$<2/>, 
9001         il1=\020\n\030\035\030\035$<1*/>, use=dm2500, 
9002 # (dm3025: ":MT:" changed to ":km:" -- esr)
9003 dm3025|datamedia 3025a, 
9004         km, 
9005         cols#80, it#8, lines#24, 
9006         bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9007         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
9008         dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK, 
9009         home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, 
9010         is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, 
9011         smir=\EP, smso=\EO1, 
9012 dm3045|datamedia 3045a, 
9013         am, eo, km@, ul, xenl, 
9014         dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA, 
9015         kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
9016         kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, 
9017         khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, 
9018         use=dm3025, 
9019 # Datamedia DT80 soft switches:
9020 # 1     0=Jump  1=Smooth
9021 #       Autorepeat      0=off  1=on
9022 #       Screen          0=Dark 1=light
9023 #       Cursor          0=u/l  1=block
9024
9025 # 2     Margin Bell     0=off  1=on
9026 #       Keyclick        0=off  1=on
9027 #       Ansi/VT52       0=VT52 1=Ansi
9028 #       Xon/Xoff        0=Off  1=On
9029
9030 # 3     Shift3          0=Hash 1=UK Pound
9031 #       Wrap            0=Off  1=On
9032 #       Newline         0=Off  1=On
9033 #       Interlace       0=Off  1=On
9034 #       
9035 # 4     Parity          0=Odd  1=Even
9036 #       Parity          0=Off  1=On
9037 #       Bits/Char       0=7    1=8
9038 #       Power           0=60Hz 1=50Hz
9039
9040 # 5     Line Interface  0=EIA  1=Loop
9041 #       Aux Interface   0=EIA  1=Loop
9042 #       Local Copy      0=Off  1=On     
9043 #       Spare
9044
9045 # 6     Aux Parity      0=Odd  1=Even
9046 #       Aux Parity      0=Off  1=On
9047 #       Aux Bits/Char   0=7    1=8
9048 #       CRT Saver       0=Off  1=On
9049 # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
9050 dm80|dmdt80|dt80|datamedia dt80/1, 
9051         clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
9052         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
9053         home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
9054         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
9055         use=vt100, 
9056 # except in 132 column mode, where it needs a little padding.
9057 # This is still less padding than the vt100, and you can always turn on
9058 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
9059 # reverse video.
9060 dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
9061         cols#132, 
9062         clear=\E[H\E[2J$<50/>, cud1=^J, 
9063         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
9064         ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80, 
9065 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
9066 dt80-sas|Datamedia DT803/DTX for SAS usage, 
9067         am, bw, 
9068         cols#80, lines#24, 
9069         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
9070         bel=^G, clear=^L, cr=^M, 
9071         csr=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2, 
9072         cub1=^H, cud1=\EB, cuf1=^\, 
9073         cup=\E=%p2%' '%+%c%p1%' '%+%c, cuu1=^_, dl1=\EM, ed=^K, 
9074         el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
9075         is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
9076         kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
9077         rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
9078         smso=\E$2\004, tbc=\E'0, 
9079
9080 # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
9081 # These aren't end-all Excel termcaps; but do insert/delete char/line
9082 # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
9083 # The naming convention has been bent somewhat, with the use of E? (where
9084 # E is for 'Excel') as # a name.  This was done to distinguish the entries
9085 # from the other Datamedias in use here, and yet to associate a model of
9086 # the Excel terminals with the regular datamedia terminals that share
9087 # major characteristics.
9088 excel62|excel64|datamedia Excel 62, 
9089         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
9090         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
9091         use=dt80, 
9092 excel62-w|excel64-w|datamedia Excel 62 in 132 char mode, 
9093         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
9094         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
9095         use=dt80w, 
9096 excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode, 
9097         dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J, 
9098         kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, 
9099         smir=\E[4h, 
9100         use=dt80, 
9101
9102 #### Falco
9103 #
9104 #       Falco Data Products
9105 #       440 Potrero Avenue
9106 #       Sunnyvale, CA 940864-196
9107 #       Vox: (800)-325-2648
9108 #       Fax: (408)-745-7860
9109 #       Net: techsup@charm.sys.falco.com
9110 #
9111 # Current Falco models as of 1995 are generally ANSI-compatible and support
9112 # emulations of DEC VT-series, Wyse, and Televideo types.
9113 #
9114
9115 # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
9116 # This terminal was released around 1983 and was discontinued long ago.
9117 # The standout and underline highlights are the same.
9118 falco|ts1|ts-1|falco ts-1, 
9119         am, 
9120         cols#80, it#8, lines#24, 
9121         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
9122         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
9123         dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE, 
9124         ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
9125         kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, 
9126         smir=\Eq, smso=\Eg1, smul=\Eg1, 
9127 falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
9128         am, da, db, mir, msgr, ul, 
9129         cols#80, it#8, lines#24, 
9130         bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, 
9131         cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
9132         dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I, 
9133         il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B, 
9134         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er, 
9135         rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq, 
9136         smso=\Eg4, smul=\Eg1, 
9137 # (ts100: I added <rmam>/<smam> based on the init string -- esr)
9138 ts100|ts100-sp|falco ts100-sp, 
9139         am, mir, msgr, xenl, xon, 
9140         cols#80, it#8, lines#24, vt#3, 
9141         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9142         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
9143         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
9144         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
9145         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
9146         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
9147         cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
9148         el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, 
9149         ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea, 
9150         ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, 
9151         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
9152         kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
9153         kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
9154         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
9155         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
9156         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
9157         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
9158         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
9159         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
9160 ts100-ctxt|falco ts-100 saving context, 
9161         rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100, 
9162
9163 #### Florida Computer Graphics
9164 #
9165
9166 # Florida Computer Graphics Beacon System, using terminal emulator program
9167 # "host.com", as provided by FCG.  This description is for an early release
9168 # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
9169 # commented out.
9170
9171 # From: David Bryant <cbosg!djb> 1/7/83
9172 beacon|FCG Beacon System, 
9173         am, da, db, 
9174         cols#80, lines#32, 
9175         bel=\ESTART\r\E37\r\EEND\r$<1>, 
9176         blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M, 
9177         cub1=^H, cud1=^J, cuf1=\EV, 
9178         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
9179         dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE, 
9180         ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=, 
9181         rmso=\ESTART\r\E70\,0\r\EEND\r$<20>, 
9182         rmul=\ESTART\r\E60\,0\r\EEND\r, 
9183         sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>, 
9184         smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>, 
9185         smso=\ESTART\r\E70\,6\r\EEND\r$<20>, 
9186         smul=\ESTART\r\E60\,1\r\EEND\r, 
9187
9188 #### Fluke
9189 #
9190
9191 # The f1720a differences from ANSI: no auto margin, destructive 
9192 # tabs, # of lines, funny highlighting and underlining
9193 f1720|f1720a|fluke 1720A, 
9194         xt, 
9195         cols#80, lines#16, xmc#1, 
9196         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
9197         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, 
9198         el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^], 
9199         kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
9200         smso=\E[7m, smul=\E[4m, 
9201
9202 #### Liberty Electronics (Freedom)
9203 #
9204 #       Liberty Electronics
9205 #       48089 Fremont Blvd
9206 #       Fremont CA 94538
9207 #       Vox: (510)-623-6000
9208 #       Fax: (510)-623-7021
9209
9210 # From: <faletti@berkeley.edu>
9211 # (f100: added empty <acsc> to suppress a tic warning;
9212 # made this relative to adm+sgr -- note that <invis> isn't
9213 # known to work for f100 but does on the f110. --esr)
9214 f100|freedom|freedom100|freedom model 100, 
9215         am, bw, hs, mir, msgr, xon, 
9216         cols#80, lines#24, 
9217         acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
9218         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
9219         dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
9220         flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c, 
9221         ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>, 
9222         is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, 
9223         kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
9224         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
9225         kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er, 
9226         smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
9227         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
9228 f100-rv|freedom-rv|freedom 100 in reverse video, 
9229         flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100, 
9230 # The f110 and f200 have problems with vi(1).  They use the ^V
9231 # code for the down cursor key. When kcud1 is defined in terminfo
9232 # as ^V, the Control Character Quoting capability (^V in insert mode)
9233 # is lost! It cannot be remapped in vi because it is necessary to enter
9234 # a ^V to to quote the ^V that is being remapped!!!
9235
9236 # f110/f200 users will have to decide whether
9237 # to lose the down cursor key or the quoting capability. We will opt
9238 # initially for leaving the quoting capability out, since use of VI
9239 # is not generally applicable to most interactive applications
9240 # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
9241 f110|freedom110|Liberty Freedom 110, 
9242         bw@, eslok, 
9243         it#8, wsl#80, 
9244         blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V, 
9245         cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
9246         flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW, 
9247         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, 
9248         kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO, 
9249         smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, 
9250         use=f100, 
9251 f110-14|Liberty Freedom 110 14inch, 
9252         dch1@, use=f110, 
9253 f110-w|Liberty Freedom 110 - 132 cols, 
9254         cols#132, use=f110, 
9255 f110-14w|Liberty Freedom 110 14in/132 cols, 
9256         cols#132, 
9257         dch1@, use=f110, 
9258 # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
9259 f200|freedom200|Liberty Freedom 200, 
9260         am, eslok, hs, mir, msgr, xon, 
9261         cols#80, it#8, lines#24, wsl#80, 
9262         acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
9263         clear=^Z, cnorm=\E.1, cr=^M, 
9264         csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
9265         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
9266         cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, 
9267         el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^, 
9268         hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H, 
9269         kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
9270         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
9271         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
9272         kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, 
9273         ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<, 
9274         tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, 
9275         use=adm+sgr, 
9276 f200-w|Liberty Freedom 200 - 132 cols, 
9277         cols#132, use=f200, 
9278 # The f200 has the ability to reprogram the down cursor key. The key is
9279 # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
9280 # so powering the terminal off and on will not cause the change to be lost.
9281 f200vi|Liberty Freedom 200 for vi, 
9282         flash=\Eb$<200/>\Ed, kcud1=^J, use=f200, 
9283 f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
9284         cols#132, use=f200vi, 
9285
9286 #### GraphOn (go)
9287 #
9288 #       Graphon Corporation
9289 #       544 Division Street
9290 #       Campbell, CA 95008
9291 #       Vox: (408)-370-4080
9292 #       Fax: (408)-370-5047
9293 #       Net: troy@graphon.com (Troy Morrison)
9294 #
9295 #
9296 # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
9297 # including one odd hybrid that starts out life on power-up as a character
9298 # terminal, than can be switched to X graphics mode (driven over the serial
9299 # line) by an escape sequence.  No info on this beast yet.
9300 # (go140: I added <rmam>/<smam> based on the init string -- esr)
9301 go140|graphon go-140, 
9302         cols#80, it#8, lines#24, 
9303         clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
9304         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
9305         ed=\E[J$<10/>, el=\E[K, ht=^I, 
9306         if=/usr/share/tabset/vt100, il1=\E[L, 
9307         is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
9308         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
9309         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
9310         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
9311         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
9312         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
9313 go140w|graphon go-140 in 132 column mode, 
9314         am, 
9315         cols#132, 
9316         is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140, 
9317 # Hacked up vt200 termcap to handle GO-225/VT220
9318 # From: <edm@nwnexus.WA.COM>
9319 # (go225: I added <rmam>/<smam> based on the init string -- esr)
9320 go225|go-225|Graphon 225, 
9321         am, mir, xenl, 
9322         cols#80, it#8, lines#25, vt#3, 
9323         blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
9324         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
9325         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
9326         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED, 
9327         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
9328         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
9329         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m, 
9330         rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
9331         rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, 
9332         rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, 
9333         sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, 
9334         smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
9335
9336 #### Harris (Beehive)
9337 #
9338 # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
9339 # Their terminal group is ancient history now (1995) though the parent
9340 # company is still in business.
9341 #
9342
9343 # Beehive documentation is undated and marked Preliminary and has no figures
9344 # so we must have early Superbee2 (Model 600, according to phone conversation
9345 # with mfr.). It has proved reliable except for some missing padding
9346 # (notably after \EK and <nl> at bottom of screen).
9347
9348 # The key idea is that AEP mode is poison for <cup> & that US's in 
9349 # the local memory should be avoided like the plague. That means 
9350 # that the 2048 character local buffer is used as 25 lines of 80 
9351 # characters, period. No scrolling local memory, folks. It also 
9352 # appears that we cannot use naked INS LINE feature since it uses
9353 # US. The sbi fakes <il1> with an 80-space insert that may be too 
9354 # slow at low speeds; also spaces get converted to \040 which is 
9355 # too long for some programs (not vi).  DEL LINE is ok but slow.
9356
9357 # The <nl> string is designed for last line of screen ONLY; cup to 
9358 # 25th line corrects the motion inherent in scrolling to Page 1.
9359
9360 # There is one understood bug. It is that the screen appears to
9361 # pop to a new (blank) page after a <nel>, or leave a half-line 
9362 # ellipsis to a quad that is the extra 48 memory locations. The 
9363 # data received is dumped into memory but not displayed.  Not to 
9364 # worry if <cup> is being used; the lines not displayed will be, 
9365 # whenever the cursor is moved up there. Since <cup> is addressed 
9366 # relative to MEMORY of window, nothing is lost; but beware of 
9367 # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
9368 # therefore, is setenv MORE -c .
9369
9370 # WARNING: Not all features tested.
9371
9372 # Timings are assembled from 3 sources. Some timings may reflect 
9373 # SB2/Model 300 that were used if more conservative.
9374 # Tested on a Model 600 at 1200 and 9600 bd.
9375
9376 # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
9377 # placed on the keyboard and useless because of AEP, is made 
9378 # into a backspace key. In use ESC must be pressed twice (to send)
9379 # and sending ^C must be prefixed by ESC to avoid that weird 
9380 # transmit mode associated with ENTER key.
9381
9382 # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
9383 # the screen, then it has dropped into ENTER mode; hit 
9384 # RESET--ONLINE--!tset.
9385
9386 # As delivered this machine has a FATAL feature that will throw 
9387 # it into that strange transmit state (SPOW) if the space bar is 
9388 # hit after a CR is received, but before receiving a LF (or a 
9389 # few others).
9390
9391 # The circuits MUST be modified to eliminate the SPOW latch. 
9392 # This is done by strapping on chip A46 of the I/O board; cut 
9393 # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
9394 # chip. This mod has been checked out on a Mod 600 of Superbee II.
9395 # With this modification absurdly high timings on cr are 
9396 # unnecessary.
9397
9398 # NOTE WELL that the rear panel switch should be set to CR/LF, 
9399 # not AEP!
9400 #
9401 sb1|beehive superbee, 
9402         am, bw, da, db, mir, ul, xsb, 
9403         cols#80, lines#25, xmc#1, 
9404         bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, 
9405         cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d, 
9406         cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, 
9407         el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1, 
9408         il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
9409         ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, 
9410         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, 
9411         kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
9412         kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
9413         krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER, 
9414         rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, 
9415         smso=\E_1, smul=\E_0, tbc=\E3, 
9416 sbi|superbee|beehive superbee at Indiana U., 
9417         xsb, 
9418         cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1, 
9419 # Alternate (older) description of Superbee - f1=escape, f2=^C.
9420 # Note: there are at least 3 kinds of superbees in the world.  The sb1
9421 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
9422 # The sb3 puts garbage on the bottom of the screen when you scroll with
9423 # the switch in the back set to CRLF instead of AEP.  This description
9424 # is tested on the sb2 but should work on all with either switch setting.
9425 # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
9426 # the other two if you want to try to hit that tiny escape key.
9427 # This description is tricky: being able to use cup depends on there being
9428 # 2048 bytes of memory and the hairy <nl> string.
9429 superbee-xsb|beehive super bee, 
9430         am, da, db, xsb, 
9431         cols#80, it#8, lines#25, 
9432         clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J, 
9433         cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
9434         dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
9435         home=\EH, ht=^I, hts=\E1, 
9436         ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ, 
9437         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq, 
9438         kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
9439         khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
9440 # This loses on lines > 80 chars long, use at your own risk
9441 superbeeic|super bee with insert char, 
9442         ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
9443 sb2|sb3|fixed superbee, 
9444         xsb@, use=superbee, 
9445
9446 # Reports are that most of these Beehive entries (except superbee) have not
9447 # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
9448
9449 # (bee: <ich1> was empty, which is obviously bogus -- esr)
9450 beehive|bee|harris beehive, 
9451         am, mir, 
9452         cols#80, lines#24, 
9453         cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
9454         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
9455         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>, 
9456         kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
9457         kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
9458         krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, 
9459         smir=\EQ, smso=\EdP, smul=\Ed`, 
9460 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
9461 # good grief - does this entry make :sg:/:ug: when it doesn't have to?
9462 # look at those spaces in <rmso>/<smso>.  Seems strange to me...
9463 # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
9464 # really care, cook up one using ^F -- esr)
9465 beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
9466         am, 
9467         cols#80, it#8, lines#20, 
9468         bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K, 
9469         dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F, 
9470         il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s, 
9471 beehive4|bh4|beehive 4, 
9472         am, 
9473         cols#80, lines#24, 
9474         bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
9475         cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J, 
9476 microb|microbee|micro bee series, 
9477         am, 
9478         cols#80, it#8, lines#24, 
9479         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9480         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
9481         el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
9482         kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
9483         kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@, 
9484         rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`, 
9485
9486 # 8675, 8686, and bee from Cyrus Rahman
9487 # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
9488 ha8675|harris 8675, 
9489         is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
9490         kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei, 
9491         kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H, 
9492         kf8=\177, kf9=\Ee, 
9493         use=bee, 
9494 # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
9495 # in :is: -- esr)
9496 ha8686|harris 8686, 
9497         is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\E"8FB5021B7283#, 
9498         kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003, 
9499         kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003, 
9500         kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003, 
9501         kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(, 
9502         use=bee, 
9503
9504 #### Hazeltine
9505 #
9506 # Hazeltine appears to be out of the business now (1995).  These guys were 
9507 # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
9508 # They have a hazeltine.com domain and can be reached at:
9509 #
9510 #       Hazeltine
9511 #       450 East Pulaski Road
9512 #       Greenlawn, New York 11740
9513 #
9514 # As late as 1993, manuals for the terminal product line could still be
9515 # purchased from:
9516 #
9517 #       TRW Customer Service Division
9518 #       15 Law Drive
9519 #       P.O. Box 2076
9520 #       Fairfield, NJ 07007-2078
9521 #
9522
9523 # Since <cuf1> is blank, when you want to erase something you
9524 # are out of luck.  You will have to do ^L's a lot to
9525 # redraw the screen.  h1000 is untested.  It doesn't work in
9526 # vi - this terminal is too dumb for even vi.  (The code is
9527 # there but it isn't debugged for this case.)
9528 hz1000|hazeltine 1000, 
9529         cols#80, lines#12, 
9530         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K, 
9531         ind=^J, 
9532 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
9533 hz1420|hazeltine 1420, 
9534         am, 
9535         cols#80, lines#24, 
9536         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P, 
9537         cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S, 
9538         ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y, 
9539         smso=\E^_, 
9540 # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
9541 # freakout with out-of-range args and tn3270.  No hz since it needs to
9542 # receive tildes.
9543 hz1500|hazeltine 1500, 
9544         am, hz, 
9545         cols#80, lines#24, 
9546         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
9547         cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%'`'%+%c%p1%'`'%+%c, 
9548         cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
9549         il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
9550         kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
9551 # h1510 assumed to be in sane escape mode.  Else use h1500.
9552 # (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
9553 # <smso=\E^Y>, but these caps were commented out in 8.3; also,
9554 # removed incorrect and overridden ":do=^J:" -- esr)
9555 hz1510|hazeltine 1510, 
9556         am, 
9557         cols#80, lines#24, 
9558         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P, 
9559         cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X, 
9560         el=\E^O, il1=\E^Z, ind=^J, 
9561 # Hazeltine 1520
9562 # The following switch settings are assumed for normal operation:
9563 #       FULL            CR              U/L_CASE        ESCAPE
9564 #       FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
9565 # Other switches may be set for operator convenience or communication
9566 # requirements.
9567 hz1520|Hazeltine 1520, 
9568         am, bw, msgr, 
9569         cols#80, lines#24, 
9570         bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
9571         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
9572         ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H, 
9573         kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, 
9574         kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z, 
9575         rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_, 
9576 # This version works with the escape switch off
9577 # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
9578 hz1520-noesc|hazeltine 1520, 
9579         am, hz, 
9580         cols#80, lines#24, 
9581         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
9582         cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O, 
9583         home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_, 
9584 # Note: the h1552 appears to be the first Hazeltine terminal which
9585 # is not braindamaged.  It has tildes and backprimes and everything!
9586 # Be sure the auto lf/cr switch is set to cr.
9587 hz1552|hazeltine 1552, 
9588         cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue, 
9589         lf2=red, lf3=green, 
9590         use=vt52, 
9591 hz1552-rv|hazeltine 1552 reverse video, 
9592         cud1=^J, rmso=\ET, smso=\ES, use=hz1552, 
9593 # Note: h2000 won't work well because of a clash between upper case and ~'s.
9594 hz2000|hazeltine 2000, 
9595         am, 
9596         cols#74, lines#27, 
9597         bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
9598         cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
9599         il1=~\032$<6>, ind=^J, pad=\177, 
9600 # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
9601 # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
9602 # to work ok. There is one problem though if one types a lot of garbage
9603 # characters very fast vi seems not able to keep up and hangs while trying
9604 # to insert. That's in insert mode while trying to insert in the middle of
9605 # a line. It might be because the Esprit doesn't have insert char and delete
9606 # char as a built in function. Vi has to delete to end of line and then 
9607 # redraw the rest of the line.
9608 esprit|Hazeltine Esprit I, 
9609         am, bw, 
9610         cols#80, lines#24, 
9611         bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
9612         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
9613         ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H, 
9614         kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
9615         kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J, 
9616         kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R, 
9617         lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, 
9618         rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_, 
9619 esprit-am|hazeltine esprit auto-margin, 
9620         am, use=esprit, 
9621 # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
9622 # Vi it seems always wants to send a control J for "do" and it turned out
9623 # that the terminal would work somewhat if the auto LF/CR was turned off.
9624 # (hmod1: removed :dn=~^K: -- esr)
9625 hmod1|Hazeltine Modular 1, 
9626         am, hz, 
9627         cols#80, lines#24, 
9628         bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
9629         cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z, 
9630         ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R, 
9631         rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_, 
9632 #
9633 # Hazeltine Executive 80 Model 30 (1554?)
9634 #       from  Will Martin <control@ALMSA-1.ARPA> via BRL
9635 # Like VT100, except for different "am" behavior.
9636 hazel|exec80|h80|he80|Hazeltine Executive 80, 
9637         am, 
9638         cols#80, it#8, lines#24, vt#3, 
9639         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
9640         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
9641         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
9642         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
9643         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
9644         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
9645         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
9646         kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
9647         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
9648         rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
9649         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
9650         sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
9651         smul=\E[4m$<2/>, 
9652
9653 #### IBM
9654 #
9655
9656 ibm327x|line mode IBM 3270 style, 
9657         gn, 
9658         clear=^M^J, el=^M, home=^M, 
9659
9660 # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
9661 # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
9662 # (ibm3101: <if=/usr/share/tabset/ibm3101> removed, no such file -- esr)
9663 ibm3101|i3101|IBM 3101-10, 
9664         am, xon, 
9665         cols#80, lines#24, 
9666         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9667         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
9668         el=\EI, home=\EH, ht=^I, hts=\E0, ind=^J, kbs=^H, kcub1=\ED, 
9669         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\E1, 
9670 #   Received from the IBM terminals division (given to DRB)
9671 #   June 1988 for PS/2 OS 2.2.3 cut
9672 ibm3151|i3151|IBM 3151, 
9673         rmso=\E4@, rmul=\E4@, 
9674         sgr=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c, 
9675         sgr0=\E4@, smso=\E4A, smul=\E4B, 
9676         use=ibm3163, 
9677 # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
9678 # I've commented out or translated some IBM extensions.
9679 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
9680         am, mir, msgr, 
9681         cols#80, it#8, lines#24, 
9682         acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370, 
9683         bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
9684         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
9685         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
9686         invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
9687         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
9688         kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r, 
9689         kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
9690         kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
9691         kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
9692         kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
9693         kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
9694         kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
9695         ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, rmul=\E4@, 
9696         sgr=\E4%'@'%?%p1%t%'A'%|%;%?%p2%t%'B'%|%;%?%p3%t%'A'%|%;%?%p4%t%'D'%|%;%?%p5%t%'@'%|%;%?%p6%t%'H'%|%;%?%p7%t%'P'%|%;%c%?%p9%t\E>A%e\E<@%;, 
9697         sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
9698
9699 # How the 3164 sgr string works:
9700 #       %{32}           # push space for no special video characteristics
9701 #       %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
9702 #       %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
9703 #       %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
9704 #       %c              # pop Pa1
9705 #       %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
9706 #       %c              # pop Pa2 
9707 #       %{64}           # use only black background for now
9708 #       %c              # pop Pa3
9709 ibm3164|i3164|IBM 3164, 
9710         blink=\E4D, bold=\E4H, 
9711         sgr=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c, 
9712         sgr0=\E4@, 
9713         use=ibm3163, 
9714
9715 ibmaed|IBM Experimental display, 
9716         am, eo, msgr, 
9717         cols#80, it#8, lines#52, 
9718         clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
9719         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
9720         dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP, 
9721         il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
9722         rmso=\E0, sgr0=\E0, smso=\E0, 
9723 ibm-apl|apl|IBM apl terminal simulator, 
9724         lines#25, use=dm1520, 
9725 # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
9726 # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
9727 ibmmono|ibm5151|IBM workstation monochrome, 
9728         eslok, hs, 
9729         bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
9730         invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
9731         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
9732         khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
9733         lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
9734         sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101, 
9735 ibmega|ibm5154|IBM Enhanced Color Display, 
9736         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
9737         nel=^M^J, 
9738         use=ibmmono, 
9739 ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
9740         rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
9741         use=ibmmono, 
9742 ibmvga-c|IBM VGA display color termcap, 
9743         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
9744         nel=^M^J, 
9745         use=ibmega-c, 
9746 ibmvga|IBM VGA display, 
9747         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
9748         nel=^M^J, 
9749         use=ibmega, 
9750 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
9751 rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display, 
9752         lines#32, 
9753         dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
9754 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
9755 ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display, 
9756         lines#31, 
9757         dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
9758 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
9759         lines#31, 
9760         dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c, 
9761 # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
9762 # also in /usr/lpp/bos/bsdsysadmin.
9763 # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
9764 # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
9765 # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
9766 # I also added <rmam>/<smam> based on the terminal reset string.
9767 # There was an unknown boolean ":ht:" which I assume was meant to set hardware
9768 # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
9769 # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
9770 ibm8512|ibm8513|hft-c|IBM High Function Terminal, 
9771         am, mir, msgr, 
9772         cols#80, it#8, lines#25, 
9773         acsc=, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cub1=\E[D, 
9774         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
9775         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
9776         home=\E[H, il=\E[%p1%dL, il1=\E[L, is2=\Eb\E[m\017\E[?7h, 
9777         kcud1=\E[B, kcuu1=\E[A, kf0=\E[010q, kf1=\E[001q, 
9778         kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q, 
9779         kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\E[009q, 
9780         khome=\E[H, rc=\E[u, rev=\E[7m, rmacs=^O, rmam=\E[?7l, 
9781         rmcup=\E[20h, rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
9782         rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
9783         smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
9784         smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
9785 hft|AIWS High Function Terminal, 
9786         am, xon, 
9787         cols#80, lines#25, 
9788         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
9789         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9790         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
9791         ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, 
9792         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9793         kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
9794         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
9795         kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q, 
9796         ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m, 
9797         sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, 
9798 ibm-system1|system1|ibm system/1 computer, 
9799         am, xt, 
9800         cols#80, lines#24, 
9801         bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
9802         cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
9803         ind=^J, 
9804
9805 # From: <pryor@math.berkeley.edu>
9806 ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display, 
9807         eslok, hs, 
9808         lines#33, 
9809         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono, 
9810 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display, 
9811         eslok, hs, 
9812         lines#33, 
9813         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c, 
9814 ibm8514|IBM 8514 color display, 
9815         eslok, hs, 
9816         lines#41, 
9817         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
9818         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
9819         use=ibmega, 
9820 ibm8514-c|IBM 8514 color display with standout and underline, 
9821         eslok, hs, 
9822         lines#41, 
9823         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
9824         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
9825         use=ibmega-c, 
9826
9827 #
9828 # AIX entries.  IBM ships these with AIX 3. 
9829 # AIX extension caps are commented out,
9830 # except for box1 which has been translated to an <acsc> string.
9831 #
9832 aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
9833         eslok, hs, 
9834         acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
9835         fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
9836         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
9837         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
9838         use=ibm6153, 
9839 aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator, 
9840         eslok, hs, 
9841         bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
9842         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
9843         tsl=\E[?%p1%dT, 
9844         use=ibm6153, 
9845 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
9846         acsc@, 
9847         use=aixterm-m, 
9848
9849 #### Infoton/General Terminal Corp.
9850 #
9851
9852 # gt100 sounds like something DEC would come out with.  Let's hope they don't.
9853 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
9854         am, 
9855         cols#80, lines#24, 
9856         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9857         cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM, 
9858         ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, 
9859         ind=^J, rmso=\Ea, smso=\Eb, 
9860 i400|infoton 400, 
9861         am, 
9862         cols#80, lines#25, 
9863         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
9864         cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
9865         dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
9866         il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
9867 # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
9868 addrinfo, 
9869         am, 
9870         cols#80, lines#24, 
9871         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
9872         cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H, 
9873         ind=^J, ll=^H^\, 
9874 # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
9875 infoton, 
9876         am, 
9877         cols#80, lines#24, 
9878         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
9879         ed=^K, ind=^J, ll=^H^\, 
9880
9881 #### Interactive Systems Corp
9882 #
9883 # ISC used to sell OEMed and customized hardware to support ISC UNIX.
9884 # ISC UNIX still exists in 1995, but ISC itself is no more; they got
9885 # bought out by Sun.
9886 #
9887
9888 # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
9889 # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
9890 # ":le=^_:" later overridden -- esr)
9891 intext|Interactive Systems Corporation modified owl 1200, 
9892         am, 
9893         cols#80, it#8, lines#24, xmc#1, 
9894         bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J, 
9895         cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\, 
9896         dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>, 
9897         el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H, 
9898         kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
9899         kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r, 
9900         kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<, 
9901         rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%, 
9902         smso=^V$\,, 
9903 intext2|intextii|INTERACTIVE modified owl 1251, 
9904         am, bw, ul, 
9905         cols#80, lines#24, xmc#0, 
9906         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B, 
9907         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
9908         dl1=\E[M, ed=\E[J, el=\E[K, 
9909         flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
9910         hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
9911         kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r, 
9912         kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, 
9913         kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
9914         khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO, 
9915         lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT, 
9916         lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
9917         smul=\E[18 D, 
9918
9919 #### Kimtron (abm, kt)
9920 #
9921 # Kimtron entries include (undocumented) codes for: enter dim mode,
9922 # enter bold mode, enter reverse mode, turn off all attributes.
9923 #
9924
9925 # Kimtron ABM 85 added by Dual Systems
9926 # (abm85: removed duplicated ":kd=^J:" -- esr)
9927 abm85|Kimtron ABM 85, 
9928         am, bw, msgr, 
9929         cols#80, it#8, lines#24, xmc#1, 
9930         cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
9931         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
9932         dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
9933         if=/usr/share/tabset/stdcrt, il1=\EE, 
9934         is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H, 
9935         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek, 
9936         rmul=\Em, smir=\EQ, smso=\Ej, smul=\El, 
9937 # Kimtron ABM 85H added by Dual Systems.
9938 # Some notes about the abm85h entries:
9939 # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
9940 #    firmware revs prior to SP51
9941 # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
9942 #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
9943 #    in some places and NOT software settable i.e., <is2> can't fix it)
9944 # 3) In 85h mode, the arrow keys and special functions transmit when
9945 #    the terminal is in dup-edit, and work only locally in local-edit.
9946 #    Vi won't swallow `del char' for instance, but <smcup> turns on
9947 #    dup-edit anyway so that the arrow keys will work right. If the
9948 #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
9949 #    <is2>.  Note that 920E mode does not have software commands to toggle
9950 #    between dup and local edit, so you get whatever was set last on the
9951 #    terminal.
9952 # 4) <flash> attribute is nice, but seems too slow to work correctly
9953 #    (\Eb<pad>\Ed)
9954 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
9955 #    are selected, the <xmc@> entry should be removed.
9956 # 6) auto new-line should be on (selectable from setup mode only)
9957 #
9958 # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
9959 abm85h|Kimtron ABM 85H native mode, 
9960         hs, 
9961         xmc@, 
9962         bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@, 
9963         fsl=^M, invis@, 
9964         is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
9965         kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, 
9966         use=adm+sgr, use=abm85, 
9967 abm85e|Kimtron ABM 85H in 920E mode, 
9968         xmc@, 
9969         bel=^G, dim=\E), flash@, 
9970         is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
9971         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
9972         use=abm85, 
9973 abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
9974         xmc@, 
9975         bel=^G, dim=\E), 
9976         is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
9977         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
9978         use=abm85, 
9979 # From: <malman@bbn-vax.arpa>
9980 # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
9981 kt7|kimtron model kt-7, 
9982         am, 
9983         cols#80, it#8, lines#24, 
9984         cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
9985         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
9986         dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
9987         if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E", 
9988         kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
9989         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, 
9990         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
9991         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
9992         kich1=\EQ, kil1=\EE, tsl=\Ef, 
9993         use=adm+sgr, 
9994 # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
9995 # other kt7 entry and the adjacent key capabilities).  Removed EE which is
9996 # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
9997 # but we can't figure out what.
9998 kt7ix|kimtron model kt-7 or 70 in IX mode, 
9999         am, bw, 
10000         cols#80, it#8, lines#25, 
10001         acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI, 
10002         civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
10003         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10004         dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
10005         home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J, 
10006         is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*, 
10007         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER, 
10008         ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
10009         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
10010         kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ, 
10011         nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0, 
10012         sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef, 
10013
10014 #### Microdata/MDIS
10015 #
10016 # This was a line of terminals made by McDonnell-Douglas Information Systems.
10017 # These entries come direct from MDIS documentation.  I have edited them only
10018 # to move primary names of the form p[0-9] * to aliases, and to comment out
10019 # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have 
10020 # also removed the change history; the last version indicates this is
10021 # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
10022 #
10023
10024 # McDonnell Information Systems Terminal Family History
10025 # =========================================
10026 #
10027 # Prism-1, Prism-2 and P99:
10028 #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
10029 #
10030 # Prism-4 and Prism-5:
10031 #       Slightly less ancient range of Microdata terminals. Follow-on from
10032 #       Prism-2, but with many enhancements. P5 has eight display pages.
10033 #
10034 # Prism-6:
10035 #       A special terminal for use with library systems, primarily in Germany.
10036 #       Limited numbers. Similar functionality to P5 (except attributes?).
10037 #
10038 # Prism-7, Prism-8 and Prism-9:
10039 #       More recent range of MDIS terminals, in which P7 and P8
10040 #       replace the P4 & P5, with added functionality, and P9 is the flagship.
10041 #       The P9 has two emulation modes - P8 and ANSI - and includes a
10042 #       large number of the DEC VT220 control sequences. Both
10043 #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
10044 #
10045 # Prism-12 and Prism-14:
10046 #       Latest range, functionally very similar to the P9.  The P14 has a
10047 #       black-on-white overscanning screen.
10048 #
10049 # The terminfo definitions given here are:
10050 #
10051 # p2      - Prism-2 (or Prism-1 or P99).
10052 #
10053 # p4      - Prism-4 (and older P7s & P8s).
10054 # p5      - Prism-5 (or Prism-6).
10055 #
10056 # p7      - Prism-7.
10057 # p8      - Prism-8 (in national or multinational mode).
10058 # p8-w    - 132 column version of p8.
10059 # p9      - Prism-9 in ANSI mode.
10060 # p9-w    - 132 column version of p9.
10061 # p9-8    - Prism-9 in Prism-8 emulation mode.
10062 # p9-8-w  - As p9-8, but with 132 columns.
10063 #
10064 # p12     - Prism-12 in ANSI mode.
10065 # p12-w   - 132 column version of p12.
10066 # p12-m   - Prism-12 in MDC emulation mode.
10067 # p12-m-w - As p12-m, but with 132 columns.
10068 # p14     - Prism-14 in ANSI mode.
10069 # p14-w   - 132 column version of p14.
10070 # p14-m   - Prism-14 in MDC emulation mode.
10071 # p14-m-w - As p14-m, but with 132 columns.
10072 #
10073 # p2: Prism-2
10074 # -----------
10075 #
10076 # Includes Prism-1 and basic P99 without SP or MP loaded.
10077 # The simplest form of Prism-type terminal.
10078 # Basic cursor movement and clearing operations only.
10079 # No video attributes.
10080 # Notes:
10081 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
10082 #  value up, followed by backspace.
10083 #
10084 prism2|MDC Prism-2, 
10085         am, bw, msgr, 
10086         cols#80, lines#24, 
10087         bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
10088         cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
10089         cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
10090         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
10091         ind=^J, kbs=^H, khome=^A, vpa=\013%p1%' '%+%c, 
10092
10093 # p4: Prism-4
10094 # -----------
10095 #
10096 # Includes early versions of P7 & P8.
10097 # Basic family definition for most Prisms (except P2 and P9 ANSI).
10098 # Notes:
10099 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
10100 #  value up, followed by backspace.
10101 #  Cursor key definitions removed because they interfere with vi and csh keys.
10102 #
10103 prism4|p4|P4|MDC Prism-4, 
10104         am, bw, hs, mc5i, msgr, 
10105         cols#80, lines#24, wsl#72, xmc#1, 
10106         bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
10107         cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
10108         cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
10109         cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
10110         fsl=^]\345, home=^A, 
10111         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
10112         ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
10113         rev=^CD, rmso=^C\s, rmul=^C\s, 
10114         sgr=\003%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
10115         sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
10116         vpa=\013%p1%' '%+%c, 
10117
10118 # p5: Prism-5
10119 # -----------
10120 #
10121 # Same definition as p4. Includes Prism-6 (not tested!).
10122 # Does not use any multi-page features.
10123 #
10124 prism5|p5|P5|MDC Prism-5, 
10125         use=p4, 
10126
10127 # p7: Prism-7
10128 # -----------
10129 #
10130 # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
10131 # Notes:
10132 #  Use p4 for very early models of P7.
10133 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10134 #
10135 prism7|p7|P7|MDC Prism-7, 
10136         cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4, 
10137
10138 # p8: Prism-8
10139 # -----------
10140 #
10141 # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
10142 # Supports national and multinational character sets.
10143 # Notes:
10144 #  Alternate char set operations only work in multinational mode.
10145 #  Use p4 for very early models of P8.
10146 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10147 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
10148 #
10149 prism8|p8|P8|MDC Prism-8, 
10150         cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h, 
10151         vpa=\E[%i%p1%dd, 
10152         use=p4, 
10153
10154 # p8-w: Prism-8 in 132 column mode
10155 # --------------------------------
10156 #
10157 # 'Wide' version of p8.
10158 # Notes:
10159 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
10160 #
10161 prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode, 
10162         cols#132, 
10163         is2=\E[<12h\E[<14h, use=p8, 
10164
10165 # p9: Prism-9 in ANSI mode
10166 # -------------------------
10167 #
10168 # The "flagship" model of this generation of terminals.
10169 # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
10170 # Notes:
10171 #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
10172 #  Fixes to deal with terminal firmware bugs:
10173 #  . 'ri' uses insert-line since rev index doesn't always
10174 #  . 'sgr0' has extra '0' since esc[m fails
10175 #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
10176 #  Not covered in the current definition:
10177 #  . Labels
10178 #  . Programming Fn keys
10179 #  . Graphic characters (defaults correctly to vt100)
10180 #  . Padding values (sets xon)
10181 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
10182 #
10183 prism9|p9|P9|MDC Prism-9 in ANSII mode, 
10184         am, bw, hs, mc5i, msgr, xenl, xon, 
10185         cols#80, it#8, lines#24, vt#3, wsl#72, 
10186         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, 
10187         clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v, 
10188         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10189         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10190         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
10191         dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX, 
10192         ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`, 
10193         ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
10194         is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D, 
10195         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~, 
10196         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
10197         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
10198         kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
10199         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
10200         khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, 
10201         prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, 
10202         ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
10203         rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 
10204         sc=\E[%y, 
10205         sgr=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;, 
10206         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
10207         tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd, 
10208
10209 # p9-w: Prism-9 in 132 column mode
10210 # --------------------------------
10211 #
10212 # 'Wide' version of p9.
10213 #
10214 prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode, 
10215         cols#132, 
10216         is2=\E[&p\E[<12l\E F\E[<14h, 
10217         rs2=\E[&p\E[<12l\E F\E[<14h, use=p9, 
10218
10219 # p9-8: Prism-9 in P8 mode
10220 # ------------------------
10221 #
10222 # P9 terminal in P8 emulation mode.
10223 # Similar to p8 definition.
10224 # Insertion and deletion operations possible.
10225 #
10226 prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode, 
10227         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
10228         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8, 
10229
10230 # p9-8-w: Prism-9 in P8 and 132 column modes
10231 # ------------------------------------------
10232 #
10233 # P9 terminal in P8 emulation mode and 132 column mode.
10234 #
10235 prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode, 
10236         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
10237         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w, 
10238
10239 # p12: Prism-12 in ANSI mode
10240 # ---------------------------
10241 #
10242 # See p9 definition.
10243 #
10244 prism12|p12|P12|MDC Prism-12 in ANSI mode, 
10245         use=p9, 
10246
10247 # p12-w: Prism-12 in 132 column mode
10248 # ----------------------------------
10249 #
10250 # 'Wide' version of p12.
10251 #
10252 prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode, 
10253         use=p9-w, 
10254
10255 # p12-m: Prism-12 in MDC emulation mode
10256 # -------------------------------------
10257 #
10258 # P12 terminal in MDC emulation mode.
10259 # Similar to p8 definition.
10260 # Insertion and deletion operations possible.
10261 #
10262 prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode, 
10263         use=p9-8, 
10264
10265 # p12-m-w: Prism-12 in MDC emulation and 132 column modes
10266 # -------------------------------------------------------
10267 #
10268 # P12 terminal in MDC emulation mode and 132 column mode.
10269 #
10270 prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode, 
10271         use=p9-8-w, 
10272
10273 # p14: Prism-14 in ANSII mode
10274 # ---------------------------
10275 #
10276 # See p9 definition.
10277 #
10278 prism14|p14|P14|MDC Prism-14 in ANSII mode, 
10279         use=p9, 
10280
10281 # p14-w: Prism-14 in 132 column mode
10282 # ----------------------------------
10283 #
10284 # 'Wide' version of p14.
10285 #
10286 prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode, 
10287         use=p9-w, 
10288
10289 # p14-m: Prism-14 in MDC emulation mode
10290 # -------------------------------------
10291 #
10292 # P14 terminal in MDC emulation mode.
10293 # Similar to p8 definition.
10294 # Insertion and deletion operations possible.
10295 #
10296 prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode, 
10297         use=p9-8, 
10298
10299 # p14-m-w: Prism-14 in MDC emulation and 132 column modes
10300 # -------------------------------------------------------
10301 #
10302 # P14 terminal in MDC emulation mode and 132 column mode.
10303 #
10304 prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode, 
10305         use=p9-8-w, 
10306
10307 # End of McDonnell Information Systems Prism definitions
10308
10309 # These things were popular in the Pick database community at one time
10310 # From: George Land <georgeland@aol.com> 24 Sep 1996
10311 p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition, 
10312         am, bw, hs, mir, 
10313         cols#80, lines#24, ma#1, wsl#78, xmc#1, 
10314         bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
10315         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P, 
10316         ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U, 
10317         kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ, 
10318         kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r, 
10319         kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r, 
10320         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
10321         kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
10322         lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
10323         pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
10324         smul=^C0, 
10325
10326 #### Microterm (act, mime)
10327 #
10328 # The mime1 entries refer to the Microterm Mime I or Mime II.
10329 # The default mime is assumed to be in enhanced act iv mode.
10330 #
10331
10332 # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
10333 # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
10334 # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
10335 # since Sytek insists ^S means xoff.
10336 # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
10337 act4|microterm|microterm act iv, 
10338         am, 
10339         cols#80, lines#24, 
10340         bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
10341         cup=\024%p1%{24}%+%c%p2%p2%?%'/'%>%t%'0'%+%;%'P'%+%c, 
10342         cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
10343         ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
10344         il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
10345         kcuu1=^Z, 
10346 # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
10347 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
10348 # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
10349 act5|microterm5|microterm act v, 
10350         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, use=act4, 
10351 # Mimes using brightness for standout.  Half bright is really dim unless
10352 # you turn up the brightness so far that lines show up on the screen.
10353 mime-fb|full bright mime1, 
10354         is2=^S\E, rmso=^S, smso=^Y, use=mime, 
10355 mime-hb|half bright mime1, 
10356         is2=^Y\E, rmso=^Y, smso=^S, use=mime, 
10357 # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
10358 # the more plausible ":do=^J:" -- esr)
10359 # uc was at one time disabled to get around a curses bug, be wary of it
10360 mime|mime1|mime2|mimei|mimeii|microterm mime1, 
10361         am, 
10362         cols#80, it#8, lines#24, vt#9, 
10363         bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
10364         cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%'0'%+%;%'P'%+%c, 
10365         cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
10366         il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
10367         kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
10368 # These termcaps (for mime2a) put the terminal in low intensity mode
10369 # since high intensity mode is so obnoxious.
10370 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
10371         am, 
10372         cols#80, lines#24, 
10373         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10374         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED, 
10375         dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^, 
10376         il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J, 
10377         kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7, 
10378         smir=\EE, smso=\E\:, smul=\E6, 
10379 # This is the preferred mode (but ^X can't be used as a kill character)
10380 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
10381         cols#80, it#8, lines#24, 
10382         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10383         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N, 
10384         dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I, 
10385         il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, 
10386         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, 
10387         rmul=\E5, smir=^O, smso=\E8, smul=\E4, 
10388 # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
10389 mime3a|mime1 emulating 3a, 
10390         am@, 
10391         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a, 
10392 mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
10393         it#8, 
10394         dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, use=mime3a, 
10395 # Wed Mar  9 18:53:21 1983
10396 # We run our terminals at 2400 baud, so there might be some timing problems at
10397 # higher speeds. The major improvements in this model are the terminal now 
10398 # scrolls down and insert mode works without redrawing the rest of the line
10399 # to the right of the cursor. This is done with a bit of a kludge using the
10400 # exit graphics mode to get out of insert, but it does not appear to hurt
10401 # anything when using vi at least. If you have some users using act4s with
10402 # programs that use curses and graphics mode this could be a problem.
10403 mime314|mm314|mime 314, 
10404         am, 
10405         cols#80, lines#24, 
10406         clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z, 
10407         dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H, 
10408         kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S, 
10409 # Microterm mime 340 from University of Wisconsin
10410 mm340|mime340|mime 340, 
10411         cols#80, lines#24, 
10412         clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10413         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10414         dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
10415         el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,, 
10416         kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J, 
10417 # This came from University of Wisconsin marked "astro termcap for jooss".
10418 # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
10419 # also added <rmam>/<smam> based  on the init string -- esr)
10420 mt4520-rv|micro-term 4520 reverse video, 
10421         am, hs, msgr, xenl, xon, 
10422         cols#80, it#8, lines#24, wsl#80, 
10423         bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
10424         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
10425         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
10426         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
10427         cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
10428         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h, 
10429         fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
10430         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
10431         is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
10432         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
10433         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
10434         ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100, 
10435         ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m, 
10436         rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
10437         sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
10438         tbc=\E[g, tsl=\E[25;1H, 
10439
10440 # Fri Aug  5 08:11:57 1983
10441 # This entry works for the ergo 4000 with the following setups:
10442 # ansi,wraparound,newline disabled, xon/xoff disabled in both
10443 # setup a & c.
10444 #       
10445 # WARNING!!! There are multiple versions of ERGO 4000 microcode
10446 # Be advised that very early versions DO NOT WORK RIGHT !!  
10447 # Microterm does have a ROM exchange program- use it or lose big
10448 # (ergo400: added <rmam>/<smam> based on the init string -- esr)
10449 ergo4000|microterm ergo 4000, 
10450         da, db, msgr, 
10451         cols#80, lines#66, 
10452         bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B, 
10453         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
10454         dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>, 
10455         el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>, 
10456         is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
10457         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
10458         kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3, 
10459         lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l, 
10460         rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>, 
10461         smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>, 
10462         smso=\E[7m$<20>, 
10463
10464 #### NCR 
10465 #
10466 # NCR's terminal group was merged with AT&T's when AT&T bought the company.
10467 # For what happened to that group, see the ADDS section.
10468 #
10469 # There is an NCR4103 terminal that's just a re-badged Wyse-50.
10470 #
10471
10472 # NCR7900 DIP switches:
10473 #
10474 # Switch A:
10475 # 1-4 - Baud Rate
10476 # 5   - Parity (Odd/Even)
10477 # 6   - Don't Send or Do Send Spaces
10478 # 7   - Parity Enable
10479 # 8   - Stop Bits (One/Two)
10480
10481 # Switch B:
10482 # 1   - Upper/Lower Shift
10483 # 2   - Typewriter Shift
10484 # 3   - Half Duplex / Full Duplex
10485 # 4   - Light/Dark Background
10486 # 5-6 - Carriage Return Without / With Line Feed
10487 # 7   - Extended Mode
10488 # 8   - Suppress Keyboard Display
10489
10490 # Switch C:
10491 # 1   - End of line entry disabled/enabled
10492 # 2   - Conversational mode / (Local?) Mode
10493 # 3   - Control characters displayed / not displayed
10494 # 4   - (2-wire?) / 4-wire communications
10495 # 5   - RTS on and off for each character
10496 # 6   - (50Hz?) / 60 Hz
10497 # 7   - Exit after level zero diagnostics
10498 # 8   - RS-232 interface
10499
10500 # Switch D:
10501 # 1   - Reverse Channel (yes / no)
10502 # 2   - Manual answer (no / yes)
10503 # 3-4 - Cursor appearance
10504 # 5   - Communication Rate
10505 # 6   - Enable / Disable EXT turnoff
10506 # 7   - Enable / Disable CR turnoff
10507 # 8   - Enable / Disable backspace
10508 #
10509 # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
10510 ncr7900i|ncr7900|ncr 7900 model 1, 
10511         am, bw, ul, 
10512         cols#80, lines#24, xmc#1, 
10513         bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
10514         cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
10515         is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
10516         kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
10517         rmul=\E0@, 
10518         sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
10519         sgr0=\E0@, smso=\E0Q, smul=\E0`, 
10520 ncr7900iv|ncr 7900 model 4, 
10521         am, bw, eslok, hs, 
10522         cols#80, lines#24, 
10523         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
10524         cup=\013%p1%'@'%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
10525         fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
10526         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
10527         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
10528         khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J, 
10529         tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
10530 ncr7901|ncr 7901 model, 
10531         am, bw, ul, 
10532         cols#80, lines#24, 
10533         bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M, 
10534         cub1=^H, cud1=^J, cuf1=^F, 
10535         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
10536         ed=\Ek, el=\EK, 
10537         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
10538         is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
10539         khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
10540         sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
10541         sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
10542         vpa=\013%p1%'@'%+%c, 
10543
10544 #### Perkin-Elmer (Owl)
10545 #
10546 # These are official terminfo entries from within Perkin-Elmer.
10547 #
10548
10549 bantam|pe550|pe6100|perkin elmer 550, 
10550         cols#80, lines#24, 
10551         bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10552         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
10553         el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
10554 fox|pe1100|perkin elmer 1100, 
10555         am, 
10556         cols#80, lines#24, 
10557         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
10558         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
10559         ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003, 
10560         home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3, 
10561 owl|pe1200|perkin elmer 1200, 
10562         am, in, 
10563         cols#80, lines#24, 
10564         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
10565         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
10566         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
10567         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
10568         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
10569         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
10570         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
10571         rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3, 
10572 pe1251|pe6300|pe6312|perkin elmer 1251, 
10573         am, 
10574         cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
10575         bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
10576         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
10577         ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J, 
10578         kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE, 
10579         kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
10580 # (pe7000m: this had
10581 #       rmul=\E!\0, smul=\E!\040, 
10582 # which is probably wrong, it collides with kf0
10583 pe7000m|perkin elmer 7000 series monochrome monitor, 
10584         am, 
10585         cols#80, lines#24, 
10586         bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
10587         cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
10588         ed=\EJ, el=\EI, home=\EH, ind=^J, 
10589         is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
10590         kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A, 
10591         kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
10592         kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
10593         ll=\ES7\s, ri=\ER, 
10594 pe7000c|perkin elmer 7000 series colour monitor, 
10595         is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
10596         rmul=\E!\0, smso=\Eb2, smul=\E!\s, 
10597         use=pe7000m, 
10598
10599 #### Sperry Univac
10600 #
10601 # Sperry Univac has merged with Burroughs to form Unisys.
10602 #
10603
10604 # This entry is for the Sperry UTS30 terminal running the TTY 
10605 # utility under control of CP/M Plus 1R1. The functionality 
10606 # provided is comparable to the DEC vt100.
10607 # (uts30: I added <rmam>/<smam> based on the init string -- esr)
10608 uts30|sperry uts30 with cp/m@1R1, 
10609         am, bw, hs, 
10610         cols#80, lines#24, wsl#40, 
10611         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
10612         bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L, 
10613         cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, 
10614         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
10615         cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
10616         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, 
10617         dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
10618         ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN, 
10619         ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H, 
10620         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, 
10621         rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
10622         rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
10623         rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
10624         sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m, 
10625         smul=\E[4m, tsl=\E], uc=\EPB, 
10626
10627 #### Tandem
10628 #
10629 # Tandem builds these things for use with its line of fault-tolerant
10630 # transaction-processing computers.  They aren't generally available
10631 # on the merchant market, and so are fairly uncommon.
10632 #
10633
10634 tandem6510|adm3a repackaged by Tandem, 
10635         use=adm3a, 
10636
10637 # A funny series of terminal that TANDEM uses.  The actual model numbers
10638 # have a fourth digit after 653 that designates minor variants.  These are
10639 # natively block-mode and rather ugly, but they have a character mode which
10640 # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
10641 # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
10642 # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
10643 tandem653|t653x|Tandem 653x multipage terminal, 
10644         am, da, db, hs, 
10645         cols#80, lines#24, wsl#64, xmc#1, 
10646         clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
10647         cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r, 
10648         ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s, 
10649         rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo, 
10650
10651 #### Tandy/Radio Shack
10652 #
10653 # Tandy has a line of VDTs distinct from its microcomputers.
10654 #
10655
10656 dmterm|deskmate terminal, 
10657         am, bw, 
10658         cols#80, lines#24, 
10659         bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H, 
10660         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
10661         cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
10662         ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB, 
10663         kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4, 
10664         kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0, 
10665         khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, 
10666         lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@, 
10667         use=adm+sgr, 
10668 dt100|dt-100|Tandy DT-100 terminal, 
10669         xon, 
10670         cols#80, lines#24, xmc#1, 
10671         acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
10672         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
10673         csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
10674         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
10675         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
10676         il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
10677         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, 
10678         kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
10679         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H, 
10680         knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5, 
10681         lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
10682         sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
10683 dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
10684         cols#132, use=dt100, 
10685 dt110|Tandy DT-110 emulating ansi, 
10686         xon, 
10687         cols#80, lines#24, 
10688         acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
10689         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
10690         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
10691         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
10692         dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H, 
10693         ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, 
10694         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
10695         kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~, 
10696         kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~, 
10697         khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1, 
10698         lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
10699         lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
10700         smacs=^N, smso=\E[7m, smul=\E[4m, 
10701 pt210|TRS-80 PT-210 printing terminal, 
10702         hc, os, 
10703         cols#80, 
10704         bel=^G, cr=^M, cud1=^J, ind=^J, 
10705
10706 #### Tektronix (tek)
10707 #
10708 # Tektronix tubes are graphics terminals.  Most of them use modified 
10709 # oscilloscope technology incorporating a long-persistence green phosphor,
10710 # and support vector graphics on a main screen with an attached "dialogue
10711 # area" for interactive text.
10712 #
10713
10714 tek|tek4012|tektronix 4012, 
10715         os, 
10716         cols#75, lines#35, 
10717         bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J, 
10718         ff=\014$<1000>, is2=\E^O, 
10719 # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
10720 tek4013|tektronix 4013, 
10721         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012, 
10722 tek4014|tektronix 4014, 
10723         cols#81, lines#38, 
10724         is2=\E\017\E9, use=tek4012, 
10725 # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
10726 tek4015|tektronix 4015, 
10727         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014, 
10728 tek4014-sm|tektronix 4014 in small font, 
10729         cols#121, lines#58, 
10730         is2=\E\017\E\:, use=tek4014, 
10731 # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
10732 tek4015-sm|tektronix 4015 in small font, 
10733         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm, 
10734 # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
10735 #
10736 # You need to have "stty nl2" in effect.  Some versions of tset(1) know
10737 # how to set it for you.
10738 #
10739 # It's got the Magic Cookie problem around stand-out mode.  If you can't
10740 # live with Magic Cookie, remove the :so: and :se: fields and do without
10741 # reverse video.  If you like reverse video stand-out mode but don't want
10742 # it to flash, change the letter 'H' to 'P' in the :so: field.
10743 tek4023|tektronix 4023, 
10744         am, 
10745         cols#80, lines#24, vt#4, xmc#1, 
10746         bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
10747         cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, rmso=^_@, 
10748         smso=^_P, 
10749 # It is recommended that you run the 4025 at 4800 baud or less;
10750 # various bugs in the terminal appear at 9600.  It wedges at the
10751 # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
10752 # on keyboard don't work.  You have to hit BREAK twice to get
10753 # one break at any speed - this is a documented feature.
10754 # Can't use cursor motion because it's memory relative, and 
10755 # because it only works in the workspace, not the monitor.  
10756 # Same for home. Likewise, standout only works in the workspace.
10757
10758 # <el> was commented out since vi and rogue seem to work better 
10759 # simulating it with lots of spaces!
10760
10761 # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
10762 # and didn't seem necessary.
10763 #
10764 tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
10765         am, da, db, 
10766         cols#80, it#8, lines#34, lm#0, 
10767         bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
10768         cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
10769         cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
10770         cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
10771         dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
10772         ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
10773         il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
10774         ind=^F^J, 
10775         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
10776         rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
10777         smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
10778 tek4025-17|tek 4025 17 line window, 
10779         lines#17, use=tek4025, 
10780 tek4025-17-ws|tek 4025 17 line window in workspace, 
10781         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
10782         rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r, 
10783         smso=\037att e\r, 
10784         use=tek4025-17, 
10785 tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
10786         is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
10787         rmcup=\037com 33\r, smcup=!com 31\r, 
10788         use=tek4025, 
10789 # Tektronix 4025a
10790 # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
10791 # The following status modes are assumed for normal operation (replace the
10792 # initial "!" by whatever the current command character is):
10793 #       !COM 29                 # NOTE: changes command character to GS (^])
10794 #       ^]DUP
10795 #       ^]ECH R
10796 #       ^]EOL
10797 #       ^]RSS T
10798 #       ^]SNO N
10799 #       ^]STO 9 17 25 33 41 49 57 65 73
10800 # Other modes may be set according to communication requirements.
10801 # If the command character is inadvertently changed, termcap can't restore it.
10802 # Insert-character cannot be made to work on both top and bottom rows.
10803 # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
10804 # There also seems to be a problem with vertical motion, perhaps involving
10805 # delete/insert-line, following a typed carriage return.  This terminal sucks.
10806 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
10807 # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
10808 # work any more. -- esr)
10809 tek4025a|Tektronix 4025A, 
10810         am, bw, da, db, xon, 
10811         cols#80, it#8, lines#34, 
10812         bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^], 
10813         cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;, 
10814         cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;, 
10815         cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;, 
10816         dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;, 
10817         el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I, 
10818         il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;, 
10819         tbc=\035sto;, 
10820 # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
10821 # Here's the command file that I use to get rogue to work on the 4025.
10822 # It should work with any program using the old curses (e.g. it better
10823 # not try to scroll, or cursor addressing won't work.  Also, you can't
10824 # see the cursor.)
10825 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
10826 tek4025-cr|tek 4025 for curses and rogue, 
10827         am, 
10828         cols#80, it#8, lines#33, 
10829         clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
10830         cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J, 
10831         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
10832         rmcup=\037wor 0, smcup=\037wor 33h, 
10833 # next two lines commented out since curses only allows 128 chars, sigh.
10834 #       :ti=\037lea p1/b/\037lea p2/j/\037lea p3/n/\037lea p4/h/\037lea p5/ /\037lea p6/l/\037lea p7/y/\037lea p8/k/\037lea p9/u/\037lea p./f/\037lea pt/`era w/13\037lea p0/s/\037wor 33h:\
10835 #       :te=\037lea p1\037lea p2\037lea p3\037lea p4\037lea pt\037lea p5\037lea p6\037lea p7\037lea p8\037lea p9/la/13\037lea p.\037lea p0\037wor 0:
10836 tek4025ex|4025ex|4027ex|tek 4025 w/!, 
10837         is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r, 
10838         rmcup=\037com 33\r, smcup=!com 31\r, 
10839         use=tek4025, 
10840 tek4105|tektronix 4105, 
10841         am, mir, msgr, ul, xenl, xt, 
10842         cols#79, it#8, lines#29, 
10843         acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
10844         clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
10845         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
10846         dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
10847         il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m, 
10848         is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B, 
10849         kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T, 
10850         rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m, 
10851         rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m, 
10852         smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
10853         smul=\E[=5;<2m, tbc=\E[1g, 
10854
10855 # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
10856 tek4105-30|4015 emulating 30 line vt100, 
10857         am, mir, msgr, xenl, xon, 
10858         cols#80, it#8, lines#30, vt#3, 
10859         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
10860         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
10861         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10862         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10863         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
10864         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
10865         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
10866         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
10867         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
10868         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
10869         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
10870         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
10871         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
10872         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
10873         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
10874         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
10875         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
10876         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
10877
10878 # Tektronix 4105 from BRL
10879 # The following setup modes are assumed for normal operation:
10880 #       CODE ansi               CRLF no                 DABUFFER 141
10881 #       DAENABLE yes            DALINES 30              DAMODE replace
10882 #       DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
10883 #       FLAGGING input          INSERTREPLACE replace   LFCR no
10884 #       ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
10885 #       SELECTCHARSET G1 0      TABS -2
10886 # Other setup modes may be set for operator convenience or communication
10887 # requirements; I recommend
10888 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
10889 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
10890 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
10891 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
10892 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
10893 #       PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
10894 #       XMTDELAY 0
10895 # and factory color maps.  After setting these modes, save them with NVSAVE. No
10896 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
10897 # "IC" cannot be used in combination with "im" & "ei".
10898 # "tek4105a" is just a guess:
10899 tek4105a|Tektronix 4105, 
10900         msgr, xon, 
10901         cols#80, it#8, lines#30, vt#3, 
10902         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
10903         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
10904         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10905         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10906         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10907         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
10908         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
10909         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
10910         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
10911         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
10912         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
10913         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
10914         lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
10915         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
10916         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, 
10917         sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
10918         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
10919
10920 #
10921 # Tektronix 4106/4107/4109 from BRL
10922 # The following setup modes are assumed for normal operation:
10923 #       CODE ansi               COLUMNMODE 80           CRLF no
10924 #       DABUFFER 141            DAENABLE yes            DALINES 32
10925 #       DAMODE replace          DAVISIBILITY yes        ECHO no
10926 #       EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
10927 #       LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
10928 #       PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
10929 #       TABS -2
10930 # Other setup modes may be set for operator convenience or communication
10931 # requirements; I recommend
10932 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
10933 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
10934 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
10935 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
10936 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
10937 #       PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
10938 #       XMTDELAY 0
10939 # and factory color maps.  After setting these modes, save them with NVSAVE.  No
10940 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
10941 # "IC" cannot be used in combination with "im" & "ei".
10942 tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109, 
10943         msgr, xon, 
10944         cols#80, it#8, lines#32, vt#3, 
10945         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
10946         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
10947         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10948         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10949         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10950         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
10951         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
10952         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
10953         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
10954         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
10955         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
10956         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
10957         lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
10958         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
10959         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
10960         rs1=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>, 
10961         sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
10962         smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g, 
10963
10964 tek4107|tek4109|tektronix terminals 4107 4109, 
10965         am, mir, msgr, ul, xenl, xt, 
10966         cols#79, it#8, lines#29, 
10967         bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
10968         bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M, 
10969         cub1=^H, cud1=^J, cuf1=\EC, 
10970         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3, 
10971         dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J, 
10972         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
10973         rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
10974         rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
10975         sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0, 
10976         sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0, 
10977         smul=\E%!1\E[4m$<2>\E%!0, 
10978 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
10979 # see the note attached to tek4207.
10980 tek4207-s|Tektronix 4207 with sysline but no memory, 
10981         eslok, hs, 
10982         dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
10983         is1=\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, 
10984         is2=\E7\E[?6l\E[2K\E[?6h\E8, 
10985         tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107, 
10986
10987 # The 4110 series may be a wonderful graphics series, but they make the 4025
10988 # look good for screen editing.  In the dialog area, you can't move the cursor
10989 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
10990 # is no way to scroll.
10991
10992 # Note that there is a floppy for free from Tek that makes the 
10993 # 4112 emulate the vt52 (use the vt52 termcap). There is also
10994 # an expected enhancement that will use ANSI standard sequences.
10995
10996 # 4112 in non-dialog area pretending to scroll. It really wraps 
10997 # but vi is said to work (more or less) in this mode.
10998
10999 # 'vi' works reasonably well with this entry.
11000 #
11001 otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
11002         am, 
11003         cols#80, lines#34, 
11004         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J, 
11005         rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0, 
11006 # The 4112 with the ANSI compatibility enhancement
11007 tek4112|tek4114|tektronix 4110 series, 
11008         am, db, 
11009         cols#80, lines#34, 
11010         cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
11011         cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M, 
11012         ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
11013         ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8, 
11014         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
11015 tek4112-nd|4112 not in dialog area, 
11016         cuu1=^K, use=tek4112, 
11017 tek4112-5|4112 in 5 line dialog area, 
11018         lines#5, use=tek4112, 
11019 # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
11020 # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
11021 # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
11022 # previously \0410 and \0411 sequences...I don't *think* they were supposed
11023 # to be 4-digit octal -- esr)
11024 tek4113|tektronix 4113 color graphics with 5 line dialog area, 
11025         am, da, eo, 
11026         cols#80, lines#5, 
11027         clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
11028         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
11029         is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
11030 tek4113-34|tektronix 4113 color graphics with 34 line dialog area, 
11031         lines#34, 
11032         is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113, 
11033 # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
11034 # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
11035 # :vb: needs enough delay to let you see the background color being toggled.
11036 tek4113-nd|tektronix 4113 color graphics with no dialog area, 
11037         am, eo, 
11038         cols#80, it#8, lines#34, 
11039         clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
11040         cvvis=\ELZ\EKA0, 
11041         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
11042         home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @, 
11043         ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
11044 # This entry is from Tek. Inc.  (Brian Biehl)
11045 # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
11046 otek4115|Tektronix 4115, 
11047         am, da, db, eo, 
11048         cols#80, it#8, lines#34, 
11049         cbt=\E[Z, clear=\E[H\E[2J, 
11050         cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B, 
11051         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
11052         cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J, 
11053         el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
11054         il1=\E[L, 
11055         is2=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m, 
11056         kbs=^H, ri=\EM, rmam=\E[?7l, 
11057         rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
11058         rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
11059         smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m, 
11060         smul=\E[4m, 
11061 tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
11062         am, xon, 
11063         cols#80, lines#34, 
11064         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
11065         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
11066         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11067         cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
11068         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
11069         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
11070         il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
11071         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
11072         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
11073         rmso=\E[m, rmul=\E[m, 
11074         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
11075         sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
11076         vpa=\E[%p1%{1}%+%dd, 
11077 # The tek4125 emulates a vt100 incorrectly - the scrolling region
11078 # command is ignored.  The following entry replaces <csr> with the needed
11079 # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
11080 # chokes on; and adds a lot of initialization for the tek dialog area.
11081 # Note that this entry uses all 34 lines and sets the cursor color to green.
11082 # Steve Jacobson 8/85
11083 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
11084 # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
11085 tek4125|tektronix 4125, 
11086         lines#34, 
11087         csr@, dl1=\E[1M, il1=\E[1L, 
11088         is2=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
11089         rc@, sc@, smkx=\E=, 
11090         use=vt100, 
11091
11092 # From: <jcoker@ucbic>
11093 # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
11094 # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
11095 # note that if jcoker wasn't confused you may be able to use this one.
11096 # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
11097 tek4207|Tektronix 4207 graphics terminal with memory, 
11098         am, bw, mir, msgr, ul, xenl, 
11099         cols#80, it#8, lines#32, 
11100         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>, 
11101         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11102         cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J, 
11103         el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>, 
11104         il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5, 
11105         is2=\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, 
11106         kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H, 
11107         rev=\E[7m, ri=\E[T, 
11108         rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
11109         rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m, 
11110         smul=\E[4m, tbc=\E[1g, 
11111
11112 # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
11113 # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
11114 # Tab had been given as \E2I,that must be the tab-set capability -- esr)
11115 tek4404|tektronix 4404, 
11116         cols#80, it#8, lines#32, 
11117         blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
11118         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
11119         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, 
11120         ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L, 
11121         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
11122         rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
11123         rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
11124         smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h, 
11125         smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
11126 # Some unknown person wrote:
11127 # I added the is string - straight Unix has ESC ; in the login 
11128 # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
11129 # mode). The is string here cleans up a few things (but not 
11130 # everything).
11131 ct8500|tektronix ct8500, 
11132         am, bw, da, db, 
11133         cols#80, lines#25, 
11134         bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J, 
11135         cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER, 
11136         dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\, 
11137         il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s, 
11138         rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!, 
11139
11140 # Tektronix 4205 terminal.
11141 #
11142 # am is not defined because the wrap around occurs not when the char.
11143 # is placed in the 80'th column, but when we are attempting to type
11144 # the 81'st character on the line.  (esr: hmm, this is like the vt100
11145 # version of xenl, perhaps am + xenl would work!)
11146 #
11147 # Bold, dim, and standout are simulated by colors and thus not allowed
11148 # with colors.  The tektronix color table is mapped into the RGB color
11149 # table by setf/setb. All colors are reset to factory specifications by oc.
11150 # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
11151 # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
11152 # interval then maps into pre-defined value.
11153 tek4205|tektronix 4205, 
11154         ccc, mir, msgr, 
11155         colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63, 
11156         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
11157         bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
11158         clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
11159         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
11160         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
11161         dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
11162         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
11163         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
11164         initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1, 
11165         invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
11166         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
11167         kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
11168         kf7=\ES, 
11169         oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1, 
11170         op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
11171         rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
11172         setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
11173         setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
11174         sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
11175         smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
11176         smul=\E[4m, tbc=\E[1g, 
11177
11178 #### Teletype (tty)
11179 #
11180 # These are the hardcopy Teletypes from before AT&T bought the company,
11181 # clattering electromechanical dinosaurs in Bakelite cases that printed on
11182 # pulpy yellow roll paper.  If you remember these you go back a ways.
11183 # Teletype-branded VDTs are listed in the AT&T section.
11184 #
11185 # The earliest UNIXes were designed to use these clunkers; nroff and a few
11186 # other programs still default to emitting codes for the Model 37.
11187 #
11188
11189 tty33|tty35|model 33 or 35 teletype, 
11190         hc, os, xon, 
11191         cols#72, 
11192         bel=^G, cr=^M, cud1=^J, ind=^J, 
11193 tty37|model 37 teletype, 
11194         hc, os, xon, 
11195         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
11196         ind=^J, 
11197
11198 # There are known to be at least three flavors of the tty40, all seem more
11199 # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
11200 # awful braindamage, such as printing a visible newline indicator after each
11201 # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
11202 # braindamaged but has hope and is described here.  The 40-4 is a 3270
11203 # lookalike and beyond hope.  The terminal has visible bell but I don't know
11204 # it - it's null here to prevent it from showing the BL character.
11205 # There is an \EG in <nl> because of a bug in old vi (if stty says you have
11206 # a "newline" style terminal (-crmode) vi figures all it needs is nl
11207 # to get crlf, even if <cr> is not ^M.)
11208 # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
11209 tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
11210         xon, 
11211         cols#80, lines#24, 
11212         clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
11213         cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
11214         ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
11215         ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
11216         kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4, 
11217         rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>, 
11218 tty43|model 43 teletype, 
11219         am, hc, os, xon, 
11220         cols#132, 
11221         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
11222
11223 #### Tymshare
11224 #
11225
11226 # You can add <is2=\E<> to put this 40-column mode, though I can't
11227 # for the life of me think why anyone would want to.
11228 scanset|sc410|sc415|Tymshare Scan Set, 
11229         am, bw, msgr, 
11230         cols#80, lines#24, 
11231         acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
11232         cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
11233         cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
11234         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
11235         mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
11236
11237 #### Volker-Craig (vc)
11238 #
11239 # If you saw a Byte Magazine cover with a terminal on it during the early
11240 # 1980s, it was probably one of these.  Carl Helmers liked them because
11241 # they could crank 19.2 and were cheap (that is, until he tried to program
11242 # one...)
11243 #
11244
11245 # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
11246 # every other linefeed.
11247 vc303|vc103|vc203|volker-craig 303, 
11248         am, 
11249         cols#80, lines#24, 
11250         bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
11251         cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, 
11252         kcuu1=^N, ll=\017$<1>W, 
11253 vc303a|vc403a|volker-craig 303a, 
11254         clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
11255         home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303, 
11256 # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
11257 vc404|volker-craig 404, 
11258         am, 
11259         cols#80, lines#24, 
11260         bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
11261         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
11262         ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
11263         kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
11264 vc404-s|volker-craig 404 w/standout mode, 
11265         cud1=^J, rmso=^O, smso=^N, use=vc404, 
11266 # From: <wolfgang@cs.sfu.ca>
11267 # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
11268 vc414|vc414h|Volker-Craig 414H in sane escape mode., 
11269         am, 
11270         cols#80, lines#24, 
11271         clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
11272         cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
11273         dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R, 
11274         ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P, 
11275         kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE, 
11276         kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, 
11277         lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
11278         rmso=\E^_, smso=\E^Y, 
11279 vc415|volker-craig 415, 
11280         clear=^L, use=vc404, 
11281
11282 ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
11283 #
11284
11285 #### IBM PC and clones
11286 #
11287
11288 # The pcplot IBM-PC terminal emulation program is really messed up. It is
11289 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
11290 # doesn't support scrolling regions, ignores add line commands, and ignores
11291 # delete line commands. Consequently, the resulting behavior looks like a
11292 # crude adm3a-type terminal.
11293 # Steve Jacobson 8/85
11294 pcplot|pc-plot terminal emulation program, 
11295         xenl@, 
11296         csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100, 
11297 # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
11298 # I've found that my KayPro II, running MDM730, continues to emulate an
11299 # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
11300 # system the following termcap entry works well:
11301 # I have noticed a couple of minor glitches, but nothing I can't work
11302 # around. (I added two capabilities from the BRL entry -- esr)
11303 kaypro|kaypro2|kaypro II, 
11304         am, 
11305         cols#80, lines#24, 
11306         bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L, 
11307         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W, 
11308         el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
11309
11310 # From IBM, Thu May  5 19:35:27 1983
11311 # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
11312 ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
11313         am, 
11314         cols#80, lines#24, 
11315         bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
11316         cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
11317
11318 #### Apple II
11319 #
11320 # Apple II firmware console first, then various 80-column cards and 
11321 # terminal emulators.  For two cents I'd toss all these in the UFO file
11322 # along with the 40-column apple entries.
11323 #
11324
11325 # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
11326 #       'it#8' tells UNIX that you have tabs every 8 columns.  This is a
11327 #               function of TIC, not the firmware.
11328 #       The clear key on a IIgs will do something like clear-screen, 
11329 #               depending on what you're in.
11330 appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface, 
11331         am, bw, eo, msgr, 
11332         cols#80, it#8, lines#24, 
11333         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
11334         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
11335         home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J, 
11336         kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N, 
11337         smso=^O, 
11338 # Apple //e with 80-column card, entry from BRL
11339 # The modem interface is permitted to discard LF (maybe DC1), otherwise
11340 # passing characters to the 80-column firmware via COUT (PR#3 assumed).
11341 # Auto-wrap does not work right due to newline scrolling delay, which also
11342 # requires that you set "stty cr2".
11343 # Note: Cursor addressing is only available via the Pascal V1.1 entry,
11344 # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
11345 # using a terminal emulation program instead of the built-in firmware.
11346 apple2e|Apple //e, 
11347         bw, msgr, 
11348         cols#80, lines#24, 
11349         bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_, 
11350         ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W, 
11351         is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K, 
11352         nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
11353         smso=^O, 
11354 # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
11355 # 4.20, with incoming and outgoing terminals both on 0, emulation On.
11356 apple2e-p|Apple //e via Pascal, 
11357         cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H, 
11358         kcud1=^J, 
11359         use=apple2e, 
11360 # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
11361 # Enable DC3/DC1 flow control with "stty ixon -ixany".
11362 apple-ae|ASCII Express, 
11363         am, bw, msgr, nxon, xon, 
11364         cols#80, it#8, lines#24, 
11365         bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
11366         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
11367         home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J, 
11368         kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
11369         smso=^O, 
11370 appleII|apple ii plus, 
11371         am, 
11372         cols#80, it#8, lines#24, 
11373         clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
11374         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6, 
11375         ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
11376         is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N, 
11377         smso=^O, 
11378 # Originally by Gary Ford 21NOV83
11379 # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
11380 apple-80|apple II with smarterm 80 col, 
11381         am, bw, 
11382         cols#80, lines#24, 
11383         cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J, 
11384         cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
11385         ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
11386 apple-soroc|apple emulating soroc 120, 
11387         am, 
11388         cols#80, lines#24, 
11389         bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
11390         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
11391         home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
11392 # From Peter Harrison, Computer Graphics Lab, San Francisco
11393 #   ucbvax!ucsfmis!harrison  .....uucp
11394 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
11395 # "These two work.  If you don't have the inverse video chip for the
11396 # Apple with videx then remove the :so: and :se: fields."
11397 # (apple-videx: this used to be called DaleApple -- esr)
11398 apple-videx|Apple with videx videoterm 80 column board with inverse video, 
11399         am, xenl, 
11400         cols#80, it#8, lines#24, 
11401         clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
11402         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
11403         home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y, 
11404         rmso=^Z2, sgr0=^Z2, smso=^Z3, 
11405 # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
11406 #                             Apple Cat ][ 212 modem, + more all
11407 #                             controlled by ASCII Express: Pro.
11408 # From Dave Shaver <isucs1!shaver>
11409 apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell, 
11410         am, eo, xt, 
11411         cols#80, lines#24, 
11412         acsc=, clear=^L, cuf1=^\, 
11413         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
11414         flash=^W35^W06, home=^Y, 
11415         is2=^V4^W06\017\rVisible Bell Installed.\016\r\n, 
11416         rmso=^N, smso=^O, 
11417 apple-uterm|Ultraterm for Apple micros, 
11418         am, eo, xt, 
11419         cols#80, lines#24, 
11420         acsc=, clear=^L, cuf1=^\, 
11421         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
11422         home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O, 
11423 # from trwrba!bwong (Bradley W. Wong):
11424 #
11425 # This entry assumes that you are using an apple with the UCSD Pascal
11426 # language card.  SYSTEM.MISCINFO is assumed to be the same as that
11427 # supplied with the standard apple except that screenwidth should be set
11428 # using SETUP to 80 columns.  Note that the right arrow in not mapped in
11429 # this termcap entry.  This is because that key, on the Apple, transmits
11430 # a ^U and would thus preempt the more useful "up" function of vi.
11431 #
11432 # HMH 2/23/81
11433 apple80p|80-column apple with Pascal card, 
11434         am, bw, 
11435         cols#80, lines#24, 
11436         clear=^Y^L, cuf1=^\\:, 
11437         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
11438         home=^Y, kcub1=^H, 
11439 #
11440 # Apple II+ equipped with Videx 80 column card
11441 #
11442 # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
11443 # manually converted by D A Gwyn
11444 #
11445 # DO NOT use any terminal emulation with this data base, it works directly
11446 # with the Videx card.  This has been tested with vi 1200 baud and works fine.
11447 #
11448 # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
11449 # 1 screen, while in R2 ^U doesn't.
11450 # For inverse alternate character set add:
11451 #       <smacs>=^O:<rmacs>=^N:
11452 # (apple-v: added it#8 -- esr)
11453 apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520), 
11454         am, xenl, 
11455         cols#80, it#8, lines#24, 
11456         bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H, 
11457         cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
11458         cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>, 
11459         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
11460         khome=^Y, rmso=^Z2, smso=^Z3, 
11461 apple-videx3|vapple|Apple II with 80 col card, 
11462         am, 
11463         cols#80, lines#24, 
11464         clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
11465         cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
11466         kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, 
11467         kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH, 
11468 #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
11469 aepro|Apple II+ running ASCII Express Pro--vt52, 
11470         cols#80, lines#24, 
11471         clear=\014$<300/>, cuf1=\EC, 
11472         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
11473         el=\EK, home=\EH, 
11474 # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
11475 apple-vm80|ap-vm80|apple with viewmax-80, 
11476         cols#80, lines#24, 
11477         clear=\014$<300/>, cuf1=^\\:, 
11478         cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_, 
11479         ed=\013$<300/>, el=^], home=\031$<200/>, 
11480
11481 #### Apple Lisa & Macintosh
11482 #
11483
11484 # (lisa: changed <cvvis> to <cnorm> -- esr)
11485 lisa|apple lisa console display (black on white), 
11486         am, eo, msgr, 
11487         cols#88, it#8, lines#32, 
11488         acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L, 
11489         cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
11490         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
11491         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
11492         is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
11493         kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
11494         sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
11495 liswb|apple lisa console display (white on black), 
11496         is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
11497         smso=\E[m, smul=\E[4m, use=lisa, 
11498
11499 # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
11500 # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
11501 #
11502 # These entries assume that the 'Auto Wraparound' is enabled.
11503 # Xon-Xoff flow control should also be enabled.
11504 #
11505 # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
11506 # settings are in non-volatile memory and don't need to be reset upon login.
11507 # Also setting the number of columns glitches the screen annoyingly.
11508 # You can type "reset" to get them set.
11509 #
11510 lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation, 
11511         am, xenl, xon, 
11512         cols#80, it#8, lines#24, vt#3, 
11513         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
11514         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
11515         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
11516         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
11517         el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, 
11518         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ, 
11519         kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8, 
11520         rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
11521         rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r, 
11522         sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
11523         tbc=\E[3g, 
11524 # Lisaterm in 132 column ("wide") mode.
11525 lisaterm-w|Apple Lisa with Lisaterm in 132 column mode, 
11526         cols#132, 
11527         kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm, 
11528 # Although MacTerminal has insert/delete line, it is commented out here
11529 # since it is much faster and cleaner to use the "lock scrolling region"
11530 # method of inserting and deleting lines due to the MacTerminal implementation.
11531 # Also, the "Insert/delete ch" strings have an extra character appended to them
11532 # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
11533 # supported by MacTerminal.
11534 mac|macintosh|Macintosh with MacTerminal, 
11535         xenl, 
11536         blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa, 
11537 # Lisaterm in 132 column ("wide") mode.
11538 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode, 
11539         cols#132, use=mac, 
11540
11541 #### Radio Shack/Tandy
11542 #
11543
11544 # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
11545 # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
11546 # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
11547 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
11548         am, 
11549         cols#80, it#8, lines#24, 
11550         bel=^G, blink=^_", bold=\E\:^A, civis=^E\s, 
11551         clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F, 
11552         cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
11553         dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
11554         kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
11555         sgr0=\037!\E\:\0, smso=^_\s, smul=^_", 
11556 # (trs2: removed obsolete ":nl=^_:" -- esr)
11557 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
11558         am, msgr, 
11559         cols#80, it#8, lines#24, 
11560         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
11561         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B, 
11562         el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\, 
11563         kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N, 
11564 # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
11565 # (This had extension capabilities
11566 #       :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
11567 #       :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
11568 # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
11569 trs16|trs-80 model 16 console, 
11570         am, 
11571         cols#80, it#8, lines#24, 
11572         acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L, 
11573         cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
11574         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
11575         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
11576         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
11577         kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, 
11578         khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, 
11579         lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, 
11580         smacs=\ERG, smso=\ERD, 
11581
11582 #### Atari ST
11583 #
11584
11585 # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
11586 atari|atari st, 
11587         am, 
11588         cols#80, it#8, lines#25, 
11589         clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
11590         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
11591         ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB, 
11592         kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep, 
11593 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
11594 # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
11595 uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
11596         lines#49, 
11597         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220, 
11598 # MiNT VT52 emulation. 80 columns, 25 rows.
11599 # MiNT is Now TOS, the operating system which comes with all Ataris now
11600 # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
11601 # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
11602 # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
11603 st52|Atari ST with VT52 emulation, 
11604         am, km, 
11605         cols#80, lines#25, 
11606         bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED, 
11607         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
11608         cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 
11609         ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
11610         kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M, 
11611         kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>, 
11612         kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
11613         kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek, 
11614         ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq, 
11615         smcup=\Ee, smso=\Ep, 
11616  
11617 #### Commodore Business Machines
11618 #
11619 # Formerly located in West Chester, PA; went spectacularly bust in 1994
11620 # after years of shaky engineering and egregious mismanagement.  Made one
11621 # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
11622 # C-128, VIC-20).  The C-64 is said to have been the most popular machine
11623 # ever (most units sold); they can still be found gathering dust in closets
11624 # everywhere.
11625 #
11626
11627 # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
11628 # Added a few more entries, converted caret-type control sequence (^x) entries
11629 # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
11630 #
11631 # :as:, :ae:                    Support for alternate character sets.
11632 # :ve=\E[\040p:vi=\E[\060\040p: cursor visible/invisible.
11633 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
11634 #     This one appears to fix a problem I always had with a line ending
11635 #     at 'width+1' (I think) followed by a blank line in vi. The blank
11636 #     line tended to disappear and reappear depending on how the screen
11637 #     was refreshed. Note that this is probably needed only if you use
11638 #     something like a Dnet Fterm with the window sized to some peculiar
11639 #     dimension larger than 80 columns.
11640 # :k0=\E9~:     map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
11641 # (amiga: removed obsolete :kn#10:,
11642 # also added empty <acsc> to suppress a warning --esr)
11643 amiga|Amiga ANSI, 
11644         am, bw, xenl, 
11645         cols#80, lines#24, 
11646         acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
11647         civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD, 
11648         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
11649         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
11650         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
11651         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
11652         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
11653         indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED, 
11654         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, kf1=\E0~, 
11655         kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, kf6=\E5~, kf7=\E6~, 
11656         kf8=\E7~, kf9=\E8~, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
11657         rmacs=^O, rmso=\E[m, rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N, 
11658         smso=\E[7m, smul=\E[4m, 
11659
11660 # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
11661 # (amiga: added empty <acsc> to suppress a warning.
11662 # I'm told this entry screws up badly with AS225, the Amiga
11663 # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
11664 amiga-h|Hans Verkuil's Amiga ANSI, 
11665         bw, msgr, 
11666         cols#80, lines#24, 
11667         acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
11668         civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M, 
11669         cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
11670         cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
11671         cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
11672         dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
11673         home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S, 
11674         indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H, 
11675         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
11676         kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~, 
11677         kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
11678         kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
11679         rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m, 
11680         rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
11681         smso=\2337m, smul=\2334m, 
11682
11683 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
11684 #       I'm trying to write a termcap for a commodore b-128, and I'm
11685 # having a little trouble. I've had to map most of my control characters
11686 # to something that unix will accept (my delete-char is a ctrl-t, etc),
11687 # and create some functions (like cm), but thats life.
11688 #       The problem is with the arrow keys - right, and up work fine, but
11689 # left deletes the previous character and down I just can't figure out.
11690 # Jove knows what I want, but I don't know what it's sending to me (it
11691 # isn't thats bound to next-line in jove).
11692 #       Anybody got any ideas? Here's my termcap.
11693 # DAG -- I changed his "^n" entries to "\n"; see if that works.
11694 #
11695 commodore|b-128|Commodore B-128 micro, 
11696         am, bw, 
11697         cols#80, lines#24, pb#150, 
11698         clear=\E\006$<10/>, cr=^M, cud1=^J, cuf1=^F, 
11699         cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P, 
11700         dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>, 
11701         home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>, 
11702         kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=, 
11703         smir=, 
11704
11705 #### North Star
11706 #
11707 # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
11708 northstar|North Star Advantage, 
11709         cols#80, lines#24, 
11710         clear=\004$<200/>, 
11711         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>, 
11712         el=\016$<200/>, home=\034\032$<200/>, 
11713
11714 #### Osborne
11715 #
11716 # Thu Jul  7 03:55:16 1983
11717 #       
11718 # As an aside, be careful; it may sound like an anomaly on the 
11719 # Osborne, but with the 80-column upgrade, it's too easy to 
11720 # enter lines >80 columns!
11721 #       
11722 # I've already had several comments...
11723 # The Osborne-1 with the 80-col option is capable of being 
11724 # 52, 80, or 104 characters wide; default to 80 for compatibility 
11725 # with most systems.
11726 #       
11727 # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
11728 osborne-w|osborne1-w|osborne I in 104-column mode, 
11729         msgr, ul, xt, 
11730         cols#104, lines#24, 
11731         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
11732         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
11733         dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
11734         kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El, 
11735 # Osborne I     from ptsfa!rhc (Robert Cohen) via BRL
11736 osborne|osborne1|osborne I in 80-column mode, 
11737         am, mir, msgr, ul, xhp, 
11738         cols#80, lines#24, 
11739         clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
11740         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
11741         dch1=\\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
11742         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
11743         rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
11744 #
11745 # Osborne Executive definition from BRL
11746 # Similar to tvi920
11747 # Added by David Milligan and Tom Smith (SMU)
11748 osexec|Osborne executive, 
11749         am, 
11750         cols#80, lines#24, xmc#1, 
11751         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
11752         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
11753         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
11754         is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
11755         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
11756         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
11757         kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej, 
11758         smul=\El, tbc=\E3, 
11759
11760 #### Console types for obsolete UNIX clones
11761 #
11762 # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
11763 # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
11764 # were commercial, Minix an educational tool sold in conjunction with a book.
11765 # Memory-segmentation limits and a strong tendency to look like V7 long after
11766 # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
11767 # and Minix were ported to 32-bit Intel boxes, only to be run over by a
11768 # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
11769 # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
11770 # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
11771 # even as single processes under SunOS and the Macintosh OS.
11772 #
11773
11774 # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
11775 minix|minix console (v1.7), 
11776         am, xenl, 
11777         cols#80, it#8, lines#25, 
11778         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
11779         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
11780         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11781         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
11782         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
11783         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
11784         is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
11785         kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, 
11786         kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
11787         lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
11788         rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
11789 # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
11790 minix-old|minix console (v1.5), 
11791         xon, 
11792         cols#80, it#8, lines#25, 
11793         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
11794         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
11795         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11796         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
11797         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
11798         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
11799         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
11800         kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
11801         khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
11802         rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
11803 # The linewrap option can be specified by editing /usr/include/minix/config.h
11804 # before recompiling the minix 1.5 kernel.
11805 minix-old-am|minix console with linewrap, 
11806         am, use=minix-old, 
11807
11808 pc-minix|minix console on an Intel box, 
11809         use=klone+acs, use=minix, 
11810
11811 # According to the Coherent 2.3 manual, the PC console is similar
11812 # to a z19. The differences seem to be (1) 25 lines, (2) no status
11813 # line, (3) standout is broken, (4) ins/del line is broken, (5)
11814 # has blinking and bold.
11815 pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
11816         am, mir, 
11817         cols#80, it#8, lines#25, 
11818         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
11819         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN, 
11820         ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
11821         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
11822         rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep, 
11823
11824 # According to the Venix 1.1 manual, the PC console is similar
11825 # to a DEC vt52.  Differences seem to be (1) arrow keys send 
11826 # different strings, (2) enhanced standout, (3) added insert/delete line.
11827 # Note in particular that it doesn't have automatic margins.
11828 # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
11829 # not described here because this derives from an old termcap entry.
11830 pc-venix|venix|IBM PC console running Venix, 
11831         cols#80, it#8, lines#25, 
11832         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11833         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
11834         ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK, 
11835         kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI, 
11836
11837 #### Miscellaneous microcomputer consoles
11838 #
11839 # If you know anything more about any of these, please tell me.
11840 #
11841
11842 # The MAI Basic Four computer was obsolete at the end of the 1980s.
11843 # It may be used as a terminal by putting it in "line" mode as seen on 
11844 # one of the status lines.
11845 # Initialization is similar to CIT80. <is2> will set ANSI mode for you.  
11846 # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
11847 # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I 
11848 # used \ED instead.
11849 # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
11850 mai|basic4|MAI Basic Four in ansi mode, 
11851         am, da, db, mir, msgr, 
11852         cols#82, it#8, lines#25, 
11853         bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h, 
11854         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X, 
11855         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P, 
11856         dl1=\E[M, ed=^_, el=^^, home=^], ht=^I, 
11857         if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED, 
11858         is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
11859         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
11860         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
11861         kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T, 
11862         rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
11863         smir=\E[4h, smso=\E[7m, smul=\E[4m, 
11864 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
11865 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
11866 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
11867 basis|BASIS108 computer with terminal translation table active, 
11868         clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H, 
11869         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E), 
11870         smso=\E(, 
11871         use=adm3a, 
11872 # luna's BMC terminal emulator
11873 luna|luna68k|LUNA68K Bitmap console, 
11874         cols#88, lines#46, use=ansi-mini, 
11875 megatek|pegasus workstation terminal emulator, 
11876         am, os, 
11877         cols#83, lines#60, 
11878 # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
11879 # interface (pre-Macintosh by several years) that went nowhere.
11880 xerox820|x820|Xerox 820, 
11881         am, 
11882         cols#80, lines#24, 
11883         bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
11884         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X, 
11885         home=^^, ind=^J, 
11886
11887 #### Videotex and teletext
11888 #
11889
11890 # \E\:1}        switch to te'le'informatique mode (ascii terminal/ISO 6429)
11891 # \E[?3l        80 columns
11892 # \E[?4l        scrolling on
11893 # \E[12h        local echo off
11894 # \Ec           reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
11895 # \E)0          G1 DEC set (line graphics)
11896 #
11897 # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
11898 m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique, 
11899         eslok, hs, xenl, 
11900         cols#80, it#8, lines#24, wsl#72, xmc#0, 
11901         acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
11902         blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J, 
11903         cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
11904         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
11905         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11906         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
11907         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J, 
11908         home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J, 
11909         ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0, 
11910         is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
11911         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp, 
11912         kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, 
11913         kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H, 
11914         kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H, 
11915         mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM, 
11916         rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
11917         rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, 
11918         smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
11919         u6=\E[%i%d;%dR, u7=\E[6n, 
11920
11921 ######## OBSOLETE VDT TYPES
11922 #
11923 # These terminals are *long* dead -- these entries are retained for
11924 # historical interest only.
11925
11926 #### Amtek Business Machines
11927 #
11928
11929 # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
11930 # but these caps were commented out in 8.3; also, removed overridden
11931 # ":do=^J:" -- esr)
11932 abm80|amtek business machines 80, 
11933         am, bw, 
11934         cols#80, lines#24, 
11935         cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
11936         cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
11937         dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
11938
11939 #### Bell Labs blit terminals
11940 #
11941 # These were AT&T's official entries.  The 5620 FAQ maintained by 
11942 # David Breneman <daveb@dgtl.com> has this to say:
11943 #
11944 #  Actually, in the beginning was the Jerq, and the Jerq was white with a
11945 #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
11946 #  was good.  But lo, upon the horizon loomed a mighty management-type person
11947 #  (known now only by the initials VP) who said, the mighty Jerq must stay
11948 #  alone, and could not go forth into the world. So Locanthi and Pike put the
11949 #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
11950 #  world. And the Jerq lived the rest of its days in research, but never
11951 #  strayed from those paths.
11952 #
11953 #  In all seriousness, the Blit was originally known as the Jerq, but when
11954 #  it started to be shown outside of the halls of the Bell Labs Research
11955 #  organization, the management powers that be decided that the name could
11956 #  not remain. So it was renamed to be Blit. This was in late 1981.
11957 #
11958 # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
11959 # 730, and 730+.)
11960 #
11961
11962 blit|jerq|blit running teletype rom, 
11963         am, eo, ul, xon, 
11964         cols#87, it#8, lines#72, 
11965         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
11966         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
11967         dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c, 
11968         dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!, 
11969         il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, 
11970         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
11971
11972 # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
11973 cbblit|fixterm|blit running columbus code, 
11974         cols#88, 
11975         ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d, 
11976         rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!, 
11977         smul=\EU", 
11978         use=blit, 
11979
11980 oblit|ojerq|first version of blit rom, 
11981         am, da, db, eo, mir, ul, xon, 
11982         cols#88, it#8, lines#72, 
11983         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
11984         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO, 
11985         dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G, 
11986         ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER, 
11987         smir=\EQ, 
11988
11989 #### Bolt, Beranek & Newman (bbn)
11990 #
11991 # The BitGraph was a product of the now-defunct BBN Computer Corporation.
11992 # The parent company, best known as the architects of the Internet, is
11993 # still around.
11994 #
11995 # Jeff DelPapa <dp@world.std.com> writes:
11996 # The bitgraph was a large white box that contained a monochrome bitmap
11997 # display, and a 68000 to run it.  You could download code and run it on
11998 # the cpu, it had 128kb (I think) of memory.  I used one in the late
11999 # 70's, sure beat a vt100.  It had one strange feature tho -- it used
12000 # the cpu to bitblt pixels to scroll, it took longer than the refresh
12001 # rate, and looked like a rubber sheet stretching, then snapping
12002 # upwards.  It had everything the early mac had, except a floppy drive a
12003 # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
12004 # Beranek and Neuman) sold at most a few hundred of them to the real
12005 # world.  DOD may have bought more...
12006
12007
12008 # Entries for the BitGraph terminals.  The problem 
12009 # with scrolling in vi can only be fixed by getting BBN to put 
12010 # smarter scroll logic in the terminal or changing vi or padding 
12011 # scrolls with about 500 ms delay.
12012 #       
12013 # I always thought the problem was related to the terminal 
12014 # counting newlines in its input buffer before scrolling and 
12015 # then moving the screen that much. Then vi comes along and 
12016 # paints lines in on the bottom line of the screen, so you get 
12017 # this big white gap.
12018
12019 bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
12020         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
12021         use=bg2.0, 
12022 bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
12023         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
12024         use=bg2.0, 
12025 bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
12026         xenl, 
12027         cols#85, lines#64, 
12028         bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
12029         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
12030         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>, 
12031         ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, 
12032         ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
12033         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, 
12034         lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7, 
12035         sgr0=\E[m, smkx=\E=, smso=\E[7m, 
12036
12037 bg1.25rv|bbn bitgraph 1.25 (reverse video), 
12038         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25, 
12039 bg1.25nv|bbn bitgraph 1.25 (normal video), 
12040         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25, 
12041 # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
12042 bg1.25|bbn bitgraph 1.25, 
12043         cols#85, lines#64, 
12044         bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B, 
12045         cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
12046         dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
12047         il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB, 
12048         kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, 
12049         lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l, 
12050         rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
12051         smso=\E[7m, 
12052
12053 #### Chromatics
12054 #
12055
12056 # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
12057 # that is smaller than the screen, and puts up a warning message 
12058 # outside the window. Te erases the warning message, puts the 
12059 # window back to be the whole screen, and puts the cursor at just
12060 # below the small window. I defined <cnorm> and <civis> to really turn 
12061 # the cursor on and off, but I have taken this out since I don't 
12062 # like the cursor being turned off when vi exits.   
12063 cg7900|chromatics|chromatics 7900, 
12064         am, 
12065         cols#80, lines#40, 
12066         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
12067         cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2, 
12068         ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
12069         rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
12070         rmso=\001C1\,\001c2\,, 
12071         smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
12072         smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 
12073
12074 #### Computer Automation
12075 #
12076
12077 ca22851|computer automation 22851, 
12078         am, 
12079         cols#80, lines#24, 
12080         bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I, 
12081         cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J, 
12082         kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^, 
12083
12084 #### Cybernex
12085 #
12086
12087 # This entry has correct padding and the undocumented "ri" capability
12088 cyb83|xl83|cybernex xl-83, 
12089         am, 
12090         cols#80, lines#24, 
12091         bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
12092         cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
12093         ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H, 
12094         kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
12095 # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
12096 cyb110|mdl110|cybernex mdl-110, 
12097         am, 
12098         cols#80, lines#24, 
12099         bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
12100         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
12101         dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
12102         ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
12103         ht=\011$<43>, ich1=\016A\035$<3.5>, 
12104         il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
12105
12106 #### Datapoint
12107 #
12108 # Datapoint is gone.  They used to be headquartered in Texas.
12109 # They created ARCnet, an Ethernet competitor that flourished for a while
12110 # in the early 1980s before 3COM got wise and cut its prices.  The service
12111 # side of Datapoint still lives (1995) in the form of Intelogic Trace.
12112 #
12113
12114 dp3360|datapoint|datapoint 3360, 
12115         am, 
12116         cols#82, lines#25, 
12117         bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
12118         ed=^_, el=^^, home=^], ind=^J, 
12119
12120 # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
12121 # The Datapoint 8242 Workstation was sold at least between 1985 
12122 # and 1989. To make the terminal work with this entry, press 
12123 # CONTROL-INT-INT to take the terminal off-line, and type (opt). 
12124 # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
12125 # CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
12126 # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
12127 # fact unusable because the strings sent by the terminal conflict
12128 # with other keys).
12129 # The terminal is capable of displaying "box draw" characters.
12130 # For each graphic character you must send 2 ESC's (\E\E) followed 
12131 # by a control character as follows: 
12132 #         character        meaning
12133 #         =========        =======
12134 #         ctrl-E           top tee
12135 #         ctrl-F           right tee
12136 #         ctrl-G           bottom tee
12137 #         ctrl-H           left tee
12138 #         ctrl-I           cross
12139 #         ctrl-J           top left corner
12140 #         ctrl-K           top right corner
12141 #         ctrl-L           bottom left corner
12142 #         ctrl-M           bottom right corner
12143 #         ctrl-N           horizontal line
12144 #         ctrl-O           vertical line
12145 # Unfortunately this cannot be fitted into the termcap/terminfo 
12146 # description scheme. 
12147 dp8242|datapoint 8242, 
12148         msgr, 
12149         cols#80, lines#25, 
12150         bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X, 
12151         cr=^M, cub1=^H, cud1=^J, 
12152         cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V, 
12153         home=^U, ht=^I, il1=\E^T, ind=^C, 
12154         is1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
12155         kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee, 
12156         kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea, 
12157         kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J, 
12158         rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D, 
12159         rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
12160         smso=\E^E, smul=\E^F, 
12161         wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025, 
12162
12163 #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
12164 #
12165 # These entries are DEC's official terminfos for its older terminals.
12166 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
12167 # Engineering for more information.  Updated terminfos and termcaps 
12168 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
12169 #
12170
12171 gt40|dec gt40, 
12172         os, 
12173         cols#72, lines#30, 
12174         bel=^G, cr=^M, cub1=^H, cud1=^J, 
12175 gt42|dec gt42, 
12176         os, 
12177         cols#72, lines#40, 
12178         bel=^G, cr=^M, cub1=^H, cud1=^J, 
12179 vt50|dec vt50, 
12180         cols#80, lines#12, 
12181         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12182         cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
12183 vt50h|dec vt50h, 
12184         cols#80, lines#12, 
12185         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12186         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
12187         el=\EK, ht=^I, ind=^J, ri=\EI, 
12188 # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
12189 vt61|vt-61|vt61.5|dec vt61, 
12190         cols#80, lines#24, 
12191         bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J, 
12192         cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
12193         cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
12194         ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
12195         ri=\E$<20>I, 
12196
12197 # The gigi does standout with red!
12198 # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
12199 gigi|vk100|dec gigi graphics terminal, 
12200         am, xenl, 
12201         cols#84, lines#24, 
12202         bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
12203         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
12204         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
12205         el=\E[K, ht=^I, ind=^J, 
12206         is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
12207         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
12208         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
12209         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
12210         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m, 
12211         smul=\E[4m, 
12212
12213 # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
12214 # a PC differentiated from the IBM clones.  It was a total, ludicrous,
12215 # grossly-overpriced failure (among other things, DEC's OS didn't include
12216 # a format program, so you had to buy pre-formatted floppies from DEC at
12217 # a hefty premium!).
12218 pro350|decpro|dec pro console, 
12219         cols#80, it#8, lines#24, 
12220         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
12221         clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
12222         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
12223         el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
12224         kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI, 
12225         kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG, 
12226         rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D, 
12227
12228 dw1|decwriter I, 
12229         hc, os, 
12230         cols#72, 
12231         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
12232 dw2|decwriter|dw|decwriter II, 
12233         hc, os, 
12234         cols#132, 
12235         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
12236 # \E(B          Use U.S. character set (otherwise # => british pound !)
12237 # \E[20l        Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
12238 # \E[w          10 char/in pitch
12239 # \E[1;132      full width horizontal margins
12240 # \E[2g         clear all tab stops
12241 # \E[z          6 lines/in
12242 # \E[66t        66 lines/page (for \f)
12243 # \E[1;66r      full vertical page can be printed
12244 # \E[4g         clear vertical tab stops
12245 # \E>           disable alternate keypad mode (so it transmits numbers!)
12246 # \E[%i%p1%du   set tab stop at column %d (origin == 1)
12247 #               (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
12248 #               a tab stop)
12249 #
12250 #       The dw3 does standout with wide characters.
12251 #
12252 dw3|la120|decwriter III, 
12253         hc, os, 
12254         cols#132, 
12255         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
12256         is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
12257         is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
12258         kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w, 
12259 dw4|decwriter IV, 
12260         am, hc, os, 
12261         cols#132, 
12262         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H, 
12263         kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
12264
12265 # These aren't official
12266 ln03|dec ln03 laser printer, 
12267         hc, 
12268         cols#80, lines#66, 
12269         bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J, 
12270         rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m, 
12271         smul=\E[4m, 
12272 ln03-w|dec ln03 laser printer 132 cols, 
12273         cols#132, 
12274         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
12275         kcud1=^J, nel=^M^J, 
12276         use=ln03, 
12277
12278 #### Delta Data (dd)
12279 #
12280
12281 # Untested. The cup sequence is hairy enough that it probably needs work.
12282 # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
12283 # There are BSD-derived termcap entries floating around for this puppy
12284 # that are *certainly* wrong.
12285 delta|dd5000|delta data 5000, 
12286         am, 
12287         cols#80, lines#27, 
12288         bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
12289         cup=\017%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c, 
12290         cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
12291
12292 #### Digital Data Research (ddr)
12293 #
12294
12295 # (ddr: I added <rmam>/<smam> based on the init string -- esr)
12296 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
12297         am, xenl, 
12298         cols#80, it#8, lines#24, vt#3, 
12299         blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
12300         clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H, 
12301         cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
12302         cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
12303         ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
12304         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
12305         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
12306         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l, 
12307         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>, 
12308         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
12309         sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, 
12310         smul=\E[4m$<2/>, 
12311
12312 #### Evans & Sutherland
12313 #
12314
12315 # Jon Leech <leech@cs.unc.edu> tells us:
12316 # The ps300 was the Evans & Sutherland Picture System 300, a high
12317 # performance 3D vector graphics system with a bunch of specialized hardware.
12318 # Approximate date of release was 1982 (early 80s, anyway), and it had several
12319 # evolutions including (limited) color versions such as the PS330C. PS300s
12320 # were effectively obsolete by the late 80s, replaced by raster graphics
12321 # systems, although specialized applications like molecular modelling
12322 # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
12323 # are out of production, though of course E&S is very much alive (in 1996).
12324 # (ps300: changed ":pt@:" to "it@" -- esr)
12325 #
12326 ps300|Picture System 300, 
12327         xt, 
12328         it@, 
12329         rmso@, rmul@, smso@, smul@, use=vt100, 
12330
12331 #### General Electric (ge)
12332 #
12333
12334 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
12335         hc, os, 
12336         cols#120, 
12337         bel=^G, cr=^M, cud1=^J, ind=^J, 
12338
12339 #### Heathkit/Zenith
12340 #
12341
12342 # Here is a description of the H19 DIP switches:
12343 #
12344 # S401
12345 # 0-3 = baud rate as follows:
12346
12347 #         3       2       1       0
12348 #       ---     ---     ---     --- 
12349 #         0       0       1       1       300 baud
12350 #         0       1       0       1       1200 baud
12351 #         1       0       0       0       2400 baud
12352 #         1       0       1       0       4800 baud
12353 #         1       1       0       0       9600 baud
12354 #         1       1       0       1       19.2K baud
12355
12356 # 4 = parity (0 = no parity)
12357 # 5 = even parity (0 = odd parity)
12358 # 6 = stick parity (0 = normal parity)
12359 # 7 = full duplex (0 = half duplex)
12360
12361 # S402 
12362 # 0 = block cursor (0 = underscore cursor)
12363 # 1 = no key click (0 = keyclick)
12364 # 2 = wrap at end of line (0 = no wrap)
12365 # 3 = auto LF on CR (0 = no LF on CR)
12366 # 4 = auto CR on LF (0 = no CR on LF)
12367 # 5 = ANSI mode (0 = VT52 mode)
12368 # 6 = keypad shifted (0 = keypad unshifted)
12369 # 7 = 50Hz refresh (1 = 60Hz refresh)
12370
12371 # Factory Default settings are as follows:
12372 #          7 6 5 4 3 2 1 0
12373 # S401     1 0 0 0 1 1 0 0
12374 # S402     0 0 0 0 0 0 0 0
12375 # (h19: I added <rmam>/<smam> based on the init string;
12376 # also added empty <acsc> to suppress a tic warning -- esr)
12377 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
12378         am, mir, msgr, 
12379         cols#80, it#8, lines#24, 
12380         acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
12381         cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
12382         cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>, 
12383         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J, 
12384         is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
12385         kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
12386         kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, 
12387         kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white, 
12388         ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
12389         smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
12390 h19-bs|heathkit w/keypad shifted, 
12391         rmkx=\Eu, smkx=\Et, use=h19-b, 
12392 h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor, 
12393         rmkx=\Eu, smkx=\Et, 
12394         use=h19-u, 
12395 # (h19: merged in <ip> from BSDI hp19-e entry>;
12396 # also added empty <acsc> to suppress a tic warning --esr)
12397 # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
12398 # Tim tells us that:
12399 # I have an old Zenith-19 terminal at home that still gets a lot of use.
12400 # This terminal suffers from the same famous insert-mode padding lossage
12401 # that has been acknowledged for the Z29 terminal.  Emacs is nearly
12402 # unusable on this box, since even a half-scroll up or down the window
12403 # causes flaming terminal death.
12404 #   
12405 # On the Z19, the only way I have found around this problem is to remove
12406 # the :al: and :dl: entries entirely.  No amount of extra padding will
12407 # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
12408 # makes Emacs a little slower, but it remains in the land of the living.
12409 # Big win.
12410 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
12411         am, eslok, hs, mir, msgr, 
12412         cols#80, it#8, lines#24, 
12413         acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
12414         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
12415         cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, 
12416         ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, 
12417         kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
12418         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, 
12419         lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
12420         smacs=\EF, smir=\E@, smso=\Ep, 
12421         tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
12422 h19-u|heathkit with underscore cursor, 
12423         cnorm@, cvvis@, use=h19-b, 
12424 h19-g|h19g|heathkit w/block cursor, 
12425         cnorm=\Ex4, use=h19-b, 
12426 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
12427         lines#60, 
12428         dl1=\EM, il1=\EL, use=h19, 
12429
12430 # The major problem with the Z29 is that it requires more padding than the Z19.
12431 #
12432 # The problem with declaring an H19 to be synonymous with a Z29 is that
12433 # it needs more padding. It especially loses if a program attempts
12434 # to put the Z29 into insert mode and insert text at 9600 baud. It
12435 # even loses worse if the program attempts to insert tabs at 9600
12436 # baud. Adding padding to text that is inserted loses because in 
12437 # order to make the Z29 not die, one must add so much padding that
12438 # whenever the program tries to use insert mode, the effective 
12439 # rate is about 110 baud.
12440
12441 # What program would want to put the terminal into insert mode 
12442 # and shove stuff at it at 9600 baud you ask?  
12443
12444 # Emacs. Emacs seems to want to do the mathematically optimal 
12445 # thing in doing a redisplay rather than the practical thing.
12446 # When it is about to output a line on top of a line that is 
12447 # already on the screen, instead of just killing to the end of 
12448 # the line and outputting the new line, it compares the old line 
12449 # and the new line and if there are any similarities, it 
12450 # constructs the new line by deleting the text on the old line 
12451 # on the terminal that is already there and then inserting new
12452 # text into the line to transform it into the new line that is 
12453 # to be displayed. The Z29 does not react kindly to this.
12454
12455 # But don't cry for too long.... There is a solution. You can make
12456 # a termcap entry for the Z29 that says the Z29 has no insert mode.
12457 # Then Emacs cannot use it. "Oh, no, but now inserting into a 
12458 # line will be really slow", you say. Well there is a sort of a
12459 # solution to that too. There is an insert character option on 
12460 # the Z29 that will insert one character. Unfortunately, it 
12461 # involves putting the terminal into ansi mode, inserting the 
12462 # character, and changing it back to H19 mode. All this takes 12 
12463 # characters. Pretty expensive to insert one character, but it 
12464 # works. Either Emacs doesn't try to use its inserting hack when 
12465 # it's only given an insert character ability or the Z29 doesn't 
12466 # require padding with this (the former is probably more likely, 
12467 # but I haven't checked it out).
12468 # (z29: added empty <acsc> to suppress a tic warning, merged in
12469 # status line capabilities from BRL entry --esr)
12470 z29|zenith29|z29b|zenith z29b, 
12471         am, eslok, hs, mir, msgr, 
12472         cols#80, lines#24, 
12473         acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, cr=^M, 
12474         cub1=^H, cud1=\EB, cuf1=\EC, 
12475         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
12476         cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, 
12477         ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I, 
12478         ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>, 
12479         is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
12480         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
12481         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
12482         lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, 
12483         rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8, 
12484         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
12485 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
12486 # the world is stable. <rs1> causes the terminal to be reset to the state
12487 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
12488 # cursor, bc -> block cursor.
12489 # From: Mike Meyers
12490 # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
12491 # looks vt100-compatible -- esr)
12492 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
12493         am, eslok, hs, mir, msgr, 
12494         cols#80, it#8, lines#24, 
12495         bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, cr=^M, 
12496         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
12497         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
12498         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
12499         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
12500         dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H, 
12501         ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL, 
12502         ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
12503         kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS, 
12504         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
12505         kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7, 
12506         nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h, 
12507         rmso=\E[m, rmul=\E[m, 
12508         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m, 
12509         sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m, 
12510         tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
12511 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
12512         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, 
12513         use=z29a, 
12514 z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
12515         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m, 
12516         use=z29a, 
12517 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
12518         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m, 
12519         use=z29a, 
12520 # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
12521 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
12522         am, eslok, hs, mc5i, mir, msgr, xon, 
12523         cols#80, lines#24, 
12524         acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12525         blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
12526         clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
12527         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
12528         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
12529         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
12530         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
12531         dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K, 
12532         fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L, 
12533         ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
12534         ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
12535         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS, 
12536         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
12537         kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
12538         mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
12539         rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
12540         rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0, 
12541         smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
12542         tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
12543
12544 # From: Brad Brahms <Brahms@USC-ECLC>
12545 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
12546         cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, 
12547         use=z100bw, 
12548 # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
12549 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
12550         mir, msgr, 
12551         cols#80, it#8, lines#24, 
12552         acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
12553         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
12554         cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, 
12555         ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, 
12556         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, 
12557         kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
12558         kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
12559         smacs=\EF, smir=\E@, smso=\Ep, 
12560 p19|h19-b with il1/dl1, 
12561         dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b, 
12562 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
12563 # (ztx: removed duplicate :sr: -- esr)
12564 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
12565         am, eslok, hs, 
12566         cols#80, it#8, lines#24, 
12567         clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
12568         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
12569         dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, 
12570         il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, 
12571         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES, 
12572         kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER, 
12573         ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2, 
12574         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
12575
12576 #### IMS International (ims)
12577 #
12578 # There was a company called IMS International located in Carson City, 
12579 # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
12580 # bus/Z80 hardware and a line of terminals called Ultimas.  
12581 #
12582
12583 # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
12584 ims950-b|bare ims950 no init string, 
12585         is2@, use=ims950, 
12586 # (ims950: removed obsolete ":ko@:" -- esr)
12587 ims950|ims televideo 950 emulation, 
12588         xenl@, 
12589         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
12590         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
12591         use=tvi950, 
12592 # (ims950-rv: removed obsolete ":ko@:" -- esr)
12593 ims950-rv|ims tvi950 rev video, 
12594         xenl@, 
12595         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
12596         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
12597         use=tvi950-rv, 
12598 ims-ansi|ultima2|ultimaII|IMS Ultima II, 
12599         am, 
12600         cols#80, it#8, lines#24, 
12601         clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
12602         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K, 
12603         ht=^I, if=/usr/share/tabset/vt100, 
12604         is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
12605         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM, 
12606         rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m, 
12607         smul=\E[4m, 
12608
12609 #### Intertec Data Systems
12610 #
12611 # I think this company is long dead as of 1995.  They made an early CP/M
12612 # micro called the "Intertec Superbrain" that was moderately popular,
12613 # then sank out of sight.
12614 #
12615
12616 superbrain|intertec superbrain, 
12617         am, bw, 
12618         cols#80, lines#24, 
12619         bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
12620         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K, 
12621         ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U, 
12622         kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L, 
12623 # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
12624 # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
12625 # and the reverse is actually true.  Try it. -- esr)
12626 intertube|intertec|Intertec InterTube, 
12627         am, 
12628         cols#80, lines#25, 
12629         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
12630         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A, 
12631         ind=^J, rmso=\E0@, smso=\E0P, 
12632 # The intertube 2 has the "full duplex" problem like the tek 4025: if you
12633 # are typing and a command comes in, the keystrokes you type get interspersed
12634 # with the command and it messes up
12635 intertube2|intertec data systems intertube 2, 
12636         cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
12637         el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
12638         ll=^K^X\r, vpa=\013%p1%c, 
12639         use=intertube, 
12640
12641 #### Ithaca Intersystems
12642 #
12643 # This company made S100-bus personal computers long ago in the pre-IBM-PC
12644 # past.  They used to be reachable at:
12645 #
12646 #       Ithaca Intersystems
12647 #       1650 Hanshaw Road
12648 #       Ithaca, New York 14850
12649 #
12650 # However, the outfit went bankrupt years ago.
12651 #
12652
12653 # The Graphos III was a color graphics terminal from Ithaca Intersystems.
12654 # These entries were written (originally in termcap syntax) by Brian Yandell 
12655 # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
12656 # University of Wisconsin.
12657
12658 # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
12659 # removed <if=/usr/share/tabset/init.graphos> and 
12660 # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
12661 graphos|graphos III, 
12662         am, mir, 
12663         cols#80, it#8, lines#24, 
12664         clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
12665         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
12666         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
12667         cuu=\E[%p1%dA, cuu1=\E[A, 
12668         cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, 
12669         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
12670         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
12671         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
12672         kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
12673         rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h, 
12674         smir=\E[4h, smso=\E[7m, 
12675 graphos-30|graphos III with 30 lines, 
12676         lines#30, 
12677         cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos, 
12678
12679 #### Modgraph
12680 #
12681 # These people used to be reachable at:
12682 #
12683 #       Modgraph, Inc
12684 #       1393 Main Street,
12685 #       Waltham, MA 02154
12686 #       Vox: (617)-890-5796.
12687 #
12688 # However, if you call that number today you'll get an insurance company.
12689 # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
12690 # 26 Feb 1997 that says:
12691 #
12692 # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
12693 # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
12694 # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
12695 # panel-mount etc).  I can be emailed at sonfour@aol.com
12696 #
12697 # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
12698 # dated 1984.  According to the manual, it featured Tek 4010/4014
12699 # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
12700 #
12701
12702 modgraph|mod24|modgraph terminal emulating vt100, 
12703         xenl@, 
12704         cols#80, lines#24, 
12705         cvvis=\E\^9;0s\E\^7;1s, 
12706         is2=\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, 
12707         rf@, ri=\EM\E[K$<5/>, 
12708         use=vt100, 
12709 # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
12710 modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
12711         am, da, db, 
12712         cols#80, it#8, lines#24, 
12713         clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
12714         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>, 
12715         ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
12716         is2=\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, 
12717         ri=\EI$<5/>, 
12718 #
12719 # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
12720 # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
12721 # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
12722 # mark and using delete-to-killbuffer work correctly.  However, we would
12723 # like normal mode of operation to be using a Modgraph with 48 line setting.
12724 # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
12725 # the setting mark and delete-to-killbuffer results in the deletion of only
12726 # the line the mark is set on.
12727 # We've discovered that the delete-to-killbuffer works correctly
12728 # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
12729 # the first line disappears but a ctrl-l shows that it did work
12730 # correctly.
12731 modgraph48|mod|Modgraph w/48 lines, 
12732         am, xenl, 
12733         cols#80, it#8, lines#48, vt#3, 
12734         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
12735         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
12736         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
12737         flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q, 
12738         home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h, 
12739         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12740         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
12741         ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
12742         rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, 
12743         smso=\E[7m, smul=\E[4m, 
12744
12745 #### Morrow Designs
12746
12747 # This was George Morrow's company.  They started in the late 1970s making
12748 # S100-bus machines.  They used to be reachable at:
12749 #
12750 #        Morrow
12751 #        600 McCormick St.
12752 #        San Leandro, CA 94577
12753 #
12754 # but they're long gone now (1995).
12755 #
12756
12757 # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
12758 # Jeff's specimen was dated June 1984.
12759 # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
12760 mt70|mt-70|Morrow MD-70; native Morrow mode, 
12761         am, mir, msgr, xon, 
12762         cols#80, it#8, lines#24, 
12763         acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G, 
12764         cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
12765         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
12766         cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
12767         flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
12768         ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r, 
12769         kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r, 
12770         kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r, 
12771         kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, 
12772         kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
12773         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12774         kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_, 
12775         rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1, 
12776         tbc=\E0, 
12777         use=adm+sgr, 
12778
12779 #### Motorola
12780 #
12781
12782 # Motorola EXORterm 155 from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
12783 # (Seth H Zirin)
12784 ex155|Motorola Exorterm 155, 
12785         am, bw, 
12786         cols#80, lines#24, 
12787         cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED, 
12788         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU, 
12789         home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H, 
12790         kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@, 
12791         rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED, 
12792
12793 #### Omron
12794 #
12795 # This company is still around in 1995, manufacturing point-of-sale systems.
12796
12797 omron|Omron 8025AG, 
12798         am, da, db, 
12799         cols#80, lines#24, 
12800         bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, 
12801         cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH, 
12802         il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef, 
12803
12804 #### Ramtek
12805 #
12806 # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
12807 # were competition for things like the Tektronics 4025.
12808 #
12809
12810 # Ramtek 6221 from BRL, probably by Doug Gwyn
12811 # The following SET-UP modes are assumed for normal operation:
12812 #       UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
12813 #       NEWLINE_OFF             80_COLUMNS
12814 # Other SET-UP modes may be set for operator convenience or communication
12815 # requirements; I recommend
12816 #       SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
12817 # Hardware tabs are assumed to be every 8 columns; they can be set up by the
12818 # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
12819 # Note that the Control-E key is useless on this brain-damaged terminal.  No
12820 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
12821 rt6221|Ramtek 6221 80x24, 
12822         msgr, xon, 
12823         cols#80, it#8, lines#24, vt#3, 
12824         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
12825         clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M, 
12826         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
12827         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
12828         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
12829         cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I, 
12830         hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
12831         kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
12832         kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H, 
12833         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>, 
12834         rmso=\E[m, rmul=\E[m, 
12835         rs1=\E[1w\E[>37m\E[>39m\E[1v\E[20l\E[?3l\E[?6l\E[>5h\E[>6h\E[>7h\E[>8l\E[>9h\E[>10l\E[1;24r\E[m\E[q\E(B\017\E)0\E#5\E>, 
12836         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
12837         smul=\E[4m, tbc=\E[3g, 
12838 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
12839 rt6221-w|Ramtek 6221 160x48, 
12840         cols#160, lines#48, 
12841         ll=\E[48;1H, use=rt6221, 
12842
12843 #### RCA
12844 #
12845
12846 # RCA VP3301 or VP3501
12847 rca|rca vp3301/vp3501, 
12848         cols#40, lines#24, 
12849         clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
12850         cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1, 
12851
12852
12853 #### Selanar
12854 #
12855
12856 # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
12857 # The following SET-UP modes are assumed for normal operation:
12858 #       SET_DEFAULT_TABS        48_LINES                80_COLUMNS
12859 #       ONLINE                  ANSI                    CURSOR_VISIBLE
12860 #       VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
12861 #       LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
12862 #       CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
12863 # For use with graphics software, all graphics modes should be set to factory
12864 # default.  Other SET-UP modes may be set for operator convenience or
12865 # communication requirements.  No delays are specified; use "stty ixon -ixany"
12866 # to enable DC3/DC1 flow control!
12867 # I commented out the scrolling capabilities since they are too slow.
12868 hirez100|Selanar HiREZ-100, 
12869         mir, msgr, xon, 
12870         cols#80, it#8, lines#48, vt#3, 
12871         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
12872         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
12873         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
12874         cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
12875         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
12876         hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H, 
12877         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, 
12878         kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, 
12879         lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i, 
12880         mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O, 
12881         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
12882         rs1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>, 
12883         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, 
12884         smul=\E[4m, tbc=\E[3g, 
12885 hirez100-w|Selanar HiREZ-100 in 132-column mode, 
12886         cols#132, use=hirez100, 
12887
12888 #### Signetics
12889 #
12890
12891 # From University of Wisconsin
12892 vsc|Signetics Vsc Video driver by RMC, 
12893         am, msgr, 
12894         cols#80, it#8, lines#26, 
12895         clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
12896         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
12897         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s, 
12898         rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_", 
12899
12900 #### Soroc
12901 #
12902 # Alan Frisbie <frisbie@flying-disk.com> writes:
12903 #
12904 # As you may recall, the Soroc logo consisted of their name,
12905 # with the letter "S" superimposed over an odd design.   This
12906 # consisted of a circle with a slightly smaller 15 degree (approx.)
12907 # wedge with rounded corners inside it.   The color was sort of
12908 # a metallic gold/yellow.
12909
12910 # If I had been more of a beer drinker it might have been obvious
12911 # to me, but it took a clue from their service department to make
12912 # me exclaim, "Of course!"   The circular object was the top of
12913 # a beer can (the old removable pop-top style) and "Soroc" was an
12914 # anagram for "Coors".
12915
12916 # I can just imagine the founders of the company sitting around
12917 # one evening, tossing back a few and trying to decide what to
12918 # call their new company and what to use for a logo.
12919
12920
12921 # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
12922 soroc120|iq120|soroc|soroc iq120, 
12923         clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J, 
12924         kcuf1=^L, kcuu1=^K, 
12925         use=adm3a, 
12926 soroc140|iq140|soroc iq140, 
12927         am, mir, 
12928         cols#80, lines#24, 
12929         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12930         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew, 
12931         dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J, 
12932         kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
12933         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12934         kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8, 
12935         rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A, 
12936
12937 #### Southwest Technical Products
12938 #
12939 # These guys made an early personal micro called the M6800.  
12940 # The ct82 was probably its console terminal.
12941 #
12942
12943 # (swtp: removed obsolete ":bc=^D:" -- esr)
12944 swtp|ct82|southwest technical products ct82, 
12945         am, 
12946         cols#82, lines#20, 
12947         bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
12948         cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F, 
12949         home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
12950         is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
12951         ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
12952
12953 #### Synertek
12954 #
12955 # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
12956 #
12957 # Synertek used to make ICs, various 6502-based single-board process
12958 # control and hobbyist computers, and assorted peripherals including a
12959 # series of small inexpensive terminals (I think they were one of the
12960 # first to have a "terminal-on-a-keyboard", where the terminal itself
12961 # was only slightly larger than the keyboard).
12962 #
12963 # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
12964 # was a 40x24 terminal that could connect to a standard TV through a
12965 # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
12966 # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
12967 # I have a KTM-2/80 still in working order.  The KTM-2s had fully
12968 # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
12969 # ROM and 2 ROMs as character generators. They were incredibly simple,
12970 # and I've never had any problems with mine (witness the fact that mine
12971 # was made in 1981 and is still working great... I've blown the video
12972 # output transistor a couple of times, but it's a 2N2222 :-)
12973 #
12974 # The KTM-3 (which is what is listed in the terminfo file) was their
12975 # attempt at putting a KTM-2 in a box (and some models came with a
12976 # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
12977 # control and escape sequences are very different. The KTM-3 was always
12978 # real broken, at least according to the folks I've talked to about it.
12979
12980 # The padding in the entry is probably off--these terminals were very
12981 # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
12982 # anyone with any sanity replaced the ROMs with something that provided
12983 # a reasonable subset of VT100 functionality, since the usual ROMs were
12984 # obviously very primitive... oh, you could get an upgraded ROM from
12985 # Synertek for some incredible amount of money, but what hacker with an
12986 # EPROM burner would do that? :)
12987
12988 # Sorry I don't have any contact info; I believe they were located in
12989 # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
12990 # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
12991 # business these days.
12992 #
12993
12994 # Tested, seems to work fine with vi.
12995 synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
12996         am, 
12997         cols#80, lines#24, 
12998         clear=^Z, cub1=^H, cuf1=^L, 
12999         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
13000
13001 #### Tab Office Products
13002 #
13003 #       TAB Products Co. - Palo Alto, California
13004 #       Electronic Office Products,
13005 #       1451 California Avenue 94304
13006 #
13007 # I think they're out of business.
13008 #
13009
13010 # The tab 132 uses xon/xoff, so no padding needed.
13011 # <smkx>/<rmkx> have nothing to do with arrow keys.
13012 # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
13013 # Seems to be no way to get rid of status line.
13014 # The manual for this puppy was dated June 1981.  It claims to be VT52-
13015 # compatible but looks more vt100-like.
13016 tab132|tab|tab132-15|tab 132/15, 
13017         da, db, 
13018         cols#80, lines#24, lm#96, 
13019         cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M, 
13020         il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B, 
13021         kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, 
13022         use=vt100, 
13023 tab132-w|tab132 in wide mode, 
13024         cols#132, 
13025         is2=\E[?7h\E[?3h\E[?5l, use=tab132, 
13026 tab132-rv|tab132 in reverse-video mode, 
13027         is2=\E[?7h\E[?3l\E[?5h, use=tab132, 
13028 tab132-w-rv|tab132 in reverse-video/wide mode, 
13029         is2=\E[?7h\E[?3h\E[?5h, 
13030         use=tab132-w, 
13031
13032
13033 #### Teleray
13034 #
13035 #       Research Incorporated
13036 #       6425 Flying Cloud Drive
13037 #       Eden Prairie, MN 55344
13038 #       Vox: (612)-941-3300
13039 #
13040 # The Teleray terminals were all discontinued in 1992-93.  RI still services
13041 # and repairs these beasts, but no longer manufactures them.  The Teleray
13042 # people believe that all the types listed below are very rare now (1995).
13043 # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
13044 # Model 100) that were ANSI-compatible.
13045 #
13046 # Note two things called "teleray".  Reorder should move the common one
13047 # to the front if you have either.  A dumb teleray with the cursor stuck
13048 # on the bottom and no obvious model number is probably a 3700.
13049 #
13050
13051 t3700|dumb teleray 3700, 
13052         cols#80, lines#24, 
13053         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
13054 t3800|teleray 3800 series, 
13055         cols#80, it#8, lines#24, 
13056         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
13057         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
13058         home=\EH, ht=^I, ind=^J, ll=\EY7\s, 
13059 t1061|teleray|teleray 1061, 
13060         am, km, xhp, xt, 
13061         cols#80, it#8, lines#24, xmc#1, 
13062         bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
13063         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
13064         dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF, 
13065         ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
13066         is2=\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, 
13067         kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7, 
13068         kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH, 
13069         tbc=\EG, 
13070 t1061f|teleray 1061 with fast PROMs, 
13071         dl1=\EM, il1=\EL, ip@, use=t1061, 
13072 # "Teleray Arpa Special", officially designated as
13073 # "Teleray Arpa network model 10" with "Special feature 720".
13074 # This is the new (1981) fast microcode updating the older "arpa" proms
13075 # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
13076 # converts the keypad to programmable function keys, and has other goodies.
13077 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
13078 # programs handle such lossage properly.
13079 # Note: this is NOT the old termcap's "t1061f with fast proms."
13080 # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
13081 # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
13082 t10|teleray 10 special, 
13083         km, xhp, xt, 
13084         cols#80, it#8, lines#24, xmc#2, 
13085         clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
13086         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
13087         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
13088         ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
13089         smul=\ERH, 
13090 # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
13091 # back/forth words. Put the function keys (f1-f10) where they can be
13092 # found, and turn off the other magic keys along the top row, except
13093 # for line/local. Do the magic appropriate to make the page shifts work.
13094 # Also toggle ^S/^Q for those of us who use Emacs.
13095 t16|teleray 16, 
13096         am, da, db, mir, xhp, xt, 
13097         cols#80, lines#24, 
13098         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
13099         cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P, 
13100         dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L, 
13101         ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
13102         kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
13103         rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
13104         rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
13105         smso=\E[7m, smul=\E[4m, 
13106
13107 #### Texas Instruments (ti)
13108 #
13109
13110 # The Silent 700 was so called because it was built around a quiet thermal
13111 # printer.  It was portable, equipped with an acoustic coupler, and pretty
13112 # neat for its day.
13113 ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
13114         hc, os, 
13115         cols#80, 
13116         bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
13117
13118 #
13119 # Texas Instruments 916 VDT 7 bit control mode
13120 #
13121 ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL, 
13122         da, db, in, msgr, 
13123         cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>, 
13124         cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB, 
13125         cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
13126         cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P, 
13127         dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, 
13128         el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>, 
13129         hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>, 
13130         il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H, 
13131         kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~, 
13132         kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~, 
13133         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
13134         kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T, 
13135         kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, 
13136         smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=vt220, 
13137 #
13138 # Texas Instruments 916 VDT 8 bit control mode
13139 #
13140 ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL, 
13141         kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
13142         kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~, 
13143         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~, 
13144         kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
13145         kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H, 
13146         kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, 
13147         use=ti916, 
13148 #
13149 # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
13150 #
13151 ti916-132|Texas Instruments 916 VDT vt220 132 column, 
13152         cols#132, use=ti916, 
13153 #
13154 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
13155 #
13156 ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column, 
13157         cols#132, use=ti916-8, 
13158 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
13159         am, xon, 
13160         cols#80, it#8, lines#24, 
13161         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
13162         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
13163         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
13164         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
13165         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
13166         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
13167         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
13168         kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~, 
13169         kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m, 
13170         ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
13171         smul=\E[4m, tbc=\E[3g, 
13172 ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
13173         am, xon, 
13174         cols#80, it#8, lines#24, 
13175         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
13176         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
13177         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
13178         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
13179         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
13180         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
13181         kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
13182         kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>, 
13183         kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>, 
13184         kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, 
13185         rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
13186         smul=\E[4m, tbc=\E[3g, 
13187 ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
13188         cols#132, use=ti924, 
13189 ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
13190         cols#132, use=ti924-8, 
13191 ti931|Texas Instruments 931 VDT, 
13192         am, xon, 
13193         cols#80, lines#24, 
13194         bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED, 
13195         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13196         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
13197         ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
13198         is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
13199         kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, 
13200         kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, 
13201         kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
13202         sgr0=\E4@, smso=\E4A, smul=\E4D, 
13203 ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
13204         csr@, ind=\E[1S, ri=\E[1T, 
13205         use=ti924, 
13206 # (ti926-8: I corrected this from the broken SCO entry -- esr)
13207 ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
13208         csr@, ind=\2331S, ri=\2331T, 
13209         use=ti924-8, 
13210 ti_ansi|basic entry for ti928, 
13211         am, bce, eo, xenl, xon, 
13212         colors#8, cols#80, it#8, lines#25, pairs#64, 
13213         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, 
13214         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
13215         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
13216         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
13217         il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
13218         kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M, 
13219         kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, 
13220         kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
13221         op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m, 
13222         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
13223         smso=\E[7m, smul=\E[4m, 
13224 #
13225 #       928 VDT 7 bit control mode
13226 #
13227 ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
13228         kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
13229         kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
13230         kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
13231         kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
13232         kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, 
13233         use=ti_ansi, 
13234 #
13235 #       928 VDT 8 bit control mode
13236 #
13237 ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
13238         kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~, 
13239         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~, 
13240         kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~, 
13241         kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~, 
13242         kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S, 
13243         kpp=\233T, kprt=\23335~, 
13244         use=ti_ansi, 
13245
13246 #### Zentec (zen)
13247 #
13248
13249 # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
13250 # had just <smso>=\EG6 which I think means standout was supposed to be 
13251 # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
13252 # <invis> might work-- esr)
13253 zen30|z30|zentec 30, 
13254         am, mir, ul, 
13255         cols#80, lines#24, 
13256         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13257         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
13258         dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^, 
13259         il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6, 
13260         smul@, 
13261         use=adm+sgr, 
13262 # (zen50: this had extension capabilities
13263 #       :BS=^U:CL=^V:CR=^B:
13264 # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
13265 # which were also in the original entry -- esr)
13266 # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
13267 zen50|z50|zentec zephyr, 
13268         am, 
13269         cols#80, lines#24, xmc#1, 
13270         clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
13271         cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
13272         invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
13273         rmul@, smul@, 
13274         use=adm+sgr, 
13275
13276 # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
13277 cci|cci1|z8001|zen8001|CCI Custom Zentec 8001, 
13278         am, bw, 
13279         cols#80, lines#24, 
13280         blink=\EM", clear=\EH\EJ, cnorm=\EP, 
13281         csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J, 
13282         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
13283         cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH, 
13284         invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED, 
13285         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R, 
13286         rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s, 
13287         smso=\EM$, smul=\EM0, 
13288
13289 ######## OBSOLETE UNIX CONSOLES
13290 #
13291
13292 #### Apollo consoles
13293 #
13294 # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
13295 # labeled HP700s now.
13296 #
13297
13298 # From: Gary Darland <goodmanc@garnet.berkeley.edu>
13299 apollo|apollo console, 
13300         am, mir, 
13301         cols#88, lines#53, 
13302         clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
13303         cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL, 
13304         ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED, 
13305         rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ, 
13306         smso=\ES, smul=\EU, vpa=\EO+\s, 
13307
13308 # We don't know whether or not the apollo guys replicated DEC's firmware bug
13309 # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
13310 # both these capabilities.
13311 apollo_15P|apollo 15 inch display, 
13312         rmir@, smir@, use=vt132, 
13313 apollo_19L|apollo 19 inch display, 
13314         rmir@, smir@, use=vt132, 
13315 apollo_color|apollo color display, 
13316         rmir@, smir@, use=vt132, 
13317
13318 #### Convergent Technology
13319 #
13320 # Burroughs bought Convergent shortly before it merged with Univac.
13321 # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
13322 # from 1991 or earlier).
13323 #
13324
13325 # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
13326 # (aws: removed unknown :dn=^K: -- esr)
13327 aws|Convergent Technologies AWS workstation under UTX and Xenix, 
13328         am, 
13329         cols#80, lines#28, xmc#0, 
13330         acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
13331         cuu1=^A, dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c, 
13332         ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K, 
13333         kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF, 
13334         rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN, 
13335         vpa=\EV%p1%c, 
13336 awsc|Convergent Technologies AWS workstation under CTOS, 
13337         am, 
13338         cols#80, lines#24, xmc#0, 
13339         acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
13340         cuu1=^A, ed=\EEF, el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, 
13341         kcuf1=^R, kcuu1=^A, rmacs=\EAAF, rmso=\EAA, rmul=\EAA, 
13342         smacs=\EAAN, smso=\EAE, smul=\EAC, 
13343
13344 #### DEC consoles
13345 #
13346
13347 # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
13348 # The digital uVax II's had a graphic display called a qdss.  It was
13349 # supposed to be a high performance graphic accelerator, but it was
13350 # late to market and barely appeared before faster dumb frame buffers
13351 # appeared.  I have only used this display while running X11.  However,
13352 # during bootup, it was in text mode, and probably had a terminal emulator
13353 # within it.  And that is what your termcap entry is for.  In graphics
13354 # mode the screen size is 1024x864 pixels.
13355 qdss|qdcons|qdss glass tty, 
13356         am, 
13357         cols#128, lines#57, 
13358         clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
13359         cup=\E=%p1%c%p2%c, cuu1=^K, 
13360
13361 #### Fortune Systems consoles
13362 #
13363 # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
13364 # in their day; I (esr) used one myself for a year or so around 1984.
13365 # They had no graphics, though, and couldn't compete against Suns and
13366 # the like.  R.I.P.
13367 #
13368
13369 # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
13370 # (This had extension capabilities
13371 #       :rv=\EH:re=\EI:rg=0:GG=0:\
13372 #       :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
13373 #       :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
13374 #       :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
13375 # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
13376 # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
13377 # to force both magic cookie glitches off.  Once upon a time, I
13378 # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
13379 # function keys; thus the "Al" value for HM was certainly an error.  I renamed
13380 # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
13381 # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
13382 # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
13383 # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
13384 fos|fortune|Fortune system, 
13385         am, bw, 
13386         cols#80, lines#25, 
13387         acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E], 
13388         clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
13389         cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
13390         cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
13391         ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
13392         ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H, 
13393         kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r, 
13394         kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r, 
13395         kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, 
13396         khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, 
13397         rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
13398         smso=^\H`, smul=^\HP, 
13399
13400 #### Masscomp consoles
13401 #
13402 # Masscomp has gone out of business.  Their product line was purchased by
13403 # comany in Georgia (US) called "XS International", parts and service may
13404 # still be available through them.
13405 #
13406
13407 # (masscomp: ":MT:" changed to ":km:";  -- esr)
13408 masscomp|masscomp workstation console, 
13409         km, mir, 
13410         cols#80, it#8, lines#24, 
13411         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
13412         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
13413         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H, 
13414         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, 
13415         rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
13416 masscomp1|masscomp large screen version 1, 
13417         cols#104, lines#36, use=masscomp, 
13418 masscomp2|masscomp large screen version 2, 
13419         cols#64, lines#21, use=masscomp, 
13420
13421 ######## OTHER OBSOLETE TYPES
13422 #
13423 # These terminals are *long* dead -- these entries are retained for
13424 # historical interest only.
13425 #
13426
13427 #### Obsolete non-ANSI software emulations
13428 #
13429
13430 # CTRM terminal emulator
13431 # 1. underlining is not allowed with colors: first, is is simulated by 
13432 # black on white, second, it disables background color manipulations.
13433 # 2. BLINKING, REVERSE and BOLD are allowed with colors,
13434 # so we have to save their status in the static registers A, B and H
13435 # respectively, to be able to restore them when color changes
13436 # (because any color change turns off ALL attributes)
13437 # 3. <bold> and <rev> sequences alternate modes,
13438 # rather then simply  entering them.  Thus we have to check the
13439 # static register B and H to determine the status, before sending the 
13440 # escape sequence.
13441 # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
13442 # and then reset colors
13443 # 5. implementation of the protect mode would badly penalize the performance.
13444 # we would have to use \E&bn sequence to turn off colors (as well as all
13445 # other attributes), and keep the status of protect mode in yet another
13446 # static variable.  If someone really needs this mode, they would have to
13447 # create another terminfo entry.
13448 # 6. original color-pair is white on black.
13449 # store the information about colors into static registers
13450 # 7. set foreground color.  it performs the following steps.
13451 #   1) turn off all attributes
13452 #   2) turn on the background and video attributes that have been turned
13453 #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
13454 #   3) turn on foreground attributes
13455 #   4) store information about foreground into U,V,W static registers
13456 # 8. turn on background: similar to turn on foreground above
13457 ctrm|C terminal emulator, 
13458         am, bce, xon, 
13459         colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0, 
13460         pairs#63, pb#19200, vt#6, 
13461         bel=^G, blink=\E&dA%{1}%PA, 
13462         bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
13463         clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
13464         cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM, 
13465         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1, 
13466         il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, 
13467         kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
13468         kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
13469         kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
13470         op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU, 
13471         rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
13472         setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
13473         setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
13474         sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;, 
13475         sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
13476         smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
13477
13478 # gs6300 - can't use blue foreground, it clashes with underline;
13479 # it's simulated with cyan
13480 # Bug: The <op> capability probably resets attributes.
13481 # (gs6300: commented out <rmln> (no <smln>) --esr)
13482 gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
13483         am, bce, msgr, xon, 
13484         colors#8, cols#80, it#8, lines#24, pairs#63, 
13485         acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
13486         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
13487         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13488         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13489         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
13490         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
13491         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
13492         is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B, 
13493         kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s, 
13494         kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
13495         khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
13496         ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
13497         setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m, 
13498         sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
13499
13500 # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
13501 # MS-Kermit with Heath-19 emulation mode enabled
13502 # (h19k: changed ":pt@:" to ":it@"
13503 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
13504         am@, da, db, xt, 
13505         it@, 
13506         ht@, use=h19-u, 
13507
13508 # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
13509 # Software (formerly Peripherals Computers & Supplies, Inc) of
13510 # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
13511 # also be reached at support@synergy.com.
13512 versaterm|versaterm vt100 emulator for the macintosh, 
13513         am, xenl, 
13514         cols#80, it#8, lines#24, 
13515         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
13516         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13517         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
13518         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
13519         dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>, 
13520         el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>, 
13521         il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
13522         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
13523         kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, 
13524         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
13525         rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>, 
13526         sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>, 
13527         smul=\E[4m$<2/>, 
13528
13529 # From: Rick Thomas <ihnp4!btlunix!rbt>
13530 # (xtalk: I added <rmam>/<smam> based on the init string.
13531 # I also removed <xmc#1> and the trailing \s characters from the highlight
13532 # changers, I don't believe these on a VT100-emulating PC display -- esr)
13533 xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
13534         am, mir, msgr, xon, 
13535         cols#80, it#8, lines#24, vt#3, 
13536         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
13537         bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
13538         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
13539         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
13540         cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>, 
13541         el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
13542         il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
13543         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
13544         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
13545         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
13546         kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
13547         rmkx=\E[?1l\E>, rmso=\E[m, 
13548         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
13549         smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
13550         tbc=\E[3g, 
13551
13552 # The official PC terminal emulator program of the AT&T Product Centers.
13553 # Note - insert mode commented out - doesn't seem to work on AT&T PC.
13554 simterm|attpc running simterm, 
13555         am, 
13556         cols#80, lines#24, 
13557         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
13558         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER, 
13559         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE, 
13560         rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB, 
13561
13562 #### Daisy wheel printers
13563 #
13564 # This section collects Diablo, DTC, Xerox, Qume, and other daisy
13565 # wheel terminals.  These are now largely obsolete.
13566 #
13567
13568 # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
13569 diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
13570         hc, os, 
13571         cols#132, it#8, 
13572         cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c, 
13573         ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2, 
13574 diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
13575         cols#124, 
13576         is2=\r        \E9, use=diablo1620, 
13577 # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
13578 diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
13579         bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, 
13580         use=diablo1620, 
13581 # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
13582 # file -- esr)
13583 diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
13584         cols#124, 
13585         rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620, 
13586 diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
13587         use=diablo1640-lm, 
13588 # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
13589 # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
13590 # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
13591 # If no tab is set or the terminal's in a bad mood, it glitches the screen
13592 # around all of memory.  Note that return puts a blank ("a return character")
13593 # in the space the cursor was at, so we use ^P return (and thus ^P newline for
13594 # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
13595 # curses won't work (some old BSD versions) because it doesn't clear this bit,
13596 # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
13597 # I have been unable to get tabs set in all 96 lines - it always leaves at
13598 # least one line with no tabs in it, and once you tab through that line,
13599 # it completely weirds out.
13600 # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
13601 dtc382|DTC 382, 
13602         am, da, db, xhp, 
13603         cols#80, lines#24, lm#96, 
13604         bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H, 
13605         cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
13606         dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
13607         home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
13608         rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
13609 dtc300s|DTC 300s, 
13610         hc, os, 
13611         cols#132, 
13612         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
13613         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
13614 gsi|mystery gsi terminal, 
13615         hc, os, 
13616         cols#132, 
13617         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH, 
13618         ind=^J, 
13619 aj830|aj832|aj|anderson jacobson, 
13620         hc, os, 
13621         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
13622         ind=^J, 
13623 # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
13624 aj510|Anderson-Jacobson model 510, 
13625         am, mir, 
13626         cols#80, lines#24, 
13627         clear=^L, cub1=^H, cuf1=\EX, 
13628         cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
13629         dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=, 
13630         il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ, 
13631         kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J, 
13632         rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I, 
13633         smul=\E"U, 
13634 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
13635 # This is incomplete, but it's a start.
13636 nec5520|nec|spinwriter|nec 5520, 
13637         hc, os, 
13638         cols#132, it#8, 
13639         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
13640         hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J, 
13641         kbs=^H, tbc=\E3, 
13642 qume5|qume|Qume Sprint 5, 
13643         hc, os, 
13644         cols#80, it#8, 
13645         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
13646         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
13647 # I suspect the xerox 1720 is the same as the diablo 1620.
13648 xerox1720|x1720|x1750|xerox 1720, 
13649         hc, os, 
13650         cols#132, it#8, 
13651         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J, 
13652         tbc=\E2, 
13653
13654 #### Miscellaneous obsolete terminals, manufacturers unknown
13655 #
13656 # If you have any information about these (like, a manufacturer's name, 
13657 # and a date on the serial-number plate) please send it!
13658
13659 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
13660         am, 
13661         cols#73, lines#36, 
13662         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
13663 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
13664         am, 
13665         cols#85, lines#39, 
13666         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3, 
13667         kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7, 
13668         kf4=\E8, rmso=\Em^C, smso=\Em^L, 
13669 cops10|cops|cops-10|cops 10, 
13670         am, bw, 
13671         cols#80, lines#24, 
13672         bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13673         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V, 
13674         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
13675         khome=^Y, 
13676 # (d132: removed duplicate :ic=\E5:,
13677 # merged in capabilities from a BRL entry -- esr)
13678 d132|datagraphix|datagraphix 132a, 
13679         da, db, in, 
13680         cols#80, lines#30, 
13681         bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, 
13682         cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, 
13683         dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, 
13684         kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew, 
13685 # The d800 was an early portable terminal from c.1984-85 that looked a lot
13686 # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
13687 # mode (which is what this entry looks like) and several other lesser-known
13688 # emulations.
13689 d800|Direct 800/A, 
13690         am, da, db, msgr, xhp, 
13691         cols#80, it#8, lines#24, 
13692         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
13693         bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H, 
13694         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
13695         cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D, 
13696         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
13697         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
13698         ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
13699         smacs=\E[1m, smso=\E[7m, smul=\E[4m, 
13700 digilog|digilog 333, 
13701         cols#80, lines#16, 
13702         bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X, 
13703         home=^N, ind=^J, 
13704 # The DWK was a terminal manufactured in the Soviet Union c.1986
13705 dwk|dwk-vt|dwk terminal, 
13706         am, 
13707         cols#80, it#8, lines#24, 
13708         acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_, 
13709         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
13710         cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP, 
13711         ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
13712         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
13713         kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
13714         kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh, 
13715         kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX, 
13716         sgr0=\EX, smacs=\EF, smso=\ET, 
13717 env230|envision230|envision 230 graphics terminal, 
13718         xenl@, 
13719         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
13720         sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100, 
13721 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
13722 # coupler attached, the whole rig fitting in a suitcase and more or less
13723 # portable.  Hot stuff for c.1977 :-) -- esr
13724 ep48|ep4080|execuport 4080, 
13725         am, os, 
13726         cols#80, 
13727         bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J, 
13728 ep40|ep4000|execuport 4000, 
13729         cols#136, use=ep4080, 
13730 # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
13731 # Informer series - these are all portable units, resembling older
13732 # automatic bread-baking machines.  The terminal looks like a `clamshell'
13733 # design, but isn't.  The structure is similar to the Direct terminals,
13734 # but only half the width.  The entire unit is only about 10" wide.
13735 # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
13736 # keyboard.  All the keys are crammed together, much like some laptop
13737 # PCs today, but perhaps less well organized...all these units have a
13738 # bewildering array of plugs on the back, including a built-in modem.
13739 # The 305 was a color version of the 304; the 306 and 307 were mono and
13740 # color terminals built for IBM bisync protocols.
13741 # From: Paul Leondis <unllab@amber.berkeley.edu>
13742 ifmr|Informer D304, 
13743         am, 
13744         cols#80, lines#24, 
13745         clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
13746         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\, 
13747         ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK, 
13748         smso=\EJ, 
13749 # Entry largely based on wy60 and has the features of wy60ak.
13750 opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
13751         am, bw, hs, km, mir, msgr, ul, xon, 
13752         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
13753         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
13754         cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M, 
13755         cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, 
13756         dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, 
13757         ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
13758         hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J, 
13759         ip=$<3>, 
13760         is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12, 
13761         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
13762         kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY, 
13763         kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
13764         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
13765         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
13766         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
13767         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
13768         mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
13769         pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
13770         pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
13771         pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
13772         rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
13773         rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
13774         rs3=\EwG\Ee($<150>, 
13775         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
13776         sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
13777         smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
13778         smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
13779         uc=\EG8%p1%c\EG0, 
13780         use=adm+sgr, 
13781 teletec|Teletec Datascreen, 
13782         am, 
13783         cols#80, lines#24, 
13784         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
13785         home=^^, ind=^J, 
13786 # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
13787 #               This termcap is for the LANPAR Technologies VISION 3220
13788 #       terminal.  The function key definitions k0-k5 represent the
13789 #       edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
13790 #       NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
13791 #       PF4 keys.
13792 # (v3220: removed obsolete ":kn#10:",
13793 # I added <rmam>/<smam> based on the init string -- esr)
13794 v3220|LANPAR Vision II model 3220/3221/3222, 
13795         am, mir, xenl, 
13796         cols#80, it#8, lines#24, 
13797         clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
13798         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
13799         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
13800         is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B, 
13801         kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, 
13802         kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, 
13803         kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
13804         rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
13805         smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
13806 ######## ICH/ICH1 VERSUS RMIR/SMIR
13807 #
13808 # Some non-curses applications get confused if both ich/ich1 and rmir/smir
13809 # are present; the symptom is doubled characters in an update using insert.
13810 # These applications are technically correct; in both 4.3BSD termcap and
13811 # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
13812 # unless the terminal needs both.  To my knowledge, no terminal still in this
13813 # file requires both other than the very obsolete dm2500.
13814 #
13815 # For ncurses-based applications this is not a problem, as ncurses uses
13816 # one or the other as appropriate but never mixes the two.  Therefore we
13817 # have not corrected entries like `linux' and `xterm' that specify both.
13818 # If you see doubled characters from these, use the linux-nic and xterm-nic
13819 # entries that suppress ich/ich1.  And upgrade to ncurses!
13820 #
13821
13822 ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
13823 #
13824 # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
13825 # ECMA-48 standards are said to be almost identical, but are not the same
13826 # as X3.64 (though for practical purposes they are close supersets of it).
13827 #
13828 # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
13829 # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
13830 # Coded Character Sets"), include your snail-mail address, and you should
13831 # receive the document in due course.  Don't expect an email acknowledgement.
13832 #
13833 # Related standards include "X3.4-1977: American National Standard Code for
13834 # Information Interchange" (the ASCII standard) and "X3.41.1974: 
13835 # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
13836 # American National Standard for Information Interchange."  I believe (but
13837 # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
13838 # respectively. 
13839 #
13840
13841 #### VT100/ANSI/ECMA-48
13842 #
13843 # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
13844 # and ECMA-48 Control Functions for Coded Character Sets.
13845
13846 # Much of the content of this comment is adapted from a table prepared by
13847 # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
13848 # discussion of some terminfo-related issues, and updates to capture ECMA-48
13849 # have been added.  Control functions described in ECMA-48 only are tagged
13850 # with * after their names.
13851 #
13852 # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
13853 # sequences.  In the main table, \E stands for an escape (\033) character,
13854 # SPC for space.  Pn stands for a single numeric parameter to be inserted
13855 # in decimal ASCII.  Ps stands for a list of such parameters separated by
13856 # semicolons.  Parameter meanings for most parametrized sequences are
13857 # decribed in the notes.
13858 #
13859 # Sequence     Sequence                             Parameter   or
13860 # Mnemonic     Name              Sequence           Value      Mode   terminfo
13861 # -----------------------------------------------------------------------------
13862 # APC  Applicatn Program Command \E _                -         Delim  -
13863 # BEL  Bell *                    ^G                  -         -      bel
13864 # BPH  Break Permitted Here *    \E B                -         *      -
13865 # BS   Backpace *                ^H                  -         EF     -
13866 # CAN  Cancel *                  ^X                  -         -      -   (A)
13867 # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
13868 # CCH  Cancel Previous Character \E T                -         -      -
13869 # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
13870 # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
13871 # CMD  Coding Method Delimiter * \E
13872 # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
13873 # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
13874 # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
13875 # CSI  Control Sequence Intro    \E [                -         Intro  -
13876 # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
13877 # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
13878 # CUD  Cursor Down               \E [ Pn B           1         eF     cud
13879 # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
13880 # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
13881 # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
13882 # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
13883 # DA   Device Attributes         \E [ Pn c           0         -      -
13884 # DAQ  Define Area Qualification \E [ Ps o           0         -      -
13885 # DCH  Delete Character          \E [ Pn P           1         eF     dch
13886 # DCS  Device Control String     \E P                -         Delim  -
13887 # DL   Delete Line               \E [ Pn M           1         eF     dl
13888 # DLE  Data Link Escape *        ^P                  -         -      -
13889 # DMI  Disable Manual Input      \E \                -         Fs     -
13890 # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
13891 # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
13892 # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
13893 # ECH  Erase Character           \E [ Pn X           1         eF     ech
13894 # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
13895 # EF   Erase in Field            \E [ Ps N           0         eF     -
13896 # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
13897 # EM   End of Medium *           ^Y                  -         -      -
13898 # EMI  Enable Manual Input       \E b                          Fs     -
13899 # ENQ  Enquire                   ^E                  -         -      -
13900 # EOT  End Of Transmission       ^D                  -         *      -
13901 # EPA  End of Protected Area     \E W                -         -      -   (K)
13902 # ESA  End of Selected Area      \E G                -         -      -
13903 # ESC  Escape                    ^[                  -         -      -
13904 # ETB  End Transmission Block    ^W                  -         -      -
13905 # ETX  End of Text               ^C                  -         -      -
13906 # FF   Form Feed                 ^L                  -         -      -
13907 # FNK  Function Key *            \E [ Pn SPC W       -         -      -
13908 # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
13909 # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
13910 # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
13911 # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
13912 # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
13913 # HPB  Char Position Backward    \E [ j              1         FE     -
13914 # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
13915 # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
13916 # HTJ  Horz Tab w/Justification  \E I                -         FE     -
13917 # HTS  Horizontal Tab Set        \E H                -         FE     hts
13918 # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
13919 # ICH  Insert Character          \E [ Pn @           1         eF     ich
13920 # IDCS ID Device Control String  \E [ SPC O          -         *      -
13921 # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
13922 # IL   Insert Line               \E [ Pn L           1         eF     il
13923 # IND  Index                     \E D                -         FE     -
13924 # INT  Interrupt                 \E a                -         Fs     -
13925 # JFY  Justify                   \E [ Ps SPC F       0         FE     -
13926 # IS1  Info Separator #1 *       ^_                  -         *      -
13927 # IS2  Info Separator #1 *       ^^                  -         *      -
13928 # IS3  Info Separator #1 *       ^]                  -         *      -
13929 # IS4  Info Separator #1 *       ^\                  -         *      -
13930 # LF   Line Feed                 ^J                  -         -      -
13931 # LS1R Locking Shift Right 1 *   \E ~                -         -      -
13932 # LS2  Locking Shift 2 *         \E n                -         -      -
13933 # LS2R Locking Shift Right 2 *   \E }                -         -      -
13934 # LS3  Locking Shift 3 *         \E o                -         -      -
13935 # LS3R Locking Shift Right 3 *   \E |                -         -      -
13936 # MC   Media Copy                \E [ Ps i           0         -      -   (S)
13937 # MW   Message Waiting           \E U                -         -      -
13938 # NAK  Negative Acknowledge *    ^U                  -         *      -
13939 # NBH  No Break Here *           \E C                -         -      -
13940 # NEL  Next Line                 \E E                -         FE     nel (D)
13941 # NP   Next Page                 \E [ Pn U           1         eF     -
13942 # NUL  Null *                    ^@                  -         -      -
13943 # OSC  Operating System Command  \E ]                -         Delim  -
13944 # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
13945 # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
13946 # PLD  Partial Line Down         \E K                -         FE     -   (T)
13947 # PLU  Partial Line Up           \E L                -         FE     -   (U)
13948 # PM   Privacy Message           \E ^                -         Delim  -
13949 # PP   Preceding Page            \E [ Pn V           1         eF     -
13950 # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
13951 # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
13952 # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
13953 # PTX  Parallel Texts *          \E [ \              -         -      -
13954 # PU1  Private Use 1             \E Q                -         -      -
13955 # PU2  Private Use 2             \E R                -         -      -
13956 # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
13957 # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
13958 # RI   Reverse Index             \E M                -         FE     -   (V)
13959 # RIS  Reset to Initial State    \E c                -         Fs     -
13960 # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
13961 # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
13962 # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
13963 # SCI  Single-Char Introducer    \E Z                -         -      -
13964 # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
13965 # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
13966 # SD   Scroll Down               \E [ Pn T           1         eF     rin
13967 # SDS  Start Directed String *   \E [ Pn ]           1         -      -
13968 # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
13969 # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
13970 # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
13971 # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
13972 # SI   Shift In                  ^O                  -         -      -   (P)
13973 # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
13974 # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
13975 # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
13976 # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
13977 # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
13978 # SM   Select Mode               \E [ Ps h           none      -      -   (W)
13979 # SO   Shift Out                 ^N                  -         -      -   (Q)
13980 # SOH  Start Of Heading *        ^A                  -         -      -
13981 # SOS  Start of String *         \E X                -         -      -
13982 # SPA  Start of Protected Area   \E V                -         -      -   (Z)
13983 # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
13984 # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
13985 # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
13986 # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
13987 # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
13988 # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
13989 # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
13990 # SRS  Start Reversed String *   \E [ Ps [           0         -      -
13991 # SSA  Start of Selected Area    \E F                -         -      -
13992 # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
13993 # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
13994 # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
13995 # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
13996 # ST   String Terminator         \E \                -         Delim  -
13997 # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
13998 # STS  Set Transmit State        \E S                -         -      -
13999 # STX  Start pf Text *           ^B                  -         -      -
14000 # SU   Scroll Up                 \E [ Pn S           1         eF     indn
14001 # SUB  Substitute *              ^Z                  -         -      -
14002 # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
14003 # SYN  Synchronous Idle *        ^F                  -         -      -
14004 # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
14005 # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
14006 # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
14007 # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
14008 # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
14009 # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
14010 # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
14011 # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
14012 # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
14013 # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
14014 # VT   Vertical Tabulation *     ^K                  -         FE     -
14015 # VTS  Vertical Tabulation Set   \E J                -         FE     -
14016
14017 # ---------------------------------------------------------------------------
14018 #
14019 # Notes:
14020 #
14021 # Some control characters are listed in the ECMA-48 standard without 
14022 # being assigned functions relevant to terminal control there (they 
14023 # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
14024 # here anyway for completeness.
14025 #
14026 # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
14027 #
14028 # (B) There seems to be some confusion abroad between CHA and HPA.  Most
14029 # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
14030 # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
14031 # preserved the CHA abbreviation.
14032 #
14033 # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
14034 # Occasionally (as on, for example, certain HP terminals) this has the HTJ
14035 # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
14036 # CHT abbreviation.
14037 #
14038 # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
14039 #
14040 # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
14041 # abbreviation.
14042
14043 # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
14044 # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
14045 # 5 = clear all char tabs, 6 = clear all line tabs.
14046 #
14047 # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
14048 # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
14049 # Position Absolute" but retains the HVP abbreviation.
14050 #
14051 # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
14052 # abbreviation.
14053 #
14054 # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
14055 # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
14056 # DSR, 6 = request CPR response.
14057 #
14058 # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
14059 # 1 = clear from beginning, 2 = clear.
14060
14061 # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
14062 #
14063 # (L) The GSM parameters are vertical and horizontal parameters to scale by.
14064 #
14065 # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
14066 # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
14067 # Position Relative" but retains the HPR abbreviation.
14068 #
14069 # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
14070 # abbreviation.
14071 #
14072 # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
14073 # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
14074 # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
14075 # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
14076 # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
14077 # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
14078 # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
14079 # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
14080 # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
14081 # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
14082 # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
14083 # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
14084 # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
14085 # 61-65 = variable highlights for ideograms.
14086 #
14087 # (P) SI is also called LSO, Locking Shift Zero.
14088 #
14089 # (Q) SI is also called LS1, Locking Shift One.
14090 #
14091 # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
14092 # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
14093 # Absolute' but retains the VPA abbreviation.
14094 #
14095 # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
14096 # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
14097 # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
14098 # start relay to primary aux device, 6 = stop relay to secondary aux device,
14099 # 7 = start relay to secondary aux device.
14100 #
14101 # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
14102 # abbreviation.
14103 #
14104 # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
14105 # abbreviation.
14106 #
14107 # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
14108 #
14109 # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
14110 # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
14111 # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
14112 # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
14113 # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
14114 # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
14115 # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
14116 # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
14117 # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
14118 # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
14119 # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
14120 # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
14121 # from ECMA-48's 5th edition but are listed here for reference.
14122 #
14123 # (X) Select Alternate Presentation Variants is used only for non-Latin
14124 # alphabets.
14125 #
14126 # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
14127 #
14128 # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
14129 # abbreviation.
14130 #
14131 # ---------------------------------------------------------------------------
14132
14133 # Abbreviations:
14134 #
14135 # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
14136 #        X3.64 Control Sequence Introducer is the two characters "Escape ["
14137
14138 # Delim  a Delimiter
14139
14140 # x/y    identifies a character by position in the ASCII table (column/row)
14141
14142 # eF     editor function (see explanation)
14143
14144 # FE     format effector (see explanation)
14145 #
14146 # F      is a Final character in
14147 #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
14148 #             a control sequence (F from 4/0 to 7/14)
14149
14150 # Gs     is a graphic character appearing in strings (Gs ranges from
14151 #        2/0 to 7/14) in the ASCII table
14152
14153 # Ce     is a control represented as a single bit combination in the C1 set
14154 #        of controls in an 8-bit character set
14155
14156 # C0     the familiar set of 7-bit ASCII control characters
14157
14158 # C1     roughly, the set of control chars available only in 8-bit systems.
14159 #        This is too complicated to explain fully here, so read Jim Fleming's
14160 #        article in the February 1983 BYTE, especially pages 214 through 224.
14161
14162 # Fe     is a Final character of a 2-character Escape sequence that has an
14163 #        equivalent representation in an 8-bit environment as a Ce-type
14164 #        (Fe ranges from 4/0 to 5/15)
14165
14166 # Fs     is a Final character of a 2-character Escape sequence that is
14167 #        standardized internationally with identical representation in 7-bit
14168 #        and 8-bit environments and is independent of the currently
14169 #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
14170
14171 # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
14172 #        ASCII table
14173
14174 # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
14175 #        table
14176
14177 # Pn     is a numeric parameter in a control sequence, a string of zero or
14178 #        more characters ranging from 3/0 to 3/9 in the ASCII table
14179
14180 # Ps     is a variable number of selective parameters in a control sequence
14181 #        with each selective parameter separated from the other by the code
14182 #        3/11 (which usually represents a semicolon); Ps ranges from
14183 #        3/0 to 3/9 and includes 3/11
14184 #
14185 # *      Not relevant to terminal control, listed for completeness only.
14186
14187 # Format Effectors versus Editor Functions
14188
14189 # A format effector specifies how following output is to be displayed.
14190 # An editor function allows you to modify the display.  Informally
14191 # format effectors may be destructive; format effectors should not be.
14192
14193 # For instance, a format effector that moves the "active position" (the 
14194 # cursor or equivalent) one space to the left would be useful when you want to
14195 # create an overstrike, a compound character made of two standard characters
14196 # overlaid. Control-H, the Backspace character, is actually supposed to be a
14197 # format effector, so you can do this. But many systems use it in a
14198 # nonstandard fashion, as an editor function, deleting the character to the
14199 # left of the cursor and moving the cursor left. When Control-H is assumed to
14200 # be an editor function, you cannot predict whether its use will create an
14201 # overstrike unless you also know whether the output device is in an "insert
14202 # mode" or an "overwrite mode". When Control-H is used as a format effector,
14203 # its effect can always be predicted. The familiar characters carriage
14204 # return, linefeed, formfeed, etc., are defined as format effectors.
14205 #
14206 # NOTES ON THE DEC VT100 IMPLEMENTATION
14207
14208 # Control sequences implemented in the VT100 are as follows:
14209
14210 #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
14211 #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
14212
14213 # plus several private DEC commands.
14214
14215 # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
14216
14217 #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
14218 #      Erase from beginning of line to cursor     Esc [ 1 K
14219 #      Erase line containing cursor               Esc [ 2 K
14220 #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
14221 #      Erase from beginning of screen to cursor   Esc [ 1 J
14222 #      Erase entire screen                        Esc [ 2 J
14223 #
14224 # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
14225 # Esc [ 2 J, but this is wrong; the default is 0.
14226
14227 # The VT100 responds to receiving the DA (Device Attributes) control
14228
14229 #      Esc [ c    (or Esc [ 0 c)
14230
14231 # by transmitting the sequence
14232
14233 #      Esc [ ? l ; Ps c
14234
14235 # where Ps is a character that describes installed options.
14236
14237 # The VT100's cursor location can be read with the DSR (Device Status
14238 # Report) control
14239
14240 #      Esc [ 6 n
14241
14242 # The VT100 reports by transmitting the CPR sequence
14243
14244 #      Esc [ Pl ; Pc R
14245
14246 # where Pl is the line number and Pc is the column number (in decimal).
14247
14248 # The specification for the DEC VT100 is document EK-VT100-UG-003.
14249
14250 #### ANSI.SYS
14251
14252 # Here is a description of the color and attribute controls supported in the
14253 # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
14254 # terminal emulators for Intel boxes obey these.  They are a proper subset
14255 # of the ECMA-48 escapes.
14256 #
14257 # 0     all attributes off
14258 # 1     foreground bright
14259 # 4     underscore on
14260 # 5     blink on/background bright (not reliable with brown)
14261 # 7     reverse-video
14262 # 8     set blank (non-display)
14263 # 10    set primary font
14264 # 11    set first alternate font (on PCs, display ROM characters 1-31)
14265 # 12    set second alternate font (on PCs, display IBM high-half chars)
14266 #
14267 #                       Color attribute sets
14268 # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
14269 # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
14270 # Bright black becomes gray.  Bright brown becomes yellow,
14271 # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
14272 #
14273 # * If the 5 attribute is on and you set a background color (40-47) it is
14274 #   supposed to enable bright background.
14275 #
14276 # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
14277 #   when you try to set a "bright brown" (yellow) background with attribute
14278 #   5 (you get a blinking yellow foreground instead).  A few displays
14279 #   (including the System V console) support an attribute 6 that undoes this
14280 #   braindamage (this is required by iBCS2).
14281 #
14282 # * Some older versions of ANSI.SYS have a bug that causes thems to require
14283 #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
14284 #   compatible.)
14285
14286 #### Intel Binary Compatibility Standard
14287 #
14288 # For comparison, here are the capabilities implied by the Intel Binary 
14289 # Compatibility Standard for UNIX systems (Intel order number 468366-001).
14290 # These recommendations are optional.  IBCS2 allows the leading escape to
14291 # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
14292 # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
14293 # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
14294 # terminfo entry are followed with the corresponding capability in parens:
14295 #
14296 #       CSI <n>k                disable (n=0) or enable (n=1) keyclick
14297 #       CSI 2h                  lock keyboard
14298 #       CSI 2i                  send screen as input
14299 #       CSI 2l                  unlock keyboard
14300 #       CSI 6m                  enable background color intensity
14301 #       CSI <0-2>c              reserved
14302 #       CSI <0-59>m             select graphic rendition
14303 #       CSI <n>;<m>H    (cup)   cursor to line n and column m
14304 #       CSI <n>;<m>f            cursor to line n and column m
14305 #       CSI <n>@        (ich)   insert characters
14306 #       CSI <n>A        (cuu)   cursor up n lines
14307 #       CSI <n>B        (cud)   cursor down n lines
14308 #       CSI <n>C        (cuu)   cursor right n characters
14309 #       CSI <n>D        (cud)   cursor left n characters
14310 #       CSI <n>E                cursor down n lines and in first column
14311 #       CSI <n>F                cursor up n lines and in first column
14312 #       CSI <n>G        (hpa)   position cursor at column n-1
14313 #       CSI <n>J        (ed)    erase in display
14314 #       CSI <n>K        (el)    erase in line
14315 #       CSI <n>L        (il)    insert line(s)
14316 #       CSI <n>P        (dch)   delete characters
14317 #       CSI <n>S        (indn)  scroll up n lines
14318 #       CSI <n>T        (rin)   scroll down n lines
14319 #       CSI <n>X        (ech)   erase characters
14320 #       CSI <n>Z        (cbt)   back up n tab stops
14321 #       CSI <n>`                cursor to column n on line
14322 #       CSI <n>a        (cuu)   cursor right n characters
14323 #       CSI <n>d        (vpa)   cursor to line n
14324 #       CSI <n>e                cursor down n lines and in first column
14325 #       CSI <n>g        (cbt)   clear all tabs
14326 #       CSI <n>z                make virtual terminal n active
14327 #       CSI ?7h         (smam)  turn automargin on
14328 #       CSI ?7l         (rmam)  turn automargin off
14329 #       CSI s                   save cursor position
14330 #       CSI u                   restore cursor position to saved value
14331 #       CSI =<c>A               set overscan color
14332 #       CSI =<c>F               set normal foreground color
14333 #       CSI =<c>G               set normal background color
14334 #       CSI =<c>H               set reverse foreground color
14335 #       CSI =<c>I               set reverse foreground color
14336 #       CSI =<c>J               set graphic foreground color
14337 #       CSI =<c>K               set graphic foreground color
14338 #       CSI =<n>g       (dispc) display n from alternate graphics character set
14339 #       CSI =<p>;<d>B           set bell parameters
14340 #       CSI =<s>;<e>C           set cursor parameters
14341 #       CSI =<x>D               enable/disable intensity of background color
14342 #       CSI =<x>E               set/clear blink vs. bold background
14343 #       CSI 7           (sc)    (sc) save cursor position
14344 #       CSI 8           (rc)    (rc) restore cursor position to saved value
14345 #       CSI H           (hts)   (hts) set tab stop
14346 #       CSI Q<n><string>        define function key string
14347 #                               (string must begin and end with delimiter char)
14348 #       CSI c           (clear) clear screen
14349 #
14350 # The lack of any specification for attributes in SGR (among other things)
14351 # makes this a wretchedly weak standard. The table above is literally 
14352 # everything iBSC2 has to say about terminal escape sequences; there is
14353 # no further discussion of their meaning or how to set the parameters
14354 # in these sequences at all.
14355 #
14356
14357 ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
14358 #
14359 # The historical termcap file entries were written primarily in 4.4BSD termcap.
14360 # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
14361 # with the extension names chosen for compatibility with the termcap names
14362 # assigned in System V terminfo.  There are some variant extension sets out
14363 # there.  We try to describe them here.
14364 #
14365 # XENIX extensions:
14366 #
14367 # The XENIX extensions include a set of function-key capabilities as follows:
14368 #
14369 #       code    XENIX variable name     terminfo name   name clashes?
14370 #       ----    -------------------     -------------   -----------------------
14371 #       CL      key_char_left
14372 #       CR      key_char_right
14373 #       CW      key_change_window                       create_window
14374 #       EN      key_end                 kend
14375 #       HM      key_home                khome
14376 #       HP      ??
14377 #       LD      key_delete_line         kdl1
14378 #       LF      key_linefeed                            label_off
14379 #       NU      key_next_unlocked_cell
14380 #       PD      key_page_down           knp
14381 #       PL      ??
14382 #       PN      start_print             mc5
14383 #       PR      ??
14384 #       PS      stop_print              mc4
14385 #       PU      key_page_up             kpp             pulse
14386 #       RC      key_recalc                              remove_clock
14387 #       RF      key_toggle_ref                          req_for_input
14388 #       RT      key_return              kent
14389 #       UP      key_up_arrow            kcuu1           parm_up_cursor
14390 #       WL      key_word_left
14391 #       WR      key_word_right
14392 #
14393 # The XENIX extensions also include the following character-set and highlight
14394 # capabilities:
14395 #
14396 #       XENIX   terminfo        function
14397 #       -----   --------        ------------------------------
14398 #       GS      smacs           start alternate character set
14399 #       GE      rmacs           end alternate character set
14400 #       GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
14401 #       bo      blink           begin blink (not used in /etc/termcap)
14402 #       be                      end blink (not used in /etc/termcap)
14403 #       bb                      blink glitch  (not used in /etc/termcap)
14404 #       it      dim             begin dim (not used in /etc/termcap)
14405 #       ie                      end dim (not used in /etc/termcap)
14406 #       ig                      dim glitch  (not used in /etc/termcap)
14407 #
14408 # Finally, XENIX also used the following forms-drawing capabilities:
14409 #
14410 #       single  double  type             ASCII approximation 
14411 #       ------  ------  -------------    -------------------
14412 #       GV      Gv      vertical line             |
14413 #       GH      Gv      horizontal line       -   _
14414 #       G1      G5      top right corner       _   |
14415 #       G2      G6      top left corner       | 
14416 #       G3      G7      bottom left corner         |_
14417 #       G4      G8      bottom right corner   _|
14418 #       GD      Gd      down-tick character        T
14419 #       GL      Gl      left-tick character   -|
14420 #       GR      Gr      right-tick character       |-
14421 #       GC      Gc      middle intersection   -|-
14422 #       GU      Gu      up-tick character          _|_
14423 #
14424 # These were invented to take advantage of the IBM PC ROM character set.  One
14425 # can compose an acsc string from the single-width characters as follows
14426 #       "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
14427 # When translating a termcap file, ncurses tic will do this automatically.
14428 # The double forms characters don't fit the SVr4 terminfo model.
14429 #
14430 # AT&T Extensions:
14431 #
14432 # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
14433 # nonstandard capabilities.  Its signature is the KM capability, used to name
14434 # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
14435 # set.  Comments in the original, and a little cross-checking with other AT&T
14436 # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
14437 # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
14438 # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
14439 # cursor invisible), and CV=:ve: (make cursor normal).
14440 #
14441 # HP Extensions
14442 #
14443 # The HP library (as of mid-1995, their term.h file version 70.1) appears to
14444 # have the System V capabilities up to SVr1 level.  After that, it supports
14445 # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
14446 # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
14447 # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
14448 # HP binary format incompatible with SVr4's.
14449 #
14450 # IBM Extensions
14451 #
14452 # There is a set of nonstandard terminfos used by IBM's AIX operating system.
14453 # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
14454 # capabilities following prtr_non with the following special capabilties:
14455 # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
14456 # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
14457 # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
14458 # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
14459 # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
14460 # renamed (to kcbt and kslt).  The places in the box[12] capabilities
14461 # correspond to acsc chars, here is the mapping:
14462 #
14463 #       box1[0]  = ACS_ULCORNER
14464 #       box1[1]  = ACS_HLINE    
14465 #       box1[2]  = ACS_URCORNER
14466 #       box1[3]  = ACS_VLINE
14467 #       box1[4]  = ACS_LRCORNER
14468 #       box1[5]  = ACS_LLCORNER
14469 #       box1[6]  = ACS_TTEE
14470 #       box1[7]  = ACS_RTEE
14471 #       box1[8]  = ACS_BTEE
14472 #       box1[9]  = ACS_LTEE
14473 #       box1[10] = ACS_PLUS
14474 #
14475 # The box2 characters are the double-line versions of these forms graphics.
14476 # The AIX binary terminfo format is incompatible with SVr4's.
14477 #
14478 # Iris console extensions:
14479 #
14480 # HS is half-intensity start; HE is half-intensity end
14481 # CT is color terminal type (for Curses & rogue)
14482 # CP is color change escape sequence
14483 # CZ are color names (for Curses & rogue)
14484 #
14485 # The ncurses tic utility recognizes HS as an alias for mh <dim>.
14486 #
14487 # TC Extensions:
14488 #
14489 # There is a set of extended termcaps associated with something
14490 # called the "Terminal Control" or TC package created by MainStream Systems,
14491 # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
14492 # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
14493 # that flags color terminals.
14494 #
14495 ######## CHANGE HISTORY
14496 #
14497 # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
14498 # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
14499 # project.
14500 #
14501 # This file contains all the capability information present in John Kunze's
14502 # last version of the termcap master file, except as noted in the change 
14503 # comments at end of file.  Some information about very ancient obsolete
14504 # capabilities has been moved to comments.  Some all-numeric names of older
14505 # terminals have been retired.
14506 #
14507 # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
14508 # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
14509 # used by BSD curses.
14510 #
14511 # The 9.1.0 version of this file was translated from my lightly-edited copy of
14512 # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
14513 # the purpose.  Unless the ncurses tic implementation and the Lisp code were
14514 # making perfectly synchronized mistakes which I then failed to catch by
14515 # eyeball, the translation was correct and perfectly information-preserving.
14516 #
14517 # Major version number bumps correspond to major version changes in ncurses.
14518 #
14519 # Here is a log of the changes since then:
14520 #
14521 # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
14522 #       * First terminfo master translated from 8.3.
14523 # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
14524 #       * Replaced Wyse entries with updated entries supplied by vendor.
14525 #
14526 # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
14527 #       * Added contact & status info from G. Clark Brown <clark@sssi.com>.
14528 # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
14529 #       * Better XENIX keycap translation.  Describe TC termcaps.
14530 #       * Contact and history info supplied by Qume.
14531 # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
14532 #       * Raided the Shuford FTP site for recent termcaps/terminfos.
14533 #       * Added information on X3.64 and VT100 standard escape sequences.
14534 # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
14535 #       * Added a correct X11R6 xterm entry.
14536 #       * Fixed terminfo translations of padding.
14537 # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
14538 #       * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
14539 #       * Added u6/u7/u8/u9 capabilities.
14540 #       * Added PCVT entry.
14541 # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
14542 #       * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
14543 #         to use reverse-video standout so Emacs will look right.
14544 #       * Added el1 capability to ansi.
14545 #       * Added smacs/rmacs to ansi.sys.
14546 #
14547 # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
14548 #       * New mt70 entry.
14549 #       * Added COPYRIGHTS AND OTHER DELUSIONS.
14550 #       * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
14551 #         smartvid & smarterm, ampex 175 & 219 & 232,
14552 #         env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
14553 #         ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
14554 #         screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
14555 #         adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
14556 #       * Replaced the Perkin-Elmer entries with vendor's official ones.
14557 #       * Restored the old minimal-ansi entry, luna needs it.
14558 #       * Fixed some incorrect ip and proportional-padding translations.
14559 # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
14560 #       * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
14561 #       * Make the xterm entry 65 lines again; create xterm25 and xterm24
14562 #         to force a particular height.
14563 #       * Added beehive4 and reorganized other Harris entries.
14564 # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
14565 #       * Merged in DEC's official entries for its terminals.  The only old
14566 #         entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
14567 #       * Replaced the translated BBN Bitgraph entries with purpose-built
14568 #         ones from AT&T's SVr3.
14569 #       * Replaced the AT&T entries with AT&T's official terminfos.
14570 #       * Added teleray 16, vc415, cops10. 
14571 #       * Merged in many individual capabilities from SCO terminfo files.
14572 # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
14573 #       * Typo fixes.
14574 #       * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
14575 # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
14576 #       * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
14577 #         pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
14578 #         simterm, citoh and variants.
14579 #       * Replaced sol entry with sol1 and sol2.
14580 #       * Replaced Qume QVT and Freedom-series entries with purpose-built
14581 #         terminfo entries.
14582 #       * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
14583 #         and dg200 entries using caps from from SCO.
14584 #       * Added the usual set of function-key mappings to ANSI entry.
14585 #       * Corrected xterm's function-key capabilities.
14586 # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
14587 #       * Fix in xterm entry, cub and cud are not reliable under X11R6.
14588 # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
14589 #       * Fix in xterm entry, get the arrow keys right.
14590 #       * Change some \0 escapes to \200.
14591 # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
14592 #       * Added apple (Videx card), adm1a, oadm31.
14593 #       * Fixed malformed ampex csr.
14594 #       * Fixed act4, cyb110; they had old-style prefix padding left in. 
14595 #       * Changed mandatory to advisory padding in many entries.
14596 #       * Replaced HP entries up to hpsub with purpose-built ones.
14597 #       * Blank rmir/smir/rmdc/smdc capabilities removed.
14598 #       * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
14599 # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
14600 #       * Replaced the Ann Arbor entries with SCO's, the init strings are
14601 #         more efficient (but the entries otherwise identical).
14602 #       * Added dg211 from Shuford archive.
14603 #       * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
14604 #         adm42-nl, pc52, gs6300, xerox820, uts30.
14605 #       * Pull SCO's padding into vi200 entry.
14606 #       * Improved capabilities for tvi4107 and other Televideo and Viewpoint
14607 #         entries merged in from SCO's descriptions.
14608 #       * Fixed old-style prefix padding on zen50, h1500.
14609 #       * Moved old superbee entry to superbee-xsb, pulled in new superbee
14610 #         entry from SCO's description.
14611 #       * Reorganized the special entries.
14612 #       * Added lm#0 to cbunix and virtual entries.
14613 #
14614 # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
14615 #       * Restored cdc456tst.
14616 #       * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
14617 #       * Added megatek, beacon, microkit.
14618 #       * Freeze for ncurses-1.9 release.
14619 # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
14620 #       * Added historical data for TAB.
14621 #       * Comment fixes from David MacKenzie.
14622 #       * Added the new BSDI pc3 entry.
14623 # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
14624 #       * A change in the tic -C logic now ensures that all entries in 
14625 #         the termcap translation will fit in < 1024 bytes.
14626 #       * Added `bobcat' and `gator' HP consoles and the Nu machine entries
14627 #         from GNU termcap file.  This merges in all their local information.
14628 # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
14629 #       * Changed tic -C logic to dump all capabilities used by GNU termcap.
14630 #       * Added warnings about entries with long translations (restoring
14631 #         all the GNU termcaps pushes a few over the edge).
14632 # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
14633 #       * Yet another tic change, and a couple of entry tweaks, to reduce the
14634 #         number of long (> 1024) termcap translations back to 0.
14635 #
14636 # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
14637 #       * Added kf13-kf20 to Linux entry.
14638 #       * Regularize Prime terminal names.
14639 #       * Historical data on Synertek.
14640 #       * Freeze for ncurses-1.9.1.
14641 # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
14642 #       * Added true xterm-color entry, renamed djm's pseudo-color entry.
14643 #       * Eliminate whitespace in short name fields, this tanks some scripts.
14644 #       * Name field changes to shorten some long entries.
14645 #       * Termcap translation now automatically generates empty rmir/smir
14646 #         when ich1/ich is present (copes with an ancient vi bug).
14647 #       * Added `screen' entries from FSF's screen-3.6.2.
14648 #       * Added linux-nic and xterm-nic entries.
14649 # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
14650 #       * Change linux entry to use smacs=\E[11m and have an explicit acsc,
14651 #         eliminating some special-case code in ncurses.
14652 #
14653 # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
14654 #       * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
14655 #         that captures everything unique from it.
14656 #       * Added reorder script generator.
14657 #       * Freeze for ncurses 1.9.2 release.
14658 # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
14659 #       * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
14660 #       * Added Olaf Siebert's corrections for adm12.
14661 #       * ansi-pc-color now includes the colors and pairs caps, so that
14662 #         entries which use it will inherit them automatically.
14663 #       * The linux entry can now recognize the center (keypad 5) key.
14664 #       * Removed some junk that found its way into Linux acsc.
14665 #
14666 # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
14667 #       * Add 50% cut mark as a desperate hack to reduce tic's core usage.
14668 #       * xterm doesn't try to use application keypad mode any more.
14669 #       * Freeze for ncurses-1.9.3 release.
14670 # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
14671 #       * Added corrected sun entry from vendor.
14672 #       * Added csr capability to linux entry.
14673 #       * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
14674 #       * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
14675 #       * Some commented-out caps in long entries come back in, my code 
14676 #         for computing string-table lengths had a bug in it.
14677 #       * pcansi series modified to fit comm-program reality better.
14678 # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
14679 #       * BSD/OS actually ships the ibmpc3 bold entry as its console.
14680 #       * Correct some bad aliases in the pcansi series
14681 #       * Added entry for QNX console.
14682 #       * Clean up duplicate long names for use with 4.4 library.
14683 #       * Change vt100 standout to be normal reverse vide, not bright reverse;
14684 #         this makes the Emacs status line look better.
14685 # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
14686 #       * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
14687 #       * Minor surgery, mostly on name strings, to shorten termcap version.
14688 #
14689 # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
14690 #       * Added dec-vt100 for use with the EWAN emulator.
14691 #       * Added kmous to xterm for use with xterm's mouse-tracking facility.
14692 #       * Freeze for 1.9.5 alpha release.
14693 # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
14694 #       * Changed xterm lines to 24, the X11R6 default.
14695 # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
14696 #       * Added 7 newly discovered, undocumented acsc characters to linux
14697 #         entry (the pryz{|} characters).
14698 #       * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
14699 #       * Correct two typos in the xterm entries introduced in 9.9.1.
14700 #       * I finally figured out how to translate ko capabilities.  Done.
14701 #       * Added tvi921 entries from Tim Theisen.
14702 #       * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
14703 #       * Removed mystery tec entry, it was neither interesting nor useful.
14704 #       * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
14705 #         vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
14706 #         trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
14707 #         by making them relative to use capabilities
14708 #       * Added cuf1=^L to tvi925 from deleted variant tvi925a.
14709 #       * fixed cup in adm22 entry and parametrized strings in vt320-k3.
14710 #       * added it#8 to entries that used to have :pt: -- tvi912, vi200,
14711 #         ampex80,
14712 #       * Translate all home=\E[;H capabilities to home=\E[H, they're 
14713 #         equivalent.
14714 #       * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
14715 #         vt100 and ANSI-like terminals.
14716 # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
14717 #       * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
14718 #         does this now, too.
14719 #       * fviewpoint is gone, it duplicated screwpoint.
14720 #       * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
14721 #         ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
14722 #         versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
14723 #         The UW vi50 replaces the old one, which becomes vi50adm,
14724 #       * No more embedded commas in name fields.
14725 #
14726 # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
14727 #       * XENIX forms characters in fos, trs16, scoansi become acsc strings,
14728 #       * Introduced klone+* entries for describing Intel-console behavior.
14729 #       * Linux kbs is default-mapped to delete for some brain-dead reason.
14730 #       * -nsl -> -ns.  The -pp syntax is obsolete.
14731 #       * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
14732 #       * Make xterm entry do application-keypad mode again.  I got complaints
14733 #         that it was messing up someone's 3270 emulator.
14734 #       * Added some longname fields in order to avoid warning messages from
14735 #         older tic implementations.
14736 #       * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
14737 #         it! (This gives us pi, greater than, less than, and a few more.)
14738 #       * Freeze for ncurses-1.9.6 release.
14739 # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
14740 #       * Add xon to a number of console entries, they're memory-mapped and
14741 #         don't need padding.
14742 #       * Correct the use dependencies in the ansi series.
14743 #       * Hand-translate more XENIX capabilities.
14744 #       * Added hpterm entry for HP's X terminal emulator.
14745 #       * Added aixterm entries.
14746 #       * Shortened four names so everything fits in 14 chars.  
14747 #
14748 # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
14749 #       * Added ibcs2 entry and info on iBCS2 standard.
14750 #       * Corrected hpa/vpa in linux entry.  They still fail the worm test.
14751 #       * We can handle the HP meml/memu capability now.
14752 #       * Added smacs to klone entries, just as documentation.
14753 #       * Carrected ansi.sys and cit-500 entries.
14754 #       * Added z39, vt320-k311, v220c, and avatar entries.
14755 #       * Make pcansi use the ansi.sys invis capability.
14756 #       * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
14757 #         tvi925, tvi950, dt80, ncr7900i, h19.
14758 #       * X3.64 has been withdrawn, change some references.
14759 #       * Removed function keys from ansi-m entry.
14760 #       * Corrected ansi.sys entry.
14761 #       * Freeze for ncurses-1.9.7 release.
14762 # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
14763 #       * Added rmam/smam capabilities to many entries based on init strings.
14764 #       * Added correct hpa/vpa to linux.
14765 #       * Reduced several entries relative to vt52.
14766 # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
14767 #       * Exiled some utterly unidentifiable custom and homebrew types to the
14768 #         UFO file; also, obsolete small-screen hardware; also, entries which
14769 #         look flat-out incorrect, garbled, or redundant.  These include the
14770 #         following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
14771 #         tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
14772 #         apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
14773 #         fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
14774 #         yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
14775 #         vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
14776 #         trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
14777 #         att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
14778 #         tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
14779 #         c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
14780 #         regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
14781 #         vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
14782 #         vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
14783 #       * Corrected pcvt25h as suggested by Brian C. Grayson
14784 #         <bgrayson@pine.ece.utexas.edu>.
14785 # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
14786 #       * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
14787 #       * Added kent=\EOM to xterm entry.
14788 #
14789 # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
14790 #       * Corrected gigi entry.
14791 #       * Restored cuf/cud1 to xterm, their apparent bugginess was due to
14792 #         bad hpa/vpa capabilities.
14793 #       * Corrected flash strings to have a uniform delay of .2 sec.  No
14794 #         more speed-dependent NUL-padding!
14795 #       * terminfo capabilities in comments bracketed with <>.
14796 # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
14797 #       * Replaced pcvt with the 3.31 pcvt entries.
14798 #       * Freeze for 1.9.7a.
14799 # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
14800 #       * Added emu entry from the X11R6 contrib tape sources.
14801 #
14802 # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
14803 #       * Improved iris-ansi and sun entries.
14804 #       * More flash string improvements.
14805 #       * Corrected wy160 & wy160 as suggested by Robert Dunn
14806 #       * Added dim to at386.  
14807 #       * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
14808 #         he's ready to start using the termcap generated from this one.
14809 #       * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
14810 #         ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
14811 #       * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
14812 #         att610, att620, att630, 
14813 #       * Changed hazeltine name prefix from h to hz.
14814 #       * Sent t500 to the UFI file.
14815 #       * I think we've sucked all the juice out of BSDI's termcap file now.
14816 #       * Freeze for ncurses 1.9.8 release
14817 # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
14818 #       * Unfreeze, linux kbs needed to be fixed.
14819 #       * Tim Theisen pinned down a bug in the DMD firmware.
14820 # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
14821 #       * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
14822 #         (The broken ones had been shadowed by sgr.)
14823 # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
14824 #       * Added documentation on ECMA-48 standard.
14825 #       * New Amiga entry.
14826 # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
14827 #       * More ECMA-48 stuff
14828 #       * Corrected typo in minix entry, added pc-minix.
14829 #       * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
14830 #       * Added rxvt entry.
14831 #       * Added 1.3.x color-change capabilities to linux entry.
14832 # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
14833 #       * Corrected rxvt entry khome/kend.
14834 #       * Corrected linux color change capabilities.
14835 #       * NeXT entries from Dave Wetzel.
14836 #       * Cleaned up if and rf file names (all in /usr/share now).
14837 #       * Changed linux op capability to avoid screwing up a background color
14838 #         pair set by setterm.
14839 # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
14840 #       * Added xterm-sun.
14841 # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
14842 #       * Added visa50.
14843 #
14844 # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
14845 #       * Another sweep through the Shuford archive looking for new info.
14846 #       * Added dg100 alias to dg6053 based on a comp.terminals posting.
14847 #       * Added st52 from Per Persson.
14848 #       * Added eterm from the GNU Emacs 19.30 distribution.
14849 #       * Freeze for 1.9.9.
14850 # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
14851 #       * FreeBSD console entries from Andrew Chernov.
14852 #       * Removed duplicate Atari st52 name.
14853 # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
14854 #       * xterm doesn't actually have ACS_BLOCK.
14855 #       * Change klone+color setf/setb to simpler forms that can be
14856 #         translated into termcap.
14857 #       * Added xterm1.
14858 #       * Removed mechanically-generated junk capabilities from cons* entries.
14859 #       * Added color support to bsdos.
14860 # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
14861 #       * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
14862 #       * Created ecma+color, linux can use it.  Also added ech to linux.
14863 #       * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
14864 #       * Add descriptions to FreeBSD console entries.  Also shorten
14865 #         some aliases to <= 14 chars for portability.
14866 #       * Added x68k console
14867 #       * Added OTbs to several VT-series entries.
14868 # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
14869 #       * screen entry update for 3.7.1 from Michael Alan Dorfman.
14870 # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
14871 #       * kterm correction due to Kenji Rikitake.
14872 #       * ACS correction in vt320-kll due to Phillippe De Muyter.
14873 # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
14874 #       * Sun console entry correction from J.T. Conklin.
14875 #       * Changed all DEC VT300 and up terminals to use VT300 tab set
14876 # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
14877 #       * Added smul to linux entry (we never noticed it was missing 
14878 #         because of sgr!).
14879 #       * Added rmln to hp+labels (deduced from other HP entries).
14880 #       * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
14881 #         pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
14882 #       * Corrected vt220 acsc.
14883 #       * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
14884 #         this corresponds to reality and helps prevent some tic warnings.
14885 #       * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
14886 #         hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
14887 #         adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
14888 #         qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
14889 #         wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
14890 #         adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
14891 #         f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
14892 #         owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
14893 #         lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
14894 #         dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
14895 #         ifmr, v3220, wy100q, tandem653, ibmaed.
14896 #       * Added DWK terminal description.
14897 # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
14898 #       * Many entries now have highlights inherited from adm+sgr.
14899 #       * xterm entry now corresponds to XFree86 3.1.2E, with color.
14900 #       * xtitle and xtitle-twm enable access to the X status line.
14901 #       * Added linux-1.3.6 color palette caps in conventional format.
14902 #       * Added adm1178 terminal.
14903 #       * Move fos and apollo terminals to obsolete category.
14904 #       * Aha! The BRL terminals file told us what the Iris extensions mean.
14905 #       * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
14906 #         commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
14907 #         cit500, adm11. 
14908 # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
14909 #       * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
14910 #         aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
14911 #       * Corrected, from BRL termcap file: vi50.
14912 #       * Better rxvt entry & corrected xterm entries from Thomas Dickey.
14913 # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
14914 #       * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
14915 #         att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
14916 #         (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
14917 #         tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
14918 #         apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
14919 #       * Paired-attribute fixes to various terminals.
14920 #       * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
14921 #       * xterm entry corrections from Thomas Dickey.
14922 # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
14923 #       * Added t916 entry, translated from a termcap in SCO's support area.
14924 #       * New qnx entry from Michael Hunter.
14925 # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
14926 #       * Added hpex2 from Ville Sulko.
14927 #       * Fixed a bug that ran the qnx and pcvtXX together.
14928 # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
14929 #       * Added dtterm entry from Solaris CDE.
14930 # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
14931 #       * corrected pairs#8 typo in dtterm entry.
14932 #       * added tvi9065.
14933 # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
14934 #       * updated xterm entry to cover 3.1.2E's new features.  
14935 # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
14936 #       * Added new minix entry
14937 #       * Removed aliases of the form ^[0-9]* for obsolete terminals.
14938 #       * Commented out linux-old, nobody's using pre-1.2 kernels now.
14939 # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
14940 #       * Added Prism entries and kt7ix.
14941 #       * Caution notes about EWAN and tabset files.
14942 #       * Changed /usr/lib/tabset -> /usr/share/tabset.
14943 #       * Added acsc/rmacs/smacs to vt52.
14944 # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
14945 #       * Merged in Thomas Dickey's reorganization of the xterm entries;
14946 #         added technical corrections to avoid warning messages.
14947 # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
14948 #       * Added rmso=\E[27m in Linux entry.
14949 #       * Added koi8-r support for Linux console.
14950 #       * Replace xterm entries with canonical ones from XFree86 3.2.
14951 # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
14952 #       * Added color_xterm from Jacob Mandelson
14953 # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
14954 #       * Back off the xterm entry to use r6 as a base.
14955 # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
14956 #       * Added dec-vt220 at Adrian Garside's request.
14957 # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
14958 #       * Replaced minitel-2 entry.
14959 #       * Added MGR, ansi-nt.
14960 #       * Minor corrections to xterm entries.
14961 #       * Replaced EWAN telnet entry.
14962 #       * Dropped the reorder script generator.  It was a fossil.
14963 # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
14964 #       * Thorsten Lockert added termcap `bs' to a lot of types, working from
14965 #         the 4.4BSD Lite2 file.
14966 # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
14967 #       * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
14968 #       * Updated iris-ansi; corrected vt102-w.
14969 #       * Switch base xterm entry to 3.3 level.
14970 # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
14971 #       * Added basic4.
14972 #       * Removed rmir/smir from tv92B.
14973 #
14974 # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
14975 #       * Added Thomas Dickey's acsc string for linux.
14976 #       * Merged in BeOS, iris-color, hds200, xterm-xf86-v40, xterm-8bit,
14977 #         and emx entries.
14978 #       * Replaced unixpc entry with Benjamin Sittler's corrected version.
14979 #       * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
14980 #         versions.
14981 #       * Added u8/u9, removed rmul/smul from sun-il.
14982 #       * 4.2 tic allows us to use \0 instead of \200 now.
14983 #       * Merged in Pavel Roskin's acsc for linux-koi8
14984 #       * Corrected some erroneous \\\s to \.
14985 #       * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
14986 #       * II -> ii in pcvtXX, screen, xterm.
14987 #       * Removed \n chars following ANSI escapes in sgr & friends.
14988 #       * Updated Wyse entries.
14989 #       * h19 corrections from Tim Pierce.
14990 #       * Noted that the dm2500 has both ich and smir.
14991 #       * added pccons for the Alpha under OSF/1.
14992 #       * Added Sony NEWS workstation entries and cit101e-rv.
14993 #       * Reverted `amiga'; to Kent Polk's version, as I'm told
14994 #         the Verkuil entry messes up with Amiga Telnet.
14995 #
14996 # The following sets edit modes for GNU EMACS
14997 # Local Variables:
14998 # fill-prefix:"\t"
14999 # fill-column:75
15000 # End:
15001 ######## SHANTIH!  SHANTIH!  SHANTIH!