]> ncurses.scripts.mit.edu Git - ncurses.git/blob - misc/terminfo.src
ncurses 5.4
[ncurses.git] / misc / terminfo.src
1 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
2 #
3 # This version of terminfo.src is distributed with ncurses.
4 # Report bugs and new terminal descriptions to
5 #       bug-ncurses@gnu.org
6 #
7 #       $Revision: 1.227 $
8 #       $Date: 2004/01/18 01:37:18 $
9 #
10 # The original header is preserved below for reference.  It is noted that there
11 # is a newer version which differs in some cosmetic details; we have decided
12 # to not change the header unless there is also a change in content.
13 #
14 #------------------------------------------------------------------------------
15 #       Version 10.2.1
16 #       terminfo syntax
17 #
18 #       Eric S. Raymond         (current maintainer)
19 #       John Kunze, Berkeley
20 #       Craig Leres, Berkeley
21 #
22 # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
23 # address is no longer valid.  The latest version can always be found at
24 # <http://www.tuxedo.org/terminfo>.
25 #
26 # PURPOSE OF THIS FILE:
27 #
28 # This file describes the capabilities of various character-cell terminals,
29 # as needed by software such as screen-oriented editors.
30 #
31 # Other terminfo and termcap files exist, supported by various OS vendors
32 # or as relics of various older versions of UNIX.  This one is the longest
33 # and most comprehensive one in existence.  It subsumes not only the entirety
34 # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
35 # termcap file, but also large numbers of vendor-maintained termcap and
36 # terminfo entries more complete and carefully tested than those in historical
37 # termcap/terminfo versions.
38 #
39 # Pointers to related resources (including the ncurses distribution) may
40 # be found at <http://www.tuxedo.org/terminfo>.
41 #
42 # INTERNATIONALIZATION:
43 #
44 # This file uses only the US-ASCII character set (no ISO8859 characters).
45 #
46 # This file assumes a US-ASCII character set. If you need to fix this, start
47 # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
48 # for your character set.  \E(A and \E)A enables the British character set
49 # with the pound sign at position 2/3.  
50 #
51 # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
52 # C1 characters are considered the first-byte set of the Japanese encodings,
53 # so \E)0 should be avoided in <enacs> and initialization strings.
54 #
55 # FILE FORMAT:
56 #
57 # The version you are looking at may be in any of three formats: master
58 # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
59 # which by the format given in the header above.
60 #
61 # The master format is accepted and generated by the terminfo tools in the
62 # ncurses suite; it differs from stock (System V-compatible) terminfo only
63 # in that it admits a group of capabilities (prefixed `OT') equivalent to
64 # various obsolete termcap capabilities.  You can, thus, convert from master
65 # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
66 # you have ncurses `tic -I' is nicer (among other things, it automatically
67 # outputs entries in a canonical form).
68 #
69 # The termcap version is generated automatically from the master version
70 # using tic -C.  This filtering leaves in the OT capabilities under their
71 # original termcap names.  All translated entries fit within the 1023-byte
72 # string-table limit of archaic termcap libraries except where explicitly
73 # noted below.  Note that the termcap translation assumes that your termcap
74 # library can handle multiple tc capabilities in an entry. 4.4BSD has this
75 # capability.  Older versions of GNU termcap, through 1.3, do not. 
76 #
77 # For details on these formats, see terminfo(5) in the ncurses distribution,
78 # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
79 # curses has been declared obsolete by the caretakers of the 4.4BSD sources
80 # as of June 1995; they are encouraging everyone to migrate to ncurses.
81 #
82 # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
83 # no entry in this file has embedded comments.  This is so source translation
84 # to termcap only has to carry over leading comments.  Also, no name field
85 # contains embedded whitespace (such whitespace confuses rdist).
86 #
87 # Further note: older versions of this file were often installed with an editor
88 # script (reorder) that moved the most common terminal types to the front of
89 # the file.  This should no longer be necessary, as the file is now ordered
90 # roughly by type frequency with ANSI/VT100 and other common types up front.
91 #
92 # Some information has been merged in from terminfo files distributed by
93 # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
94 # comes from vendors who maintain official terminfos for their hardware
95 # (notably DEC and Wyse).
96 #
97 # A detailed change history is included at the end of this file.
98 #
99 # FILE ORGANIZATION:
100 #
101 # Comments in this file begin with # - they cannot appear in the middle
102 # of a terminfo/termcap entry (this feature had to be sacrificed in order
103 # to allow standard terminfo and termcap syntax to be generated cleanly from
104 # the master format).  Individual capabilities are commented out by
105 # placing a period between the colon and the capability name.
106 #
107 # The file is divided up into major sections (headed by lines beginning with 
108 # the string "########") and minor sections (beginning with "####"); do
109 #
110 #       grep "^####" <file> | more
111 #
112 # to see a listing of section headings.  The intent of the divisions is
113 # (a) to make it easier to find things, and (b) to order the database so
114 # that important and frequently-encountered terminal types are near the
115 # front (so that you'll get reasonable search efficiency from a linear
116 # search of the termcap form even if you don't use reorder).  Minor sections
117 # usually correspond to manufacturers or standard terminal classes. 
118 # Parenthesized words following manufacturer names are type prefixes or
119 # product line names used by that manufacturers.
120 #
121 # HOW TO READ THE ENTRIES:
122 #
123 # The first name in an entry is the canonical name for the model or
124 # type, last entry is a verbose description.  Others are mnemonic synonyms for
125 # the terminal.
126 #
127 # Terminal names look like <manufacturer> <model> - <modes/options>
128 # The part to the left of the dash, if a dash is present, describes the
129 # particular hardware of the terminal.  The part to the right may be used
130 # for flags indicating special ROMs, extra memory, particular terminal modes,
131 # or user preferences.
132 #
133 # All names should be in lower case, for consistency in typing.
134 #
135 # The following are conventionally used suffixes:
136 #       -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
137 #       -am     Enable auto-margin.
138 #       -m      Monochrome.  Suppress color support
139 #       -mc     Magic-cookie.  Some terminals (notably older Wyses) can
140 #               only support one attribute without magic-cookie lossage.
141 #               Their base entry is usually paired with another that
142 #               uses magic cookies to support multiple attributes.
143 #       -nam    No auto-margin - suppress <am> capability
144 #       -nl     No labels - suppress soft labels
145 #       -ns     No status line - suppress status line
146 #       -rv     Terminal in reverse video mode (black on white)
147 #       -s      Enable status line.
148 #       -vb     Use visible bell (<flash>) rather than <bel>.
149 #       -w      Wide - in 132 column mode.
150 # If a name has multiple suffixes and one is a line height, that one should 
151 # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.  
152
153 # Entries with embedded plus signs are designed to be included through use/tc
154 # capabilities, not used as standalone entries. 
155 #
156 # To avoid search clashes, some older all-numeric names for terminals have
157 # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
158 # All primary names of terminals now have alphanumeric prefixes.
159 #
160 # Comments marked "esr" are mostly results of applying the termcap-compiler
161 # code packaged with ncurses and contemplating the resulting error messages. 
162 # In many cases, these indicated obvious fixes to syntax garbled by the
163 # composers.  In a few cases, I was able to deduce corrected forms for garbled
164 # capabilities by looking at context.  All the information in the original
165 # entries is preserved in the comments.
166 #
167 # In the comments, terminfo capability names are bracketed with <> (angle
168 # brackets).  Termcap capability names are bracketed with :: (colons).
169 #
170 # INTERPRETATION OF USER CAPABILITIES
171 #
172 # The System V Release 4 and XPG4 terminfo format defines ten string
173 # capabilities for use by applications, <u0>...<u9>.   In this file, we use
174 # certain of these capabilities to describe functions which are not covered
175 # by terminfo.  The mapping is as follows:
176 #
177 #       u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
178 #       u8      terminal answerback description
179 #       u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
180 #       u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
181 #
182 # The terminal enquire string <u9> should elicit an answerback response
183 # from the terminal.  Common values for <u9> will be ^E (on older ASCII
184 # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
185 #
186 # The cursor position request (<u7>) string should elicit a cursor position
187 # report.  A typical value (for VT100 terminals) is \E[6n.
188 #
189 # The terminal answerback description (u8) must consist of an expected
190 # answerback string.  The string may contain the following scanf(3)-like
191 # escapes:
192 #
193 #       %c      Accept any character
194 #       %[...]  Accept any number of characters in the given set
195 #
196 # The cursor position report (<u6>) string must contain two scanf(3)-style 
197 # %d format elements.  The first of these must correspond to the Y coordinate
198 # and the second to the %d.  If the string contains the sequence %i, it is
199 # taken as an instruction to decrement each value after reading it (this is
200 # the inverse sense from the cup string).  The typical CPR value is
201 # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
202 #
203 # These capabilities are used by tack(1m), the terminfo action checker
204 # (distributed with ncurses 5.0).
205 #
206 # TABSET FILES
207 #
208 # All the entries in this file have been edited to assume that the tabset
209 # files directory is /usr/share/tabset, in conformance with the File Hierarchy
210 # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
211 # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
212 #
213 # No curses package we know of actually uses these files.  If their location
214 # is an issue, you will have to hand-patch the file locations before compiling
215 # this file.
216
217 # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
218 #
219 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
220 # character-cell terminals are increasingly replaced by X displays, much of
221 # this file is becoming a historical document (this is part of the reason for
222 # the new organization, which puts ANSI types, xterm, Unix consoles,
223 # and vt100 up front in confidence that this will catch 95% of new hardware).
224 #
225 # For the terminal types still alive, I'd like to have manufacturer's
226 # contact data (Internet address and/or snail-mail + phone).
227 #
228 # I'm also interested in enriching the comments so that the latter portions of
229 # the file do in fact become a potted history of VDT technology as seen by
230 # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
231 # include its live/dead/out-of-the-business status, and for as many
232 # terminal types as possible to be tagged with information like years
233 # of heaviest use, popularity, and interesting features.
234 #
235 # I'm especially interested in identifying the obscure entries listed under
236 # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
237 # wisdom about them gets lost.  If you know a lot about obscure old terminals,
238 # please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
239 # eyeball it for things you can identify and describe. 
240 #
241 # If you have been around long enough to contribute, please read the file
242 # with this in mind and send me your annotations.
243 #
244 # COPYRIGHTS AND OTHER DELUSIONS
245 #
246 # The BSD ancestor of this file had a standard Regents of the University of
247 # California copyright with dates from 1980 to 1993.
248 #
249 # Some information has been merged in from a terminfo file SCO distributes.
250 # It has an obnoxious boilerplate copyright which I'm ignoring because they 
251 # took so much of the content from the ancestral BSD versions of this file
252 # and didn't attribute it, thereby violating the BSD Regents' copyright.
253 #
254 # Not that anyone should care.  However many valid functions copyrights may
255 # serve, putting one on a termcap/terminfo file with hundreds of anonymous
256 # contributors makes about as much sense as copyrighting a wall-full of
257 # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
258 #
259 # This file deliberately has no copyright.  It belongs to no one and everyone.
260 # If you claim you own it, you will merely succeed in looking like a fool. 
261 # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
262 # There are no guarantees anywhere.  Svaha!
263 #
264
265 ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
266 #
267 # This section describes terminal classes and brands that are still
268 # quite common.
269 #
270
271 #### Specials
272 #
273 # Special "terminals".  These are used to label tty lines when you don't
274 # know what kind of terminal is on it.  The characteristics of an unknown
275 # terminal are the lowest common denominator - they look about like a ti 700.
276 #
277
278 dumb|80-column dumb tty, 
279         am, 
280         cols#80, 
281         bel=^G, cr=^M, cud1=^J, ind=^J, 
282 unknown|unknown terminal type, 
283         gn, use=dumb, 
284 lpr|printer|line printer, 
285         OTbs, hc, os, 
286         cols#132, lines#66, 
287         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
288 glasstty|classic glass tty interpreting ASCII control characters, 
289         OTbs, am, 
290         cols#80, 
291         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kcub1=^H, 
292         kcud1=^J, nel=^M^J, .kbs=^H, 
293
294 vanilla, 
295         OTbs, 
296         bel=^G, cr=^M, cud1=^J, ind=^J, 
297
298 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
299 #
300 # See the end-of-file comment for more on these.
301 #
302
303 # ANSI capabilities are broken up into pieces, so that a terminal
304 # implementing some ANSI subset can use many of them.
305 ansi+local1, 
306         cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
307 ansi+local, 
308         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
309         cuu=\E[%p1%dA, use=ansi+local1, 
310 ansi+tabs, 
311         cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[2g, 
312 ansi+inittabs, 
313         it#8, use=ansi+tabs, 
314 ansi+erase, 
315         clear=\E[H\E[J, ed=\E[J, el=\E[K, 
316 ansi+rca, 
317         hpa=\E[%p1%{1}%+%dG, vpa=\E[%p1%{1}%+%dd, 
318 ansi+cup, 
319         cup=\E[%i%p1%d;%p2%dH, home=\E[H, 
320 ansi+rep, 
321         rep=%p1%c\E[%p2%{1}%-%db, 
322 ansi+idl1, 
323         dl1=\E[M, il1=\E[L, 
324 ansi+idl, 
325         dl=\E[%p1%dM, il=\E[%p1%dL, use=ansi+idl1, 
326 ansi+idc, 
327         dch1=\E[P, ich=\E[%p1%d@, ich1=\E[@, rmir=\E6, smir=\E6, 
328 ansi+arrows, 
329         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
330         khome=\E[H, 
331 ansi+sgr|ansi graphic renditions, 
332         blink=\E[5m, invis=\E[8m, rev=\E[7m, sgr0=\E[0m, 
333 ansi+sgrso|ansi standout only, 
334         rmso=\E[m, smso=\E[7m, 
335 ansi+sgrul|ansi underline only, 
336         rmul=\E[m, smul=\E[4m, 
337 ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim, 
338         bold=\E[1m, 
339         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
340         use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul, 
341 ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold, 
342         dim=\E[2m, 
343         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;%?%p7%t8;%;m, 
344         use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul, 
345 ansi+pp|ansi printer port, 
346         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
347 ansi+csr|ansi scroll-region plus cursor save & restore, 
348         csr=\E[%i%p1%d;%p2%dr, rc=\E8, sc=\E7, 
349
350 # The IBM PC alternate character set.  Plug this into any Intel console entry.
351 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
352 # ROM graphics for control characters such as the diamond, up- and down-arrow.
353 # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
354 # will work with any Intel console, they all seem to have inherited \E[11m
355 # from the ANSI.SYS de-facto standard.
356 klone+acs|alternate character set for ansi.sys displays, 
357         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, 
358         rmacs=\E[10m, smacs=\E[11m, 
359
360 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
361 # console drivers for Intel boxes obey these.  Makes the same assumption
362 # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
363 # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
364 klone+sgr|attribute control for ansi.sys displays, 
365         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
366         rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
367         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, 
368         sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
369         use=klone+acs, 
370
371 # Highlight controls corresponding to the ANSI.SYS standard.  *All*
372 # console drivers for Intel boxes obey these.  Does not assume \E[11m will
373 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
374 # diamond and arrow characters under curses.
375 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
376         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, 
377         rmul=\E[m, 
378         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, 
379         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
380         use=klone+acs, 
381
382 # KOI8-R (RFC1489) acs (alternate character set)
383 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
384 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
385         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, 
386         rmacs=\E[10m, smacs=\E[11m, 
387
388 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
389 # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
390 # but equivalent strings that don't rely on that coincidence:
391 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
392 # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
393 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
394 # They match a subset of ECMA-48.
395 klone+color|color control for ansi.sys and ISO6429-compatible displays, 
396         colors#8, ncv#3, pairs#64, 
397         op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
398
399 # This is better than klone+color, it doesn't assume white-on-black as the
400 # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
401 ecma+color|color control for ECMA-48-compatible terminals, 
402         AX, 
403         colors#8, ncv#3, pairs#64, 
404         op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
405
406 # Attribute control for ECMA-48-compatible terminals
407 ecma+sgr|attribute capabilities for true ECMA-48 terminals, 
408         rmso=\E[27m, rmul=\E[24m, use=klone+sgr, 
409
410 # For comparison, here are all the capabilities implied by the Intel
411 # Binary Compatibility Standard (level 2) that fit within terminfo.
412 # For more detail on this rather pathetic standard, see the comments
413 # near the end of this file.
414 ibcs2|Intel Binary Compatibility Standard prescriptions, 
415         cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
416         cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
417         dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX, 
418         hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
419         indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
420         smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
421
422 #### ANSI/ECMA-48 terminals and terminal emulators
423 #
424 # See near the end of this file for details on ANSI conformance.
425 # Don't mess with these entries!  Lots of other entries depend on them!
426 #
427 # This section lists entries in a least-capable to most-capable order.
428 # if you're in doubt about what `ANSI' matches yours, try them in that
429 # order and back off from the first that breaks.
430
431 # ansi-mr is for ANSI terminals with ONLY relative cursor addressing
432 # and more than one page of memory.  It uses local motions instead of
433 # direct cursor addressing, and makes almost no assumptions. It does
434 # assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
435 ansi-mr|mem rel cup ansi, 
436         am, xon, 
437         cols#80, lines#24, use=vanilla, use=ansi+erase, 
438         use=ansi+local1, 
439
440 # ansi-mini is a bare minimum ANSI terminal. This should work on anything, but 
441 # beware of screen size problems and memory relative cursor addressing.
442 ansi-mini|any ansi terminal with pessimistic assumptions, 
443         am, xon, 
444         cols#80, lines#24, use=vanilla, use=ansi+cup, 
445         use=ansi+erase, 
446
447 # ansi-mtabs adds relative addressing and minimal tab support 
448 ansi-mtabs|any ansi terminal with pessimistic assumptions, 
449         it#8, 
450         ht=^I, use=ansi+local1, use=ansi-mini, 
451
452 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
453 #
454 # The following is an entry for the full ANSI 3.64 (1977).  It lacks
455 # padding, but most terminals using the standard are "fast" enough
456 # not to require any -- even at 9600 bps.  If you encounter problems,
457 # try including the padding specifications.
458 #
459 # Note: the :as: and :ae: specifications are not implemented here, for
460 # the available termcap documentation does not make clear WHICH alternate
461 # character set to specify.  ANSI 3.64 seems to make allowances for several.
462 # Please make the appropriate adjustments to fit your needs -- that is
463 # if you will be using alternate character sets.
464 #
465 # There are very few terminals running the full ANSI 3.64 standard,
466 # so I could only test this entry on one verified terminal (Visual 102).
467 # I would appreciate the results on other terminals sent to me.
468 #
469 # Please report comments, changes, and problems to:
470 #
471 # U.S. MAIL:   Hugh Hansard
472 #              Box: 22830
473 #              Emory University
474 #              Atlanta, GA. 30322.
475 #
476 # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
477 #
478 # (Added vt100 <rc>,<sc> to quiet a tic warning --esr)
479 ansi77|ansi 3.64 standard 1977 version, 
480         OTbs, am, mir, 
481         cols#80, it#8, lines#24, 
482         bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
483         cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
484         cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K, 
485         home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 
486         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
487         kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, 
488         rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, smir=\E[4h, 
489         smso=\E[7m, smul=\E[4m, 
490
491 # Procomm and some other ANSI emulations don't recognize all of the ANSI-
492 # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
493 # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
494 # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
495 # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
496 # to confuse many emulators.  On the other hand, we can count on these programs
497 # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured 
498 # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
499 # ANSI.SYS influence.
500 # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
501 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
502         OTbs, am, mir, msgr, 
503         cols#80, it#8, lines#24, 
504         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
505         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
506         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
507         hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
508         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, 
509         use=klone+sgr-dumb, 
510 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
511         lines#25, use=pcansi-m, 
512 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
513         lines#33, use=pcansi-m, 
514 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
515         lines#43, use=pcansi-m, 
516 # The color versions.  All PC emulators do color...
517 pcansi|ibm-pc terminal programs claiming to be ansi, 
518         use=klone+color, use=pcansi-m, 
519 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
520         lines#25, use=pcansi, 
521 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
522         lines#33, use=pcansi, 
523 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
524         lines#43, use=pcansi, 
525
526 # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
527 # If you want pound signs rather than dollars, replace `B' with `A'
528 # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
529 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
530 ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
531         mc5i, 
532         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
533         cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
534         ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
535         ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H, 
536         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
537         kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, 
538         rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B, 
539         s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g, 
540         vpa=\E[%i%p1%dd, use=pcansi-m, 
541
542 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
543 # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
544 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
545 ansi|ansi/pc-term compatible with color, 
546         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
547         u9=\E[c, use=ecma+color, use=klone+sgr, use=ansi-m, 
548
549 # ansi-generic is a vanilla ANSI terminal. This is assumed to implement 
550 # all the normal ANSI stuff with no extensions. It assumes 
551 # insert/delete line/char is there, so it won't work with 
552 # vt100 clones. It assumes video attributes for bold, blink, 
553 # underline, and reverse, which won't matter much if the terminal 
554 # can't do some of those. Padding is assumed to be zero, which 
555 # shouldn't hurt since xon/xoff is assumed.
556 ansi-generic|generic ansi standard terminal, 
557         am, xon, 
558         cols#80, lines#24, use=vanilla, use=ansi+csr, use=ansi+cup, 
559         use=ansi+rca, use=ansi+erase, use=ansi+tabs, 
560         use=ansi+local, use=ansi+idc, use=ansi+idl, use=ansi+rep, 
561         use=ansi+sgrbold, use=ansi+arrows, 
562
563 #### DOS ANSI.SYS variants
564 #
565 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
566 # documentation (except for the keyboard key reassignment feature, which
567 # doesn't fit the <pfkey> model well).  The klone+acs sequences were valid
568 # though undocumented.  The <pfkey> capability is untested but should work for
569 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
570 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
571 ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
572         OTbs, am, mir, msgr, xon, 
573         cols#80, lines#25, 
574         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
575         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, 
576         is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
577         khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
578         rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
579         u7=\E[6n, use=klone+color, use=klone+sgr, 
580 ansi.sys|ANSI.SYS 3.1 and later versions, 
581         el=\E[K, use=ansi.sys-old, 
582
583 #
584 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
585 # This should only be used when the terminal emulator cannot redefine the keys.
586 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
587 # definitions must be restored.  If the terminal emulator is quit while in vi
588 # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
589 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
590 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
591 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
592 # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
593 # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
594 # Consequently the End keypad key could not be set (it is relatively safe and
595 # actually useful because it sends ^@ O, which beeps and opens a line above).
596 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
597         is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
598         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, 
599         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, 
600         use=ansi.sys, 
601 #
602 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
603 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
604         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
605         is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, 
606         use=ansi.sys, 
607 #
608 # See ansi.sysk and nansi.sys above.
609 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
610         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
611         is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
612         use=ansi.sysk, 
613
614 #### ANSI console types
615 #
616
617 #### BeOS
618 #
619 # BeOS entry for Terminal program Seems to be almost ANSI
620 beterm|BeOS Terminal, 
621         am, eo, mir, msgr, xenl, xon, 
622         colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
623         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
624         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
625         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
626         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
627         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
628         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, 
629         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
630         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
631         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
632         kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~, 
633         kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
634         kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~, 
635         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
636         nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
637         rmkx=\E[?4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, 
638         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
639         setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm, 
640         sgr0=\E[0;10m, smir=\E[4h, smkx=\E[?4h, smso=\E[7m, 
641         smul=\E[4m, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, 
642         vpa=\E[%i%p1%dd, 
643
644 #### Linux consoles
645 #
646
647 # This entry is good for the 1.2.13 or later version of the Linux console.
648 #
649 # ***************************************************************************
650 # *                                                                         *
651 # *                           WARNING:                                      *
652 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
653 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
654 # * character. Here are the keymap replacement lines that will set this up: *
655 # *                                                                         *
656 #       keycode  15 = Tab             Tab
657 #               alt     keycode  15 = Meta_Tab
658 #               shift   keycode  15 = F26
659 #       string F26 ="\033[Z"
660 # *                                                                         *
661 # * This has to use a key slot which is unfortunate (any unused one will    *
662 # * do, F26 is the higher-numbered one).  The change ought to be built      *
663 # * into the kernel tables.                                                 *
664 # *                                                                         *
665 # ***************************************************************************
666 #
667 # This entry is good for the 1.2.13 or later version of the Linux console.
668 #
669 # ***************************************************************************
670 # *                                                                         *
671 # *                           WARNING:                                      *
672 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
673 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
674 # * character. Here are the keymap replacement lines that will set this up: *
675 # *                                                                         *
676 #       keycode  15 = Tab             Tab
677 #               alt     keycode  15 = Meta_Tab
678 #               shift   keycode  15 = F26
679 #       string F26 ="\033[Z"
680 # *                                                                         *
681 # * This has to use a key slot which is unfortunate (any unused one will    *
682 # * do, F26 is the higher-numbered one).  The change ought to be built      *
683 # * into the kernel tables.                                                 *
684 # *                                                                         *
685 # ***************************************************************************
686 #
687 # All linux kernels since 1.2.13 (at least) set the screen size
688 # themselves; this entry assumes that capability.
689 #
690 linux-basic|linux console, 
691         am, bce, eo, mir, msgr, xenl, xon, 
692         it#8, ncv#18, 
693         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, 
694         bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
695         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
696         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
697         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
698         el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
699         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
700         il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, 
701         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
702         kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
703         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
704         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
705         kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
706         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
707         khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
708         kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
709         rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
710         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, 
711         smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
712         u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
713         use=klone+sgr, use=ecma+color, 
714
715 linux-m|Linux console no color, 
716         colors@, pairs@, 
717         setab@, setaf@, setb@, setf@, use=linux, 
718
719 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
720 # and it matters, turn off <ccc>.  The %02x escape used to implement this is
721 # not supposedly back-portable to older SV curses (although it has worked fine
722 # on Solaris for several years) and not supported in ncurses versions before
723 # 1.9.9.
724 linux-c-nc|linux console with color-change, 
725         ccc, 
726         initc=\E]P%p1%x%p2%{256}%*%{1000}%/%02x%p3%{256}%*%{1000}%/%02x%p4%{256}%*%{1000}%/%02x, 
727         oc=\E]R, use=linux-basic, 
728 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
729 linux-c|linux console 1.3.6+ for older ncurses, 
730         ccc, 
731         initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{256}%*%{1000}%/%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%{256}%*%{1000}%/%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%{256}%*%{1000}%/%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%;, 
732         oc=\E]R, use=linux-basic, 
733
734 # The 2.2.x kernels add a private mode that sets the cursor type; use that to
735 # get a block cursor for cvvis.
736 # reported by Frank Heckenbach <frank@g-n-u.de>.
737 linux|linux console, 
738         civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c, 
739         cvvis=\E[?25h\E[?8c, use=linux-c-nc, 
740
741 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
742 linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
743         ich@, ich1@, use=linux, 
744
745 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
746 # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
747 linux-koi8|linux with koi8 alternate character set, 
748         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, 
749         use=linux, use=klone+koi8acs, 
750
751 # Another entry for KOI8-r with Qing Long's acsc.
752 # (which one better complies with the standard?)
753 linux-koi8r|linux with koi8-r alternate character set, 
754         use=linux, use=klone+koi8acs, 
755
756 # Entry for the latin1 and latin2 fonts
757 linux-lat|linux with latin1 or latin2 alternate character set, 
758         acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376, 
759         use=linux, 
760
761 # This uses graphics from VT codeset instead of from cp437.
762 # reason: cp437 (aka "straight to font") is not functional under luit.
763 # from: Andrey V Lukyanov <land@long.yar.ru>.
764 linux-vt|linux console using VT codes for graphics, 
765         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
766         rmacs=\E(K, rmpch@, sgr@, sgr0=\E[0m\E(K\017, smacs=\E(0, 
767         smpch@, use=linux, 
768
769 #### Mach
770 #
771
772 # From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
773 mach|Mach Console, 
774         am, km, 
775         cols#80, it#8, lines#25, 
776         bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
777         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
778         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
779         cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
780         el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, 
781         kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
782         kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ, 
783         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
784         kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U, 
785         kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m, 
786         smso=\E[7m, smul=\E[4m, 
787 mach-bold|Mach Console with bold instead of underline, 
788         rmul=\E[0m, smul=\E[1m, use=mach, 
789 mach-color|Mach Console with ANSI color, 
790         colors#8, pairs#64, 
791         dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m, 
792         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach, 
793
794 #### OSF Unix
795 #
796
797 # OSF/1 1.1 Snapshot 2
798 pmcons|pmconsole|PMAX console, 
799         am, 
800         cols#128, lines#57, 
801         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ht=^I, 
802         ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
803         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
804
805 # SCO console and SOS-Syscons console for 386bsd
806 # (scoansi: had unknown capabilities
807 #       :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
808 #       :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
809 #       :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
810 #       :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
811 #       :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
812 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
813 # on the <smacs>=\E[12m  -- esr)
814 #
815 # klone+sgr-dumb is an error since the acsc does not match -TD
816 #
817 # In this description based on SCO's keyboard(HW) manpage list of default
818 # function key values:
819 #       F13-F24 are shifted F1-F12
820 #       F25-F36 are control F1-F12
821 #       F37-F48 are shift+control F1-F12
822 #
823 # hpa/vpa work in the console, but not in scoterm:
824 #       hpa=\E[%p1%dG,
825 #       vpa=\E[%p1%dd,
826 #
827 # SCO's terminfo uses
828 #       kLFT=\E[d,
829 #       kRIT=\E[c,
830 # which do not work (console or scoterm).
831 #
832 # Console documents only 3 attributes can be set with SGR (so we don't use sgr).
833 scoansi-old|SCO Extended ANSI standard crt (5.0.5), 
834         OTbs, am, bce, eo, xon, 
835         colors#8, cols#80, it#8, lines#25, pairs#64, 
836         acsc=-\230.\231\,.+/0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207, 
837         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
838         civis=\E[=14;12C, clear=\E[H\E[2J, cnorm=\E[=10;12C, 
839         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
840         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
841         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[=0;12C, dch=\E[%p1%dP, 
842         dch1=\E[P, dispc=\E[=%p1%dg, dl=\E[%p1%dM, dl1=\E[M, 
843         ed=\E[m\E[J, el=\E[m\E[K, el1=\E[1K, home=\E[H, ht=^I, 
844         hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
845         ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbeg=\E[E, kbs=^H, 
846         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
847         kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, 
848         kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c, 
849         kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, 
850         kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, 
851         kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, 
852         kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, 
853         kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, 
854         kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], 
855         kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, 
856         kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
857         kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[0;37;40m, rc=\E8, 
858         rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, 
859         rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7, 
860         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m, 
861         smacs=\E[12m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
862 scoansi-new|SCO Extended ANSI standard crt (5.0.6), 
863         km, 
864         civis=\E[=0c, cnorm=\E[=1c, csr=\E[%i%p1%d;%p2%dr, 
865         cvvis=\E[=2c, mgc=\E[=r, oc=\E[51m, op=\E[50m, 
866         rep=\E[%p1%d;%p2%db, rmm=\E[=11L, 
867         sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
868         smgb=\E[=1;0m, smgbp=\E[=1;%i%p1%dm, 
869         smglp=\E[=2;%i%p1%dm, smgr=\E[=3;0m, 
870         smgrp=\E[=3;%i%p1%dm, smgt=\E[=0;0m, 
871         smgtp=\E[=0;%i%p1%dm, smm=\E[=10L, 
872         wind=\E[%i%p1%d;%p2%d;%i%p3%d;%p4%dr, 
873         use=scoansi-old, 
874 # make this easy to change...
875 scoansi|SCO Extended ANSI standard crt, 
876         use=scoansi-old, 
877
878 # This actually describes the generic SVr4 display driver for Intel boxes.
879 # The <dim=\E[2m> isn't documented and therefore may not be reliable.
880 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
881 att6386|at386|386at|AT&T WGS 6386 console, 
882         am, bw, eo, xon, 
883         cols#80, it#8, lines#25, 
884         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
885         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 
886         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 
887         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
888         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
889         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
890         dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
891         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
892         ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 
893         indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 
894         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
895         kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 
896         kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
897         kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 
898         knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
899         ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
900         sc=\E7, 
901         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, 
902         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
903         tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color, 
904 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
905 pc6300plus|AT&T 6300 plus, 
906         OTbs, am, xon, 
907         cols#80, lines#24, 
908         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
909         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 
910         cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
911         dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 
912         home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 
913         invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
914         kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 
915         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 
916         nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
917         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
918
919 # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
920 #
921 # I have a UNIX PC which I use as a terminal attached to my Linux PC.
922 # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
923 # is broken. All the special key sequences are broken, making it unusable
924 # with Emacs. The problem stems from the following:
925
926 # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
927 # keypad!), loadable fonts, and strange highlighting modes ("dithered"
928 # half-intensity, "smeared" bold, and real strike-out, for example.) It also
929 # uses resizable terminal windows, but the bundled terminal program always
930 # uses an 80x24 window (and doesn't support seem to support a 132-column
931 # mode.) 
932
933 # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
934 # library which was a superset of SVr3.5 curses (called tam, for "terminal
935 # access method".) tam includes support for real, overlapping windows,
936 # onscreen function key labels, and bitmap graphics. But since the primary
937 # user interface on the UNIX PC was a GUI program (ua, for "user
938 # assistant",) and remote administration was considered important for the
939 # machine, tam also supported VT100-compatible terminals attached to the
940 # serial port or used across the StarLan network. To simulate the extra keys
941 # not present on a VT100, users could press ESC and a two-letter sequence,
942 # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
943 # however, were not the same as those sent by the actual Undo key. The
944 # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
945 # (If you're interested in adding some of the tam calls to ncurses, btw, I
946 # have the full documentation and several programs which use tam. It also
947 # used an extended terminfo format to describe key sequences, special
948 # highlighting modes, etc.) 
949
950 # KEYS: This means that ncurses would quite painful on the UNIX PC, since
951 # there are two sequences for every key-modifier combination (local keyboard
952 # sequence and remote "VT100" sequence.) But I doubt many people are trying
953 # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
954 # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
955 # seem to have been built from the manual describing the VT100 sequences. 
956 # This means it doesn't work for a real live UNIX PC. 
957
958 # FONTS: The UNIX PC also has a strange interpretation of "alternate
959 # character set". Rather than the VT100 graphics you might expect, it allows
960 # up to 8 custom fonts to be loaded at any given time. This means that
961 # programs expecting VT100 graphics will usually be disappointed. For this
962 # reason I have disabled the smacs/rmacs sequences, but they could easily be
963 # re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
964 # manpage), should you wish to do so: 
965
966 # SGR10 - Select font 0 - ESC [ 10 m or SO
967 # SGR11 - Select font 1 - ESC [ 11 m or SI
968 # SGR12 - Select font 2 - ESC [ 12 m
969 # ... (etc.)
970 # SGR17 - Select font 7 - ESC [ 17 m
971
972 # Graphics for line drawing are not reliably found at *any* character
973 # location because the UNIX PC has dynamically reloadable fonts. I use font
974 # 0 for regular text and font 1 for italics, but this is by no means
975 # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
976
977 # MISC: The cursor visible/cursor invisible sequences were swapped in the
978 # distributed terminfo.
979
980 # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
981 # the UNIX PC terminfo entry. The modified version works great with Lynx,
982 # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
983 # attached by serial cable. In Emacs, even the Undo key works, and many
984 # applications can now use the F1-F8 keys. 
985
986 # esr's notes:
987 #       Terminfo entry for the AT&T Unix PC 7300
988 #       from escape(7) in Unix PC 7300 Manual.
989 #       Somewhat similar to a vt100-am (but different enough
990 #       to redo this from scratch.)
991 #
992 #       /***************************************************************
993 #       *
994 #       *           FONT LOADING PROGRAM FOR THE UNIX PC
995 #       *
996 #       *     This routine loads a font defined in the file ALTFONT
997 #       *     into font memory slot #1.  Once the font has been loaded,
998 #       *     it can be used as an alternative character set.
999 #       *
1000 #       *     The call to ioctl with the argument WIOCLFONT is the key 
1001 #       *     to this routine.  For more information, see window(7) in 
1002 #       *     the PC 7300 documentation.
1003 #       ***************************************************************/
1004 #       #include <string.h>             /* needed for strcpy call */
1005 #       #include <sys/window.h>         /* needed for ioctl call */
1006 #       #define FNSIZE  60              /* font name size */
1007 #       #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
1008 #       /*
1009 #       *     The file /usr/lib/wfont/special.8.ft comes with the
1010 #       *     standard PC software.  It defines a graphics character set
1011 #       *     similar to that of the Teletype 5425 terminal.  To view
1012 #       *     this or other fonts in /usr/lib/wfont, use the command
1013 #       *     cfont <filename>.  For further information on fonts see
1014 #       *     cfont(1) in the PC 7300 documentation.
1015 #       */
1016 #       
1017 #       struct altfdata         /* structure for alt font data */
1018 #       {
1019 #       short   altf_slot;              /* memory slot number */
1020 #       char    altf_name[FNSIZE];      /* font name (file name) */
1021 #       };
1022 #       ldfont()
1023 #       {
1024 #               int wd;         /* window in which altfont will be */
1025 #               struct altfdata altf;
1026 #               altf.altf_slot=1;
1027 #               strcpy(altf.altf_name,ALTFONT);
1028 #               for (wd =1; wd < 12; wd++) {
1029 #                    ioctl(wd, WIOCLFONT,&altf);
1030 #               }
1031 #       }
1032 #
1033 # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
1034 # they're confirmed by the man page for the System V display---esr)
1035 #
1036 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
1037         am, xon, 
1038         cols#80, it#8, lines#24, 
1039         bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 
1040         clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, 
1041         cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
1042         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
1043         cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
1044         ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 
1045         il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 
1046         kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 
1047         kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 
1048         kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 
1049         kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 
1050         kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 
1051         kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
1052         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 
1053         ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 
1054         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
1055         kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 
1056         kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 
1057         kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 
1058         kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 
1059         ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 
1060         rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
1061         smul=\E[4m, 
1062
1063 # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
1064 # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
1065 # for the application keypad mode.  We have added iris-ansi-ap rather than
1066 # change the original to keypad mode.
1067 #
1068 # (iris-ansi: added rmam/smam based on init string -- esr)
1069 #
1070 # This entry, and those derived from it, is used in xwsh (also known as
1071 # winterm).  Some capabilities that do not fit into the terminfo model
1072 # include the shift- and control-functionkeys:
1073 #
1074 # F1-F12 generate different codes when shift or control modifiers are used.
1075 # For example:
1076 #       F1              \E[001q
1077 #       shift F1        \E[013q
1078 #       control-F1      \E[025q
1079 #
1080 # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
1081 # \EOP to \EOS.  The shifted and control modifiers still do the same thing.
1082 #
1083 # The cursor keys also have different codes:
1084 #       control-up      \E[162q
1085 #       control-down    \E[165q
1086 #       control-left    \E[159q
1087 #       control-right   \E[168q
1088 #
1089 #       shift-up        \E[161q
1090 #       shift-down      \E[164q
1091 #       shift-left      \E[158q
1092 #       shift-right     \E[167q
1093 #
1094 #       control-tab     \[072q
1095 #
1096 iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100), 
1097         am, 
1098         cols#80, it#8, lines#40, 
1099         bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
1100         cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
1101         cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
1102         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
1103         cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
1104         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
1105         home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1106         is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P, 
1107         kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
1108         kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
1109         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
1110         kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q, 
1111         kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q, 
1112         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
1113         kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
1114         knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, 
1115         kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, 
1116         rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
1117         sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
1118         tbc=\E[3g, 
1119 iris-ansi-ap|IRIS ANSI in application-keypad mode, 
1120         is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q, 
1121         kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, use=iris-ansi, 
1122
1123 # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
1124 # (T.Dickey 98/1/24)
1125 iris-color|xwsh|IRIX ANSI with color, 
1126         ncv#33, 
1127         csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m, 
1128         ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m, 
1129         rmul=\E[24m, rs1=\Ec, 
1130         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1131         sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
1132         use=klone+color, use=iris-ansi-ap, 
1133
1134 # The following is a version of the ibm-pc entry distributed with PC/IX,
1135 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
1136 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
1137 # (the former is untrue, and the latter failed under UCB/man); standout and
1138 # underline modes have been added.  Note: this entry describes the "native"
1139 # capabilities of the PC monochrome display, without ANY emulation; most
1140 # communications packages (but NOT PC/IX connect) do some kind of emulation.
1141 pcix|PC/IX console, 
1142         am, bw, eo, 
1143         cols#80, lines#24, 
1144         clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1145         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
1146         home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
1147         smul=\E[4m, 
1148
1149 # (ibmpcx: this entry used to be known as ibmx.
1150 # It formerly included the following extension capabilities:
1151 #       :GC=b:GL=v:GR=t:RT=^J:\
1152 #       :GH=\E[196g:GV=\E[179g:\
1153 #       :GU=\E[193g:GD=\E[194g:\
1154 #       :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
1155 #       :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
1156 #       :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
1157 # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
1158 # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
1159 # what was there before. -- esr)
1160 ibmpcx|xenix|ibmx|IBM PC xenix console display, 
1161         OTbs, am, msgr, 
1162         cols#80, lines#25, 
1163         clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1164         cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
1165         ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H, 
1166         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, 
1167         kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
1168         kpp=\E[Z, use=klone+acs, use=klone+sgr, 
1169
1170 #### QNX
1171 #
1172
1173 # QNX 4.0 Console
1174 # Michael's original version of this entry had <am@>, <smcup=\Ei>,
1175 # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
1176 # right corner without triggering a scroll.  The ncurses terminfo library can
1177 # handle this case with the <ich1> capability, and prefers <am> for better
1178 # optimization.  Bug: The <op> capability resets attributes.
1179 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
1180 # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
1181 qnx|qnx4|qnx console, 
1182         daisy, km, mir, msgr, xhpa, xt, 
1183         colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
1184         acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263, 
1185         bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
1186         cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
1187         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2, 
1188         dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
1189         il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
1190         kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
1191         kDL=\377\366, kEND=\377\301, kEOL=\377\311, 
1192         kEXT=\377\367, kFND=\377\370, kHLP=\377\371, 
1193         kHOM=\377\260, kIC=\377\340, kLFT=\377\264, 
1194         kMOV=\377\306, kMSG=\377\304, kNXT=\377\272, 
1195         kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
1196         kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
1197         kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
1198         kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0, 
1199         kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
1200         kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
1201         kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
1202         kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
1203         ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320, 
1204         kext=\377\270, kf1=\377\201, kf10=\377\212, 
1205         kf11=\377\256, kf12=\377\257, kf13=\377\213, 
1206         kf14=\377\214, kf15=\377\215, kf16=\377\216, 
1207         kf17=\377\217, kf18=\377\220, kf19=\377\221, 
1208         kf2=\377\202, kf20=\377\222, kf21=\377\223, 
1209         kf22=\377\224, kf23=\377\333, kf24=\377\334, 
1210         kf25=\377\225, kf26=\377\226, kf27=\377\227, 
1211         kf28=\377\230, kf29=\377\231, kf3=\377\203, 
1212         kf30=\377\232, kf31=\377\233, kf32=\377\234, 
1213         kf33=\377\235, kf34=\377\236, kf35=\377\276, 
1214         kf36=\377\277, kf37=\377\321, kf38=\377\322, 
1215         kf39=\377\323, kf4=\377\204, kf40=\377\324, 
1216         kf41=\377\325, kf42=\377\326, kf43=\377\327, 
1217         kf44=\377\330, kf45=\377\331, kf46=\377\332, 
1218         kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206, 
1219         kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
1220         khlp=\377\350, khome=\377\240, khts=\377\342, 
1221         kich1=\377\253, kil1=\377\273, kind=\377\261, 
1222         kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
1223         knp=\377\252, knxt=\377\312, kopn=\377\357, 
1224         kopt=\377\353, kpp=\377\242, kprt=\377\255, 
1225         kprv=\377\302, krdo=\377\336, kref=\377\354, 
1226         kres=\377\360, krfr=\377\347, kri=\377\271, 
1227         krmir=\377\313, krpl=\377\362, krst=\377\352, 
1228         ksav=\377\361, kslt=\377\247, kspd=\377\335, 
1229         ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
1230         rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
1231         rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
1232         setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei, 
1233         smso=\E(, smul=\E[, 
1234 #
1235 #
1236 qnxt|qnxt4|QNX4 terminal, 
1237         crxm, use=qnx4, 
1238 #
1239 qnxm|QNX4 with mouse events, 
1240         maddr#1, 
1241         chr=\E/, cvr=\E", is1=\E/0t, mcub=\E/>1h, mcub1=\E/>7h, 
1242         mcud=\E/>1h, mcud1=\E/>1l\E/>9h, mcuf=\E/>1h\E/>9l, 
1243         mcuf1=\E/>7l, mcuu=\E/>6h, mcuu1=\E/>6l, rmicm=\E/>2l, 
1244         smicm=\E/>2h, use=qnx4, 
1245 #
1246 qnxw|QNX4 windows, 
1247         xvpa, use=qnxm, 
1248 #
1249 #       Monochrome QNX4 terminal or console. Setting this terminal type will
1250 #       allow an application running on a color console to behave as if it
1251 #       were a monochrome terminal. Output will be through stdout instead of
1252 #       console writes because the term routines will recognize that the
1253 #       terminal name starts with 'qnxt'.
1254 #
1255 qnxtmono|Monochrome QNX4 terminal or console, 
1256         colors@, pairs@, 
1257         scp@, use=qnx4, 
1258
1259 # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
1260 # (esr: commented out <scp> and <rmcup> to avoid warnings.)
1261 # (TD: derive from original qnx4 entry)
1262 qnxt2|qnx 2.15 serial terminal, 
1263         am, 
1264         civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@, 
1265         rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, use=qnx4, 
1266
1267 # QNX ANSI terminal definition
1268 qansi-g|QNX ANSI, 
1269         am, eslok, hs, xon, 
1270         colors#8, cols#80, it#8, lines#25, ncv#19, pairs#64, wsl#80, 
1271         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~Oa, 
1272         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
1273         clear=\E[2J\E[H, cnorm=\E[?25h\E[?12l, cr=^M, 
1274         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
1275         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1276         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, cuu1=\E[A, 
1277         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
1278         dl=\E[%p1%dM, dl1=\E[1M, dsl=\E[r, ech=\E[%p1%dX, ed=\E[J, 
1279         el=\E[K, el1=\E[1K\E[X, flash=\E[?5h$<200>\E[?5l, 
1280         fsl=\E[?6h\E8, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
1281         ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, 
1282         ind=\E[S, indn=\E[%p1%dS, invis=\E[9m, 
1283         is2=\E>\E[?1l\E[?7h\E[0;10;39;49m, is3=\E(B\E)0, 
1284         kBEG=\ENn, kCAN=\E[s, kCMD=\E[t, kCPY=\ENs, kCRT=\ENt, 
1285         kDL=\ENv, kEXT=\ENw, kFND=\ENx, kHLP=\ENy, kHOM=\E[h, 
1286         kLFT=\E[d, kNXT=\E[u, kOPT=\ENz, kPRV=\E[v, kRIT=\E[c, 
1287         kbs=^H, kcan=\E[S, kcbt=\E[Z, kclo=\ENc, kclr=\ENa, 
1288         kcmd=\E[G, kcpy=\E[g, kctab=\E[z, kcub1=\E[D, kcud1=\E[B, 
1289         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[p, kend=\E[Y, 
1290         kext=\E[y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, 
1291         kf13=\EOp, kf14=\EOq, kf15=\EOr, kf16=\EOs, kf17=\EOt, 
1292         kf18=\EOu, kf19=\EOv, kf2=\EOQ, kf20=\EOw, kf21=\EOx, 
1293         kf22=\EOy, kf23=\EOz, kf24=\EOa, kf25=\E[1~, kf26=\E[2~, 
1294         kf27=\E[3~, kf28=\E[4~, kf29=\E[5~, kf3=\EOR, kf30=\E[6~, 
1295         kf31=\E[7~, kf32=\E[8~, kf33=\E[9~, kf34=\E[10~, 
1296         kf35=\E[11~, kf36=\E[12~, kf37=\E[17~, kf38=\E[18~, 
1297         kf39=\E[19~, kf4=\EOS, kf40=\E[20~, kf41=\E[21~, 
1298         kf42=\E[22~, kf43=\E[23~, kf44=\E[24~, kf45=\E[25~, 
1299         kf46=\E[26~, kf47=\E[27~, kf48=\E[28~, kf5=\EOT, kf6=\EOU, 
1300         kf7=\EOV, kf8=\EOW, kf9=\EOX, kfnd=\ENf, khlp=\ENh, 
1301         khome=\E[H, khts=\ENb, kich1=\E[@, kil1=\E[`, kind=\E[a, 
1302         kmov=\ENi, kmrk=\ENm, kmsg=\ENe, knp=\E[U, kopn=\ENo, 
1303         kopt=\ENk, kpp=\E[V, kref=\ENl, kres=\ENp, krfr=\ENg, 
1304         kri=\E[b, krpl=\ENr, krst=\ENj, ksav=\ENq, kslt=\E[T, 
1305         ktbc=\ENd, kund=\ENu, ll=\E[99H, nel=\EE, op=\E[39;49m, 
1306         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\E[T, 
1307         rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmso=\E[27m, 
1308         rmul=\E[24m, rs1=\017\E[?7h\E[0;39;49m$<2>\E>\E[?1l, 
1309         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1310         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
1311         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
1312         sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;9%;m%?%p9%t\016%e\017%;, 
1313         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smso=\E[7m, 
1314         smul=\E[4m, tbc=\E[2g, 
1315         tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH, 
1316 #
1317 qansi|QNX ansi with console writes, 
1318         daisy, xhpa, use=qansi-g, 
1319 #
1320 qansi-t|QNX ansi without console writes, 
1321         crxm, use=qansi, 
1322 #
1323 qansi-m|QNX ansi with mouse, 
1324         maddr#1, 
1325         chr=\E[, cvr=\E], is1=\E[0t, mcub=\E[>1h, mcub1=\E[>7h, 
1326         mcud=\E[>1h, mcud1=\E[>1l\E[>9h, mcuf=\E[>1h\E[>9l, 
1327         mcuf1=\E[>7l, mcuu=\E[>6h, mcuu1=\E[>6l, rmicm=\E[>2l, 
1328         smicm=\E[>2h, use=qansi, 
1329 #
1330 qansi-w|QNX ansi for windows, 
1331         xvpa, use=qansi-m, 
1332
1333 #### NetBSD consoles
1334 #
1335 # pcvt termcap database entries (corresponding to release 3.31)
1336 # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
1337 #
1338 # (For the terminfo master file, I translated these into terminfo syntax.
1339 # Then I dropped all the pseudo-HP entries. we don't want and can't use
1340 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
1341 # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
1342
1343 # NOTE: <ich1> has been taken out of this entry. for reference, it should
1344 # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
1345 # (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
1346 pcvtXX|pcvt vt200 emulator (DEC VT220), 
1347         am, km, mir, msgr, xenl, 
1348         it#8, vt#3, 
1349         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
1350         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1351         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
1352         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1353         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1354         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1355         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1356         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
1357         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
1358         is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
1359         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1360         kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
1361         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
1362         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
1363         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
1364         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1365         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
1366         rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1367         sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1368         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1369
1370 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1371 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1372 #       50 lines entries; 80 columns
1373 pcvt25|dec vt220 emulation with 25 lines, 
1374         cols#80, lines#25, 
1375         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1376 pcvt28|dec vt220 emulation with 28 lines, 
1377         cols#80, lines#28, 
1378         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1379 pcvt35|dec vt220 emulation with 35 lines, 
1380         cols#80, lines#35, 
1381         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1382 pcvt40|dec vt220 emulation with 40 lines, 
1383         cols#80, lines#40, 
1384         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1385 pcvt43|dec vt220 emulation with 43 lines, 
1386         cols#80, lines#43, 
1387         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1388 pcvt50|dec vt220 emulation with 50 lines, 
1389         cols#80, lines#50, 
1390         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1391
1392 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1393 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1394 #       50 lines entries; 132 columns
1395 pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
1396         cols#132, lines#25, 
1397         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1398 pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
1399         cols#132, lines#28, 
1400         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1401 pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
1402         cols#132, lines#35, 
1403         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1404 pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
1405         cols#132, lines#40, 
1406         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1407 pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
1408         cols#132, lines#43, 
1409         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1410 pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
1411         cols#132, lines#50, 
1412         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1413
1414 #       OpenBSD implements a color variation
1415 pcvt25-color|dec vt220 emulation with 25 lines and color, 
1416         cols#80, lines#25, 
1417         is2=\E[1;25r\E[25;1H, kf1=\EOP, kf10=\E[29~, kf11=\E[23~, 
1418         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
1419         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
1420         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
1421         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, use=pcvtXX, 
1422         use=ecma+color, 
1423
1424 # Terminfo entries to enable the use of the ncurses library in colour on a
1425 # NetBSD-arm32 console (only tested on a RiscPC).
1426 # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
1427 # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
1428 # typo in invis - TD
1429 arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480), 
1430         am, bce, msgr, xenl, xon, 
1431         cols#80, it#8, lines#30, 
1432         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1433         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1434         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1435         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1436         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1437         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1438         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1439         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, 
1440         invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H, 
1441         kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1442         kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x, 
1443         kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v, 
1444         kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
1445         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
1446         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1447         sc=\E7, 
1448         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<2>, 
1449         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1450         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr, 
1451         use=klone+color, 
1452
1453 arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768), 
1454         cols#132, lines#50, use=arm100, 
1455
1456 # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
1457 # manufactured by Sharp for the Japenese market.
1458 # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1459 x68k|x68k-ite|NetBSD/x68k ITE, 
1460         cols#96, lines#32, 
1461         kclr=\E[9~, khlp=\E[28~, use=vt220, 
1462
1463 # <tv@pobox.com>:
1464 # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
1465 #
1466 # (still unfinished, but good enough so far.)
1467 ofcons, 
1468         bw, 
1469         cols#80, lines#30, 
1470         bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M, 
1471         cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
1472         cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
1473         cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
1474         dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K, 
1475         flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
1476         il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D, 
1477         kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P, 
1478         kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W, 
1479         kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r, 
1480         kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m, 
1481         rmso=\2330m, rmul=\2330m, 
1482         sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
1483         sgr0=\2330m, 
1484
1485 # NetBSD "wscons" emulator in vt220 mode
1486 # These are micro-minimal and probably need to be redone for real
1487 # after the manner of the pcvt entries.
1488 wsvt25|NetBSD wscons in 25 line DEC VT220 mode, 
1489         cols#80, lines#25, use=vt220, 
1490
1491 wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta, 
1492         km, 
1493         cols#80, lines#25, use=vt220, 
1494
1495 # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and 
1496 # DECstation/pmax.
1497 rcons|BSD rasterconsole, 
1498         use=sun-il, 
1499 # Color version of above. Color currently only provided by NetBSD.
1500 rcons-color|BSD rasterconsole with ANSI color, 
1501         bce, 
1502         colors#8, pairs#64, 
1503         op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=rcons, 
1504
1505 # mgterm -- MGL/MGL2, MobileGear Graphic Library
1506 # for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
1507 # -- the setf/setb are probably incorrect, more likely setaf/setab -TD
1508 # -- compare with cons25w
1509 mgterm, 
1510         OTbs, OTpt, am, bce, bw, eo, km, msgr, npc, 
1511         colors#8, cols#80, it#8, lines#18, pairs#64, 
1512         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
1513         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1514         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1515         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1516         dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, dl=\E[%p1%dM, 
1517         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
1518         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, 
1519         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
1520         indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
1521         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, 
1522         kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, 
1523         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
1524         kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, 
1525         nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
1526         rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7, setb=\E[4%p1%dm, 
1527         setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
1528
1529 #### FreeBSD console entries
1530 #
1531 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
1532 # Andrey Chernov maintains the FreeBSD termcap distributions.
1533 #
1534 # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1535 # or comment out the :cb: capability in the console entry.
1536 #
1537 # Alexander Lukyanov reports:
1538 # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
1539 # Now el1 clears not only to the line beginning, but also a large chunk
1540 # of previous line. But there is another bug - ech does not work at all.
1541 #
1542
1543 # for syscons
1544 # common entry without semigraphics
1545 # Bug: The <op> capability resets attributes.
1546 # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
1547 # instance el1 does if the cursor is moved to the right margin first.  Removed
1548 # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
1549 #
1550 # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
1551 # Note that this disables standout with color.
1552 #
1553 # The emulator sends difference strings based on shift- and control-keys,
1554 # like scoansi:
1555 #       F13-F24 are shifted F1-F12
1556 #       F25-F36 are control F1-F12
1557 #       F37-F48 are shift+control F1-F12
1558 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
1559         am, bce, bw, eo, msgr, npc, 
1560         colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64, 
1561         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
1562         cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
1563         cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1564         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1565         cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, 
1566         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
1567         hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
1568         il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, 
1569         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1570         kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, 
1571         kf11=\E[W, kf12=\E[X, kf13=\E[Y, kf14=\E[Z, kf15=\E[a, 
1572         kf16=\E[b, kf17=\E[c, kf18=\E[d, kf19=\E[e, kf2=\E[N, 
1573         kf20=\E[f, kf21=\E[g, kf22=\E[h, kf23=\E[i, kf24=\E[j, 
1574         kf25=\E[k, kf26=\E[l, kf27=\E[m, kf28=\E[n, kf29=\E[o, 
1575         kf3=\E[O, kf30=\E[p, kf31=\E[q, kf32=\E[r, kf33=\E[s, 
1576         kf34=\E[t, kf35=\E[u, kf36=\E[v, kf37=\E[w, kf38=\E[x, 
1577         kf39=\E[y, kf4=\E[P, kf40=\E[z, kf41=\E[@, kf42=\E[[, 
1578         kf43=\E[\\, kf44=\E[], kf45=\E[\^, kf46=\E[_, kf47=\E[`, 
1579         kf48=\E[{, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, 
1580         khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, 
1581         op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, 
1582         rs2=\E[x\E[m\Ec, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
1583         sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
1584 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode), 
1585         acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371, 
1586         use=cons25w, 
1587 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
1588         colors@, pairs@, 
1589         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, 
1590         use=cons25, 
1591 cons30|ansi80x30|freebsd console (30-line ansi mode), 
1592         lines#30, use=cons25, 
1593 cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode), 
1594         lines#30, use=cons25-m, 
1595 cons43|ansi80x43|freebsd console (43-line ansi mode), 
1596         lines#43, use=cons25, 
1597 cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode), 
1598         lines#43, use=cons25-m, 
1599 cons50|ansil|ansi80x50|freebsd console (50-line ansi mode), 
1600         lines#50, use=cons25, 
1601 cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode), 
1602         lines#50, use=cons25-m, 
1603 cons60|ansi80x60|freebsd console (60-line ansi mode), 
1604         lines#60, use=cons25, 
1605 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
1606         lines#60, use=cons25-m, 
1607 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
1608         acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225, 
1609         use=cons25w, 
1610 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
1611         colors@, pairs@, 
1612         op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r, 
1613 cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines), 
1614         lines#50, use=cons25r, 
1615 cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono), 
1616         lines#50, use=cons25r-m, 
1617 cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines), 
1618         lines#60, use=cons25r, 
1619 cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono), 
1620         lines#60, use=cons25r-m, 
1621 # ISO 8859-1 FreeBSD console
1622 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
1623         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, 
1624         use=cons25w, 
1625 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
1626         colors@, pairs@, 
1627         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, 
1628         use=cons25l1, 
1629 cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines), 
1630         lines#50, use=cons25l1, 
1631 cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono), 
1632         lines#50, use=cons25l1-m, 
1633 cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines), 
1634         lines#60, use=cons25l1, 
1635 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono), 
1636         lines#60, use=cons25l1-m, 
1637
1638 #### 386BSD and BSD/OS Consoles
1639 #
1640
1641 # This was the original 386BSD console entry (I think).  
1642 # Some places it's named oldpc3|oldibmpc3.
1643 # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1644 origpc3|origibmpc3|IBM PC 386BSD Console, 
1645         OTbs, am, bw, eo, xon, 
1646         cols#80, lines#25, 
1647         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
1648         bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1649         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
1650         home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1651         kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x, 
1652         rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x, 
1653         smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x, 
1654
1655 # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1656 oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
1657         OTbs, km, 
1658         lines#25, 
1659         bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M, 
1660         ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1661         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, 
1662         knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
1663
1664 # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
1665 # Note, the emulator supports many of the additional console features
1666 # listed in the iBCS2 (e.g. character-set selection) though not all
1667 # are described here.  This entry really ought to be upgraded.
1668 # Also note, the console will also work with fewer lines after doing
1669 # "stty rows NN", e.g. to use 24 lines.
1670 # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
1671 # Bug: The <op> capability resets attributes.
1672 bsdos-pc|IBM PC BSD/OS Console, 
1673         sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
1674         use=bsdos-pc-nobold, 
1675
1676 bsdos-pc-nobold|BSD/OS PC console w/o bold, 
1677         use=klone+color, use=bsdos-pc-m, 
1678
1679 bsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono, 
1680         OTbs, am, eo, km, xon, 
1681         cols#80, it#8, lines#25, 
1682         bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H, 
1683         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1684         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1685         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
1686         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
1687         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, 
1688         kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7, 
1689         sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;, 
1690         use=klone+sgr, 
1691
1692 # Old names for BSD/OS PC console used in releases before 4.1. 
1693 pc3|BSD/OS on the PC Console, 
1694         use=bsdos-pc-nobold, 
1695 ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline, 
1696         use=bsdos-pc, 
1697  
1698 # BSD/OS on the SPARC 
1699 bsdos-sparc|Sun SPARC BSD/OS Console, 
1700         use=sun, 
1701          
1702 # BSD/OS on the PowerPC 
1703 bsdos-ppc|PowerPC BSD/OS Console, 
1704         use=bsdos-pc, 
1705
1706 #### DEC VT52
1707 # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
1708 vt52|dec vt52, 
1709         OTbs, 
1710         cols#80, it#8, lines#24, 
1711         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1712         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
1713         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
1714         el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
1715         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
1716
1717 #### DEC VT100 and compatibles
1718 #
1719 # DEC terminals from the vt100 forward are collected here. Older DEC terminals
1720 # and micro consoles can be found in the `obsolete' section.  More details on
1721 # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
1722 # found near the end of this file.
1723 #
1724 # Except where noted, these entries are DEC's official terminfos.
1725 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1726 # Engineering for more information.  Updated terminfos and termcaps 
1727 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1728 #
1729 # In October 1995 DEC sold its terminals business, including the VT and Dorio
1730 # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
1731 # its name to Boundless Technologies; see http://www.boundless.com.
1732 #
1733
1734 # NOTE:  Any VT100 emulation, whether in hardware or software, almost
1735 # certainly includes what DEC called the `Level 1 editing extension' codes;
1736 # only the very oldest VT100s lacked these and there probably aren't any of
1737 # those left alive.  To capture these, use one of the VT102 entries.
1738 #
1739 # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
1740 # since the cursor is left in a different position while in the
1741 # weird state (concept at beginning of next line, vt100 at end
1742 # of this line) so all versions of vi before 3.7 don't handle
1743 # <xenl> right on vt100. The correct way to handle <xenl> is when
1744 # you output the char in column 80, immediately output CR LF
1745 # and then assume you are in column 1 of the next line. If <xenl>
1746 # is on, am should be on too.
1747
1748 # I assume you have smooth scroll off or are at a slow enough baud
1749 # rate that it doesn't matter (1200? or less). Also this assumes
1750 # that you set auto-nl to "on", if you set it off use vt100-nam 
1751 # below.
1752
1753 # The padding requirements listed here are guesses. It is strongly
1754 # recommended that xon/xoff be enabled, as this is assumed here.
1755
1756 # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
1757 # tab settings are in non-volatile memory and don't need to be 
1758 # reset upon login. Also setting the number of columns glitches 
1759 # the screen annoyingly. You can type "reset" to get them set.
1760 #
1761 # The VT100 series terminals have cursor ("arrows") keys which can operate
1762 # in two different modes: Cursor Mode and Application Mode.  Cursor Mode
1763 # is the reset state, and is assumed to be the normal state.  Application
1764 # Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
1765 # "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
1766 # Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
1767 # was provided primarily as an aid to the porting of VT52 applications.  It is
1768 # assumed that the cursor keys are normally in Cursor Mode, and expected that
1769 # applications such as vi will always transmit the <smkx> string.  Therefore,
1770 # the definitions for the cursor keys are made to match what the terminal
1771 # transmits after the <smkx> string is transmitted.  If the <smkx> string
1772 # is a null string or is not defined, then cursor keys are assumed to be in
1773 # "Cursor Mode", and the cursor keys definitions should match that assumption,
1774 # else the application may fail.  It is also expected that applications will
1775 # always transmit the <rmkx> string to the terminal before they exit.
1776 #
1777 # The VT100 series terminals have an auxiliary keypad, commonly referred to as
1778 # the "Numeric Keypad", because it is a cluster of numeric and function keys.
1779 # The Numeric Keypad which can operate in two different modes: Numeric Mode and
1780 # Application Mode.  Numeric Mode is the reset state, and is assumed to be
1781 # the normal state.  Application Mode is the "set" state.  In Numeric Mode,
1782 # the numeric and punctuation keys transmit ASCII 7-bit characters, and the 
1783 # Enter key transmits the same as the Return key (Note: the Return key
1784 # can be configured to send either LF (\015) or CR LF).  In Application Mode,
1785 # all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
1786 # always send the same "Esc O {code}" sequences.  It is assumed that the keypad
1787 # is normally in Numeric Mode.  If an application requires that the keypad be
1788 # in Application Mode then it is expected that the user, or the application,
1789 # will set the TERM environment variable to point to a terminfo entry which has
1790 # defined the <smkx> string to include the codes that switch the keypad into
1791 # Application Mode, and the terminfo entry will also define function key
1792 # fields to match the Application Mode control codes.  If the <smkx> string
1793 # is a null string or is not defined, then the keypad is assumed to be in
1794 # Numeric Mode.  If the <smkx> string switches the keypad into Application
1795 # Mode, it is expected that the <rmkx> string will contain the control codes
1796 # necessary to reset the keypad to "Normal" mode, and it is also expected that
1797 # applications which transmit the <smkx> string will also always transmit the
1798 # <rmkx> string to the terminal before they exit.
1799 #
1800 # Here's a diagram of the VT100 keypad keys with their bindings.
1801 # The top line is the name of the key (some DEC keyboards have the keys
1802 # labelled somewhat differently, like GOLD instead of PF1, but this is
1803 # the most "official" name).  The second line is the escape sequence it
1804 # generates in Application Keypad mode (where "$" means the ESC
1805 # character).  The third line contains two items, first the mapping of
1806 # the key in terminfo, and then in termcap.
1807 #   _______________________________________
1808 #  |   PF1   |   PF2   |   PF3   |   PF4   |
1809 #  |   $OP   |   $OQ   |   $OR   |   $OS   |
1810 #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1811 #  |    7         8         9         -    |
1812 #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1813 #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1814 #  |    4    |    5    |    6    |    ,    |
1815 #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1816 #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1817 #  |    1    |    2    |    3    |         |
1818 #  |   $Oq   |   $Or   |   $Os   |  enter  |
1819 #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1820 #  |         0         |   .     |         |
1821 #  |        $Op        |  $On    |         |
1822 #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1823 #
1824 # Note however, that the arrangement of the 5-key ka1-kc3 do not follow the
1825 # terminfo guidelines.  That is a compromise used to assign the remaining
1826 # keys on the keypad to kf5-kf0, used on older systems with legacy termcap
1827 # support:
1828 vt100+keypad|dec vt100 numeric keypad no fkeys, 
1829         ka1=\EOq, ka3=\EOs, kb2=\EOr, kc1=\EOp, kc3=\EOn, 
1830 vt100+pfkeys|dec vt100 numeric keypad, 
1831         kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
1832         use=vt100+keypad, 
1833 vt100+fnkeys|dec vt100 numeric keypad, 
1834         kf0=\EOy, kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, 
1835         kf9=\EOw, use=vt100+pfkeys, 
1836 #
1837 # A better adaptation to modern keyboards such as the PC's, which have a dozen
1838 # function keys and the keypad 2,4,6,8 keys are labeled with arrows keys, is to
1839 # use the 5-key arrangement to model the arrow keys as suggested in the
1840 # terminfo guidelines:
1841 #   _______________________________________
1842 #  |   PF1   |   PF2   |   PF3   |   PF4   |
1843 #  |   $OP   |   $OQ   |   $OR   |   $OS   |
1844 #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1845 #  |    7         8         9         -    |
1846 #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1847 #  |_ka1__K1_|_________|_ka3__K3_|_________|
1848 #  |    4    |    5    |    6    |    ,    |
1849 #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1850 #  |_________|_kb2__K2_|_________|_________|
1851 #  |    1    |    2    |    3    |         |
1852 #  |   $Oq   |   $Or   |   $Os   |  enter  |
1853 #  |_kc1__K4_|_________|_kc3__K5_|  $OM    |
1854 #  |         0         |   .     |         |
1855 #  |        $Op        |  $On    |         |
1856 #  |___________________|_________|_kent_@8_|
1857 #
1858 vt220+keypad|dec vt220 numeric keypad, 
1859         ka1=\EOw, ka3=\EOy, kb2=\EOu, kc1=\EOq, kc3=\EOs, kent=\EOM, 
1860         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
1861 #
1862 # And here, for those of you with orphaned VT100s lacking documentation, is
1863 # a description of the soft switches invoked when you do `Set Up'.
1864
1865 #  Scroll 0-Jump               Shifted 3   0-#
1866 #  |      1-Smooth             |           1-British pound sign
1867 #  | Autorepeat 0-Off          | Wrap Around 0-Off
1868 #  | |          1-On           | |           1-On
1869 #  | | Screen 0-Dark Bkg       | | New Line 0-Off
1870 #  | | |      1-Light Bkg      | | |        1-On
1871 #  | | | Cursor 0-Underline    | | | Interlace 0-Off
1872 #  | | | |      1-Block        | | | |         1-On
1873 #  | | | |                     | | | |
1874 #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1875 #                | | | |                     | | | |
1876 #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1877 #                | | |               1-On    | | |       1-50 Hz
1878 #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
1879 #                | |           1-ANSI        | |                1-8 Bits
1880 #                | Keyclick 0-Off            | Parity 0-Off
1881 #                |          1-On             |        1-On
1882 #                Margin Bell 0-Off           Parity Sense 0-Odd
1883 #                            1-On                         1-Even
1884 #
1885 # The following SET-UP modes are assumed for normal operation:
1886 #       ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
1887 #       WRAP_AROUND_ON  JUMP_SCROLL_OFF
1888 # Other SET-UP modes may be set for operator convenience or communication
1889 # requirements; I recommend
1890 #       AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
1891 # Unless you have a graphics add-on such as Digital Engineering's VT640
1892 # (and even then, whenever it can be arranged!) you should set
1893 #       INTERLACE_OFF
1894 #
1895 # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
1896 vt100|vt100-am|dec vt100 (w/advanced video), 
1897         OTbs, am, msgr, xenl, xon, 
1898         cols#80, it#8, lines#24, vt#3, 
1899         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1900         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1901         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1902         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1903         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1904         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1905         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1906         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, 
1907         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8, 
1908         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
1909         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
1910         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1911         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>, 
1912         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1913         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
1914         use=vt100+fnkeys, 
1915 vt100nam|vt100-nam|vt100 no automargins, 
1916         am@, xenl@, use=vt100-am, 
1917 vt100-vb|dec vt100 (w/advanced video) & no beep, 
1918         bel@, flash=\E[?5h\E[?5l, use=vt100, 
1919
1920 # Ordinary vt100 in 132 column ("wide") mode.
1921 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
1922         cols#132, lines#24, 
1923         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, 
1924 vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
1925         cols#132, lines#14, vt@, 
1926         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, 
1927
1928 # vt100 with no advanced video.
1929 vt100-nav|vt100 without advanced video option, 
1930         xmc#1, 
1931         blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, 
1932         smul@, use=vt100, 
1933 vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
1934         cols#132, lines#14, use=vt100-nav, 
1935
1936 # vt100 with one of the 24 lines used as a status line.
1937 # We put the status line on the top.
1938 vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
1939         eslok, hs, 
1940         lines#23, 
1941         clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
1942         cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8, 
1943         fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8, 
1944         tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am, 
1945
1946 # Status line at bottom. 
1947 # Clearing the screen will clobber status line.
1948 vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
1949         eslok, hs, 
1950         lines#23, 
1951         dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
1952         tsl=\E7\E[24;%p1%dH\E[1K, use=vt100-am, 
1953
1954 # Most of the `vt100' emulators out there actually emulate a vt102
1955 # This entry (or vt102-nsgr) is probably the right thing to use for
1956 # these.  
1957 vt102|dec vt102, 
1958         mir, 
1959         dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, 
1960         use=vt100, 
1961 vt102-w|dec vt102 in wide mode, 
1962         cols#132, 
1963         rs3=\E[?3h, use=vt102, 
1964
1965 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1966 # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
1967 # string in the canonical vt100 entry above leaves the screen littered
1968 # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
1969 # after highlight turnoffs.  This entry should fix that, and even leave
1970 # ACS support working, at the cost of making multiple-highlight changes 
1971 # slightly more expensive.
1972 # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1973 vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
1974         sgr@, sgr0=\E[m, use=vt102, 
1975
1976 # VT125 Graphics CRT.  Clear screen also erases graphics
1977 vt125|vt125 graphics terminal, 
1978         clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100, 
1979
1980 # This isn't a DEC entry, it came from University of Wisconsin.
1981 # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
1982 vt131|dec vt131, 
1983         OTbs, am, xenl, 
1984         cols#80, it#8, lines#24, vt#3, 
1985         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
1986         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1987         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
1988         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
1989         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
1990         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
1991         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
1992         kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, 
1993         rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>, 
1994         rmul=\E[m$<2/>, 
1995         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1996         sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=, 
1997         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
1998
1999 # vt132 - like vt100 but slower and has ins/del line and such.
2000 # I'm told that <smir>/<rmir> are backwards in the terminal from the
2001 # manual and from the ANSI standard, this describes the actual 
2002 # terminal. I've never actually used a vt132 myself, so this 
2003 # is untested.
2004 #
2005 vt132|DEC vt132, 
2006         xenl, 
2007         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
2008         ip=$<7>, rmir=\E[4h, smir=\E[4l, use=vt100, 
2009
2010 # This vt220 description maps F5--F9 to the second block of function keys
2011 # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
2012 # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
2013 # PF1--PF4 are used as F1--F4.
2014 #
2015 vt220-old|vt200-old|DEC VT220 in vt100 emulation mode, 
2016         OTbs, OTpt, am, mir, xenl, xon, 
2017         cols#80, lines#24, vt#3, 
2018         OTnl=^J, 
2019         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2020         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
2021         clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
2022         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
2023         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2024         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2025         if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, 
2026         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
2027         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
2028         kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
2029         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
2030         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8, 
2031         rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
2032         ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
2033         rmso=\E[27m, rmul=\E[24m, 
2034         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
2035         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
2036         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2037         smso=\E[7m, smul=\E[4m, 
2038
2039 # A much better description of the VT200/220; used to be vt220-8
2040 # changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
2041 # designation to accommodate bug in pcvt -TD
2042 vt220|vt200|dec vt220, 
2043         OTbs, am, mc5i, mir, msgr, xenl, xon, 
2044         cols#80, it#8, lines#24, vt#3, 
2045         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2046         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
2047         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2048         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2049         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2050         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2051         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
2052         flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
2053         ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
2054         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
2055         is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
2056         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
2057         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2058         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
2059         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
2060         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
2061         khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
2062         kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, 
2063         mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
2064         rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
2065         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=\E(0$<2>, 
2066         smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2067 vt220-w|vt200-w|DEC vt220 in wide mode, 
2068         cols#132, 
2069         rs3=\E[?3h, use=vt220, 
2070 vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode, 
2071         OTbs, am, mc5i, mir, msgr, xenl, xon, 
2072         cols#80, it#8, lines#24, vt#3, 
2073         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2074         bel=^G, blink=\2335m, bold=\2331m, clear=\233H\233J, cr=^M, 
2075         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
2076         cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
2077         cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
2078         dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M, 
2079         ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, enacs=\E)0, 
2080         flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH, 
2081         ich=\233%p1%d@, if=/usr/share/tabset/vt100, 
2082         il=\233%p1%dL, il1=\233L, ind=\ED, 
2083         is2=\233?7h\233>\233?1h\E F\233?4l, kbs=^H, 
2084         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
2085         kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~, 
2086         kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~, 
2087         kf19=\23333~, kf2=\EOQ, kf20=\23334~, kf3=\EOR, kf4=\EOS, 
2088         kf6=\23317~, kf7=\23318~, kf8=\23319~, kf9=\23320~, 
2089         kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~, 
2090         knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1, 
2091         lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, 
2092         nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, 
2093         rmir=\2334l, rmso=\23327m, rmul=\23324m, rs1=\233?3l, 
2094         sc=\E7, sgr0=\233m, smacs=^N, smam=\233?7h, smir=\2334h, 
2095         smso=\2337m, smul=\2334m, tbc=\2333g, 
2096
2097 #
2098 # vt220d:
2099 # This vt220 description regards F6--F10 as the second block of function keys
2100 # at the top of the keyboard.  This mapping follows the description given
2101 # in the VT220 Programmer Reference Manual and agrees with the labeling
2102 # on some terminals that emulate the vt220.  There is no support for an F5.
2103 # See vt220 for an alternate mapping. 
2104 #
2105 vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
2106         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
2107         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
2108         kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~, 
2109         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220-old, 
2110
2111 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
2112         am@, 
2113         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
2114
2115 # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
2116 # (not an official DEC entry!)
2117 # The problem with real vt220 terminals is they don't send escapes when in
2118 # in vt220 mode.  This can be gotten around two ways.  1> don't send
2119 # escapes or 2> put the vt220 into vt100 mode and use all the nifty
2120 # features of vt100 advanced video which it then has.
2121 #
2122 # This entry takes the view of putting a vt220 into vt100 mode so
2123 # you can use the escape key in emacs and everything else which needs it.
2124 #
2125 # You probably don't want to use this on a VMS machine since VMS will think
2126 # it has a vt220 and will get fouled up coming out of emacs
2127 #
2128 # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
2129 # (Added vt100 <rc>,<sc> to quiet a tic warning -- esr)
2130 vt200-js|vt220-js|dec vt200 series with jump scroll, 
2131         am, 
2132         cols#80, 
2133         bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2134         cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
2135         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
2136         il1=\E[L, ind=\ED, 
2137         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, 
2138         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2139         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8, 
2140         rf=/usr/share/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l, 
2141         rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m, 
2142         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=, 
2143         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m, 
2144  
2145 # This was DEC's vt320.  Use the purpose-built one below instead 
2146 #vt320|DEC VT320 in vt100 emulation mode,
2147 #       use=vt220,
2148
2149 #
2150 # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
2151 #
2152 vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
2153         am@, 
2154         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
2155
2156 # These entries are not DEC's official ones, they were purpose-built for the 
2157 # VT320.  Here are the designer's notes:
2158 # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
2159 # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
2160 # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
2161 # Things that use <knxt> usually use tab anyways... and things that don't use
2162 # tab usually use <knxt> instead...
2163 # kprv is same as tab - Backtab is useless...
2164 # I left out <sgr> because of its RIDICULOUS complexity,
2165 # and the resulting fact that it causes the termcap translation of the entry
2166 # to SMASH the 1k-barrier...
2167 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2168 # (vt320: uncommented <fsl> --esr) 
2169 vt320|vt300|dec vt320 7 bit terminal, 
2170         am, eslok, hs, mir, msgr, xenl, 
2171         cols#80, lines#24, wsl#80, 
2172         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2173         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2174         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2175         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2176         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2177         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2178         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2179         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, 
2180         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
2181         il1=\E[L, ind=\ED, 
2182         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2183         kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2184         kdch1=\E[3~, kel=\E[4~, kf10=\E[21~, kf11=\E[23~, 
2185         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2186         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2187         kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2188         kf9=\E[20~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, 
2189         kpp=\E[5~, kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, 
2190         mc5=\E[?5i, nel=\EE, rc=\E8, rev=\E[7m, 
2191         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B, 
2192         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
2193         rmul=\E[m, 
2194         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2195         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
2196         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2197         tsl=\E[1$}\E[H\E[K, use=vt220+keypad, 
2198 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
2199         am@, 
2200         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
2201         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
2202         use=vt320, 
2203 # We have to init 132-col mode, not 80-col mode.
2204 vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
2205         cols#132, wsl#132, 
2206         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2207         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2208         use=vt320, 
2209 vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
2210         am@, 
2211         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
2212         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
2213         use=vt320-w, 
2214
2215 # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
2216 #   which are pretty much a superset of the VT320.  They have the
2217 #   host writable status line, yet another different DRCS matrix size,
2218 #   and such, but they add the DEC Technical character set, Multiple text
2219 #   pages, selectable length pages, and the like.  The difference between
2220 #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
2221 #   monitor, the former has 4 planes and a color monitor.  These terminals
2222 #   support VT131 and ANSI block mode, but as with much of these things,
2223 #   termcap/terminfo doesn't deal with these features.
2224 #
2225 # Note that this entry is are set up in what was the standard way for GNU
2226 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
2227 # keys were switched into application mode at the same time the numeric pad
2228 # is switched into application mode.  This changes the definitions of the
2229 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
2230 # your termcap or terminfo entry,
2231 #
2232 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
2233 # (vt340: string capability "sb=\E[M" corrected to "sr";
2234 # also, added <rmam>/<smam> based on the init string -- esr)
2235 vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
2236         am, eslok, hs, mir, msgr, xenl, xon, 
2237         cols#80, it#8, lines#24, vt#3, 
2238         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2239         blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
2240         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2241         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
2242         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2243         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
2244         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2245         dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
2246         flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I, 
2247         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
2248         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2249         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2250         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
2251         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
2252         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
2253         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
2254         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
2255         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
2256         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
2257         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
2258
2259 # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
2260 # (originally written with vt420 as its primary name, and usable for it).
2261
2262 # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
2263 #    text pages and long text pages with selectable length of the vt340, along
2264 #    with left and right margins, rectangular area text copy, fill, and erase
2265 #    operations, selected region character attribute change operations,
2266 #    page memory and rectangle checksums, insert/delete column, reception
2267 #    macros, and other features too numerous to remember right now.  TERMCAP
2268 #    can only take advantage of a few of these added features.
2269 #
2270 # Note that this entry is are set up in what was the standard way for GNU
2271 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
2272 # keys were switched into application mode at the same time the numeric pad
2273 # is switched into application mode.  This changes the definitions of the
2274 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
2275 # your termcap entry,
2276 #
2277 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
2278 # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
2279 # also, added <rmam>/<smam> based on the init string -- esr)
2280 vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
2281         am, eslok, hs, mir, msgr, xenl, xon, 
2282         cols#80, it#8, lines#24, vt#3, 
2283         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2284         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2285         clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
2286         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2287         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2288         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2289         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2290         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
2291         el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
2292         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2293         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
2294         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
2295         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2296         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
2297         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
2298         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
2299         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
2300         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
2301         rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
2302         smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
2303         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2304         tsl=\E[2$~\E[1$}\E[1;%dH, 
2305
2306 # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
2307 # a missing <sc> -- esr)
2308 vt420|DEC VT420, 
2309         am, mir, xenl, xon, 
2310         cols#80, lines#24, vt#3, 
2311         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2312         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
2313         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2314         cub1=^H, cud1=\E[B, cuf1=\E[C, 
2315         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2316         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2317         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
2318         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
2319         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2320         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
2321         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
2322         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
2323         kslt=\E[4~, rc=\E8, rev=\E[7m$<2>, 
2324         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>, 
2325         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
2326         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2327         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
2328         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
2329         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2330         smkx=\E=, smso=\E[7m, smul=\E[4m, 
2331
2332 #
2333 # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
2334 # takes two parameters, the key and the string.  Translating the key is
2335 # straightforward (keys 1-5 are not defined on real terminals, though some
2336 # emulators define these):
2337 #
2338 #               if (key < 16) then  value = key;
2339 #               else if (key < 21) then value = key + 1; 
2340 #               else if (key < 25) then value = key + 2;
2341 #               else if (key < 27) then value = key + 3;
2342 #               else if (key < 30) then value = key + 4;
2343 #               else value = key + 5;
2344 #
2345 # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
2346 # There's no provision in terminfo for emitting a string in this format, so the
2347 # application has to know it.
2348 #
2349 vt420pc|DEC VT420 w/PC keyboard, 
2350         kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
2351         kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
2352         kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~, 
2353         kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, 
2354         kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, 
2355         kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, 
2356         kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, 
2357         kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, 
2358         kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
2359         kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~, 
2360         kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~, 
2361         kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, 
2362         kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2363         kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
2364         pctrm=USR_TERM\:vt420pcdos\:, 
2365         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\\, 
2366         use=vt420, 
2367
2368 vt420pcdos|DEC VT420 w/PC for DOS Merge, 
2369         lines#25, 
2370         dispc=%?%p1%{19}%=%t\E\023\021%e%p1%{32}%<%t\E%p1%c%e%p1%{127}%=%t\E\177%e%p1%c%;, 
2371         pctrm@, 
2372         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@, 
2373         sgr0=\E[m, smsc=\E[?1;2r\E[34h, use=vt420pc, 
2374
2375 vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
2376         kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
2377         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2378         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2379         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
2380         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2381         khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS, 
2382         use=vt420, 
2383
2384 vt510|DEC VT510, 
2385         use=vt420, 
2386 vt510pc|DEC VT510 w/PC keyboard, 
2387         use=vt420pc, 
2388 vt510pcdos|DEC VT510 w/PC for DOS Merge, 
2389         use=vt420pcdos, 
2390
2391 # VT520/VT525
2392 #
2393 # The VT520 is a monochrome text terminal capable of managing up to
2394 # four independent sessions in the terminal.  It has multiple ANSI
2395 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
2396 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
2397 # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
2398 #
2399 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
2400 # [Alt]/[Print Screen] depending upon which keyboard and which
2401 # terminal mode is being used.  If Set-Up has been disabled or
2402 # assigned to an unknown key, Set-Up may be entered by pressing
2403 # [F3] as the first key after power up, regardless of keyboard type.
2404 # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
2405 vt520|DEC VT520, 
2406         am, mir, xenl, xon, 
2407         cols#80, lines#24, vt#3, 
2408         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2409         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
2410         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2411         cub1=^H, cud1=\E[B, cuf1=\E[C, 
2412         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2413         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2414         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
2415         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
2416         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2417         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
2418         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
2419         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
2420         kslt=\E[4~, 
2421         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\\, 
2422         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
2423         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
2424         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2425         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
2426         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
2427         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2428         smso=\E[7m, smul=\E[4m, 
2429
2430 # (vt525: I added <rmam>/<smam> based on the init string;
2431 # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
2432 vt525|DEC VT525, 
2433         am, mir, xenl, xon, 
2434         cols#80, lines#24, vt#3, 
2435         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2436         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
2437         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
2438         cub1=^H, cud1=\E[B, cuf1=\E[C, 
2439         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
2440         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
2441         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
2442         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
2443         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2444         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
2445         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
2446         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
2447         kslt=\E[4~, 
2448         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\\, 
2449         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
2450         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
2451         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
2452         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
2453         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
2454         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
2455         smso=\E[7m, smul=\E[4m, 
2456
2457 #### VT100 emulations
2458 #
2459
2460 # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
2461 # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
2462 # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
2463 # that this works best with a stock vt100 entry.
2464 dec-vt100|EWAN telnet's vt100 emulation, 
2465         use=vt100, 
2466
2467 # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
2468 dec-vt220|DOS tnvt200 terminal emulator, 
2469         am@, use=vt220, 
2470
2471 # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
2472 # anyone who needs PC VT340 emulation. (or anything below that level, for
2473 # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
2474 # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
2475 # I can send the address if requested.
2476 # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
2477 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2478 z340|zstem vt340 terminal emulator 132col 42line, 
2479         lines#42, 
2480         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
2481         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
2482         use=vt320-w, 
2483 z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins), 
2484         am@, 
2485         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
2486         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
2487         use=z340, 
2488
2489 # CRT is shareware.  It implements some xterm features, including mouse.
2490 crt|crt-vt220|CRT 2.3 emulating VT220, 
2491         bce, msgr, 
2492         ncv@, 
2493         hts=\EH, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2494         use=vt220, use=ecma+color, 
2495
2496 # PuTTY 0.51 (released 14 December 2000)
2497 # http://www.chiark.greenend.org.uk/~sgtatham/putty/
2498 #
2499 # This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
2500 # well as SCO and Atari, color palettes from Linux console).  Reading the code,
2501 # it is intended to be VT102 plus selected features By default, it sets $TERM
2502 # to xterm, which is incorrect, since several features are misimplemented:
2503 #
2504 #       Alt+key always sends ESC+key, so 'km' capability is removed.
2505 #
2506 #       Control responses, wrapping and tabs are buggy, failing a couple of
2507 #       screens in vttest.
2508 #
2509 #       xterm mouse support is not implemented (unrelease version may).
2510 #
2511 # Several features such as backspace/delete are optional; this entry documents
2512 # the default behavior -TD
2513 putty|xterm clone (win32), 
2514         am, bw, ccc, km, mir, msgr, xenl, 
2515         colors#8, cols#80, it#8, lines#24, pairs#64, 
2516         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2517         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2518         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2519         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2520         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2521         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2522         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2523         ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E)0, home=\E[H, 
2524         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, 
2525         ind=^J, 
2526         initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'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%;, 
2527         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
2528         kbs=\177, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
2529         kcuu1=\EOA, kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, 
2530         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2531         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2532         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2533         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2534         kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, 
2535         kpp=\E[5~, kslt=\E[4~, oc=\E]R, op=\E[39;49m, rc=\E8, 
2536         rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
2537         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
2538         rmso=\E[27m, rmul=\E[24m, 
2539         rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7, 
2540         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2541         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2542         sgr0=\E[m, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
2543         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2544         tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2545         vpa=\E[%i%p1%dd, 
2546
2547 # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
2548 # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
2549 # (communication program) which supports:
2550 #
2551 #       - Serial port connections.
2552 #       - TCP/IP (telnet) connections.
2553 #       - VT100 emulation, and selected VT200/300 emulation.
2554 #       - TEK4010 emulation.
2555 #       - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
2556 #         Quick-VAN).
2557 #       - Scripts using the "Tera Term Language".
2558 #       - Japanese and Russian character sets.
2559 #
2560 # The program does not come with terminfo or termcap entries.  However, the
2561 # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
2562 # vt52 or doublesize character support; blinking is done with color).  Besides
2563 # the HPA, VPA extensions it also implements CPL and CNL.
2564 #
2565 # All of the function keys can be remapped.  This description shows the default
2566 # mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
2567 # are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
2568 # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
2569 #       kfnd    Insert
2570 #       kslt    Delete
2571 #       kich1   Home
2572 #       kdch1   PageUp
2573 #       kpp     End
2574 #       knp     PageDown
2575 #
2576 # ANSI colors are implemented, but cannot be combined with video attributes
2577 # except for reverse.
2578 #
2579 # No fonts are supplied with the program, so the acsc string is chosen to
2580 # correspond with the default Microsoft terminal font.
2581 #
2582 # Tera Term recognizes some xterm sequences, including those for setting and
2583 # retrieving the window title, and for setting the window size (i.e., using
2584 # "resize -s"), though it does not pass SIGWINCH to the application if the
2585 # user resizes the window with the mouse.
2586 teraterm|Tera Term Pro, 
2587         km, xon@, 
2588         ncv#43, vt@, 
2589         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, 
2590         blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
2591         cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2592         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2593         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2594         flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG, 
2595         il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~, 
2596         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
2597         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
2598         kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, 
2599         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2600         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
2601         kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM, 
2602         rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m, 
2603         smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2604         vpa=\E[%i%p1%dd, use=klone+color, use=vt100, 
2605
2606 # Tested with WinNT 4.0, the telnet application assumes the screensize is
2607 # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
2608 #
2609 # Other notes:
2610 # a) Fails tack's cup (cursor-addressing) test, though cup works well enough
2611 #    for casual (occasional) use.  Also fails several of the vttest screens,
2612 #    but that is not unusual for vt100 "emulators".
2613 # b) Does not implement vt100 keypad
2614 # c) Recognizes a subset of vt52 controls.
2615 ms-vt100|MS telnet imitating dec vt100, 
2616         lines#25, 
2617         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, 
2618         ka1@, ka3@, kb2@, kc1@, kc3@, kent@, kf0@, kf1@, kf10@, kf2@, kf3@, kf4@, 
2619         kf5@, kf6@, kf7@, kf8@, kf9@, tbc@, u6=\E[%i%d;%dR, u7=\E[6n, 
2620         u8=\E[?6c, u9=\E[c, use=vt100, 
2621
2622 # Tested with Windows 2000, the telnet application runs in a console window,
2623 # also using 'Terminal' font.
2624 #
2625 # Other notes:
2626 # a) This version has no function keys or numeric keypad.  Unlike the older
2627 #    version, the numeric keypad is entirely ignored.
2628 # b) The program sets $TERM to "ansi", which of course is inaccurate.
2629 ms-vt100-color|vtnt|windows 2000 ansi (sic), 
2630         bce, 
2631         dch=\E[%p1%dP, ich=\E[%p1%d@, use=ecma+color, 
2632         use=ms-vt100, 
2633
2634 # Based on comments from Federico Bianchi:
2635 #
2636 #       vt100+ is basically a VT102-noSGR with ANSI.SYS colors and a different
2637 #       scheme for PF keys.
2638 #
2639 # and PuTTY wishlist:
2640 #
2641 #       The modifiers are represented as the codes listed above, prefixed to
2642 #       the normal sequences.  If the modifier is pressed alone, its sequence
2643 #       is transmitted twice in succession.  If multiple modifiers apply,
2644 #       they're transmitted in the order shift, control, alt.
2645 #
2646 #       Shift   \E^S
2647 #       Alt     \E^A,
2648 #       Ctrl    \E^C,
2649 ms-vt100+|vt100+|windows XP vt100+ (sic), 
2650         kdch1=\E-, kend=\Ek, kf1=\E1, kf10=\E0, kf11=\E!, kf12=\E@, 
2651         kf13=\E\023\E1, kf14=\E\023\E2, kf15=\E\023\E3, 
2652         kf16=\E\023\E4, kf17=\E\023\E5, kf18=\E\023\E6, 
2653         kf19=\E\023\E7, kf2=\E2, kf20=\E\023\E8, kf21=\E\023\E9, 
2654         kf22=\E\023\E0, kf23=\E\023\E!, kf24=\E\023\E@, 
2655         kf25=\E\003\E1, kf26=\E\003\E2, kf27=\E\003\E3, 
2656         kf28=\E\003\E4, kf29=\E\003\E5, kf3=\E3, kf30=\E\003\E6, 
2657         kf31=\E\003\E7, kf32=\E\003\E8, kf33=\E\003\E9, 
2658         kf34=\E\003\E0, kf35=\E\003\E!, kf36=\E\003\E@, 
2659         kf37=\E\001\E1, kf38=\E\001\E2, kf39=\E\001\E3, kf4=\E4, 
2660         kf40=\E\001\E4, kf41=\E\001\E5, kf42=\E\001\E6, 
2661         kf43=\E\001\E7, kf44=\E\001\E8, kf45=\E\001\E9, 
2662         kf46=\E\001\E0, kf47=\E\001\E!, kf48=\E\001\E@, kf5=\E5, 
2663         kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, khome=\Eh, kich1=\E+, 
2664         knp=\E/, kpp=\E?, use=ms-vt100-color, 
2665
2666 ms-vt-utf8|vt-utf8|UTF-8 flavor of vt100+, 
2667         use=ms-vt100+, 
2668
2669 # a minimal subset of a vt100 (compare with "news-unk).
2670 tt|tkterm|Don Libes' tk text widget terminal emulator, 
2671         clear=\E[H\E[J, cr=^M, cuf1=\E[C, cup=\E[%p1%d;%p2%dH, 
2672         cuu1=\E[A, ind=^J, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
2673         kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, rmso=\E[m, 
2674         smso=\E[7m, 
2675
2676 #### X terminal emulators
2677 #
2678 # You can add the following line to your .Xdefaults to change the terminal type
2679 # set by the xterms you start up to my-xterm:
2680 #
2681 # *termName:  my-xterm
2682 #
2683 # System administrators can change the default entry for xterm instances
2684 # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
2685 # case, xterm will detect and reject an invalid terminal type, falling back
2686 # to the default of xterm.
2687 #
2688
2689 # X10/6.6       11/7/86, minus alternate screen, plus (csr)
2690 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
2691 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
2692 # as these seem not to work -- esr)
2693 x10term|vs100-x10|xterm terminal emulator (X10 window system), 
2694         OTbs, am, km, mir, msgr, xenl, xon, 
2695         cols#80, it#8, lines#65, 
2696         bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
2697         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2698         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2699         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
2700         il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, 
2701         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
2702         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
2703         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
2704         sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
2705         smso=\E[7m, smul=\E[4m, 
2706 # Compatible with the R5 xterm 
2707 # (from the XFree86 3.2 distribution, <blink=@> removed)
2708 # added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
2709 # corrected typos in rs2 string - TD
2710 # added u6-u9 -TD
2711 xterm-r5|xterm R5 version, 
2712         OTbs, am, km, msgr, xenl, 
2713         cols#80, it#8, lines#24, 
2714         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2715         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2716         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2717         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2718         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2719         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2720         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
2721         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
2722         kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~, 
2723         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
2724         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2725         kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
2726         kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, 
2727         rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
2728         rmul=\E[m, 
2729         rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H, 
2730         sc=\E7, 
2731         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
2732         sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
2733         smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, 
2734         u8=\E[?1;2c, u9=\E[c, 
2735 # Compatible with the R6 xterm
2736 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
2737 # added khome/kend, hts based on the R6 xterm code - TD
2738 # (khome/kend do not actually work in X11R5 or X11R6, but many people use this
2739 # for compatibility with other emulators).
2740 xterm-r6|xterm-old|xterm X11R6 version, 
2741         OTbs, am, km, mir, msgr, xenl, 
2742         cols#80, it#8, lines#24, 
2743         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2744         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2745         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2746         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2747         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2748         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2749         el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
2750         il1=\E[L, ind=^J, 
2751         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
2752         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2753         kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
2754         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2755         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2756         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
2757         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2758         kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
2759         kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, 
2760         rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
2761         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
2762         rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7, 
2763         sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
2764         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2765         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2766 # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
2767 # The name has been changed and some aliases have been removed.
2768 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
2769         OTbs, am, bce, km, mir, msgr, xenl, 
2770         cols#80, it#8, lines#24, ncv@, 
2771         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2772         bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2773         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2774         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2775         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2776         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2777         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2778         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
2779         flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
2780         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
2781         il1=\E[L, ind=^J, 
2782         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
2783         kbeg=\EOE, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
2784         kcuu1=\EOA, kdch1=\177, kend=\EOF, kf1=\E[11~, kf10=\E[21~, 
2785         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2786         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2787         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2788         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2789         kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
2790         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
2791         memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
2792         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
2793         rmso=\E[27m, rmul=\E[24m, rs1=^O, 
2794         rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7, 
2795         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2796         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2797         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2798         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
2799         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2800         tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2801         vpa=\E[%i%p1%dd, use=ecma+color, use=vt220+keypad, 
2802
2803 # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
2804 # codes for F1-F4 except while in VT220 mode.
2805 xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
2806         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32, 
2807
2808 # This version was released in XFree86 3.3.3 (November 1998).
2809 # Besides providing printer support, it exploits a new feature that allows
2810 # xterm to use terminfo-based descriptions with the titeInhibit resource.
2811 # -- the distribution contained incorrect khome/kend values -TD
2812 xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System), 
2813         mc5i, 
2814         blink=\E[5m, ich1@, invis=\E[8m, 
2815         is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@, 
2816         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l, 
2817         rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, 
2818         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2819         smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33, 
2820
2821 # This version was released in XFree86 4.0.
2822 xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
2823         npc, 
2824         kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~, 
2825         kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@, 
2826         ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF, 
2827         kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S, 
2828         kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, 
2829         kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~, 
2830         kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q, 
2831         kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~, 
2832         kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~, 
2833         kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P, 
2834         kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~, 
2835         kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~, 
2836         kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~, 
2837         kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l, 
2838         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2839         smcup=\E[?1049h, use=xterm-xf86-v333, 
2840
2841 # This version was released in XFree86 4.3.
2842 xterm-xf86-v43|xterm terminal emulator (XFree86 4.3 Window System), 
2843         npc, 
2844         kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~, 
2845         kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C, 
2846         kb2=\EOE, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
2847         kcuu1=\EOA, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
2848         kf11=\E[23~, kf12=\E[24~, kf13=\EO2P, kf14=\EO2Q, 
2849         kf15=\EO2R, kf16=\EO2S, kf17=\E[15;2~, kf18=\E[17;2~, 
2850         kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, 
2851         kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, 
2852         kf26=\EO5Q, kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, 
2853         kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~, 
2854         kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~, 
2855         kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R, 
2856         kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~, 
2857         kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~, 
2858         kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf5=\E[15~, 
2859         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\EOH, 
2860         kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
2861         use=xterm-basic, 
2862
2863 # This version is current (XFree86 xterm patch #180).
2864 xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.4 Window System), 
2865         cnorm=\E[?12l\E[?25h, cvvis=\E[?12;25h, indn=\E[%p1%dS, 
2866         rin=\E[%p1%dT, use=xterm-xf86-v43, 
2867 #
2868 # This chunk is used for building the VT220/Sun/PC keyboard variants.
2869 xterm-basic|xterm terminal emulator - common (XFree86), 
2870         am, bce, km, mc5i, mir, msgr, xenl, 
2871         colors#8, cols#80, it#8, lines#24, pairs#64, 
2872         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2873         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2874         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2875         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2876         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2877         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2878         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2879         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
2880         flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
2881         ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
2882         ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kbs=^H, 
2883         kdch1=\E[3~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El, 
2884         memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
2885         rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, 
2886         rmso=\E[27m, rmul=\E[24m, rs1=\Ec, 
2887         rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, setab=\E[4%p1%dm, 
2888         setaf=\E[3%p1%dm, 
2889         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2890         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2891         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2892         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?1049h, 
2893         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2894         tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2895         vpa=\E[%i%p1%dd, 
2896
2897 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
2898 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
2899         rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33, 
2900
2901 # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
2902 xterm-16color|xterm with 16 colors like aixterm, 
2903         ncv#32, use=ibm+16color, use=xterm-xfree86, 
2904
2905 # These variants of XFree86 3.9.16 xterm are built as a configure option.
2906 xterm-256color|xterm with 256 colors, 
2907         ccc, 
2908         colors#256, ncv#32, pairs#256, 
2909         initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, 
2910         setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, 
2911         setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm, 
2912         use=xterm-xfree86, 
2913 xterm-88color|xterm with 88 colors, 
2914         colors#88, pairs#88, use=xterm-256color, 
2915
2916 # These two are used to demonstrate the any-event mouse support, i.e., by
2917 # using an extended name "XM" which tells ncurses to put the terminal into
2918 # a special mode when initializing the xterm mouse.
2919 xterm-1002|testing xterm-mouse, 
2920         XM=\E[?1002%?%p1%{1}%=%th%el%;, use=xterm-xfree86, 
2921 xterm-1003|testing xterm-mouse, 
2922         XM=\E[?1003%?%p1%{1}%=%th%el%;, use=xterm-xfree86, 
2923
2924 # This is another variant, for XFree86 4.0 xterm (T.Dickey)
2925 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
2926 # To use it, your decTerminalID resource must be set to 200 or above.
2927 #
2928 #       HTS     \E H    \210
2929 #       RI      \E M    \215
2930 #       SS3     \E O    \217
2931 #       CSI     \E [    \233
2932 #
2933 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
2934         OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, 
2935         colors#8, cols#80, it#8, lines#24, pairs#64, 
2936         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2937         bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z, 
2938         civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
2939         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
2940         cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
2941         cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
2942         dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M, 
2943         ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, 
2944         enacs=\E(B\E)0, flash=\233?5h$<100/>\233?5l, 
2945         home=\233H, hpa=\233%i%p1%dG, ht=^I, hts=\210, 
2946         ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, ind=^J, 
2947         invis=\2338m, 
2948         is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2949         ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
2950         kc1=\217q, kc3=\217s, kcbt=\233Z, kcub1=\217D, kcud1=\217B, 
2951         kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~, 
2952         kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
2953         kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
2954         kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
2955         kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
2956         kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
2957         kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M, 
2958         knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i, 
2959         meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m, 
2960         ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l, 
2961         rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
2962         rs1=\Ec, 
2963         rs2=\E[62"p\E G\E7\233r\E8\233m\233?7h\233?1;3;4;6l\2334l\E>, 
2964         sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
2965         setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2966         setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2967         sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2968         sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h, 
2969         smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
2970         tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c, 
2971         u9=\E[c, vpa=\233%i%p1%dd, 
2972
2973 xterm-hp|XFree86 xterm with hpterm function keys, 
2974         kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
2975         kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, 
2976         kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ, 
2977         knp=\ES, kpp=\ET, use=xterm-basic, 
2978
2979 xterm-sco|XFree86 xterm with SCO function keys, 
2980         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, 
2981         kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y, 
2982         kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d, kf19=\E[e, 
2983         kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h, kf23=\E[i, 
2984         kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m, kf28=\E[n, 
2985         kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q, kf32=\E[r, 
2986         kf33=\E[s, kf34=\E[t, kf35=\E[u, kf4=\E[P, kf5=\E[Q, 
2987         kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
2988         kich1=\E[L, knp=\E[G, kpp=\E[I, use=xterm-basic, 
2989
2990 # The xterm-xfree86 description has all of the features, but is not completely
2991 # compatible with vt220.  If you are using a Sun or PC keyboard, set the
2992 # sunKeyboard resource to true:
2993 #       + maps the editing keypad
2994 #       + interprets control-function-key as a second array of keys, so a
2995 #         12-fkey keyboard can support vt220's 20-fkeys.
2996 #       + maps numeric keypad "+" to ",".
2997 #       + uses DEC-style control sequences for the application keypad.
2998 #         
2999 xterm-vt220|XFree86 xterm emulating vt220, 
3000         kbeg=\EOu, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
3001         kcuu1=\EOA, kend=\E[4~, kf10=\E[21~, kf11=\E[23~, 
3002         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
3003         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
3004         kf20=\E[34~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
3005         kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
3006         kmous=\E[M, knp=\E[6~, kpp=\E[5~, use=xterm-basic, 
3007         use=vt220+keypad, 
3008
3009 xterm-vt52|XFree86 xterm emulating dec vt52, 
3010         cols#80, it#8, lines#24, 
3011         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3012         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
3013         cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK, 
3014         home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
3015         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
3016
3017 xterm-noapp|xterm with cursor keys in normal mode, 
3018         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmcup@, 
3019         rmkx=\E>, smcup@, smkx=\E=, use=xterm, 
3020
3021 xterm-24|vs100|xterms|xterm terminal emulator (X Window System), 
3022         lines#24, use=xterm-r6, 
3023
3024 # This is xterm for ncurses.
3025 xterm|xterm terminal emulator (X Window System), 
3026         use=xterm-r6, 
3027 #       use=xterm-xfree86, 
3028
3029 # These entries allow access to the X titlebar and icon name as a status line. 
3030 # Note that twm (and possibly window managers descended from it such as tvtwm, 
3031 # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
3032 # with it.
3033 xterm+sl|access X title line and icon name, 
3034         hs, 
3035         wsl#40, 
3036         dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm, 
3037 xterm+sl-twm|access X title line (pacify twm-descended window managers), 
3038         hs, 
3039         wsl#40, 
3040         dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm, 
3041
3042 #
3043 # The following xterm variants don't depend on your base version
3044 #
3045 # xterm with bold instead of underline
3046 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
3047         smso=\E[7m, smul=\E[1m, use=xterm, 
3048 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
3049 # (kterm should not invoke DEC Graphics as the alternate character set
3050 #  -- Kenji Rikitake)
3051 # (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
3052 #  -- MATSUMOTO Shoji)
3053 kterm|kterm kanji terminal emulator (X window system), 
3054         eslok, hs, 
3055         acsc=++\,\,--..00ii``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3056         csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=, fsl=\E[?F, 
3057         kmous=\E[M, rc=\E8, rmacs=\E(B, sc=\E7, smacs=\E(0, 
3058         tsl=\E[?E\E[?%i%dT, use=xterm-r6, use=ecma+color, 
3059 kterm-color|kterm-co|kterm with ANSI colors, 
3060         ncv@, use=kterm, use=ecma+color, 
3061 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
3062 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
3063         ich@, ich1@, use=xterm, 
3064 # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
3065 xterm1|xterm terminal emulator ignoring the alternate screen buffer, 
3066         rmcup@, smcup@, use=xterm, 
3067
3068 # This describes the capabilities of color_xterm, an xterm variant from
3069 # before ECMA-64 color support was folded into the main-line xterm release.
3070 # This entry is straight from color_xterm's maintainer.
3071 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
3072 # The README's with the distribution also say that it supports SGR 21, 24, 25
3073 # and 27, but they are not present in the terminfo or termcap.
3074 color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
3075         OTbs, am, km, mir, msgr, xenl, 
3076         cols#80, it#8, lines#65, ncv@, 
3077         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3078         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
3079         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3080         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3081         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3082         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3083         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
3084         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
3085         is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, kbs=^H, kcub1=\EOD, 
3086         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kf1=\E[11~, 
3087         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
3088         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
3089         kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, 
3090         kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM, 
3091         rmacs=^O, rmam=\E[?7l, rmcup=\E>\E[?41;1r, rmir=\E[4l, 
3092         rmso=\E[27m, rmul=\E[24m, 
3093         rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
3094         sc=\E7, 
3095         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
3096         sgr0=\E[m, smacs=^N, smam=\E[?7h, 
3097         smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
3098         smul=\E[4m, use=ecma+color, use=vt220+keypad, 
3099
3100 # The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
3101 # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
3102 # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
3103 # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
3104 # that each of those implements the home, end, delete keys differently.
3105 #
3106 # Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
3107 # colors; note that this is not compatible with the 5.2 version.
3108 # csw (2002-05-15): make xterm-color primary instead of nxterm, to 
3109 #   match XFree86's xterm.terminfo usage and prevent circular links
3110 xterm-color|nxterm|generic color xterm, 
3111         ncv@, 
3112         op=\E[m, use=xterm-r6, use=klone+color, 
3113
3114 # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
3115 gnome-rh62|Gnome terminal, 
3116         bce, 
3117         kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
3118         use=xterm-color, 
3119
3120 # GNOME Terminal 1.4.0.4 (Redhat 7.2)
3121 #
3122 # This implements a subset of vt102 with a random selection of features from
3123 # other terminals such as color and function-keys.
3124 #
3125 # shift-f1 to shift-f10 are f11 to f20
3126 #
3127 # NumLock changes the application keypad to approximate vt100 keypad, except
3128 # that there is no escape sequence matching comma (,).
3129 #
3130 # Other defects observed:
3131 #       vt100 LNM mode is not implemented.
3132 #       vt100 80/132 column mode is not implemented.
3133 #       vt100 DECALN is not implemented.
3134 #       vt100 DECSCNM mode is not implemented, so flash does not work.
3135 #       vt100 TBC (tab reset) is not implemented.
3136 #       xterm alternate screen controls do not restore cursor position properly
3137 #       it hangs in tack after running function-keys test.
3138 gnome-rh72|GNOME Terminal, 
3139         bce, 
3140         civis=\E[?25l, cnorm=\E[?25h, kdch1=\E[3~, kf1=\EOP, 
3141         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmam=\E[?7l, 
3142         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;, 
3143         smam=\E[?7h, tbc@, use=xterm-color, 
3144
3145 # GNOME Terminal 2.0.1 (Redhat 8.0)
3146 #
3147 # Documentation now claims it implements vt220 (which is demonstrably false). 
3148 # However, it does implement ECH, which is a vt220 feature.  And there are
3149 # workable vt100 LNM, DECALN, DECSNM modes, making it possible to display
3150 # more of its bugs using vttest.
3151 #
3152 # However, note that bce and msgr are broken in this release.  Tabs (tbc and
3153 # hts) are broken as well.  Sometimes flash (as in xterm-xfree86) works.
3154 #
3155 # kf1 and kf10 are not tested since they're assigned (hardcoded?) to menu
3156 # operations.  Shift-tab generates a distinct sequence so it can be argued
3157 # that it implements kcbt.
3158 gnome-rh80|GNOME Terminal, 
3159         bce@, msgr@, 
3160         ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l, kbs=\177, 
3161         kcbt=\E^I, op=\E[39;49m, use=gnome-rh72, 
3162
3163 # GNOME Terminal 2.2.1 (Redhat 9.0)
3164 #
3165 # bce and msgr are repaired.
3166 gnome-rh90|GNOME Terminal, 
3167         bce, msgr, use=gnome-rh80, 
3168
3169 gnome|GNOME Terminal, 
3170         use=gnome-rh90, 
3171
3172 # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
3173 # or not is debatable).
3174 kvt|KDE terminal, 
3175         bce, km@, 
3176         kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color, 
3177
3178 # Konsole 1.0.1
3179 # (formerly known as kvt)
3180 #
3181 # This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
3182 # simplify this entry (and point out why konsole isn't xterm), we base this on
3183 # xterm-r6.  The default keyboard appears to be 'linux'.
3184 #
3185 # Notes:
3186 # a) konsole implements several features from XFree86 xterm, though none of
3187 #    that is documented - except of course in its source code - apparently
3188 #    because its implementors are unaccustomed to reading documentation - as
3189 #    evidenced by the sparse and poorly edited documentation distributed with
3190 #    konsole.  Some features such as the 1049 private mode are recognized but
3191 #    incorrectly implemented as a duplicate of the 47 private mode.
3192 # b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
3193 #    sends PC-style escapes rather than vt100.
3194 # c) fails vttest menu 3 (Test of character sets) because it does not properly
3195 #    parse some control sequences.  Also fails vttest Primary Device Attributes
3196 #    by sending a bogus code (in the source it says it's supposed to be a
3197 #    vt220, which is doubly incorrect because it does not implement vt220
3198 #    control sequences except for a few special cases).  Treat it as a
3199 #    mildly-broken vt102.
3200 konsole-base|KDE console window, 
3201         bce, km@, npc, 
3202         bel@, blink=\E[5m, civis=\E[?25l, cnorm=\E[?25h, 
3203         ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l, 
3204         hpa=\E[%i%p1%dG, kbs@, kdch1@, kend@, kf1@, kf10@, kf11@, kf12@, 
3205         kf13@, kf14@, kf15@, kf16@, kf17@, kf18@, kf19@, kf2@, kf20@, kf3@, 
3206         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, kfnd@, khome@, kslt@, 
3207         rmam=\E[?7l, rmso=\E[27m, rmul=\E[24m, 
3208         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
3209         smam=\E[?7h, vpa=\E[%i%p1%dd, use=ecma+color, 
3210         use=xterm-r6, 
3211 konsole-linux|KDE console window with linux keyboard, 
3212         kdch1=\E[3~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, 
3213         kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@, kf18@, kf19@, 
3214         kf2=\E[[B, kf20@, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, 
3215         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3216         use=konsole-base, 
3217 # KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
3218 # than testing the code.
3219 konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm, 
3220         kend=\E[4~, khome=\E[1~, use=konsole-vt100, 
3221 # The value for kbs reflects local customization rather than the settings used
3222 # for XFree86 xterm.
3223 konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm, 
3224         kbs=^H, kend=\EOF, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
3225         khome=\EOH, use=konsole-vt100, 
3226 # KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
3227 # it is still useful for deriving the other entries.
3228 konsole-vt100|KDE console window with vt100 (sic) keyboard, 
3229         kbs=\177, kdch1=\E[3~, kend=\E[F, kf1=\E[11~, kf10=\E[21~, 
3230         kf11=\E[23~, kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@, 
3231         kf18@, kf19@, kf2=\E[12~, kf20@, kf3=\E[13~, kf4=\E[14~, 
3232         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3233         khome=\E[H, use=konsole-base, 
3234 konsole-vt420pc|KDE console window with vt420 pc keyboard, 
3235         kbs=^H, kdch1=\177, use=konsole-vt100, 
3236 konsole-16color|klone of xterm-16color, 
3237         ncv#32, use=ibm+16color, use=konsole, 
3238 # make a default entry for konsole
3239 konsole|KDE console window, 
3240         use=konsole-linux, 
3241
3242 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
3243 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
3244 # Notes:
3245 # rxvt 2.21b uses
3246 #       smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
3247 # but some applications don't work with that.
3248 # It also has an AIX extension
3249 #       box2=lqkxjmwuvtn,
3250 # and
3251 #       ech=\E[%p1%dX,
3252 # but the latter does not work correctly.
3253 #
3254 # The distributed terminfo says it implements hpa and vpa, but they are not
3255 # implemented correctly, using relative rather than absolute positioning.
3256 #
3257 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
3258 # Since rxvt is not really compatible with xterm, it should be configured as
3259 # "rxvt" (monochrome) and "rxvt-color". 
3260 rxvt-basic|rxvt terminal base (X Window System), 
3261         OTbs, am, bce, eo, km, mir, msgr, xenl, xon, 
3262         cols#80, it#8, lines#24, 
3263         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3264         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3265         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
3266         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3267         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3268         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3269         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3270         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l, 
3271         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
3272         il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l, 
3273         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
3274         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
3275         kPRV=\E[5$, kRIT=\E[c, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
3276         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
3277         kel=\E[8\^, kend=\E[8~, kf1=\E[11~, kf10=\E[21~, 
3278         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
3279         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
3280         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
3281         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
3282         kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, 
3283         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, 
3284         rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, 
3285         rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
3286         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
3287         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
3288         s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
3289         smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
3290         smul=\E[4m, tbc=\E[3g, use=vt220+keypad, 
3291 rxvt|rxvt terminal emulator (X Window System), 
3292         ncv@, 
3293         cvvis=\E[?25h, hpa=\E[%i%p1%dG, kf0=\E[21~, 
3294         sgr0=\E[m\017, vpa=\E[%i%p1%dd, use=rxvt-basic, 
3295         use=ecma+color, 
3296 rxvt-color|rxvt terminal emulator (X Window System), 
3297         use=rxvt, 
3298 rxvt-xpm|rxvt terminal emulator (X Window System), 
3299         use=rxvt, 
3300 rxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin, 
3301         acsc=0\333+\257\,\256-\^`\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, 
3302         use=rxvt, 
3303 rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin, 
3304         acsc=0\333+\257\,\256-\^`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376, 
3305         use=rxvt-cygwin, 
3306
3307 # This variant is supposed to work with rxvt 2.7.7 when compiled with
3308 # NO_BRIGHTCOLOR defined.  rxvt needs more work...
3309 rxvt-16color|xterm with 16 colors like aixterm, 
3310         ncv#32, use=ibm+16color, use=rxvt, 
3311
3312 # From: Michael Jennings <mej@valinux.com>
3313 # removed kf0 which conflicts with kf10 -TD
3314 # remove cvvis which conflicts with cnorm -TD
3315 Eterm|Eterm-color|Eterm with xterm-style color support (X Window System), 
3316         am, bce, bw, eo, km, mc5i, mir, msgr, xenl, xon, 
3317         btns#5, cols#80, it#8, lines#24, lm#0, ncv@, 
3318         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3319         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3320         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
3321         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3322         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
3323         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3324         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
3325         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
3326         flash=\E[?5h\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, 
3327         hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
3328         ind=^J, is1=\E[?47l\E>\E[?1l, 
3329         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
3330         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
3331         kPRV=\E[5$, kRIT=\E[c, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, 
3332         kbeg=\EOu, kbs=^H, kc1=\E[8~, kc3=\E[6~, kcbt=\E[Z, 
3333         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3334         kdch1=\E[3~, kel=\E[8\^, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
3335         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
3336         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
3337         kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, 
3338         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
3339         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
3340         khome=\E[7~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
3341         kslt=\E[4~, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, 
3342         rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
3343         rmkx=, rmso=\E[27m, rmul=\E[24m, 
3344         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
3345         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
3346         sc=\E7, 
3347         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
3348         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
3349         smir=\E[4h, smkx=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
3350         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
3351         vpa=\E[%i%p1%dd, use=ecma+color, 
3352
3353 # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
3354 # variant of xterm which is apparently no longer supported, but are interesting
3355 # because they illustrate SVr4 curses mouse controls - T.Dickey
3356 xtermm|xterm terminal emulator (monocrome), 
3357         OTbs, am, km, mir, msgr, xenl, 
3358         btns#3, cols#80, it#8, lines#24, 
3359         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3360         bel=^G, blink@, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
3361         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D, 
3362         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3363         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3364         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3365         el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY, 
3366         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
3367         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
3368         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kf0=\EOy, 
3369         kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf5=\EOT, kf6=\EOU, 
3370         kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kmous=\E[^_, 
3371         knp=\E[U, kpp=\E[V, rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, 
3372         rmacs=^O, rmcup=\E@0\E[?4r, rmso=\E[m, 
3373         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
3374         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
3375         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
3376         sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1, 
3377         smso=\E[7m, tbc=\E[3g, use=vt100+fnkeys, 
3378
3379 xtermc|xterm terminal emulator (color), 
3380         colors#8, ncv#7, pairs#64, 
3381         op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
3382         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
3383         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
3384         use=xtermm, 
3385
3386 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
3387 # Here's a termcap entry I've been using for xterm_color, which comes
3388 # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
3389 # color stuff, I also have a status line defined as the window manager
3390 # title bar. [I have translated it to terminfo -- ESR]
3391 xterm-pcolor|xterm with color used for highlights and status line, 
3392         bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
3393         smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6, 
3394
3395 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
3396 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
3397 hpterm|X-hpterm|hp X11 terminal emulator, 
3398         am, da, db, mir, xhp, 
3399         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
3400         acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
3401         cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
3402         cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
3403         hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, 
3404         kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3405         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
3406         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
3407         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
3408         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El, 
3409         memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
3410         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
3411         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
3412         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
3413         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
3414         rmul=\E&d@, 
3415         sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
3416         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
3417         smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
3418
3419 # This entry describes an xterm with Sun-style function keys enabled
3420 # via the X resource setting "xterm*sunFunctionKeys:true"
3421 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
3422 # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
3423 # because we want it to be seen as <kcpy>. 
3424 # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
3425 # with their Sun keyboard labels instead.
3426 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
3427 xterm-sun|xterm with sunFunctionKeys true, 
3428         kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z, 
3429         kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z, 
3430         kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
3431         kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z, 
3432         kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z, 
3433         kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
3434         kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z, 
3435         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
3436         kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z, 
3437         knp=\E[222z, kpp=\E[216z, kund=\E[195z, use=xterm, 
3438 xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
3439         cols#80, lines#24, use=xterm-sun, 
3440
3441 # This is for the extensible terminal emulator on the X11R6 contrib tape.
3442 emu|emu native mode, 
3443         mir, msgr, xon, 
3444         colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
3445         acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
3446         bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
3447         clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
3448         cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
3449         cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
3450         cuu=\Ep-%p1%d;, cuu1=\EA, dch=\EI%p1%d;, dch1=\EI1;, 
3451         dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, el=\EK, 
3452         el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh, 
3453         il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
3454         kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
3455         kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
3456         kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
3457         kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02, 
3458         kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
3459         kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
3460         knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
3461         rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES, 
3462         rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;, 
3463         setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY, 
3464         smso=\ES\ET, smul=\ES\EV, tbc=\Ej, 
3465
3466 # A commercial product, Reportedly a version of Xterm with an OPEN LOOK UI,
3467 # print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
3468 # indicate that it emulates more than one terminal, but incompletely.
3469
3470 # This is adapted from a FreeBSD bug-report by Daniel Rudy <dcrudy@pacbell.net>
3471 # It is based on vt102's entry, with some subtle differences, but also
3472 #       has status line
3473 #       supports ANSI colors (except for 'op' string)
3474 #       apparently implements alternate screen like xterm
3475 #       does not use padding, of course.
3476 mvterm|vv100|SwitchTerm aka mvTERM, 
3477         am, eslok, hs, km, mir, msgr, xenl, 
3478         colors#8, cols#80, it#8, lines#24, pairs#64, 
3479         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3480         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
3481         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3482         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3483         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3484         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
3485         dsl=\E[?E, ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, 
3486         fsl=\E[?F, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
3487         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, 
3488         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOy, 
3489         kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, 
3490         op=\E[100m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
3491         rmcup=\E[2J\E[?47l\E8, rmkx=\E[?1l\E>, rmso=\E[m, 
3492         rmul=\E[m, 
3493         rs2=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H, 
3494         sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
3495         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
3496         sgr0=\E[m\017, smacs=^N, smcup=\E7\E[?47h, 
3497         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
3498         tsl=\E[?E\E[?%i%p1%dT, use=vt100+fnkeys, 
3499
3500 ### MTERM
3501 #
3502 # This application is available by email from <mouse@Rodents.Montreal.QC.CA>.
3503 #
3504 # "mterm -type ansi" sets $TERM to "ansi"
3505 mterm-ansi|ANSI emulation, 
3506         am, bw, mir, msgr, 
3507         it#8, 
3508         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3509         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
3510         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
3511         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
3512         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
3513         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, 
3514         el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=, 
3515         il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, 
3516         invis=\E[8m, is2=\E)0\017, kbs=^H, nel=\EE, rev=\E[7m, 
3517         ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmso=\E[27m, 
3518         rmul=\E[24m, sgr0=\E[m, smacs=^N, smir=\E[4h, smso=\E[7m, 
3519         smul=\E[4m, vpa=\E[%i%p1%dd, 
3520 # mterm normally sets $TERM to "mterm"
3521 mterm|mouse-sun|Der Mouse term, 
3522         am, bw, mir, 
3523         it#8, 
3524         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^N, cuf1=^S, 
3525         cup=\006%p1%d.%p2%d., cuu1=^X, dch1=^Y, dl1=^K, ed=^B, el=^C, 
3526         home=^P, ht=^I, il1=^A, ind=^U, kbs=^H, ll=^R, nel=^M^U, ri=^W, 
3527         rmir=^O, rmso=^T, smir=^Q, smso=^V, 
3528 # "mterm -type decansi" sets $TERM to "decansi"
3529 decansi|ANSI emulation with DEC compatibility hacks, 
3530         am, mir, msgr, xenl, 
3531         colors#8, it#8, pairs#64, 
3532         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3533         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3534         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
3535         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
3536         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
3537         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3538         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
3539         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E(B\E)0, 
3540         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=, il=\E[%p1%dL, 
3541         il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, 
3542         is2=\E)0\E[r\017, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
3543         kcuf1=\EOC, kcuu1=\EOA, nel=\EE, op=\E[0m, rc=\E8, rev=\E[7m, 
3544         ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
3545         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, sc=\E7, 
3546         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
3547         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
3548         sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
3549         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, u6=\E[%i%d;%dR, 
3550         u7=\E[6n, vpa=\E[%i%p1%dd, 
3551
3552 #### MGR
3553 #
3554 # MGR is a Bell Labs window system lighter-weight than X.
3555 # These entries describe MGR's xterm-equivalent. 
3556 # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
3557 #
3558
3559 mgr|Bellcore MGR (non X) window system terminal emulation, 
3560         am, km, 
3561         bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M, 
3562         csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er, 
3563         cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h, 
3564         dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>, 
3565         dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u, 
3566         ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>, 
3567         il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
3568         kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S, 
3569         rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n, 
3570         smul=\E4n, 
3571 mgr-sun|Mgr window with Sun keyboard, 
3572         ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, 
3573         kc3=\E[222z, kcpy=\E[197z, kend=\E[220z, kent=\E[250z, 
3574         kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, 
3575         kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, 
3576         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
3577         kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z, 
3578         kopn=\E[198z, kpp=\E[216z, kund=\E[195z, use=mgr, 
3579 mgr-linux|Mgr window with Linux keyboard, 
3580         ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, 
3581         kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~, 
3582         kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, 
3583         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3584         khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr, 
3585
3586 ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
3587 #
3588
3589 # Columbus UNIX virtual terminal. This terminal also appears in 
3590 # UNIX 4.0 and successors as line discipline 1 (?), but is 
3591 # undocumented and does not really work quite right.
3592 cbunix|cb unix virtual terminal, 
3593         OTbs, am, da, db, 
3594         cols#80, lines#24, lm#0, 
3595         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3596         cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL, 
3597         el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB, 
3598         kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A, 
3599         smso=\Ea^D, smul=\Ea^A, 
3600 # (vremote: removed obsolete ":nl@:" -- esr)
3601 vremote|virtual remote terminal, 
3602         am@, 
3603         cols#79, use=cbunix, 
3604
3605 pty|4bsd pseudo teletype, 
3606         cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
3607         smso=\Ea$, smul=\Ea!, use=cbunix, 
3608
3609 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
3610 eterm|gnu emacs term.el terminal emulation, 
3611         am, mir, xenl, 
3612         cols#80, lines#24, 
3613         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
3614         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3615         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3616         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3617         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3618         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
3619         il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m, 
3620         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
3621         sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, 
3622         smul=\E[4m, 
3623
3624 # Entries for use by the `screen' program by Juergen Weigert, 
3625 # Michael Schroeder, Oliver Laumann.  The screen and
3626 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
3627 # come from University of Wisconsin and may be older.
3628 # (screen: added <cnorm> on ANSI model -- esr)
3629 #
3630 # 'screen' defines extensions to termcap.  Some are used in its terminal
3631 # description:
3632 #      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
3633 #      AX   (bool)  Does  understand ANSI set default fg/bg color
3634 #                   (\E[39m / \E[49m).
3635 #      S0   (str)   Switch charset 'G0' to the specified charset.
3636 #      E0   (str)   Switch charset 'G0' back to standard charset.
3637 #
3638 # tested with screen 3.09.08
3639 screen|VT 100/ANSI X3.64 virtual terminal, 
3640         OTbs, OTpt, am, km, mir, msgr, xenl, G0, 
3641         colors#8, cols#80, it#8, lines#24, pairs#64, 
3642         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3643         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
3644         clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, 
3645         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3646         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3647         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
3648         cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
3649         dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
3650         flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
3651         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z, 
3652         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
3653         kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, 
3654         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
3655         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3656         khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
3657         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
3658         rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, 
3659         rmul=\E[24m, rs2=\Ec, sc=\E7, sgr0=\E[m, smacs=^N, 
3660         smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[3m, 
3661         smul=\E[4m, tbc=\E[3g, E0=\E(B, S0=\E(%p1%c, 
3662         use=ecma+color, 
3663 # The bce and status-line entries are from screen 3.9.13 (and require some
3664 # changes to .screenrc).
3665 screen-bce|VT 100/ANSI X3.64 virtual terminal with bce, 
3666         bce, use=screen, 
3667 screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line, 
3668         dsl=\E_\E\\, fsl=\E\\, tsl=\E_, use=screen, 
3669
3670 # Read the fine manpage:
3671 #       When  screen  tries  to  figure  out  a  terminal name for
3672 #       itself, it first looks for an entry named "screen.<term>",
3673 #       where  <term>  is the contents of your $TERM variable.  If
3674 #       no such entry exists, screen tries "screen" (or "screen-w"
3675 #       if the terminal is wide (132 cols or more)).  If even this
3676 #       entry cannot be found, "vt100" is used as a substitute.
3677 #
3678 # Here are a few customized entries which are useful -TD
3679 #
3680 # Notes:
3681 # (a)   screen does not support invis.
3682 # (b)   screen's implementation of bw is incorrect according to tack.
3683 # (c)   screen appears to hardcode the strings for khome/kend, making it
3684 #       necessary to override the "use=" clause's values.
3685 # (d)   screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
3686 #       which is NOT the same as the terminfo screen.<term>.
3687 # (e)   when screen finds one of these customized entries, it sets $TERM to
3688 #       match.  Hence, no "screen.xterm" entry is provided, since that would
3689 #       create heartburn for people running remote xterm's.
3690 #
3691 #       xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
3692 #       since the default translations override the built-in keycode
3693 #       translation.  They are suppressed here to show what is tested by tack.
3694 screen.xterm-xfree86|screen customized for XFree86 xterm, 
3695         bce@, bw, 
3696         invis@, kIC@, kNXT@, kPRV@, kend=\E[4~, khome=\E[1~, meml@, 
3697         memu@, 
3698         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
3699         use=xterm-xfree86, 
3700 # xterm-r6 does not really support khome/kend unless it is propped up by
3701 # the translations resource.
3702 screen.xterm-r6|screen customized for X11R6 xterm, 
3703         bw, use=xterm-r6, 
3704 # Color applications running in screen and TeraTerm do not play well together
3705 # on Solaris because Sun's curses implementation gets confused.
3706 screen.teraterm|disable ncv in teraterm, 
3707         ncv#127, 
3708         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, 
3709         use=screen, 
3710 # fix the backspace key
3711 screen.linux|screen in linux console, 
3712         bw, 
3713         kbs=\177, kcbt@, use=screen, 
3714
3715 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
3716         cols#132, use=screen, 
3717
3718 screen2|old VT 100/ANSI X3.64 virtual terminal, 
3719         cols#80, it#8, lines#24, 
3720         cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
3721         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
3722         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3723         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3724         el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, 
3725         il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3726         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
3727         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
3728         nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, 
3729         rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
3730         smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
3731 # (screen3: removed unknown ":xv:LP:G0:" -- esr)
3732 screen3|older VT 100/ANSI X3.64 virtual terminal, 
3733         km, mir, msgr, 
3734         cols#80, it#8, lines#24, 
3735         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
3736         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3737         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3738         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
3739         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
3740         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
3741         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
3742         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
3743         kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
3744         rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
3745         sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
3746         smul=\E[4m, tbc=\E[3g, 
3747
3748 # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
3749 # NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
3750 # been maintained until recently by the National Center for Supercomputer
3751 # Applications, and it is feature rich, stable and free.  It can be downloaded
3752 # from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
3753 # xterm+sl, and the docs at NCSA.  It works well.
3754 #
3755 # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
3756 # The terminal options should be set as follows:
3757 #         Xterm sequences ON
3758 #         use VT wrap mode ON
3759 #         use Emacs arrow keys OFF
3760 #         CTRL-COMND is Emacs meta ON
3761 #         8 bit mode ON
3762 #         answerback string: "ncsa-vt220-8"
3763 #         setup keys: all disabled
3764 #
3765 # Application mode is not used.
3766 #
3767 # Other special mappings:
3768 #       Apple           VT220
3769 #       HELP            Find
3770 #       HOME            Insert here
3771 #       PAGEUP          Remove
3772 #       DEL             Select
3773 #       END             Prev Screen
3774 #       PAGEDOWN        Next Screen
3775 #
3776 # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
3777 # text.
3778 #
3779 # The status-line manipulation is a mapping of the xterm-compatible control
3780 # sequences for setting the window-title.  So you must use tsl and fsl in
3781 # pairs, since the latter ends the string that is loaded to the window-title.
3782 ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
3783         am, hs, km, mir, msgr, xenl, 
3784         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3785         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3786         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
3787         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3788         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3789         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3790         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
3791         dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
3792         flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH, 
3793         ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
3794         il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>, 
3795         is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H, 
3796         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3797         kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~, 
3798         kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~, 
3799         kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, 
3800         kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~, 
3801         khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i, 
3802         rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM, 
3803         rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l, 
3804         rmso=\E[27m, rmul=\E[24m, 
3805         rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7, 
3806         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
3807         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7, 
3808         smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;, 
3809         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c, 
3810 ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
3811         use=ncsa-m, use=klone+color, 
3812 ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
3813         hs@, 
3814         dsl@, fsl@, tsl@, use=ncsa, 
3815 ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
3816         hs@, 
3817         dsl@, fsl@, tsl@, use=ncsa-m, 
3818 # alternate -TD:
3819 # The documented function-key mapping refers to the Apple Extended Keyboard
3820 # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
3821 # codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
3822 # some keyboards and many applications require these as F1-F4.
3823 #
3824 ncsa-vt220|NCSA Telnet using vt220-compatible function keys, 
3825         kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
3826         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
3827         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
3828         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
3829         kf8=\E[19~, kf9=\E[20~, use=ncsa, 
3830
3831 #### Pilot Pro Palm-Top
3832 #
3833 # Termcap for Top Gun Telnet and SSH on the Palm Pilot.
3834 # http://www.ai/~iang/TGssh/
3835 pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional, 
3836         OTbs, am, xenl, 
3837         cols#39, lines#16, 
3838         bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J, 
3839         cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I, 
3840         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
3841         rmso=\EB, smso=\Eb, 
3842
3843 # From: Federico Bianchi <bianchi@www.arte.unipi.it>
3844 # These entries are for the Embeddable Linux Kernel System (ELKS)
3845 # project - an heavily stripped down Linux to be run on 16 bit
3846 # boxes or, eventually, to be used in embedded systems - and have been
3847 # adapted from the stock ELKS termcap. The project itself looks stalled,
3848 # and the latest improvements I know of date back to March 2000.
3849 #
3850 # To cope with the ELKS dumb console I added an "elks-glasstty" entry;
3851 # as an added bonus, this deals with all the capabilities common to
3852 # both VT52 and ANSI (or, eventually, "special") modes.
3853
3854 elks-glasstty|ELKS glass-TTY capabilities, 
3855         OTbs, am, 
3856         cols#80, it#8, lines#25, 
3857         bel=^G, cr=^M, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
3858         nel=^M^J, 
3859
3860 elks-vt52|ELKS vt52 console, 
3861         clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
3862         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, el=\EK, 
3863         home=\EH, use=elks-glasstty, 
3864
3865 elks-ansi|ELKS ANSI console, 
3866         clear=\E[H\E[2J, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
3867         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
3868         rmso=\E[m, smso=\E[7m, use=elks-glasstty, 
3869
3870 # As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
3871 # instead of VT52, but the "elks" entry still refers to the latter.
3872
3873 elks|default ELKS console, 
3874         use=elks-vt52, 
3875
3876 # Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
3877 # one but in screen size
3878
3879 sibo|ELKS SIBO console, 
3880         cols#61, it#8, lines#20, use=elks-vt52, 
3881
3882 ######## COMMERCIAL WORKSTATION CONSOLES
3883 #
3884
3885 #### Alpha consoles
3886 #
3887
3888 # This is from the OSF/1 Release 1.0 termcap file
3889 pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation, 
3890         am, xon, 
3891         cols#80, lines#25, 
3892         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3893         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
3894         el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H, 
3895         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
3896         nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
3897
3898 #### Sun consoles
3899 #
3900
3901 # :is1: resets scrolling region in case a previous user had used "tset vt100"
3902 oldsun|Sun Microsystems Workstation console, 
3903         OTbs, am, km, mir, msgr, 
3904         cols#80, it#8, lines#34, 
3905         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
3906         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
3907         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
3908         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
3909         is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3910         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
3911         rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
3912 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
3913 # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
3914 # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
3915 sun-il|Sun Microsystems console with working insert-line, 
3916         am, km, msgr, 
3917         cols#80, lines#34, 
3918         bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3919         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
3920         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
3921         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
3922         kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
3923         kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z, 
3924         kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 
3925         kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, 
3926         kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
3927         knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z, 
3928         kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s, 
3929         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
3930         sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t, 
3931 # On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
3932 # flake out on the last line.  Unfortunately, without them the terminal has no
3933 # way to scroll.
3934 sun-cgsix|sun-ss5|Sun SparcStation 5 console, 
3935         il@, il1@, use=sun-il, 
3936 # If you are using an SS5, change the sun definition to use sun-ss5.
3937 sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
3938         use=sun-il, 
3939
3940 # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
3941 sun-s|Sun Microsystems Workstation window with status line, 
3942         hs, 
3943         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun, 
3944 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
3945         hs, 
3946         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e, 
3947 sun-48|Sun 48-line window, 
3948         cols#80, lines#48, use=sun, 
3949 sun-34|Sun 34-line window, 
3950         cols#80, lines#34, use=sun, 
3951 sun-24|Sun 24-line window, 
3952         cols#80, lines#24, use=sun, 
3953 sun-17|Sun 17-line window, 
3954         cols#80, lines#17, use=sun, 
3955 sun-12|Sun 12-line window, 
3956         cols#80, lines#12, use=sun, 
3957 sun-1|Sun 1-line window for sysline, 
3958         eslok, hs, 
3959         cols#80, lines#1, 
3960         dsl=^L, fsl=\E[K, tsl=^M, use=sun, 
3961 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
3962         ich1@, rmir@, smir@, use=sun, 
3963 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
3964         lines#35, 
3965         rmcup=\E[>4h, smcup=\E[>4l, use=sun, 
3966 sun-type4|Sun Workstation console with type 4 keyboard, 
3967         kcub1=\E[217z, kcud1=\E[221z, kcuf1=\E[219z, 
3968         kcuu1=\E[215z, use=sun-il, 
3969
3970 #### Iris consoles
3971 #
3972
3973 # (wsiris: this had extension capabilities
3974 #       :HS=\E7F2:HE=\E7F7:\
3975 #       :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
3976 # See the note on Iris extensions near the end of this file.  
3977 # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> & 
3978 # <flash> from BRL -- esr)
3979 wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
3980         OTbs, OTnc, OTpt, am, 
3981         OTkn#3, cols#80, it#8, lines#40, 
3982         OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, 
3983         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
3984         cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, 
3985         flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL, 
3986         ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB, 
3987         kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, 
3988         kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI, 
3989         rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P, 
3990         smul=\E7R2\E9P, 
3991
3992 #### NeWS consoles
3993 #
3994 # Console terminal windows under the NeWS (Sun's Display Postscript windowing
3995 # environment).   Note: these have nothing to do with Sony's News workstation
3996 # line.
3997 #
3998
3999 # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
4000 # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
4001 psterm|psterm-basic|NeWS psterm-80x34, 
4002         OTbs, am, hs, km, ul, 
4003         cols#80, it#8, lines#34, 
4004         blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;, 
4005         cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY, 
4006         dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, 
4007         home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
4008         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr, 
4009         ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^], 
4010         sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu, 
4011         tsl=\EOl, 
4012 psterm-96x48|NeWS psterm 96x48, 
4013         cols#96, lines#48, use=psterm, 
4014 psterm-90x28|NeWS psterm 90x28, 
4015         cols#90, lines#28, use=psterm, 
4016 psterm-80x24|NeWS psterm 80x24, 
4017         cols#80, lines#24, use=psterm, 
4018 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
4019 # some control characters you type will do strange things to the screen.
4020 # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
4021 psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
4022         OTbs, am, hs, km, ul, 
4023         cols#80, it#8, lines#34, 
4024         blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;, 
4025         cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y, 
4026         dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
4027         il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
4028         kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni, 
4029         rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
4030         smso=^Oo, smul=^Ou, tsl=^Ol, 
4031
4032 #### NeXT consoles
4033 #
4034 # Use `glasstty' for the Workspace application
4035 #
4036
4037 # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
4038 next|NeXT console, 
4039         am, xt, 
4040         cols#80, it#8, lines#24, 
4041         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
4042         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
4043         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
4044         rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m, 
4045 nextshell|NeXT Shell application, 
4046         am, 
4047         cols#80, 
4048         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
4049         kcud1=^J, nel=^M^J, 
4050
4051 #### Sony NEWS workstations
4052 #
4053
4054 # (news-unk: this had :KB=news: -- esr)
4055 news-unk|SONY NEWS vt100 emulator common entry, 
4056         OTbs, OTpt, am, xenl, 
4057         cols#80, 
4058         OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
4059         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
4060         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
4061         ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
4062         if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
4063         is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD, 
4064         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP, 
4065         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
4066         kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM, 
4067         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
4068         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7, 
4069         sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
4070 #
4071 # (news-29: this had :TY=ascii: --esr)
4072 news-29, 
4073         lines#29, use=news-unk, 
4074 # (news-29-euc: this had :TY=euc: --esr)
4075 news-29-euc, 
4076         use=news-29, 
4077 # (news-29-sjis: this had :TY=sjis: --esr)
4078 news-29-sjis, 
4079         use=news-29, 
4080 #
4081 # (news-33: this had :TY=ascii: --esr)
4082 news-33, 
4083         lines#33, use=news-unk, 
4084 # (news-33-euc: this had :TY=euc: --esr)
4085 news-33-euc, 
4086         use=news-33, 
4087 # (news-33-sjis: this had :TY=sjis: --esr)
4088 news-33-sjis, 
4089         use=news-33, 
4090 #
4091 # (news-42: this had :TY=ascii: --esr)
4092 news-42, 
4093         lines#42, use=news-unk, 
4094 # (news-42-euc: this had :TY=euc: --esr)
4095 news-42-euc, 
4096         use=news-42, 
4097 # (news-42-sjis: this had :TY=sjis: --esr)
4098 news-42-sjis, 
4099         use=news-42, 
4100 #
4101 #       NEWS-OS old termcap entry 
4102 #
4103 # (news-old-unk: this had :KB=news:TY=sjis: --esr)
4104 news-old-unk|SONY NEWS vt100 emulator common entry, 
4105         OTbs, OTpt, am, xenl, 
4106         cols#80, vt#3, 
4107         OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, 
4108         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
4109         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
4110         home=\E[H, ht=^I, if=/usr/share/tabset/vt100, kbs=^H, 
4111         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
4112         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM, 
4113         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
4114         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
4115         sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
4116 #
4117 # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
4118 nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines, 
4119         OTbs, 
4120         lines#40, 
4121         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, 
4122         use=news-old-unk, 
4123 #
4124 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
4125 nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
4126         lines#42, 
4127         is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, 
4128         use=news-old-unk, 
4129 #
4130 # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
4131 nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines, 
4132         OTbs, 
4133         lines#40, 
4134         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, 
4135         use=news-old-unk, 
4136 #
4137 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
4138 nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines, 
4139         OTbs, 
4140         lines#31, 
4141         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, 
4142         use=news-old-unk, 
4143 #
4144 # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
4145 # also the alias vt100-bm.
4146 nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines, 
4147         OTbs, 
4148         lines#33, 
4149         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, 
4150         use=news-old-unk, 
4151 #
4152 # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
4153 nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines, 
4154         OTbs, 
4155         lines#31, 
4156         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, 
4157         use=news-old-unk, 
4158 #
4159 # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
4160 news28|sony vt100 emulator 28 lines, 
4161         OTbs, 
4162         lines#28, 
4163         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, 
4164         use=news-old-unk, 
4165 #
4166 # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
4167 news29|news28-a|sony vt100 emulator 29 lines, 
4168         lines#29, 
4169         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, 
4170         use=news-old-unk, 
4171 #
4172 # (news511: this had :TY=sjis: --esr)
4173 nwp511|nwp-511|nwp-511 vt100, 
4174         OTbs, OTpt, am, xenl, 
4175         cols#80, lines#24, 
4176         clear=\E[;H\E[2J$<20/>, cuf1=\E[C, 
4177         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M, 
4178         ed=\E[J$<30/>, el=\E[K$<3/>, 
4179         flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
4180         il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D, 
4181         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
4182         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H, 
4183         ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
4184         rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h, 
4185         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
4186 # (news517: this had :TY=sjis:. --esr)
4187 nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows, 
4188         eslok, hs, 
4189         cols#80, lines#30, 
4190         OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$}, 
4191         is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
4192         tsl=\E[1$}\E[;%df, use=vt200, 
4193 # (news517-w: this had :TY=sjis:. --esr)
4194 nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows, 
4195         eslok, hs, 
4196         cols#132, lines#50, 
4197         OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$}, 
4198         is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
4199         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
4200         tsl=\E[1$}\E[;%df, use=vt200, 
4201
4202 #### Common Desktop Environment
4203 #
4204
4205 # This ships with Sun's CDE in Solaris 2.5
4206 # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
4207 dtterm|CDE desktop terminal, 
4208         am, mir, msgr, xenl, xon, 
4209         cols#80, it#8, lines#24, lm#0, ncv@, 
4210         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
4211         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
4212         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
4213         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
4214         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
4215         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
4216         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
4217         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
4218         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H, 
4219         ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
4220         ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, 
4221         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
4222         kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
4223         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
4224         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
4225         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
4226         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
4227         kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
4228         kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
4229         rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, rmul=\E[24m, 
4230         sc=\E7, 
4231         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%;, 
4232         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
4233         smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, use=ecma+color, 
4234
4235 #### Non-Unix Consoles
4236 #
4237
4238 ### EMX termcap.dat compatibility modes
4239 #
4240 # Keypad:       Home=\0G        Up=\0H  PrPag=\0I
4241 #               ka1,kh          kcuu1           kpp,ka3
4242 #
4243 #               Left=\0K        5=\0L           Right=\0M
4244 #               kcub1           kb2             kcuf1
4245 #
4246 #               End=\0O         Down=\0P        NxPag=\0Q
4247 #               kc1,kend        kcud1           kc3,knp
4248 #
4249 #               Ins=\0R         Del=\0S
4250 #               kich1           kdch1
4251 #
4252 # On keyboard with 12 function keys,
4253 #       shifted f-keys: F13-F24
4254 #       control f-keys: F25-F36
4255 #       alt f-keys:     F37-F48
4256 # The shift/control/alt keys do not modify each other, but alt overrides both,
4257 # and control overrides shift.
4258 #
4259 # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
4260 # no_color_video to inform the application that standout(1), underline(2)
4261 # reverse(4) and invisible(64) don't work with color.
4262 emx-base|DOS special keys, 
4263         bce, bw, 
4264         it#8, ncv#71, 
4265         bel=^G, ka1=\0G, ka3=\0I, kb2=\0L, kbs=^H, kc1=\0O, kc3=\0Q, 
4266         kcbt=\0^O, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
4267         kdch1=\0S, kend=\0O, kf1=\0;, kf10=\0D, kf11=\0\205, 
4268         kf12=\0\206, kf13=\0T, kf14=\0U, kf15=\0V, kf16=\0W, 
4269         kf17=\0X, kf18=\0Y, kf19=\0Z, kf2=\0<, kf20=\0[, kf21=\0\\, 
4270         kf22=\0], kf23=\0\207, kf24=\0\210, kf25=\0\^, kf26=\0_, 
4271         kf27=\0`, kf28=\0a, kf29=\0b, kf3=\0=, kf30=\0c, kf31=\0d, 
4272         kf32=\0e, kf33=\0f, kf34=\0g, kf35=\0\211, kf36=\0\212, 
4273         kf37=\0h, kf38=\0i, kf39=\0j, kf4=\0>, kf40=\0k, kf41=\0l, 
4274         kf42=\0m, kf43=\0n, kf44=\0o, kf45=\0p, kf46=\0q, 
4275         kf47=\0\213, kf48=\0\214, kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, 
4276         kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I, 
4277         use=ansi.sys, 
4278
4279 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
4280 # a Unix-style environment used on OS/2.  (Note that the suffix makes some
4281 # names longer than 14 characters, the nominal maximum).
4282 #
4283 # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
4284 ansi-emx|ANSI.SYS color, 
4285         am, bce, eo, mir, msgr, xon, 
4286         colors#8, cols#80, it#8, lines#25, pairs#64, 
4287         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
4288         clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
4289         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
4290         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
4291         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
4292         kb2=\E[G, kbs=^H, kf0=\0D, kll=\0O, kspd=^Z, nel=^M^J, 
4293         rev=\E[5;37;41m, rmir=\E[4l, rmpch=\E[10m, 
4294         rmso=\E[0;44m\E[1;33m, rmul=\E[0;44m\E[1;33m, rs1=\Ec, 
4295         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
4296         sgr0=\E[0m\E[1;33;44m, smir=\E[4h, smpch=\E[11m, 
4297         smso=\E[0;31;47m, smul=\E[1;31;44m, tbc=\E[3g, u8=\E[?6c, 
4298         u9=\E[c, use=emx-base, 
4299 # nice colors for Emacs (white on blue, mode line white on cyan)
4300 ansi-color-2-emx|ANSI.SYS color 2, 
4301         clear=\E[0;37;44m\E[H\E[J, rev=\E[1;37;46m, 
4302         rmso=\E[0;37;44m, rmul=\E[0;37;44m, rs1=\Ec, 
4303         setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smso=\E[1;37;46m, 
4304         smul=\E[1;36;44m, use=ansi-emx, 
4305 # nice colors for Emacs (white on black, mode line black on cyan)
4306 ansi-color-3-emx|ANSI.SYS color 3, 
4307         clear=\E[0;37;40m\E[H\E[J, rev=\E[1;37;46m, 
4308         rmso=\E[0;37;40m, rmul=\E[0;37;40m, rs1=\Ec, 
4309         setaf=\E[3%p1%dm, sgr0=\E[0;10m, smso=\E[1;37;46m, 
4310         smul=\E[0;36;40m, use=ansi-emx, 
4311 mono-emx|stupid monochrome ansi terminal with only one kind of emphasis, 
4312         am, 
4313         cols#80, it#8, lines#24, 
4314         clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
4315         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
4316         ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, 
4317         kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, 
4318         kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, 
4319         kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
4320         sgr0=\E[0m, 
4321
4322 # Use this for cygwin32 (tested with beta 19.1)
4323 # underline is colored bright magenta
4324 # shifted kf1-kf12 are kf11-kf22
4325 cygwinB19|ansi emulation for cygwin32, 
4326         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
4327         kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
4328         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
4329         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
4330         kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
4331         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
4332         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@, 
4333         use=ansi.sys, 
4334
4335 # Use this for cygwin (tested with version 1.1.0).
4336 # I've combined pcansi and linux.  Some values of course were different and
4337 # I've indicated which of these were and which I used.
4338 # Cheers, earnie_boyd@yahoo.com
4339 # several changes based on running with tack and comparing with older entry -TD
4340 # more changes from csw:
4341 #   add    cbt   [backtab]
4342 #   remove eo    [erase overstrike with blank]
4343 #   change clear was \E[H\E[J  now \E[2J  (faster?)
4344 #   remove cols
4345 #   remove lines
4346 #   remove ncv#3 [colors collide with highlights, bitmask] not applicable
4347 #                to MSDOS box?
4348 #   add    cub   [cursor back param] 
4349 #   add    cuf   [cursor forward param]
4350 #   add    cuu   [cursor up param]
4351 #   add    cud   [cursor down param]
4352 #   add    hs    [has status line]
4353 #   add    fsl   [return from status line]
4354 #   add    tsl   [go to status line]
4355 #   add    smacs [Start alt charset] (not sure if this works)
4356 #   add    rmacs [End alt charset]   (ditto)
4357 #   add    smcup [enter_ca_mode] (save console; thanks Corinna)
4358 #   add    rmcup [exit_ca_mode]  (restore console; thanks Corinna)
4359 #   add    kb2   [center of keypad]
4360 #   add    u8    [user string 8] \E[?6c
4361 #   add    el    [clear to end of line] \E[K
4362 # Notes:
4363 #   cnorm [make cursor normal] not implemented
4364 #   flash [flash] not implemented
4365 #   blink [blink] not implemented very usefully in cygwin? \E[5m
4366 #   dim   [dim] not implemented very usefully in cygwin? \E[2m
4367 #   cub1  [cursor back 1] typically \E[D, but ^H is faster?
4368 #   kNXT  [shifted next key] not implemented
4369 #   kPRV  [shifted prev key] not implemented
4370 #   khome [home key] really is \E[1~ NOT \E[H
4371 #   tbc   [clear tab stops] not implemented
4372 #   xenl  [newline ignnored after 80 cols] messes up last line? Ehud Karni
4373 #   smpch [Start PC charset] is \E[11m, same as smacs
4374 #   rmpch [End PC charset] is \E[10m, same as rmacs
4375 #   mir   [move in insert mode] fails in tack?
4376 #   bce   [back color erase] causes problems with change background color?
4377 #   cvvis [make cursor very visible] causes a stackdump when testing with
4378 #         testcurs using the output option? \E[?25h\E[?8c
4379 #   civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
4380 #   ech   [erase characters param] broken \E[%p1%dX
4381 #   kcbt  [back-tab key] not implemented in cygwin?  \E[Z
4382 cygwin|ansi emulation for Cygwin, 
4383         am, hs, in, msgr, xon, 
4384         colors#8, it#8, pairs#64, 
4385         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, 
4386         bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
4387         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
4388         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
4389         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
4390         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, fsl=^G, 
4391         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, 
4392         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
4393         kb2=\E[G, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
4394         kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, 
4395         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
4396         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
4397         kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, 
4398         kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, 
4399         kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
4400         knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m, 
4401         rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, 
4402         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmpch=\E[10m, 
4403         rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
4404         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
4405         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, 
4406         sgr0=\E[0;10m, smacs=\E11m, smcup=\E7\E[?47h, smir=\E[4h, 
4407         smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];, 
4408         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, 
4409         vpa=\E[%i%p1%dd, 
4410
4411 # I've supplied this so that you can help test new values and add other
4412 # features.  Cheers, earnie_boyd@yahoo.com.
4413 #
4414 # Some features are from pcansi.  The op value is from linux.  Function-keys
4415 # are from linux.  These have been tested not to cause problems.  xenl was in
4416 # this list, but DOES cause problems so it has been removed
4417 cygwinDBG|Debug Version for Cygwin, 
4418         am, eo, mir, msgr, xon, 
4419         colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64, 
4420         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, 
4421         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
4422         cnorm=\E[?25h, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
4423         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
4424         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
4425         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
4426         dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
4427         flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG, 
4428         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
4429         il1=\E[L, ind=^J, invis=\E[8m, kNXT=\E[6$, kPRV=\E[5$, 
4430         kb2=\E[G, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
4431         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, 
4432         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
4433         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
4434         kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, 
4435         kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, 
4436         kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
4437         knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m, 
4438         rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l, 
4439         rmso=\E[m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7, 
4440         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
4441         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, 
4442         sgr0=\E[0;10m, smacs=\E[11m, smir=\E[4h, smso=\E[7m, 
4443         smul=\E[4m, tbc=\E[2g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, 
4444         u9=\E[c, vpa=\E[%i%p1%dd, 
4445
4446 # Key definitions:
4447 # The encodings for unshifted arrow keys, F1-F12, Home, Insert, etc.  match the
4448 # encodings used by other x86 environments.  All others are invented for DJGPP.
4449 # Oddly enough, while several combinations of modifiers are tabulated, there is
4450 # none for shifted cursor keys.
4451 #
4452 #       F1                      \E[[A
4453 #       F2                      \E[[B
4454 #       F3                      \E[[C
4455 #       F4                      \E[[D
4456 #       F5                      \E[[E
4457 #       F6                      \E[17~
4458 #       F7                      \E[18~
4459 #       F8                      \E[19~
4460 #       F9                      \E[20~
4461 #       F10                     \E[21~
4462 #       F11                     \E[23~
4463 #       F12                     \E[24~
4464 #
4465 #       Delete                  \E[3~
4466 #       Down Arrow              \E[B
4467 #       End                     \E[4~
4468 #       Home                    \E[1~
4469 #       Insert                  \E[2~
4470 #       Left Arrow              \E[D
4471 #       Page Down               \E[6~
4472 #       Page Up                 \E[5~
4473 #       Right Arrow             \E[C
4474 #       Up Arrow                \E[A
4475 #
4476 #       Shift-F1                \E[25~
4477 #       Shift-F2                \E[26~
4478 #       Shift-F3                \E[27~
4479 #       Shift-F4                \E[28~
4480 #       Shift-F5                \E[29~
4481 #       Shift-F6                \E[30~
4482 #       Shift-F7                \E[31~
4483 #       Shift-F8                \E[32~
4484 #       Shift-F9                \E[33~
4485 #       Shift-F10               \E[34~
4486 #       Shift-F11               \E[35~
4487 #       Shift-F12               \E[36~
4488 #
4489 #       Ctrl-F1                 \E[47~
4490 #       Ctrl-F2                 \E[48~
4491 #       Ctrl-F3                 \E[49~
4492 #       Ctrl-F4                 \E[50~
4493 #       Ctrl-F5                 \E[51~
4494 #       Ctrl-F6                 \E[52~
4495 #       Ctrl-F7                 \E[53~
4496 #       Ctrl-F8                 \E[54~
4497 #       Ctrl-F9                 \E[55~
4498 #       Ctrl-F10                \E[56~
4499 #       Ctrl-F11                \E[57~
4500 #       Ctrl-F12                \E[58~
4501 #
4502 #       Ctrl-Delete             \E[43~
4503 #       Ctrl-Down Arrow         \E[38~
4504 #       Ctrl-End                \E[44~
4505 #       Ctrl-Home               \E[41~
4506 #       Ctrl-Insert             \E[42~
4507 #       Ctrl-Left Arrow         \E[39~
4508 #       Ctrl-Page Down          \E[46~
4509 #       Ctrl-Page Up            \E[45~
4510 #       Ctrl-Right Arrow        \E[40~
4511 #       Ctrl-Up Arrow           \E[37~
4512 #
4513 #       Alt-F1                  \E[59~
4514 #       Alt-F2                  \E[60~
4515 #       Alt-F3                  \E[61~
4516 #       Alt-F4                  \E[62~
4517 #       Alt-F5                  \E[63~
4518 #       Alt-F6                  \E[64~
4519 #       Alt-F7                  \E[65~
4520 #       Alt-F8                  \E[66~
4521 #       Alt-F9                  \E[67~
4522 #       Alt-F10                 \E[68~
4523 #       Alt-F11                 \E[79~
4524 #       Alt-F12                 \E[80~
4525 #
4526 #       Alt-Delete              \E[65~
4527 #       Alt-Down Arrow          \E[60~
4528 #       Alt-End                 \E[66~
4529 #       Alt-Home                \E[41~
4530 #       Alt-Insert              \E[64~
4531 #       Alt-Left Arrow          \E[61~
4532 #       Alt-Page Down           \E[68~
4533 #       Alt-Page Up             \E[67~
4534 #       Alt-Right Arrow         \E[62~
4535 #       Alt-Up Arrow            \E[59~
4536 #
4537 # Also:
4538 #       Alt-A                   \E[82~
4539 #       Alt-B                   \E[82~
4540 #       Alt-C                   \E[83~
4541 #       Alt-D                   \E[84~
4542 #       Alt-E                   \E[85~
4543 #       Alt-F                   \E[86~
4544 #       Alt-G                   \E[87~
4545 #       Alt-H                   \E[88~
4546 #       Alt-I                   \E[89~
4547 #       Alt-J                   \E[90~
4548 #       Alt-K                   \E[91~
4549 #       Alt-L                   \E[92~
4550 #       Alt-M                   \E[93~
4551 #       Alt-N                   \E[94~
4552 #       Alt-O                   \E[95~
4553 #       Alt-P                   \E[96~
4554 #       Alt-Q                   \E[97~
4555 #       Alt-R                   \E[98~
4556 #       Alt-S                   \E[99~
4557 #       Alt-T                   \E[100~
4558 #       Alt-U                   \E[101~
4559 #       Alt-V                   \E[102~
4560 #       Alt-W                   \E[103~
4561 #       Alt-X                   \E[104~
4562 #       Alt-Y                   \E[105~
4563 #       Alt-Z                   \E[106~
4564 djgpp|ansi emulation for DJGPP alpha, 
4565         am, bce, msgr, xhp, xon, xt, 
4566         colors#8, it#8, pairs#64, 
4567         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, 
4568         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v, 
4569         clear=\E[H\E[J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD, cub1=^H, 
4570         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
4571         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
4572         cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
4573         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
4574         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, 
4575         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
4576         indn=\E[%p1%dS, invis=\E[8m, kbs=^H, kcub1=\E[D, 
4577         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
4578         kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, 
4579         kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, 
4580         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
4581         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=^M^J, 
4582         op=\E[37;40m, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, 
4583         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
4584         sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%e;25%;%?%p6%t;1%;%?%p7%t;8%;m, 
4585         sgr0=\E[m, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, 
4586
4587 djgpp203|Entry for DJGPP 2.03, 
4588         OTbs, am, 
4589         cols#80, it#8, lines#25, 
4590         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
4591         kcud1=^J, nel=^M^J, 
4592
4593 djgpp204|Entry for DJGPP 2.04, 
4594         OTbs, am, AX, 
4595         colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64, 
4596         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v, 
4597         clear=\E[H\E[2J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD, 
4598         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
4599         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
4600         cuu1=\E[A, cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P, 
4601         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
4602         home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
4603         il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbs=^H, 
4604         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
4605         kdch1=\E[3~, kf0=\E[21~, kf1=\E[[A, kf10=\E[21~, kf2=\E[[B, 
4606         kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, 
4607         kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
4608         kll=\E[4~, knp=\E[6~, kpp=\E[5~, nel=^M^J, rev=\E[7m, 
4609         ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, setab=\E[4%p1%dm, 
4610         setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
4611
4612 # This is tested using U/Win's telnet.  Scrolling is omitted because it is
4613 # buggy.  Another odd bug appears when displaying "~" in alternate character
4614 # set (the emulator spits out error messages).  Compare with att6386 -TD
4615 uwin|U/Win 3.2 console, 
4616         am, eo, in, msgr, xenl, xon, 
4617         colors#8, it#8, ncv#58, pairs#64, 
4618         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, 
4619         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
4620         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, cud1=^J, 
4621         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
4622         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, ech=\E[%p1%dX, 
4623         ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, 
4624         ich=\E[%p1%d@, ich1=\E[@, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
4625         kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[Y, kf1=\EOP, 
4626         kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, kf3=\EOR, 
4627         kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, 
4628         khome=\E[H, kich1=\E[@, nel=^M^J, op=\E[39;49m, rc=\E8, 
4629         rev=\E[7m, rmacs=\E[10m, rmir=\E[4l, rmpch=\E[10m, 
4630         rmso=\E[27m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7, 
4631         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m, 
4632         smacs=\E[11m, smir=\E[4h, smpch=\E[11m, smso=\E[7m, 
4633         smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, 
4634
4635 # This entry fits the Windows NT console when the _POSIX_TERM environment
4636 # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
4637 # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
4638 # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
4639 # systems is not, and (surprise!) they match very well.
4640 #
4641 # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
4642 # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
4643 # are the installation instructions a pile of mind-numbing bureaucratese,
4644 # but the termcap entry is actually broken and unusable as given; the :do:
4645 # capability is misspelled "d".
4646 #
4647 # To use this, you need to a bunch of environment variables: 
4648 #
4649 # SET _POSIX_TERM=on
4650 # SET TERM=ansi
4651 # SET TERMCAP=location of termcap file in POSIX file format
4652 # which is case-sensitive.
4653 # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
4654 # SET TMP=//C/TEMP
4655 #
4656 # Important note: setting the TMP environment variable in POSIX style renders
4657 # it incompatible with a lot of other applications, including Visual C++. So
4658 # you should have a separate command window just for vi. All the other
4659 # variables may be permanently set in the Control Panel\System applet. 
4660 #
4661 # You can find out more about the restrictions of this facility at
4662 # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
4663 #
4664 # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
4665 ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode, 
4666         am, bw, msgr, 
4667         cols#80, it#8, lines#25, 
4668         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
4669         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
4670         home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V, 
4671         kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m, 
4672         ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m, 
4673 # From: jew@venus.sunquest.com
4674 # Date: 19 Feb 93 23:41:07 GMT
4675 # Here's  a  combination of  ansi and  vt100 termcap
4676 # entries   that  works  nearly   perfectly  for  me
4677 # (Gateway 2000 Handbook and Microsoft Works 3.0):
4678 pcmw|PC running Microsoft Works, 
4679         am, xenl, 
4680         cols#80, it#8, lines#24, vt#3, 
4681         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
4682         clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, 
4683         cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
4684         cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
4685         ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, 
4686         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
4687         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>, 
4688         rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/lib/tabset/vt100, 
4689         ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
4690         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
4691         sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
4692         tbc=\E[3g$<2/>, 
4693
4694 # From: Federico Bianchi
4695 # This is the entry for the OpenNT terminal.
4696 # The ntconsole name is for backward compatability.
4697 # This is for OpenNT 2.0 and later.
4698 # Later OpenNT was renamed to Interix.
4699 #
4700 # Presently it is distributed by Microsoft as Services For Unix (SFU).
4701 # The 3.5 beta contains ncurses 4.2 (that is header files and executables,
4702 # the documentation dates from 1.9.9e) -TD
4703
4704 interix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color, 
4705         am, bw, msgr, 
4706         colors#8, cols#80, lines#25, ncv#3, pairs#64, 
4707         acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234, 
4708         bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[2J, cub=\E[%p1%dD, 
4709         cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
4710         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
4711         cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
4712         home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
4713         indn=\E[%p1%dS, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
4714         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[M, kend=\E[U, kf0=\EFA, 
4715         kf1=\EF1, kf10=\EFA, kf11=\EFB, kf12=\EFC, kf13=\EFD, 
4716         kf14=\EFE, kf15=\EFF, kf16=\EFG, kf17=\EFH, kf18=\EFI, 
4717         kf19=\EFJ, kf2=\EF2, kf20=\EFK, kf21=\EFL, kf22=\EFM, 
4718         kf23=\EFN, kf24=\EFO, kf25=\EFP, kf26=\EFQ, kf27=\EFR, 
4719         kf28=\EFS, kf29=\EFT, kf3=\EF3, kf30=\EFU, kf31=\EFV, 
4720         kf32=\EFW, kf33=\EFX, kf34=\EFY, kf35=\EFZ, kf36=\EFa, 
4721         kf37=\EFb, kf38=\EFc, kf39=\EFd, kf4=\EF4, kf40=\EFe, 
4722         kf41=\EFf, kf42=\EFg, kf43=\EFh, kf44=\EFi, kf45=\EFj, 
4723         kf46=\EFk, kf47=\EFm, kf48=\EFn, kf49=\EFo, kf5=\EF5, 
4724         kf50=\EFp, kf51=\EFq, kf52=\EFr, kf53=\EFs, kf54=\EFt, 
4725         kf55=\EFu, kf56=\EFv, kf57=\EFw, kf58=\EFx, kf59=\EFy, 
4726         kf6=\EF6, kf60=\EFz, kf61=\EF+, kf62=\EF-, 
4727         kf63=\EF\014 kf64=\EF$, kf7=\EF7, kf8=\EF8, kf9=\EF9, 
4728         kich1=\E[L, kll=\E[U, knp=\E[T, kpp=\E[S, ll=\E[U, nel=^M^J, 
4729         op=\E[m, rc=\E[u, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
4730         rmcup=\E[2b\E[u\r\E[K, rmso=\E[m, rmul=\E[m, rs1=\Ec, 
4731         sc=\E[s, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
4732         setb=\E[%p1%{40}%+%dm, setf=\E[%p1%{30}%+%dm, 
4733         sgr0=\E[0m, smcup=\E[s\E[1b, smso=\E[1m, smul=\E[4m, 
4734
4735 opennt-35|ntconsole-35|OpenNT-term35 compatible with color, 
4736         lines#35, use=opennt, 
4737
4738 opennt-50|ntconsole-50|OpenNT-term50 compatible with color, 
4739         lines#50, use=opennt, 
4740
4741 opennt-60|ntconsole-60|OpenNT-term60 compatible with color, 
4742         lines#60, use=opennt, 
4743
4744 opennt-100|ntconsole-100|OpenNT-term100 compatible with color, 
4745         lines#100, use=opennt, 
4746
4747 # OpenNT wide terminals
4748 opennt-w|opennt-25-w|ntconsole-w|ntconsole-25-w|OpenNT-term-w compat with color, 
4749         cols#125, use=opennt, 
4750
4751 opennt-35-w|ntconsole-35-w|OpenNT-term35-w compatible with color, 
4752         lines#35, use=opennt-w, 
4753
4754 opennt-50-w|ntconsole-50-w|OpenNT-term50-w compatible with color, 
4755         lines#50, use=opennt-w, 
4756
4757 opennt-60-w|ntconsole-60-w|OpenNT-term60-w compatible with color, 
4758         lines#60, use=opennt-w, 
4759
4760 opennt-w-vt|opennt-25-w-vt|ntconsole-w-vt|ntconsole-25-w-vt|OpenNT-term-w-vt compat with color, 
4761         cols#132, use=opennt, 
4762
4763 # OpenNT terminals with no smcup/rmcup (names match termcap entries)
4764 interix-nti|opennt-nti|opennt-25-nti|ntconsole-25-nti|OpenNT-nti compatible with color, 
4765         rmcup@, smcup@, use=opennt, 
4766
4767 opennt-35-nti|ntconsole-35-nti|OpenNT-term35-nti compatible with color, 
4768         lines#35, use=opennt-nti, 
4769
4770 opennt-50-nti|ntconsole-50-nti|OpenNT-term50-nti compatible with color, 
4771         lines#50, use=opennt-nti, 
4772
4773 opennt-60-nti|ntconsole-60-nti|OpenNT-term60-nti compatible with color, 
4774         lines#60, use=opennt-nti, 
4775
4776 opennt-100-nti|ntconsole-100-nti|OpenNT-term100-nti compatible with color, 
4777         lines#100, use=opennt-nti, 
4778
4779 ######## COMMON TERMINAL TYPES
4780 #
4781 # This section describes terminal classes and maker brands that are still
4782 # quite common, but have proprietary command sets not blessed by ANSI.
4783 #
4784
4785 #### Altos
4786 #
4787 # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
4788 # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
4789 # Acer has a web site at http://www.acer.com.
4790 #
4791 # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
4792 # His comments suggest they were shipped with the system.
4793 #
4794
4795 # (altos2: had extension capabilities
4796 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
4797 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
4798 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
4799 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
4800 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
4801 #       :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
4802 #       :HL=^AP\r:SP=\E[i:\
4803 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
4804 #       :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
4805 # Comparison with the k* capabilities makes it obvious that the c* things are
4806 # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
4807 # :sr: was given as a boolean-- esr)
4808 altos2|alt2|altos-2|altos II, 
4809         cols#80, it#8, lines#24, xmc#0, 
4810         clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C, 
4811         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl1=\E[M, 
4812         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
4813         if=/usr/share/tabset/vt100, il1=\E[L, ind=^J, 
4814         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
4815         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D, 
4816         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r, 
4817         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
4818         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
4819         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
4820         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
4821         kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r, 
4822         nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
4823         smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
4824 # (altos3: had extension capabilities
4825 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
4826 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
4827 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
4828 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
4829 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
4830 #       :HL=^AP\r:SP=\E[i:\
4831 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
4832 altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
4833         blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2, 
4834 altos4|alt4|altos-4|altos IV, 
4835         use=wy50, 
4836 # (altos7: had extension capabilities:
4837 #       :GG#0:GI=\EH8:GF=\EH7:\
4838 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
4839 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
4840 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
4841 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
4842 # Comparison with the k* capabilities makes it obvious that the c* things are
4843 # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
4844 # also made this entry relative to adm12 in order to give it an <sgr>. The
4845 # <invis> imported by use=adm+sgr may work, let me know. -- esr)
4846 altos7|alt7|altos VII, 
4847         am, mir, 
4848         cols#80, lines#24, xmc#0, 
4849         acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt, 
4850         clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4851         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4852         dim=\EGp, dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
4853         ind=^J, invis=\EG1, 
4854         is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r, 
4855         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H, 
4856         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r, 
4857         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
4858         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
4859         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
4860         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
4861         kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r, 
4862         knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej, 
4863         rmir=\Er, smir=\Eq, use=adm+sgr, 
4864 altos7pc|alt7pc|altos PC VII, 
4865         kend=\ET, use=altos7, 
4866
4867 #### Hewlett-Packard (hp)
4868 #
4869 #       Hewlett-Packard
4870 #       8000 Foothills Blvd 
4871 #       Roseville, CA 95747
4872 #       Vox: 1-(916)-785-4363   (Technical response line for VDTs)
4873 #            1-(800)-633-3600   (General customer support)
4874 #
4875 #
4876 # As of March 1998, HP no longer has any terminals in production.
4877 # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being 
4878 # supported (they still have parts). So are the 2392a and 2394a.
4879 # See the WORKSTATION CONSOLES section for the 700s.
4880 #
4881
4882 # Generic HP terminal - this should (hopefully) work on any HP terminal.
4883 hpgeneric|hp|hewlett-packard generic terminal, 
4884         OTbs, OTpt, am, da, db, mir, xhp, 
4885         cols#80, lines#24, lm#0, vt#6, 
4886         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
4887         cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM, 
4888         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
4889         ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
4890         sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
4891         vpa=\E&a%p1%dY, 
4892
4893 hp110|hewlett-packard model 110 portable, 
4894         lines#16, use=hpgeneric, 
4895
4896 hp+pfk+cr|hp function keys with CR, 
4897         kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
4898         kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
4899
4900 hp+pfk-cr|hp function keys w/o CR, 
4901         kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
4902         kf8=\Ew, 
4903
4904 # The hp2621s use the same keys for the arrows and function keys, 
4905 # but not separate escape sequences. These definitions allow the 
4906 # user to use those keys as arrow keys rather than as function 
4907 # keys.
4908 hp+pfk+arrows|hp alternate arrow definitions, 
4909         kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@, 
4910         kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r, 
4911         kll=\Eq\r, kri=\Es\r, 
4912
4913 hp+arrows|hp arrow definitions, 
4914         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
4915         kind=\ES, kll=\EF, kri=\ET, 
4916
4917 # Generic stuff from the HP 262x series
4918 #
4919 hp262x|HP 262x terminals, 
4920         xhp, 
4921         blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES, 
4922         invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
4923         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
4924         kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
4925         krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
4926         sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c, 
4927         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
4928
4929 # Note: no <home> on HPs since that homes to top of memory, not screen.
4930 # Due to severe 2621 braindamage, the only way to get the arrow keys to
4931 # transmit anything at all is to turn on the function key labels
4932 # with <smkx>, and even then the user has to hold down shift!
4933 # The default 2621 turns off the labels except when it has to to 
4934 # enable the function keys. If your installation prefers labels 
4935 # on all the time, or off all the time (at the "expense" of the 
4936 # function keys), use 2621-nl or 2621-wl.
4937
4938 # Note: there are newer ROMs for 2621's that allow you to set 
4939 # strap A so the regular arrow keys xmit \EA, etc, as with the 
4940 # 2645. However, even with this strap set, the terminal stops 
4941 # xmitting if you reset it, until you unset and reset the strap!
4942 # Since there is no way to set/unset the strap with an escape 
4943 # sequence, we don't use it in the default.
4944 # If you like, you can use 2621-ba (brain-damaged arrow keys).
4945 hp2621-ba|2621 w/new rom and strap A set, 
4946         rmkx@, smkx@, use=hp+arrows, use=hp2621, 
4947
4948 # hp2621 with function labels. Most of the time they are off,
4949 # but inside vi, the function key labels appear. You have to
4950 # hold down shift to get them to xmit.
4951 hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
4952         is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl, 
4953 hp2621-fl|hp 2621, 
4954         xhp@, xon, 
4955         pb#19200, 
4956         cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>, 
4957         ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@, 
4958         sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD, 
4959         use=hp+pfk+cr, use=hpgeneric, 
4960
4961 # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
4962 hp2621p|hp 2621 with printer, 
4963         mc4=\E&p13C, mc5=\E&p11C, use=hp2621, 
4964
4965 hp2621p-a|hp2621p with fn as arrows, 
4966         use=hp+pfk+arrows, use=hp2621p, 
4967
4968 # hp2621 with k45 keyboard
4969 hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard, 
4970         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
4971         khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621, 
4972
4973 # 2621 using all 48 lines of memory, only 24 visible at any time.  
4974 hp2621-48|48 line 2621, 
4975         lines#48, 
4976         cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, 
4977         use=hp2621, 
4978
4979 # 2621 with no labels ever. Also prevents vi delays on escape.
4980 hp2621-nl|hp 2621 with no labels, 
4981         kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, 
4982         use=hp2621-fl, 
4983
4984 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
4985 # (wrong).
4986 #
4987 hp2621-nt|hp 2621 w/no tabs, 
4988         ht@, use=hp2621, 
4989
4990 # Hp 2624 B with 4 or 10 pages of memory.
4991
4992 # Some assumptions are made with this entry. These settings are 
4993 # NOT set up by the initialization strings.
4994
4995 # Port Configuration
4996 #       RecvPace=Xon/Xoff
4997 #       XmitPace=Xon/Xoff
4998 #       StripNulDel=Yes
4999
5000 # Terminal Configuration
5001 #       InhHndShk=Yes
5002 #       InhDC2=Yes
5003 #       XmitFnctn(A)=No
5004 #       InhEolWrp=No
5005
5006 # Note: the 2624 DOES have a true <home>, believe it or not!
5007
5008 # The 2624 has an "error line" to which messages can be sent. 
5009 # This is CLOSE to what is expected for a "status line". However,
5010 # after a message is sent to the "error line", the next carriage 
5011 # return is EATEN and the "error line" is turned back off again! 
5012 # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
5013
5014 # This entry supports emacs (and any other program that uses raw 
5015 # mode) at 4800 baud and less. I couldn't get the padding right 
5016 # for 9600.
5017 #
5018 # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
5019 hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B, 
5020         da, db, 
5021         lm#96, 
5022         flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, 
5023         use=hp+labels, use=scrhp, 
5024
5025 # This hp2626 entry does not use any of the fancy windowing stuff 
5026 # of the 2626.
5027
5028 # Indeed, terminfo does not yet handle such stuff. Since changing 
5029 # any window clears memory, it is probably not possible to use 
5030 # this for screen opt.
5031
5032 # ed is incredibly slow most of the time - I am guessing at the 
5033 # exact padding. Since the terminal uses xoff/xon this is intended 
5034 # only for cost computation, so that the terminal will prefer el 
5035 # or even dl1 which is probably faster!
5036
5037 # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
5038 # extra slow on the last line of the window. 
5039
5040 # The padding probably should be changed.
5041 #
5042 hp2626|hp2626a|hp2626p|hp 2626, 
5043         da, db, 
5044         lm#0, pb#19200, 
5045         ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
5046         is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr, 
5047         use=hp+labels, use=scrhp, 
5048
5049 # This entry is for sysline. It allocates a 23 line window with 
5050 # a 115 line workspace for regular use, and a 1 line window for 
5051 # the status line.
5052
5053 # This assumes port 2 is being used.
5054 # Turn off horizontal line, Create ws #1 with 115 lines,
5055 # Create ws #2 with 1 line, Create window #1 lines 1-23,
5056 # Create window #2 lines 24-24, Attach cursor to workspace #1.
5057 # Note that this clears the tabs so it must be done by tset before
5058 # it sets the tabs.
5059 #
5060 hp2626-s|hp 2626 using only 23 lines, 
5061         eslok, hs, 
5062         lines#23, 
5063         fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
5064         is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
5065         tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626, 
5066 # Force terminal back to 24 lines after being 23.
5067 hp2626-ns|hp 2626 using all 24 lines, 
5068         is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, 
5069         use=hp2626, 
5070 # Various entries useful for small windows on 2626.
5071 hp2626-12|hewlett-packard 2626 12 lines, 
5072         lines#12, use=hp2626, 
5073 hp2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
5074         cols#40, lines#12, use=hp2626, 
5075 hp2626-x40|hewlett-packard 2626 40 columns, 
5076         cols#40, use=hp2626, 
5077 hp2626-12-s|hewlett-packard 2626 11 lines plus status, 
5078         lines#11, use=hp2626-s, 
5079
5080 #
5081 # hp2627 color tubes from University of Wisconsin
5082 #
5083 hp2627a-rev|hp 2627 with reverse video colors, 
5084         cr=^M, cud1=^J, ht=^I, ind=^J, 
5085         is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
5086         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@, 
5087         smul=\E&dD\E&v1S, use=hp2621-nl, 
5088 hp2627a|hp 2627 color terminal with no labels, 
5089         cr=^M, cud1=^J, ht=^I, ind=^J, 
5090         is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
5091         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
5092         rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, 
5093         use=hp2621-nl, 
5094 hp2627c|hp 2627 color (cyan) terminal with no labels, 
5095         cr=^M, cud1=^J, ht=^I, ind=^J, 
5096         is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
5097         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a, 
5098
5099 # hp2640a doesn't have the Y cursor addressing feature, and C is 
5100 # memory relative instead of screen relative, as we need.
5101 #
5102 hp2640a|hp 2640a, 
5103         cup@, rmkx@, smkx@, use=hp2645, 
5104
5105 hp2640b|hp2644a|hp 264x series, 
5106         rmkx@, smkx@, use=hp2645, 
5107
5108 # (hp2641a: removed unknown :gu: -- esr)
5109 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry, 
5110         am, da, db, mir, xhp, 
5111         cols#80, lines#24, 
5112         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
5113         cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM, 
5114         ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I, 
5115         if=/usr/share/tabset/std, il1=\EL, ind=^J, 
5116         is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
5117         rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB, 
5118         vpa=\E&a%p1%2dY, 
5119
5120 # This terminal should be used at 4800 baud or less. It needs padding for
5121 # plain characters at 9600, I guessed at an appropriate cr delay.  It really
5122 # wants ^E/^F handshaking, but that doesn't work well even if you write
5123 # software to support it.
5124 hp2645|hp45|HP 2645 series, 
5125         pb#9600, 
5126         blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED, 
5127         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
5128         ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
5129         kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
5130         rmkx=\E&s0A, 
5131         sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c, 
5132         sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric, 
5133 # You should use this terminal at 4800 baud or less.
5134 hp2648|hp2648a|HP 2648a graphics terminal, 
5135         clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
5136         dch1=\EP$<7>, ip=$<5>, use=hp2645, 
5137
5138 # The HP 150 terminal is a fairly vanilla HP terminal, with the 
5139 # clreol standout problem. It also has graphics capabilities and 
5140 # a touch screen, which we don't describe here.
5141 hp150|hewlett packard Model 150, 
5142         OTbs, use=hp2622, 
5143
5144 # HP 2382a terminals, "the little ones." They don't have any 
5145 # alternate character set support and sending out ^N/^O will 
5146 # leave the screen blank.
5147 hp2382a|hp2382|hewlett packard 2382a, 
5148         da, db, 
5149         lh#1, lm#48, 
5150         acsc@, 
5151         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
5152         rmacs@, 
5153         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%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c, 
5154         sgr0=\E&d@, smacs@, use=hp+labels, use=scrhp, 
5155
5156 hp2621-a|hp2621a-a|hp2621 with fn as arrows, 
5157         use=hp+pfk+arrows, use=hp2621-fl, 
5158
5159 # newer hewlett packard terminals
5160
5161 newhpkeyboard|generic entry for HP extended keyboard, 
5162         kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
5163         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
5164         kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV, 
5165         kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A, 
5166         use=hp+pfk-cr, 
5167
5168 newhp|generic entry for new hewlett packard terminals, 
5169         am, bw, mir, xhp, xon, 
5170         cols#80, lines#24, pb#4800, 
5171         acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x., 
5172         bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
5173         cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
5174         dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
5175         invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J, 
5176         pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
5177         pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
5178         pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
5179         rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
5180         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%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;, 
5181         sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
5182         tbc=\E3, use=newhpkeyboard, 
5183
5184 memhp|memory relative addressing for new HP ttys, 
5185         vt#6, 
5186         clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, 
5187         cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, 
5188         home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r, 
5189         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp, 
5190
5191 scrhp|screen relative addressing for new HP ttys, 
5192         clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
5193         cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
5194         cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
5195         home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
5196         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp, 
5197
5198 # (hp+labels: added label values from a BRL termcap -- esr)
5199 hp+labels|"standard" label info for new HP ttys, 
5200         lh#2, lw#8, nlab#8, 
5201         lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
5202         pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
5203         rmln=\E&j@, smln=\E&jB, 
5204
5205 hp+printer|"standard" printer info for HP ttys, 
5206         ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C, 
5207
5208
5209 # The new hp2621b is kind of a cross between the old 2621 and the
5210 # new 262x series of machines. It has dip-switched options. 
5211 # The firmware has a bug in it such that if you give it a null 
5212 # length label, the following character is eaten!
5213 hp2621b|hp 2621b with old style keyboard, 
5214         lh#1, lm#48, lw#8, nlab#8, 
5215         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
5216         kind=\ET, kll=\EF, kri=\ES, 
5217         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r, 
5218         smln=\E&jB, use=hp2621, 
5219
5220 hp2621b-p|hp 2621b with printer, 
5221         use=hp+printer, use=hp2621b, 
5222
5223 # hp2621b - new 2621b with new extended keyboard
5224 # these are closer to the new 26xx series than the other 2621b
5225 hp2621b-kx|hp 2621b with extended keyboard, 
5226         use=newhpkeyboard, use=hp2621b, 
5227
5228 hp2621b-kx-p|hp 2621b with new keyboard & printer, 
5229         use=hp+printer, use=hp2621b-kx, 
5230
5231 # Some assumptions are made in the following entries.
5232 # These settings are NOT set up by the initialization strings.
5233
5234 #    Port Configuration
5235 # RecvPace=Xon/Xoff     XmitPace=Xon/Xoff       StripNulDel=Yes
5236
5237 #    Terminal Configuration
5238 # InhHndShk(G)=Yes      InhDC2(H)=Yes
5239 # XmitFnctn(A)=No               InhEolWrp=No
5240 #
5241
5242 # Hp 2622a & hp2623a display and graphics terminals
5243 #
5244 hp2622|hp2622a|hp 2622, 
5245         da, db, 
5246         lm#0, pb#19200, 
5247         is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp, 
5248
5249 # The 2623 is a 2622 with extra graphics hardware.
5250 hp2623|hp2623a|hp 2623, 
5251         use=hp2622, 
5252
5253 hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
5254         use=hp+printer, use=hp2624, 
5255
5256 # The hewlett packard B can have an optional extra 6 pages of memory.
5257 hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
5258         lm#240, use=hp2624, 
5259
5260 hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
5261         lm#240, use=hp2624b-p, 
5262
5263 # Color manipulations for HP terminals
5264 hp+color|hp with colors, 
5265         ccc, 
5266         colors#16, ncv#17, pairs#7, 
5267         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, 
5268         oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
5269         op=\E&v0S, scp=\E&v%p1%dS, 
5270
5271 # <is2> sets the screen to be 80 columns wide
5272 hp2397a|hp2397|hewlett packard 2397A color terminal, 
5273         is2=\E&w6f80X, use=memhp, use=hp+labels, use=hp+color, 
5274
5275 #  HP 700/44 Setup parameters:  
5276 # Terminal Mode         HP-PCterm
5277 # Inhibit Auto Wrap     NO
5278 # Status Line           Host Writable
5279 # PC Character Set      YES
5280 # Twenty-Five Line Mode YES
5281 # XON/XOFF              @128 or 64 (sc)
5282 # Keycode Mode          NO   or YES (sc)
5283 # Backspace Key         BS or BS/DEL
5284 #
5285 # <is2>         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
5286 # \E\\? does not turn off keycode mode
5287 # <smsc>        sets alternate start/stop; keycode on
5288 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
5289         am, eo, xenl, xon, 
5290         cols#80, lines#25, 
5291         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
5292         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
5293         cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
5294         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
5295         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
5296         ind=^J, 
5297         is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
5298         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
5299         kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
5300         kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, 
5301         kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~, 
5302         kpp=\E[5~, rmam=\E[?7l, 
5303         rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m, 
5304         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
5305         smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
5306         smul=\E[4m, xoffc=g, xonc=e, 
5307 #
5308 # (hp2392: copied <rmir> here from hpex -- esr)
5309 hp2392|239x series, 
5310         cols#80, 
5311         cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r, 
5312         kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, 
5313         kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, 
5314         rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, 
5315         use=hpsub, 
5316
5317 hpsub|hp terminals -- capability subset, 
5318         am, da, db, mir, xhp, xon, 
5319         lines#24, 
5320         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
5321         cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
5322         ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
5323         is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
5324         kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@, 
5325         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, 
5326
5327 # hpex:
5328 #       May be used for most 24 x 80 hp terminals,
5329 # but has no padding added, so may allow runover in some terminals at high 
5330 # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
5331 # hp98x5 terminal emulators or hp98x6 consoles.  
5332 #       Adds xy-cursor addressing, vertical cursor addressing, home, 
5333 # last line, and underline capabilities.
5334 #
5335 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
5336 # moved <rmir> here from hpsub -- esr)
5337 hpex|hp extended capabilites, 
5338         cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H, 
5339         kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ, 
5340         smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub, 
5341
5342 # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
5343 hp2|hpex2|hewlett-packard extended capabilities newer version, 
5344         am, da, db, mir, xhp, 
5345         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0, 
5346         bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
5347         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
5348         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
5349         il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
5350         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
5351         ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
5352         kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
5353         kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
5354         krmir=\ER, ktbc=\E3, meml=\El, memu=\Em, 
5355         pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
5356         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
5357         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
5358         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
5359         rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
5360         sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
5361         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
5362         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
5363
5364 # HP 236 console
5365 # From: <ddavis@ic.berkeley.edu>
5366 hp236|hp236 internal terminal emulator, 
5367         OTbs, am, 
5368         cols#80, lines#24, 
5369         clear=\EF, cnorm=\EDE, cub1=^H, 
5370         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB, 
5371         dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI, 
5372         sgr0=\ECI, smso=\EBI, 
5373
5374 # This works on a hp300 console running Utah 4.3 BSD
5375 # From: Craig Leres <leres@okeeffe.berkeley.edu>
5376 hp300h|HP Catseye console, 
5377         OTbs, am, da, db, mir, xhp, 
5378         cols#128, lines#51, lm#0, xmc#0, 
5379         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
5380         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
5381         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
5382         if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H, 
5383         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
5384         rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, 
5385         smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
5386         vpa=\E&a%p1%dY, 
5387 # From: Greg Couch <gregc@ernie.berkeley.edu>
5388 hp9837|hp98720|hp98721|HP 9000/300 workstations, 
5389         OTbs, am, da, db, mir, xhp, 
5390         cols#128, it#8, lines#46, lm#0, 
5391         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB, 
5392         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
5393         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
5394         il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED, 
5395         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
5396         ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU, 
5397         kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, 
5398         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
5399         tbc=\E3, vpa=\E&a%p1%dY, 
5400 # HP 9845 desktop computer from BRL
5401 # (hp9845: removed unknown capability :gu: -- esr)
5402 hp9845|HP 9845, 
5403         OTbs, am, da, db, eo, mir, xhp, 
5404         cols#80, lines#21, 
5405         OTbc=\ED, clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, 
5406         cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, 
5407         if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@, 
5408         smir=\EQ, smso=\E&dB, 
5409 # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
5410 # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
5411 # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
5412 hp98550|hp98550a|HP 9000 Series 300 color console, 
5413         OTbs, am, da, db, mir, xhp, 
5414         cols#128, it#8, lines#49, lm#0, 
5415         acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR, 
5416         clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
5417         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
5418         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
5419         if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds, 
5420         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
5421         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
5422         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
5423         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
5424         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, 
5425         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
5426         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ, 
5427         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
5428 # From: Victor Duchovni <vic@fine.princeton.edu>
5429 # (hp700-wy: removed obsolete ":nl=^J:";
5430 # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
5431 hp700-wy|HP700/41 emulating wyse30, 
5432         OTbs, am, bw, mir, msgr, 
5433         cols#80, it#8, lines#24, xmc#1, 
5434         cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
5435         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5436         dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1, 
5437         if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>, 
5438         is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI, 
5439         kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY, 
5440         kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, 
5441         ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
5442         sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
5443         smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
5444 hp70092|hp70092a|hp70092A|HP 700/92, 
5445         am, da, db, xhp, 
5446         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
5447         acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA, 
5448         bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, 
5449         cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, 
5450         dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
5451         hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
5452         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
5453         ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
5454         kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
5455         kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
5456         krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER, 
5457         rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
5458         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
5459         smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
5460
5461 bobcat|sbobcat|HP 9000 model 300 console, 
5462         am, da, db, mir, xhp, 
5463         cols#128, it#8, lines#47, xmc#0, 
5464         cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
5465         cup=\E&a%p1%dy%p2%dC$<6/>, cuu1=\EA, dch1=\EP, 
5466         dl1=\EM$<10*/>, ed=\EJ, el=\EK, hpa=\E&a%p1%dC$<6/>, ht=^I, 
5467         il1=\EL$<10*/>, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
5468         kcuf1=\EC, kcuu1=\EA, khome=\Eh, nel=^M^J, rmir=\ER, 
5469         rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smir=\EQ, 
5470         smkx=\E&s1A, smso=\E&dB, smul=\E&dD, vpa=\E&a%p1%dY$<6/>, 
5471 gator-t|HP 9000 model 237 emulating extra-tall AAA, 
5472         lines#94, use=gator, 
5473 gator|HP 9000 model 237 emulating AAA, 
5474         bw, km, mir, ul, 
5475         cols#128, it#8, lines#47, 
5476         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
5477         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, 
5478         dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>, 
5479         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, 
5480         ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
5481         il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
5482         rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
5483         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
5484 gator-52|HP 9000 model 237 emulating VT52, 
5485         cols#128, lines#47, use=vt52, 
5486 gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
5487         lines#94, use=gator-52, 
5488
5489 #### Honeywell-Bull
5490 #
5491 # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
5492 #
5493
5494 # Honeywell Bull terminal.  Its cursor and function keys send single
5495 # control characters and it has standout/underline glitch.  Most programs
5496 # do not like these features/bugs.  Visual bell is realized by flashing the
5497 # "keyboard locked" LED.
5498 dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
5499         cols#80, lines#25, 
5500         clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
5501         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
5502         flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y, 
5503         kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J, 
5504 dku7003|Honeywell Bull DKU 7003 all features described, 
5505         msgr, 
5506         xmc#1, 
5507         blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m, 
5508         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
5509         use=dku7003-dumb, 
5510
5511 #### Lear-Siegler (adm)
5512 #
5513 # These guys are long since out of the terminals business, but
5514 # in 1995 many current terminals still have an adm type as one of their
5515 # emulations (usually their stupidest, and usually labeled adm3, though
5516 # these `adm3' emulations normally have adm3a+ capabilities).
5517 #
5518 # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
5519 # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
5520 # was being held to ground would trigger a send of the top line on the screen.
5521 # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
5522 # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
5523 # for clearing up this point.)
5524
5525 adm1a|adm1|lsi adm1a, 
5526         am, 
5527         cols#80, lines#24, 
5528         bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5529         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
5530         ind=^J, 
5531 adm2|lsi adm2, 
5532         OTbs, am, 
5533         cols#80, lines#24, 
5534         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5535         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5536         dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
5537         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
5538 # (adm3: removed obsolete ":ma=^K^P:" -- esr)
5539 adm3|lsi adm3, 
5540         OTbs, am, 
5541         cols#80, lines#24, 
5542         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
5543 # The following ADM-3A switch settings are assumed for normal operation:
5544 #       SPACE           U/L_DISP        CLR_SCRN        24_LINE
5545 #       CUR_CTL         LC_EN           AUTO_NL         FDX
5546 # Other switches may be set for operator convenience or communication
5547 # requirements.  I recommend
5548 #       DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
5549 #       ETX_OFF         EOT_OFF
5550 # Most of these terminals required an option ROM to support lower case display.
5551 # Open the case and look at the motherboard; if you see an open 24-pin DIP
5552 # socket, you may be out of luck.
5553 #
5554 # (adm3a: some capabilities merged in from BRl entry -- esr)
5555 adm3a|lsi adm3a, 
5556         OTbs, am, 
5557         cols#80, lines#24, 
5558         OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, 
5559         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5560         cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, 
5561         kcuu1=^K, rs2=^N, 
5562 adm3a+|adm3a plus, 
5563         kbs=^H, use=adm3a, 
5564 # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
5565 adm5|lsi adm5, 
5566         xmc#1, 
5567         bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^, 
5568         rmso=\EG, smso=\EG, use=adm3a+, 
5569 # A lot of terminals other than adm11s use these.  Wherever you see
5570 # use=adm+sgr with some of its capabilities disabled, try the
5571 # disabled ones.  They may well work but not have been documented or
5572 # expressed in the using entry.  We'd like to cook up an <sgr> but the
5573 # <rmacs>/<smacs> sequences of the using entries vary too much.
5574 adm+sgr|adm style highlight capabilities, 
5575         invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
5576         smso=\EG4, smul=\EG8, 
5577 # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
5578 # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
5579 # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
5580 # be ^Z, according to his entry.
5581 # (adm11: <smul>=\EG4 was obviously erroneous because it also said
5582 # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
5583 adm11|LSI ADM-11, 
5584         OTbs, am, hs, 
5585         OTkn#8, cols#80, lines#24, 
5586         OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, 
5587         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5588         cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, 
5589         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
5590         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5591         kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E), 
5592         use=adm+sgr, 
5593 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
5594 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
5595 # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
5596 # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
5597 # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
5598 # via BRL.  That entry asserted <xmc#1>, but I've left that out because 
5599 # neither earlier nor later ADMSs have it -- esr)
5600 #
5601 # You will need to get into the supervisor setup before you can set
5602 # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
5603 # see a lot more setup options.
5604
5605 # While in supervisor setup you can also use following codes:
5606
5607 # Ctrl-P Personality character selections (configure for example what
5608 #        arrow keys send, if I recall correctly)
5609 # Ctrl-T tabs 1-80   use left&right to move and up to set and
5610 # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
5611 # Ctrl-B Binary setup (probably not needed. I think that everything can
5612 #        be set using normal setup)
5613 # Ctrl-A Answerback mode (enter answerback message)
5614 # Ctrl-U User friendly mode (normal setup)
5615 # Ctrl-D Defaults entire setup and function keys from EPROM tables
5616 # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
5617 # Ctrl-R Reads both setup and functions keys from NVM.
5618 # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
5619
5620 # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
5621 # RTS/CTS used nowadays with virtually every modem and computer. 19200
5622 # bps works fine with hardware flow control.
5623
5624 # The following null-modem cable should fix this and enable you to use
5625 # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
5626 # set ADM-12+ for DTR handshaking from supervisor setup.
5627
5628 # PC Serial   ADM-12+
5629 #  --------   -------
5630 #         2 - 3
5631 #         3 - 2
5632 #         4 - 5
5633 #         5 - 20
5634 #       6,8 - 4
5635 #         7 - 7
5636 #        20 - 6,8
5637 #
5638 adm12|lsi adm12, 
5639         OTbs, OTpt, am, mir, 
5640         OTug#1, cols#80, it#8, lines#24, 
5641         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5642         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5643         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
5644         is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1, 
5645         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
5646         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
5647         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0, 
5648         use=adm+sgr, 
5649 # (adm20: removed obsolete ":kn#7:" -- esr)
5650 adm20|lear siegler adm20, 
5651         OTbs, am, 
5652         cols#80, it#8, lines#24, 
5653         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
5654         cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW, 
5655         dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
5656         kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, 
5657         sgr0=\E(, smso=\E), 
5658 adm21|lear siegler adm21, 
5659         xmc#1, 
5660         bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET, 
5661         ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H, 
5662         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, use=adm+sgr, 
5663         use=adm3a, 
5664 # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
5665 # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
5666 # removed bogus-looking \200 from before <cup>. -- esr)
5667 adm22|lsi adm22, 
5668         OTbs, am, 
5669         cols#80, lines#24, 
5670         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5671         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5672         dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
5673         is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0, 
5674         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
5675         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5676         kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
5677         lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E), 
5678 # ADM 31 DIP Switches
5679 #
5680 # This information comes from two versions of the manual for the
5681 # Lear-Siegler ADM 31.
5682 #
5683 # Main board:
5684 #                  rear of case
5685 #   +-||||-------------------------------------+
5686 #   + S1S2                              ||S    +
5687 #   +                                   ||3    +
5688 #   +                                          +
5689 #   +                                ||S       +
5690 #   +                                ||4       +
5691 #   +                                          +
5692 #   +                                          +
5693 #   +                                          +
5694 #   +                                          +
5695 #   +                                          +
5696 # +-+                                          +-+
5697 # +                                              +
5698 # +                               S5 S6 S7       +   
5699 # +                               == == ==       +
5700 # +----------------------------------------------+
5701 #            front of case (keyboard)
5702 #
5703 #  S1 - Data Rate - Modem
5704 #  S2 - Data Rate - Printer
5705 # ------------------------
5706 # Data Rate   Setting
5707 # -------------------
5708 # 50          0 0 0 0
5709 # 75          1 0 0 0
5710 # 110         0 1 0 0
5711 # 134.5       1 1 0 0
5712 # 150         0 0 1 0
5713 # 300         1 0 1 0
5714 # 600         0 1 1 0
5715 # 1200        1 1 1 0
5716 # 1800        0 0 0 1
5717 # 2000        1 0 0 1
5718 # 2400        0 1 0 1
5719 # 3600        1 1 0 1
5720 # 4800        0 0 1 1
5721 # 7200        1 0 1 1
5722 # 9600        0 1 1 1
5723 # x           1 1 1 1
5724 #
5725 # S3 - Interface/Printer/Attributes
5726 # ---------------------------------
5727 # Printer Busy Control
5728 # sw1   sw2   sw3
5729 # ---------------
5730 # off   off   off   Busy not active, CD disabled
5731 # off   off   on    Busy not active, CD enabled
5732 # off   on    off   Busy active on J5-20, CD disabled
5733 # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
5734 # on    off   on    Busy active on J5-19, CD enabled
5735 #
5736 # sw4   Used in conjuction with S4 for comm interface control - Fact 0
5737 #
5738 # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
5739 #
5740 # sw6   ON enables printer BUSY active LOW - Factory Setting
5741 #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
5742 #
5743 # sw7   ON - steady cursor - Factory Setting
5744 #       OFF - blinking cursor
5745 #
5746 # sw8   ON causes selected attribute character to be displayed
5747 #       OFF causes SPACE to be displayed instead - Factory Setting
5748 #
5749 # S4 - Interface
5750 # --------------
5751 # Modem Interface
5752 # S3    S4    S4    S4    S4
5753 # sw4   sw1   sw2   sw3   sw4
5754 # ---------------------------
5755 # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
5756 #                               Current Loop disabled - Factory Setting
5757 # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
5758 #                               disabled
5759 # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
5760 #                               Current Loop Disabled
5761 #
5762 # sw5   ON disables dot stretching mode - Factory Setting
5763 #       OFF enables dot stretching mode
5764 # sw6   ON enables blanking function
5765 #       OFF enables underline function - Factory Setting
5766 # sw7   ON causes NULLS to be displayed as NULLS
5767 #       OFF causes NULLS to be displayed as SPACES - Factory Setting
5768 #
5769 # S5 - Word Structure
5770 # -------------------
5771 # sw1   ON enables BREAK key - Factory Setting
5772 #       OFF disables BREAK key
5773 # sw2   ON selects 50Hz monitor refresh rate
5774 #       OFF selects 60Hz monitor refresh rate - Factory Setting
5775 #
5776 # Modem Port Selection
5777 # sw3   sw4   sw5
5778 # ---------------
5779 # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
5780 # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
5781 # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
5782 # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
5783 # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
5784 # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
5785 # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
5786 # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
5787 #
5788 # sw6   ON  sends bit 8 a 1 (mark)
5789 #       OFF sends bit 8 as 0 (space) - Factory Setting
5790 # sw7   ON  selects Block Mode
5791 #       OFF selects Conversation Mode - Factory Setting
5792 # sw8   ON  selects Full Duplex operation
5793 #       OFF selects Half Duplex operation - Factory Setting
5794 #
5795 # S6 - Printer
5796 # ------------
5797 # sw1, sw2, sw6, sw7   Reserved - Factory 0
5798 #
5799 # Printer Port Selection
5800 # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
5801 #
5802 # sw8   ON   enables Printer Port
5803 #       OFF disables Printer Port - Factory Setting
5804 #
5805 # S7 - Polling Address
5806 # --------------------
5807 # sw1-7 Establish ASCII character which designates terminal polling address
5808 #       ON  = logic 0
5809 #       OFF = logic 1 - Factory Setting
5810 # sw8   ON   enables Polling Option
5811 #       OFF disables Polling Option - Factory Setting
5812 #
5813 #
5814 # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
5815 #
5816 # This adm31 entry uses underline as the standout mode.
5817 # If the adm31 gives you trouble with standout mode, check the DIP switch in
5818 # position 6, bank @c11, 25% from back end of the circuit board.  Should be
5819 # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
5820 # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
5821 adm31|lsi adm31 with sw6 set for underline mode, 
5822         OTbs, am, mir, 
5823         cols#80, lines#24, 
5824         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5825         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5826         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0, 
5827         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
5828         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
5829         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0, 
5830         rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1, 
5831 adm31-old|o31|old adm31, 
5832         rmul@, smso=\EG4, smul@, use=adm31, 
5833 # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
5834 adm36|LSI ADM36, 
5835         OTbs, OTpt, 
5836         OTkn#4, 
5837         if=/usr/share/tabset/vt100, 
5838         is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, 
5839         use=vt100, 
5840 # (adm42: removed obsolete ":ma=^K^P:" -- esr)
5841 adm42|lsi adm42, 
5842         OTbs, am, 
5843         cols#80, lines#24, 
5844         bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5845         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5846         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I, 
5847         il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J, 
5848         kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@, 
5849         smir=\Eq, smul@, use=adm+sgr, 
5850 # The following termcap for the Lear Siegler ADM-42 leaves the 
5851 # "system line" at the bottom of the screen blank (for those who 
5852 # find it distracting otherwise)
5853 adm42-ns|lsi adm-42 with no system line, 
5854         cbt=\EI\EF \011, clear=\E;\EF \011, 
5855         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
5856         dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
5857         el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
5858         smir=\Eq\EF \011, use=adm42, 
5859 # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
5860 # The insert mode of this terminal is commented out because it's broken for our
5861 # purposes in that it will shift the position of every character on the page,
5862 # not just the cursor line!
5863 # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
5864 adm1178|1178|lsi adm1178, 
5865         am, 
5866         cols#80, lines#24, xmc#1, 
5867         bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
5868         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5869         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, 
5870         home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H, 
5871         kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0, 
5872         sgr0=\E), smso=\EG4, smul=\EG1, 
5873
5874 #### Prime
5875 #
5876 # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
5877 # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
5878 # Prime merged with ComputerVision in the late 1980s; you can reach them at:
5879 #
5880 #       ComputerVision Services
5881 #       500 Old Connecticut Path
5882 #       Framingham, Mass.
5883 #
5884
5885 # Standout mode is dim reverse-video.
5886 pt100|pt200|wren|fenix|prime pt100/pt200, 
5887         am, bw, mir, msgr, 
5888         cols#80, it#8, lines#24, 
5889         cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
5890         cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
5891         cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA, 
5892         cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl1=\E[M, 
5893         ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P, 
5894         home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, 
5895         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, 
5896         rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, 
5897         sgr0=\E[m, 
5898         smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
5899         smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
5900 pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
5901         cols#132, 
5902         cup=\E[%i%p1%d;%p2%dH, use=pt100, 
5903 pt250|Prime PT250, 
5904         rmso@, smso@, use=pt100, 
5905 pt250w|Prime PT250 in 132-column mode, 
5906         rmso@, smso@, use=pt100w, 
5907
5908 #### Qume (qvt)
5909 #
5910 #       Qume, Inc.
5911 #       3475-A North 1st Street
5912 #       San Jose CA 95134
5913 #       Vox: (800)-457-4447
5914 #       Fax: (408)-473-1510
5915 #       Net: josed@techsupp.wyse.com (Jose D'Oliveira)
5916 #
5917 # Qume was bought by Wyse, but still (as of early 1995) has its own support
5918 # group and production division.
5919 #
5920 # Discontinued Qume models:
5921 #
5922 # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
5923 # built to replace them, and a qvt119+ which was a 101+ with available wide
5924 # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
5925 # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
5926 # ANSI-compatible terminals with the qvt323 and qvt61.
5927 #
5928 # Current Qume models (as of February 1995):
5929 #
5930 # All current Qume terminals have ANSI-compatible operation modes.
5931 # Qume is still producing the qvt62, which features emulations for other
5932 # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
5933 # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
5934 # with many emulations including Wyse370, Wyse 325, etc.  Their newest
5935 # model is the qvt520, which is vt420-compatible.
5936 #
5937 # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
5938 #
5939 # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
5940 # setup mode.  Shift-s should be a configuration save to NVRAM.
5941
5942 qvt101|qvt108|qume qvt 101 and QVT 108, 
5943         xmc#1, use=qvt101+, 
5944
5945 # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
5946 # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
5947 # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
5948 # What seems to be going on here is that this entry was designed so that
5949 # the normal highlight is bold and standout is dim plus something else
5950 # (reverse-video maybe?  But then, are there two <rev> sequences?)  
5951 qvt101+|qvt101p|qume qvt 101 PLUS product, 
5952         am, bw, hs, ul, 
5953         cols#80, lines#24, xmc#0, 
5954         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J, 
5955         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5956         dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
5957         flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
5958         ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H, 
5959         kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET, 
5960         kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
5961         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
5962         khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(, 
5963         smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr, 
5964 qvt102|qume qvt 102, 
5965         cnorm=\E., use=qvt101, 
5966 # (qvt103: added <rmam>/<smam> based on init string -- esr)
5967 qvt103|qume qvt 103, 
5968         am, xenl, xon, 
5969         cols#80, it#8, lines#24, vt#3, 
5970         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
5971         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
5972         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
5973         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
5974         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
5975         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
5976         hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
5977         kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
5978         rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
5979         rmso=\E[m$<2>, rmul=\E[m$<2>, 
5980         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
5981         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>, 
5982         sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
5983         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
5984 qvt103-w|qume qvt103 132 cols, 
5985         cols#132, lines#24, 
5986         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103, 
5987 qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
5988         am, hs, mir, msgr, 
5989         cols#80, lines#24, xmc#0, 
5990         bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H, 
5991         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5992         cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, 
5993         el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I, 
5994         hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX, 
5995         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
5996         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5997         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5998         mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8, 
5999         tbc=\E3, tsl=\Eg\Ef, use=adm+sgr, 
6000 qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
6001         lines#25, use=qvt119+, 
6002 qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
6003         cols#132, 
6004         is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+, 
6005 qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
6006         lines#25, use=qvt119+, 
6007 qvt203|qvt203+|qume qvt 203 Plus, 
6008         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
6009         ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
6010         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
6011         kf9=\E[28~, rmir=\E[4l, smir=\E[4h, use=qvt103, 
6012 qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
6013         cols#132, lines#24, 
6014         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203, 
6015 #
6016 #       Since a command is present for enabling 25 data lines,
6017 #       a specific terminfo entry may be generated for the 203.
6018 #       If one is desired for the QVT 119 PLUS then 25 lines must
6019 #       be selected in the status line (setup line 9).
6020 #
6021 qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
6022         cols#80, lines#25, 
6023         is2=\E[=40h\E[?3l, use=qvt203, 
6024 qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
6025         cols#132, lines#25, 
6026         rs2=\E[?3h\E[=40h, use=qvt203, 
6027
6028 #### Televideo (tvi)
6029 #
6030 #       TeleVideo
6031 #       550 East Brokaw Road
6032 #       PO Box 49048    95161
6033 #       San Jose CA 95112
6034 #       Vox: (408)-954-8333
6035 #       Fax: (408)-954-0623
6036 #
6037 #
6038 # These require incredible amounts of padding.
6039 #
6040 # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
6041 # Televideo terminals are ANSI and PC-ANSI compatible.
6042
6043 tvi803|televideo 803, 
6044         clear=\E*$<10>, use=tvi950, 
6045
6046 # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
6047 # Switch settings are:
6048
6049 # S1  1 2 3 4
6050 #     D D D D  9600
6051 #     D D D U    50
6052 #     D D U D    75
6053 #     D D U U   110
6054 #     D U D D   135
6055 #     D U D U   150
6056 #     D U U D   300
6057 #     D U U U   600
6058 #     U D D D  1200
6059 #     U D D U  1800
6060 #     U D U D  2400
6061 #     U D U U  3600
6062 #     U U D D  4800
6063 #     U U D U  7200
6064 #     U U U D  9600
6065 #     U U U U 19200
6066
6067 # S1  5 6 7 8
6068 #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
6069 #     U D X U  7N2
6070 #     U U D D  7O1
6071 #     U U D U  7O2
6072 #     U U U D  7E1
6073 #     U U U U  7E2
6074 #     D D X D  8N1
6075 #     D D X U  8N2
6076 #     D U D D  8O1
6077 #     D U U U  8E2
6078
6079 # S1  9  Autowrap
6080 #     U  on
6081 #     D  off
6082
6083 # S1 10  CR/LF
6084 #     U  do CR/LF when CR received
6085 #     D  do CR when CR received
6086
6087 # S2  1  Mode
6088 #     U  block
6089 #     D  conversational
6090
6091 # S2  2  Duplex
6092 #     U  half
6093 #     D  full
6094
6095 # S2  3  Hertz
6096 #     U  50
6097 #     D  60
6098
6099 # S2  4  Edit mode
6100 #     U  local
6101 #     D  duplex
6102
6103 # S2  5  Cursor type
6104 #     U  underline
6105 #     D  block
6106
6107 # S2  6  Cursor down key
6108 #     U  send ^J
6109 #     D  send ^V
6110
6111 # S2  7  Screen colour
6112 #     U  green on black
6113 #     D  black on green
6114
6115 # S2  8  DSR status (pin 6)
6116 #     U  disconnected
6117 #     D  connected
6118
6119 # S2  9  DCD status (pin 8)
6120 #     U  disconnected
6121 #     D  duplex
6122
6123 # S2 10  DTR status (pin 20)
6124 #     U  disconnected
6125 #     D  duplex
6126 # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
6127 # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
6128 tvi910|televideo model 910, 
6129         OTbs, am, msgr, 
6130         cols#80, it#8, lines#24, xmc#1, 
6131         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6132         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
6133         home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I, 
6134         if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H, 
6135         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
6136         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
6137         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
6138         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
6139 # From: Alan R. Rogers <rogers%albany@csnet-relay>
6140 # as subsequently hacked over by someone at SCO
6141 # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
6142 #
6143 # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
6144 #
6145 # S1  1 2 3 4:
6146 #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
6147 #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
6148 #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
6149 #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
6150 #
6151 # S1  5 6 7 8:
6152 #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
6153 #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
6154 #     D U D D  8O1     D U U U  8E2
6155
6156 # S1  9  Autowrap            (U = on, D = off)
6157 # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
6158 # S2  1  Mode                (U = block, D = conversational)
6159 # S2  2  Duplex              (U =  half, D = full)
6160 # S2  3  Hertz               (U = 50, D = 60)
6161 # S2  4  Edit mode           (U = local, D = duplex)
6162 # S2  5  Cursor type         (U = underline, D = block)
6163 # S2  6  Cursor down key     (U = send ^J, D = send ^V)
6164 # S2  7  Screen colour       (U = green on black, D = black on green)
6165 # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
6166 # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
6167 # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
6168 #
6169 tvi910+|televideo 910+, 
6170         dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>, 
6171         kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
6172         kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, 
6173         ll=\E=7\s, use=tvi910, 
6174
6175 # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
6176 # <khome> from BRL entry -- esr)
6177 tvi912|tvi914|tvi920|old televideo 912/914/920, 
6178         OTbs, OTpt, am, msgr, 
6179         cols#80, it#8, lines#24, xmc#1, 
6180         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6181         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
6182         dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^, 
6183         ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
6184         il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
6185         kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
6186         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
6187         kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
6188         tbc=\E3, 
6189 # We got some new tvi912c terminals that act really weird on the regular 
6190 # termcap, so one of our gurus worked this up. Seems that cursor 
6191 # addressing is broken.
6192 tvi912cc|tvi912 at cowell college, 
6193         cup@, use=tvi912c, 
6194
6195 # tvi{912,920}[bc] - TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C
6196 # From: Benjamin C. W. Sittler
6197 #
6198 # Someone has put a scanned copy of the manual online at:
6199 #     http://vt100.net/televideo/912b-om/
6200 #
6201 # These terminals were produced ca. 1979, and had a 12" monochrome
6202 # screen, supported 75-9600 baud (no handshaking), monochrome, 7-bit
6203 # ASCII, and were generally similar to adm3a but with attributes
6204 # (including some with magic cookies), fancy half-duplex mode, and
6205 # different bugs.
6206 #
6207 # Some operations reqire truly incredible amounts of padding. The
6208 # insert_line (<il1>) and delete_line (<dl1>) operations in particular
6209 # are so slow as to be nearly unusable.
6210 #
6211 # There may or may not have been a separate, earlier series of 912/920
6212 # terminals (without the "B" and "C" suffix); I have never seen one,
6213 # and the manual only describes the "B" and "C" series. The 912 and 920
6214 # are quite distinct from the 914 and 924, which were much nicer non-
6215 # magic-cookie terminals similar to the 950.
6216 #
6217 # This is a new description for the following TeleVideo terminals,
6218 # distinguished chiefly by their keyboards:
6219 #
6220 #   TVI-912B - very odd layout, no function keys (84 keys)
6221 #   TVI-920B - typewriter layout, no function keys (103 keys)
6222 #   TVI-912C - very odd layout, function keys F1-F11 (82 keys)
6223 #   TVI-920C - typewriter layout, function keys F1-F11 (101 keys)
6224 #
6225 # To choose a setting for the TERM variable, start with the model:
6226 #
6227 #    Model  || base name
6228 # ----------||-----------
6229 #  TVI-912B || tvi912b
6230 #  TVI-912C || tvi912c
6231 #  TVI-920B || tvi920b
6232 #  TVI-920C || tvi920c
6233 #
6234 # Then add a suffix from the following table describing installed options
6235 # and how you'd like to use the terminal:
6236 #
6237 #   Use Video | Second | Visual |  Magic  |  Page || feature
6238 #  Attributes |  Page  |  Bell  | Cookies | Print || suffix
6239 # ------------|--------|--------|---------|-------||---------
6240 #      No     |   No   |  N/A   |   N/A   |   No  || -unk
6241 #      No     |   No   |  N/A   |   N/A   |  Yes  || -p
6242 #      No     |  Yes   |   No   |   N/A   |   No  || -2p-unk
6243 #      No     |  Yes   |   No   |   N/A   |  Yes  || -2p-p
6244 #      No     |  Yes   |  Yes   |   N/A   |   No  || -vb-unk
6245 #      No     |  Yes   |  Yes   |   N/A   |  Yes  || -vb-p
6246 #     Yes     |   No   |  N/A   |    No   |  N/A  ||
6247 #     Yes     |   No   |  N/A   |   Yes   |  N/A  || -mc
6248 #     Yes     |  Yes   |   No   |    No   |  N/A  || -2p
6249 #     Yes     |  Yes   |   No   |   Yes   |  N/A  || -2p-mc
6250 #     Yes     |  Yes   |  Yes   |    No   |  N/A  || -vb
6251 #     Yes     |  Yes   |  Yes   |   Yes   |  N/A  || -vb-mc
6252 #
6253 # So e.g. a model 920 C with second page memory option, visual bell
6254 # and no magic cookies would be tvi920c-vb; a model 912 B without the
6255 # second page memory option and using magic cookies would be
6256 # tvi912b-mc
6257 #
6258 # PADDING
6259 #
6260 # At 9600 baud, the terminal is prone to overflow its input buffer
6261 # during complex operations (insert/delete
6262 # character/line/screen/page), and it does not signal this over the
6263 # RS232 cable. The typical symptom of an overrun is that the terminal
6264 # starts beeping, and output becomes garbled.
6265 #
6266 # The padding delays in this terminfo were derived using tack(1)
6267 # running on a Linux box connected to a TVI-920C with a later-model
6268 # (A49C1-style) ROM running at 9600 baud, so your mileage may
6269 # vary. The numbers below seem to give the terminal enough time so
6270 # that it doesn't overflow its input buffer and start losing
6271 # characters.
6272 #
6273 # KEYS
6274 #
6275 # If you want to use the FUNCT key on a tvi912[bc], use the
6276 # corresponding tvi920[bc] terminfo with FUNCT + ... equivalents from
6277 # the following table (these also work on the 920 series):
6278 #
6279 # Unshifted Function Keys:
6280 #
6281 #  Key | capname|| Equivalent
6282 # -----|--------||------------
6283 #   F1 |  <kf1> || FUNCT + @
6284 #   F2 |  <kf2> || FUNCT + A
6285 #   F3 |  <kf3> || FUNCT + B
6286 #   F4 |  <kf4> || FUNCT + C
6287 #   F5 |  <kf5> || FUNCT + D
6288 #   F6 |  <kf6> || FUNCT + E
6289 #   F7 |  <kf7> || FUNCT + F
6290 #   F8 |  <kf8> || FUNCT + G
6291 #   F9 |  <kf9> || FUNCT + H
6292 #  F10 | <kf10> || FUNCT + I
6293 #  F11 | <kf11> || FUNCT + J
6294 #
6295 # Shifted Function Keys:
6296 #
6297 #  SHIFT + Key | capname|| Equivalent
6298 # -------------|--------||------------
6299 #   SHIFT + F1 | <kf12> || FUNCT + `
6300 #   SHIFT + F2 | <kf13> || FUNCT + a
6301 #   SHIFT + F3 | <kf14> || FUNCT + b
6302 #   SHIFT + F4 | <kf15> || FUNCT + c
6303 #   SHIFT + F5 | <kf16> || FUNCT + d
6304 #   SHIFT + F6 | <kf17> || FUNCT + e
6305 #   SHIFT + F7 | <kf18> || FUNCT + f
6306 #   SHIFT + F8 | <kf19> || FUNCT + g
6307 #   SHIFT + F9 | <kf20> || FUNCT + h
6308 #  SHIFT + F10 | <kf21> || FUNCT + i
6309 #  SHIFT + F11 | <kf22> || FUNCT + j
6310 #
6311 # PORTS AND SWITCH SETTINGS
6312 #
6313 # Here are the switch settings for the TVI-912B/TVI-920B and
6314 # TVI-912C/TVI-920C:
6315 #
6316 # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
6317 # 2: 9600       3: 4800         4: 2400         5: 1200
6318 # 6:  600       7:  300         8:  150         9:   75
6319 # 10: 110
6320 #
6321 # S2 UART/Terminal options:
6322 #               Up                      Down
6323 # 1:            Not used                Not allowed
6324 # 2:    Alternate character set   Standard character set
6325 # 3:        Full duplex             Half duplex
6326 # 4:        50 Hz refresh           60 Hz refresh
6327 # 5:          No parity              Send parity
6328 # 6:         2 stop bits             1 stop bit
6329 # 7:         8 data bits             7 data bits
6330 # 8:            Not used                Not allowed on Rev E or lower
6331 # 9:         Even parity             Odd parity
6332 # 10:       Steady cursor           Blinking cursor
6333 #       (On Rev E or lower, use W25 instead of switch 10.)
6334
6335 # S5 UART/Terminal options:
6336 #               Open                    Closed
6337 # 1:    P3-6 Not connected      DSR received on P3-6
6338 # 2:    P3-8 Not connected      DCD received on P3-8
6339 #
6340 # 3 Open, 4 Open:               P3-20 Not connected
6341 # 3 Open, 4 Closed:     DTR on when terminal is on
6342 # 3 Closed, 4 Open:     DTR is connected to RTS
6343 # 3 Closed, 4 Closed:   Not allowed
6344 #
6345 # 5 Closed:     HDX printer (hardware control) Rev. K with extension port off,
6346 #               all data transmitted out of the modem port (P3) will also be
6347 #               transmitted out of the printer port (P4).
6348 #
6349 # 6 Open, 7 Open:               Not allowed
6350 # 6 Open, 7 Closed:     20ma current loop input
6351 # 6 Closed, 7 Open:     RS232 input
6352 # 6 Closed, 7 Closed:   Not allowed
6353 #
6354 # Jumper options:
6355 # If the jumper is installed, the effect will occur (the next time the terminal
6356 # is switched on).
6357 #
6358 # S4/W31:       Enables automatic LF upon receipt of CR from
6359 #               remote or keyboard.
6360 # S4/W32:       Enables transmission of EOT at the end of Send.  If not 
6361 #               installed, a carriage return is sent.
6362 # S4/W33:       Disables automatic carriage return in column 80.
6363 # S4/W34:       Selects Page Print Mode as initial condition.  If not 
6364 #               installed, Extension Mode is selected.
6365 #
6366 # NON-STANDARD CAPABILITIES
6367 #
6368 # Sending <u9> or <u7> returns a cursor position report in the format
6369 # YX\r, where Y and X are as in <cup>. This format is described in
6370 # <u8> and <u6>, but it's not clear how one should write an
6371 # appropriate scanf string, since we need to subtract %' ' from the
6372 # character after reading it. The <u9> capability is used by tack(1)
6373 # to synchronize during padding tests, and seems to work for that
6374 # purpose.
6375 #
6376 # This description also includes the obsolete termcap capabilities
6377 # has_hardware_tabs (<OTpt>) and backspaces_with_bs (<OTbs>).
6378 #
6379 # FEATURES NOT YET DESCRIBED IN THIS TERMINFO
6380 #
6381 # The FUNCT modifier actually works with every normal key by sending
6382 # ^AX\r, where X is the sequence normally sent by that key. This is a
6383 # sort of meta key not currently describable in terminfo.
6384 #
6385 # There are quite a few other keys (especially on the 920 models,) but
6386 # they are for the most part only useful in block mode.
6387 #
6388 # These terminals have lots of forms manipulation features, mainly
6389 # useful in block mode, including "clear X to nulls" (vs. "clear X to
6390 # spaces"; nulls are sentinels for "send X" operations); "send X"
6391 # operations for uploading all or part of the screen; and block-mode
6392 # editing keys (they don't send escape sequences, but manipulate video
6393 # memory directly). Block mode is used for local editing, and protect
6394 # mode (in conjunction with the "write protect" attribute,
6395 # a.k.a. half-intensity outside of protect mode) is used to control
6396 # which parts of the screen are edited/sent/printed (by <mc0>).
6397 #
6398 # There are at least two major families of ROM, "early" and
6399 # A49B1/A49C1; the major difference seems to be that the latter ROMs
6400 # support a few extra escape sequences for manipulating the off-screen
6401 # memory page, and for sending whole pages back to the host (mainly
6402 # useful in block mode.) The descriptions in this file don't use any
6403 # of those sequences: set cursor position including page (\E-PYX,
6404 # where P is \s for page 0 and ! for page 1 [actually only the LSB of
6405 # P is taken into account, so e.g. 0 and 1 work too,] and Y and X are
6406 # as in <cup>); read cursor position (\E/), which is analogous to <u9>
6407 # and returns PYX\r, where P is \s for page 0 or ! for page 1, and YX
6408 # are as in <cup>, and some "send page" features mainly useful for
6409 # forms manipulation.
6410 #
6411 # The keyboard enable (\E") and disable (\E#) sequences are unused,
6412 # except that a terminal reset (<is2>) enables the keyboard.
6413 #
6414 # Auto-flip mode (\Ev) is likely faster than the scrolling mode (\Ew)
6415 # enabled in <is2>, but auto-flip is very jarring so we don't use it.
6416 #
6417 # BUGS
6418 #
6419 # At least up to the A49B1 and A49C1 ROMs, there are no \Eb and \Ed
6420 # sequences (I infer that in some TeleVideo terminal they may invert
6421 # and uninvert the display) so the <flash> sequence given here is a
6422 # cheesy page-flip instead.
6423 #
6424 # The back_tab (<cbt>) sequence (\EI) doesn't work according to
6425 # tack(1), so it is not included in the descriptions below.
6426 #
6427 # It's not clear whether auto_left_margin (<bw>) flag should be set
6428 # for these terminals; tack says yes, so it is set here, but this
6429 # differs from other descriptions I've seen.
6430 #
6431 # Extension print mode (<mc5>) echoes all characters to the printer
6432 # port [in addition to displaying them] except for the page print mode
6433 # sequence (<mc4>); this is a slight violation of the terminfo
6434 # definition for <mc5> but I don't expect it to cause problems.  We
6435 # reset to page print mode in <rs1> since it may have been enabled
6436 # accidentally.
6437 #
6438 # The descriptions with plus signs (+) are building blocks.
6439
6440 tvi912b-unk|tvi912c-unk|TeleVideo TVI-912B or TVI-912C (no attributes), 
6441         OTbs, OTpt, am, bw, 
6442         cols#80, it#8, lines#24, 
6443         bel=^G, clear=\032$<50>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6444         cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, dch1=\EW$<30>, 
6445         dl1=\ER$<1*>$<100>, ed=\Ey$<2*>$<10>, el=\ET$<15>, 
6446         home=^^, ht=^I, hts=\E1, ich1=\EQ$<30>, 
6447         if=/usr/share/tabset/stdcrt, il1=\EE$<1*>$<100>, 
6448         ind=\n$<10>, is2=\Ew\EA\E'\E"\E(, kcub1=^H, kcud1=^J, 
6449         kcuf1=^L, kcuu1=^K, kdch1=\177, kent=^M, khome=^^, mc4=\EA, 
6450         mc5=\E@, rs1=\Ek\010\Em\010\Eq\032, tbc=\E3, u6=%c%c\r, 
6451         u7=\E?, u8=%c%c\r, u9=\E?, 
6452
6453 # This isn't included in the basic capabilities because it is
6454 # typically unusable in combination with the full range of video
6455 # attributes, since the magic cookie attributes turn into ASCII
6456 # control characters, and the half-intensity ("protected") attribute
6457 # converts all affected characters to spaces.
6458
6459 tvi912b+printer|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C page print support, 
6460         mc0=\EP, 
6461
6462 # This uses half-intensity mode (<dim>) for standout (<smso>), and
6463 # exposes no other attributes (half-intensity is the only attribute
6464 # that does not generate a magic cookie.)
6465
6466 tvi912b+dim|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C half-intensity attribute support, 
6467         msgr, 
6468         dim=\E), rmso=\E(, sgr=\E%?%p1%p5%|%t)%e(%;, sgr0=\E(, 
6469         smso=\E), 
6470
6471 # Full magic-cookie attribute support, with half-intensity reverse
6472 # video for standout. Note that we add a space in the <dim> sequence
6473 # to give a consistent magic-cookie count. Also note that <sgr> uses
6474 # backspacing (in the TVI-supported order) to apply all requested
6475 # attributes with only a single magic cookie.
6476
6477 tvi912b+mc|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C full magic-cookie attribute support, 
6478         xmc#1, 
6479         blink=\E\^, dim=\E)\s, invis=\E_, rev=\Ej, rmso=\E(\Ek, 
6480         rmul=\Em, 
6481         sgr=\E%?%p1%p5%|%t)%e(%; \010\E%?%p1%p3%|%tj%ek%;\010\E%?%p2%tl%em%;\010\E%?%p7%t_%e%?%p4%t\^%eq%;%;, 
6482         sgr0=\E(\Ek\010\Em\010\Eq, smso=\E)\Ej, smul=\El, 
6483
6484 # This uses the second page memory option to save & restore screen
6485 # contents. If your terminal is missing the option, this description
6486 # should still work, but that has not been tested.
6487
6488 tvi912b+2p|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option support, 
6489         flash=\EK$<100>\EK, rmcup=\032$<50>\EK\E=7\s, 
6490         smcup=\EK\032$<50>\E(\Ek\010\Em\010\Eq\032$<50>, 
6491
6492 # This simulates flashing by briefly toggling to the other page
6493 # (kludge!)
6494
6495 tvi912b+vb|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option "visible bell" support, 
6496         bel=\EK$<100>\EK, use=tvi912b+2p, 
6497
6498 # Function keys (<kf12> .. <kf22> are shifted <kf1> .. <kf11>)
6499
6500 tvi920b+fn|TeleVideo TVI-920B and TVI-920C function key support, 
6501         kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^A`\r, kf13=^Aa\r, 
6502         kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r, kf17=^Ae\r, kf18=^Af\r, 
6503         kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r, kf21=^Ai\r, kf22=^Aj\r, 
6504         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
6505         kf8=^AG\r, kf9=^AH\r, 
6506
6507 # Combinations of the basic building blocks
6508
6509 tvi912b-2p-unk|tvi912c-2p-unk|tvi912b-unk-2p|tvi912c-unk-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes), 
6510         use=tvi912b+2p, use=tvi912b-unk, 
6511
6512 tvi912b-vb-unk|tvi912c-vb-unk|tvi912b-unk-vb|tvi912c-unk-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; no attributes), 
6513         use=tvi912b+vb, use=tvi912b-unk, 
6514
6515 tvi912b-p|tvi912c-p|TeleVideo TVI-912B or TVI-912C (no attributes; page print), 
6516         use=tvi912b+printer, use=tvi912b-unk, 
6517
6518 tvi912b-2p-p|tvi912c-2p-p|tvi912b-p-2p|tvi912c-p-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes; page print), 
6519         use=tvi912b+2p, use=tvi912b+printer, use=tvi912b-unk, 
6520
6521 tvi912b-vb-p|tvi912c-vb-p|tvi912b-p-vb|tvi912c-p-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; no attributes; page print), 
6522         use=tvi912b+vb, use=tvi912b+printer, use=tvi912b-unk, 
6523
6524 tvi912b-2p|tvi912c-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; half-intensity attribute), 
6525         use=tvi912b+2p, use=tvi912b+dim, use=tvi912b-unk, 
6526
6527 tvi912b-2p-mc|tvi912c-2p-mc|tvi912b-mc-2p|tvi912c-mc-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; magic cookies), 
6528         use=tvi912b+2p, use=tvi912b+mc, use=tvi912b-unk, 
6529
6530 tvi912b-vb|tvi912c-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; half-intensity attribute), 
6531         use=tvi912b+vb, use=tvi912b+dim, use=tvi912b-unk, 
6532
6533 tvi912b-vb-mc|tvi912c-vb-mc|tvi912b-mc-vb|tvi912c-mc-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; magic cookies), 
6534         use=tvi912b+vb, use=tvi912b+mc, use=tvi912b-unk, 
6535
6536 tvi912b|tvi912c|TeleVideo TVI-912B or TVI-912C (half-intensity attribute), 
6537         use=tvi912b+dim, use=tvi912b-unk, 
6538
6539 tvi912b-mc|tvi912c-mc|TeleVideo TVI-912B or TVI-912C (magic cookies), 
6540         use=tvi912b+mc, use=tvi912b-unk, 
6541
6542 tvi920b-unk|tvi920c-unk|TeleVideo TVI-920B or TVI-920C (no attributes), 
6543         use=tvi920b+fn, use=tvi912b-unk, 
6544
6545 tvi920b-2p-unk|tvi920c-2p-unk|tvi920b-unk-2p|tvi920c-unk-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes), 
6546         use=tvi920b+fn, use=tvi912b+2p, use=tvi912b-unk, 
6547
6548 tvi920b-vb-unk|tvi920c-vb-unk|tvi920b-unk-vb|tvi920c-unk-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; no attributes), 
6549         use=tvi920b+fn, use=tvi912b+vb, use=tvi912b-unk, 
6550
6551 tvi920b-p|tvi920c-p|TeleVideo TVI-920B or TVI-920C (no attributes; page print), 
6552         use=tvi920b+fn, use=tvi912b+printer, use=tvi912b-unk, 
6553
6554 tvi920b-2p-p|tvi920c-2p-p|tvi920b-p-2p|tvi920c-p-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes; page print), 
6555         use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+printer, 
6556         use=tvi912b-unk, 
6557
6558 tvi920b-vb-p|tvi920c-vb-p|tvi920b-p-vb|tvi920c-p-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; no attributes; page print), 
6559         use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+printer, 
6560         use=tvi912b-unk, 
6561
6562 tvi920b-2p|tvi920c-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; half-intensity attribute), 
6563         use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+dim, 
6564         use=tvi912b-unk, 
6565
6566 tvi920b-2p-mc|tvi920c-2p-mc|tvi920b-mc-2p|tvi920c-mc-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; magic cookies), 
6567         use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+mc, 
6568         use=tvi912b-unk, 
6569
6570 tvi920b-vb|tvi920c-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; half-intensity attribute), 
6571         use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+dim, 
6572         use=tvi912b-unk, 
6573
6574 tvi920b-vb-mc|tvi920c-vb-mc|tvi920b-mc-vb|tvi920c-mc-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; magic cookies), 
6575         use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+mc, 
6576         use=tvi912b-unk, 
6577
6578 tvi920b|tvi920c|TeleVideo TVI-920B or TVI-920C (half-intensity attribute), 
6579         use=tvi920b+fn, use=tvi912b+dim, use=tvi912b-unk, 
6580
6581 tvi920b-mc|tvi920c-mc|TeleVideo TVI-920B or TVI-920C (magic cookies), 
6582         use=tvi920b+fn, use=tvi912b+mc, use=tvi912b-unk, 
6583
6584 # Televideo 921 and variants
6585 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
6586 # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
6587 # also added empty <acsc> to suppress tic warning -- esr)
6588 tvi921|televideo model 921 with sysline same as page & real vi function, 
6589         OTbs, OTpt, am, hs, xenl, xhp, 
6590         cols#80, lines#24, xmc#0, 
6591         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
6592         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
6593         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
6594         el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
6595         if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@, 
6596         is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H, 
6597         kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, 
6598         ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%%, 
6599         rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, use=adm+sgr, 
6600 # without the beeper
6601 # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
6602 # also added empty <acsc> to suppress tic warning -- esr)
6603 tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper, 
6604         am, hs, xenl, xhp, 
6605         cols#80, lines#24, xmc#0, 
6606         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
6607         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
6608         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
6609         el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I, 
6610         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
6611         invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
6612         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
6613         kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
6614         nel=^M^J, rmacs=\E%%, smacs=\E$, tsl=\Ef\EG0, use=adm+sgr, 
6615 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
6616 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
6617         dl1=\ER$<2*/>, il1=\EE$<2*/>, 
6618         is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
6619         kil1=\EE$<2*/>, use=tvi92B, 
6620
6621 # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
6622 # in from a BSD termcap file because it looks like they do something the
6623 # old ones skip -- esr)
6624 tvi924|televideo tvi924, 
6625         am, bw, hs, in, mir, msgr, xenl, xon, 
6626         cols#80, it#8, lines#24, wsl#80, xmc#0, 
6627         bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0, 
6628         cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c, 
6629         cub1=^H, cud1=^V, cuf1=^L, 
6630         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1, 
6631         dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et, 
6632         flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1, 
6633         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
6634         invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, 
6635         kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
6636         kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r, 
6637         kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r, 
6638         kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, 
6639         kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
6640         kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
6641         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
6642         pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, 
6643         use=adm+sgr, 
6644
6645 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
6646 #
6647 # Here are the settings for the external (baud) switches (S1):
6648 #
6649 #             Position          Baud
6650 # 7     8       9       10              [Printer]
6651 # 1     2       3       4               [Main RS232]
6652 # -----------------------------------------------------
6653 # D     D       D       D       9600
6654 # D     D       D       U         50
6655 # D     D       U       D         75
6656 # D     D       U       U        110
6657 # D     U       D       D        135
6658 # D     U       D       U        150
6659 # D     U       U       D        300
6660 # D     U       U       U        600
6661 # U     D       D       D       1200
6662 # U     D       D       U       1800
6663 # U     D       U       D       2400
6664 # U     D       U       U       3600
6665 # U     U       D       D       4800
6666 # U     U       D       U       7200
6667 # U     U       U       D       9600
6668 # U     U       U       U       19200
6669
6670
6671 # Settings for word length and stop-bits (S1)
6672 #
6673 #  Position     Description
6674 # 5     6       
6675 # ---------------------------
6676 # U     -       7-bit word
6677 # D     -       8-bit word
6678 # -     U       2 stop bits
6679 # -     D       1 stop bit
6680
6681
6682 # S2 (external) settings
6683 #
6684 # Position      Up      Dn      Description
6685 # --------------------------------------------
6686 # 1             X               Local edit
6687 #                       X       Duplex edit (transmit editing keys)
6688 # --------------------------------------------
6689 # 2             X               912/920 emulation
6690 #                       X       925
6691 # --------------------------------------------
6692 # 3                     X
6693 # 4                     X       No parity
6694 # 5                     X       
6695 # --------------------------------------------
6696 # 3                     X
6697 # 4                     X       Odd parity
6698 # 5             X       
6699 # --------------------------------------------
6700 # 3                     X
6701 # 4             X               Even parity
6702 # 5             X       
6703 # --------------------------------------------
6704 # 3             X       
6705 # 4                     X       Mark parity
6706 # 5             X               
6707 # --------------------------------------------
6708 # 3             X
6709 # 4             X               Space parity
6710 # 5             X
6711 # --------------------------------------------
6712 # 6             X               White on black display
6713 #                       X       Black on white display
6714 # --------------------------------------------
6715 # 7                     X       Half Duplex
6716 # 8                     X
6717 # --------------------------------------------
6718 # 7             X               Full Duplex
6719 # 8                     X       
6720 # --------------------------------------------
6721 # 7                     X       Block mode
6722 # 8             X       
6723 # --------------------------------------------
6724 # 9                     X       50 Hz
6725 #               X               60 Hz
6726 # --------------------------------------------
6727 # 10            X               CR/LF (Auto LF)
6728 #                       X       CR only
6729
6730 # S3 (internal switch) settings:
6731
6732 # Position      Up      Dn      Description
6733 # --------------------------------------------
6734 # 1             X               Keyclick off 
6735 #                       X       Keyclick on
6736 # --------------------------------------------
6737 # 2                     X       English
6738 # 3                     X       
6739 # --------------------------------------------
6740 # 2                     X       German
6741 # 3             X               
6742 # --------------------------------------------
6743 # 2             X               French
6744 # 3                     X       
6745 # --------------------------------------------
6746 # 2             X               Spanish
6747 # 3             X       
6748 # --------------------------------------------
6749 # 4                     X       Blinking block cursor
6750 # 5                     X       
6751 # --------------------------------------------
6752 # 4                     X       Blinking underline cursor
6753 # 5             X               
6754 # --------------------------------------------
6755 # 4             X               Steady block cursor
6756 # 5                     X       
6757 # --------------------------------------------
6758 # 4             X               Steady underline cursor
6759 # 5             X       
6760 # --------------------------------------------
6761 # 6             X               Screen blanking timer (ON)
6762 #                       X       Screen blanking timer (OFF)
6763 # --------------------------------------------
6764 # 7             X               Page attributes
6765 #                       X       Line attributes
6766 # --------------------------------------------
6767 # 8             X               DCD disconnected
6768 #                       X       DCD connected
6769 # --------------------------------------------
6770 # 9             X               DSR disconnected
6771 #                       X       DSR connected
6772 # --------------------------------------------
6773 # 10            X               DTR Disconnected
6774 #                       X       DTR connected
6775 # --------------------------------------------
6776 #
6777 # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
6778 tvi925|televideo 925, 
6779         OTbs, am, bw, hs, ul, 
6780         cols#80, lines#24, xmc#1, 
6781         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V, 
6782         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
6783         cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET, 
6784         flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1, 
6785         ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z, 
6786         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
6787         ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
6788         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
6789         kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3, 
6790         tsl=\Eh\Ef, use=adm+sgr, 
6791 # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
6792 # to avoid "magic cookie" standout glitch:
6793 tvi925-hi|TeleVideo Model 925 with half intensity standout mode, 
6794         xmc@, 
6795         kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925, 
6796
6797 # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
6798 # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
6799 # for additional capabilities, 
6800 # The following tvi descriptions from B:pjphar and virus!mike
6801 # is for all 950s.  It sets the following attributes:
6802 # full duplex (\EDF)            write protect off (\E()
6803 # conversation mode (\EC)       graphics mode off (\E%)
6804 # white on black (\Ed)          auto page flip off (\Ew)
6805 # turn off status line (\Eg)    clear status line (\Ef\r)
6806 # normal video (\E0)            monitor mode off (\EX or \Eu)
6807 # edit mode (\Er)               load blank char to space (\Ee\040)
6808 # line edit mode (\EO)          enable buffer control (^O)
6809 # protect mode off (\E\047)     duplex edit keys (\El)
6810 # program unshifted send key to send line all (\E016)
6811 # program shifted send key to send line unprotected (\E004)
6812 # set the following to nulls:
6813 #       field delimiter (\Ex0\200\200)
6814 #       line delimiter (\Ex1\200\200)
6815 #       start-protected field delimiter (\Ex2\200\200)
6816 #       end-protected field delimiter (\Ex3\200\200)
6817 # set end of text delimiter to carriage return/null (\Ex4\r\200)
6818
6819 #                     TVI 950 Switch Setting Reference Charts
6820
6821 #                                     TABLE 1:
6822
6823 #      S1     1     2     3     4     5     6     7     8     9    10
6824 #          +-----------------------+-----+-----+-----------------------+
6825 #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
6826 #          |                       |Bits |Bits |                       |
6827 #   +------+-----------------------+-----+-----+-----------------------+
6828 #   |  Up  |        See            |  7  |  2  |        See            |
6829 #   +------+-----------------------+-----+-----+-----------------------+
6830 #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
6831 #   +------+-----------------------+-----+-----+-----------------------+
6832
6833
6834 #      S2     1     2     3     4     5     6     7     8     9    10
6835 #          +-----+-----+-----------------+-----+-----------+-----+-----+
6836 #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
6837 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
6838 #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
6839 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
6840 #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
6841 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
6842 #  
6843 #                                    TABLE 2:
6844
6845 #             +-----------+-----+-----+-----+-----+-----------+
6846 #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
6847 #             +-----------+-----+-----+-----+-----+           |
6848 #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
6849 #             +-----------+-----+-----+-----+-----+-----------+
6850 #                         |  D  |  D  |  D  |  D  |   9600    |
6851 #                         |  U  |  D  |  D  |  D  |     50    |
6852 #                         |  D  |  U  |  D  |  D  |     75    |
6853 #                         |  U  |  U  |  D  |  D  |    110    |
6854 #                         |  D  |  D  |  U  |  D  |    135    |
6855 #                         |  U  |  D  |  U  |  D  |    150    |
6856 #                         |  D  |  U  |  U  |  D  |    300    |
6857 #                         |  U  |  U  |  U  |  D  |    600    |
6858 #                         |  D  |  D  |  D  |  U  |   1200    |
6859 #                         |  U  |  D  |  D  |  U  |   1800    |
6860 #                         |  D  |  U  |  D  |  U  |   2400    |
6861 #                         |  U  |  U  |  D  |  U  |   3600    |
6862 #                         |  D  |  D  |  U  |  U  |   4800    |
6863 #                         |  U  |  D  |  U  |  U  |   7200    |
6864 #                         |  D  |  U  |  U  |  U  |   9600    |
6865 #                         |  U  |  U  |  U  |  U  |  19200    |
6866 #                         +-----+-----+-----+-----+-----------+
6867
6868 #                                    TABLE 3:
6869 #                         +-----+-----+-----+-----------+
6870 #                         |  3  |  4  |  5  |   Parity  |
6871 #                         +-----+-----+-----+-----------+
6872 #                         |  X  |  X  |  D  |    None   |
6873 #                         |  D  |  D  |  U  |     Odd   |
6874 #                         |  D  |  U  |  U  |    Even   |
6875 #                         |  U  |  D  |  U  |    Mark   |
6876 #                         |  U  |  U  |  U  |   Space   |
6877 #                         +-----+-----+-----+-----------+
6878 #                                 X = don't care
6879
6880 #                                     CHART:
6881 #                         +-----+-----+-----------------+
6882 #                         |  7  |  8  | Communication   |
6883 #                         +-----+-----+-----------------+
6884 #                         |  D  |  D  |  Half Duplex    |
6885 #                         |  D  |  U  |  Full Duplex    |
6886 #                         |  U  |  D  |     Block       |
6887 #                         |  U  |  U  |     Local       |
6888 #                         +-----+-----+-----------------+
6889
6890 # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
6891 # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
6892 # should be present and all tvi native modes use the same string for this.
6893 # Finally, note that BSD has cud1=^V. -- esr) 
6894 tvi950|televideo 950, 
6895         OTbs, am, hs, mir, msgr, xenl, xon, 
6896         cols#80, it#8, lines#24, xmc#1, 
6897         acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*, 
6898         cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6899         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
6900         dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
6901         fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
6902         invis@, 
6903         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, 
6904         kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
6905         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
6906         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
6907         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
6908         kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X, 
6909         rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
6910         use=adm+sgr, 
6911 #
6912 # is for 950 with two pages adds the following:
6913 #       set 48 line page (\E\\2)
6914 #       place cursor at page 0, line 24, column 1 (\E-07 )
6915 #       set local (no send) edit keys (\Ek)
6916 #
6917 # two page 950 adds the following:
6918 #       when entering ex, set 24 line page (\E\\1)
6919 #       when exiting ex, reset 48 line page (\E\\2)
6920 #                        place cursor at 0,24,1 (\E-07 )
6921 #       set duplex (send) edit keys (\El) when entering vi
6922 #       set local (no send) edit keys (\Ek) when exiting vi
6923 #
6924 tvi950-2p|televideo950 w/2 pages, 
6925         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, 
6926         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
6927         smkx=\El, use=tvi950, 
6928 #
6929 # is for 950 with four pages adds the following:
6930 #       set 96 line page (\E\\3)
6931 #       place cursor at page 0, line 24, column 1 (\E-07 )
6932 #
6933 # four page 950 adds the following:
6934 #       when entering ex, set 24 line page (\E\\1)
6935 #       when exiting ex, reset 96 line page (\E\\3)
6936 #                        place cursor at 0,24,1 (\E-07 )
6937 #
6938 tvi950-4p|televideo950 w/4 pages, 
6939         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, 
6940         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
6941         smkx=\El, use=tvi950, 
6942 #
6943 # <is2> for reverse video 950 changes the following:
6944 #       set reverse video (\Ed)
6945 #
6946 # set vb accordingly (\Ed ...delay... \Eb)
6947 #
6948 tvi950-rv|televideo950 rev video, 
6949         flash=\Ed$<200/>\Eb, 
6950         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, 
6951         use=tvi950, 
6952
6953 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
6954 tvi950-rv-2p|televideo950 rev video w/2 pages, 
6955         flash=\Ed$<200/>\Eb, 
6956         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, 
6957         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
6958         smkx=\El, use=tvi950, 
6959
6960 # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
6961 tvi950-rv-4p|televideo950 rev video w/4 pages, 
6962         flash=\Ed$<200/>\Eb, 
6963         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, 
6964         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
6965         smkx=\El, use=tvi950, 
6966 # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
6967 # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
6968 # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
6969 # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
6970 # the :ko: string had :cl: in it, which means that one of the original
6971 # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
6972 # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
6973 # ko implies -- esr)
6974 # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
6975 # also work.
6976 tvi955|televideo 955, 
6977         OTbs, mc5i, msgr@, 
6978         it#8, xmc@, 
6979         acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
6980         civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH, 
6981         cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1, 
6982         is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
6983         knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%%, 
6984         rmam=\E[=7l, rmxon=^N, 
6985         rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r, 
6986         sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
6987         use=tvi950, 
6988 tvi955-w|955-w|televideo955 w/132 cols, 
6989         cols#132, 
6990         is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955, 
6991 # use half-intensity as normal mode, full intensity as <bold>
6992 tvi955-hb|955-hb|televideo955 half-bright, 
6993         bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, 
6994         sgr0=\EG0\E[=5h, use=tvi955, 
6995 # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
6996 # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
6997 # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
6998 # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
6999 # it does to the function keys.  I deduced <rmam>/<smam>.
7000 # also added empty <acsc> to suppress tic warning,  -- esr)
7001 tvi970|televideo 970, 
7002         OTbs, OTpt, am, da, db, mir, msgr, 
7003         cols#80, it#8, lines#24, 
7004         acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
7005         cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
7006         cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
7007         ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H, 
7008         hpa=\E[%i%p1%dG, ht=^I, il1=\E[L, 
7009         is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
7010         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7011         kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, 
7012         kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, 
7013         rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
7014         sgr0=\E[m, smacs=\E(B, smam=\E[?7l, 
7015         smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
7016         smul=\E[4m, vpa=\E[%i%p1%dd, 
7017 tvi970-vb|televideo 970 with visual bell, 
7018         flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
7019         use=tvi970, 
7020 tvi970-2p|televideo 970 with using 2 pages of memory, 
7021         rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
7022         use=tvi970, 
7023 # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
7024 # per line (rather than 40), Esc K chooses the normal character set.  Not sure
7025 # padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
7026 # <smul> strings are klutzy, but at least use no screen space.
7027 # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
7028 # its absence means <smam>=\Ev isn't safe to use. -- esr)
7029 # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
7030 # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
7031 # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
7032 tvipt|televideo personal terminal, 
7033         OTbs, am, 
7034         cols#80, lines#24, 
7035         cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
7036         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>, 
7037         ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt, 
7038         il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
7039         kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R, 
7040         rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH, 
7041 # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
7042 tvi9065|televideo 9065, 
7043         am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
7044         cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
7045         wnum#0, wsl#30, 
7046         acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G, 
7047         blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
7048         cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
7049         cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
7050         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA, 
7051         cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
7052         dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
7053         el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
7054         ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
7055         il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1, 
7056         ip=$<3>, 
7057         is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er, 
7058         is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s, 
7059         kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
7060         kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
7061         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
7062         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
7063         mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
7064         pfkey=\E|%p1%{48}%+%c3%p2%s\031, 
7065         pfloc=\E|%p1%{48}%+%c2%p2%s\031, 
7066         pfx=\E|%p1%{48}%+%c1%p2%s\031, 
7067         pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&, 
7068         rep=\E[%p2%db%p1%c, rev=\EG4, 
7069         rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
7070         rmacs=\E%%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
7071         rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
7072         rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
7073         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, 
7074         rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0, 
7075         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%%%;, 
7076         sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
7077         smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
7078         tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 
7079
7080 #### Visual (vi)
7081 #
7082 # In September 1993, Visual Technology of Westboro, Massachusetts,
7083 # merged with White Pine Software of Nashua, New Hampshire.
7084 #
7085 # White Pine Software may be contacted at +1 603/886-9050.
7086 # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
7087 #
7088
7089 # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
7090 # Recently I hacked together the following termcap for Visual
7091 # Technology's Visual 50 terminal. It's a slight modification of
7092 # the vt52 termcap. 
7093 # It's intended to run when the Visual 50 is in vt52 emulation mode
7094 # (I know what you're thinking; if it's emulating a vt52, then why
7095 # another termcap? Well, it turns out that the Visual 50 can handle
7096 # <dl1> and db(?) among other things, which the vt52 can't)
7097 # The termcap works OK for the most part. The only problem is on
7098 # character inserts. The whole line gets painfully redrawn for each
7099 # character typed. Any suggestions?
7100 # Beau's entry is combined with the vi50 entry from University of Wisconsin.
7101 # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
7102 # disguise; <kf7>-<kf9> are really l1-l3.
7103 vi50|visual 50, 
7104         OTbs, OTpt, am, da, db, msgr, 
7105         cols#80, it#8, lines#24, 
7106         OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, 
7107         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
7108         cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, 
7109         ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
7110         kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, 
7111         kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, 
7112         nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES, 
7113 # this one was BSD & SCO's vi50
7114 vi50adm|visual 50 in adm3a mode, 
7115         am, msgr, 
7116         cols#80, it#8, lines#24, 
7117         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
7118         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
7119         ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
7120         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, 
7121         rmso=\ET, smso=\EU, 
7122 # From: Jeff Siegal <jbs@quiotix.com>
7123 vi55|Visual 55, 
7124         OTbs, am, mir, msgr, 
7125         cols#80, it#8, lines#24, 
7126         clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H, 
7127         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
7128         cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
7129         il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
7130         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET, 
7131         smir=\Ea, smso=\EU, 
7132
7133 # Visual 200 from BRL
7134 # The following switch settings are assumed for normal operation:
7135 #       FULL_DUPLEX             SCROLL                  CR
7136 #       AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
7137 # Other switches may be set for operator convenience or communication
7138 # requirements.
7139 # Character insertion is kludged in order to get around the "beep" misfeature.
7140 # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
7141 # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
7142 # and <dl1> strings, but we seem to get along fine without them.
7143 vi200|visual 200, 
7144         OTbs, OTpt, am, mir, msgr, 
7145         OTkn#10, cols#80, it#8, lines#24, 
7146         acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
7147         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
7148         cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey, 
7149         el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea, 
7150         kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
7151         kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p, 
7152         kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
7153         kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
7154         kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
7155         rmacs=\EG, rmkx=\E>, rmso=\E3, 
7156         rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF, 
7157         smkx=\E=, smso=\E4, tbc=\Eg, 
7158 # The older Visuals didn't come with function keys. This entry uses
7159 # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
7160 # If your version of vi doesn't support function keys you may want
7161 # to use vi200-f.
7162 vi200-f|visual 200 no function keys, 
7163         is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
7164         kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, 
7165         kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@, 
7166         use=vi200, 
7167 vi200-rv|visual 200 reverse video, 
7168         cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200, 
7169
7170 # the function keys are programmable but we don't reprogram them to their
7171 # default values with <is2> because programming them is very verbose. maybe
7172 # an initialization file should be made for the 300 and they could be stuck
7173 # in it.
7174 # (vi300: added <rmam>/<smam> based on init string -- esr)
7175 vi300|visual 300 ansi x3.64, 
7176         am, bw, mir, xenl, 
7177         cols#80, lines#24, 
7178         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
7179         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
7180         dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
7181         il1=\E[L, ind=^J, 
7182         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
7183         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7184         kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, 
7185         kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, 
7186         kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
7187         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
7188         smso=\E[1m, smul=\E[4m, 
7189 # some of the vi300s have older firmware that has the command
7190 # sequence for setting editing extent reversed.
7191 vi300-old|visual 300 with old firmware (set edit extent reversed), 
7192         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, 
7193         use=vi300, 
7194
7195 # Visual 500 prototype entry from University of Wisconsin.
7196 # The best place to look for the escape sequences is page A1-1 of the
7197 # Visual 500 manual.  The initialization sequence given here may be
7198 # overkill, but it does leave out some of the initializations which can
7199 # be done with the menus in set-up mode.
7200 # The :xp: line below is so that emacs can understand the padding requirements
7201 # of this slow terminal.  :xp: is 10 time the padding factor.
7202 # (vi500: removed unknown :xp#4: termcap;
7203 # also added empty <acsc> to suppress tic warning -- esr)
7204 vi500|visual 500, 
7205         am, mir, msgr, 
7206         cols#80, it#8, lines#33, 
7207         acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
7208         csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
7209         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
7210         dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>, 
7211         el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>, 
7212         ind=^J, 
7213         is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
7214         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
7215         khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
7216         rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D, 
7217
7218 # The visual 550 is a visual 300 with tektronix graphics,
7219 # and with 33 lines. clear screen is modified here to
7220 # also clear the graphics.
7221 vi550|visual 550 ansi x3.64, 
7222         lines#33, 
7223         clear=\030\E[H\E[2J, use=vi300, 
7224
7225 vi603|visual603|visual 603, 
7226         hs, mir, 
7227         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
7228         csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
7229         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
7230         dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L, 
7231         ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, 
7232         rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
7233         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~, 
7234         use=vt100, 
7235
7236 #### Wyse (wy)
7237 #
7238 #       Wyse Technology
7239 #       3471 North First Street
7240 #       San Jose, CA 95134
7241 #       Vox: (408)-473-1200
7242 #       Fax: (408) 473-1222
7243 #       Web: http://www.wyse.com
7244 #
7245 # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
7246 # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
7247 # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
7248 # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
7249 #
7250 # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
7251 # They now own the Qume and Amdek brands, too.  So these are the people to
7252 # talk with about all Link, Qume, and Amdek terminals.
7253 #
7254 # These entries include a few small fixes.
7255 # I canceled the bel capacities in the vb entries.
7256 # I made two trivial syntax fixes in the wyse30 entry.
7257 # I made some entries relative to adm+sgr.
7258 #
7259 #
7260 # Note: The wyse75, wyse85, and wyse99 have been discontinued.
7261
7262 #          Although the Wyse 30 can support more than one attribute
7263 #       it requires magic cookies to do so.  Many applications do not
7264 #       function well with magic cookies.  The following terminfo uses
7265 #       the protect mode to support one attribute (dim) without cookies.
7266 #       If more than one attribute is needed then the wy30-mc terminfo
7267 #       should be used.
7268 #
7269 wy30|wyse30|Wyse 30, 
7270         am, bw, hs, mc5i, mir, msgr, xon, 
7271         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
7272         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
7273         civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H, 
7274         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
7275         cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, 
7276         dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, 
7277         fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
7278         ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
7279         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
7280         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
7281         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
7282         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
7283         kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
7284         mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177, 
7285         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
7286         rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
7287         sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
7288         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
7289         smso=\E`7\E), tbc=\E0, tsl=\EF, 
7290 #
7291 #       This terminal description uses the non-hidden attribute mode
7292 #       (with magic cookie).
7293 #
7294 # (wy30-mc: added <smcup> to suppress tic warning --esr)
7295 wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
7296         msgr@, 
7297         ma@, xmc#1, 
7298         blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
7299         rmcup=\EG0, rmso=\EG0, 
7300         sgr=\EG%{48}%?%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%;, 
7301         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
7302         smso=\EG4, use=wy30, use=adm+sgr, 
7303 #       The mandatory pause used by <flash> does not work with
7304 #       older versions of terminfo.  If you see this effect then
7305 #       unset xon and delete the / from the delay.
7306 #       i.e. change $<100/> to $<100>
7307 wy30-vb|wyse30-vb|wyse 30 visible bell, 
7308         bel@, use=wy30, 
7309 #
7310 #          The Wyse 50 can support one attribute (e.g. Dim, Inverse,
7311 #       Normal) without magic cookies by using the protect mode.
7312 #       The following description uses this feature, but when more
7313 #       than one attribute is put on the screen at once, all attributes
7314 #       will be changed to be the same as the last attribute given.
7315 #          The Wyse 50 can support more attributes when used with magic
7316 #       cookies.  The wy50-mc terminal description uses magic cookies
7317 #       to correctly handle multiple attributes on a screen.
7318 #
7319 wy50|wyse50|Wyse 50, 
7320         am, bw, hs, mc5i, mir, msgr, xon, 
7321         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
7322         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
7323         civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H, 
7324         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
7325         cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
7326         ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
7327         home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>, 
7328         is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H, 
7329         kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
7330         kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
7331         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
7332         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
7333         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
7334         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
7335         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
7336         pfx=\Ez%p1%{63}%+%c%p2%s\177, 
7337         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
7338         ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
7339         sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
7340         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
7341         smso=\E`6\E), tbc=\E0, tsl=\EF, 
7342 #
7343 #       This terminal description uses the non-hidden attribute mode
7344 #       (with magic cookie).
7345 #
7346 #       The mandatory pause used by flash does not work with some
7347 #       older versions of terminfo.  If you see this effect then
7348 #       unset <xon> and delete the / from the delay.
7349 #       i.e. change $<100/> to $<100>
7350 # (wy50-mc: added <smcup> to suppress tic warning --esr)
7351 wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
7352         msgr@, 
7353         ma@, xmc#1, 
7354         blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4, 
7355         rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
7356         sgr=\EG%{48}%?%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%;, 
7357         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
7358         smso=\EGt, use=wy50, use=adm+sgr, 
7359 wy50-vb|wyse50-vb|wyse 50 visible bell, 
7360         bel@, use=wy50, 
7361 wy50-w|wyse50-w|wyse 50 132-column, 
7362         cols#132, lw#7, nlab#16, wsl#97, 
7363         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, 
7364         use=wy50, 
7365 wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
7366         bel@, use=wy50-w, 
7367
7368 #
7369 #       The Wyse 350 is a Wyse 50 with color.
7370 #       Unfortunately this means that it has magic cookies.
7371 #       The color attributes are designed to overlap the reverse, dim and
7372 #       underline attributes.  This is nice for monochrome applications
7373 #       because you can make underline stuff green (or any other color)
7374 #       but for true color applications it's not so hot because you cannot
7375 #       mix color with reverse, dim or underline.
7376 #           To further complicate things one of the attributes must be
7377 #       black (either the foreground or the background).  In reverse video
7378 #       the background changes color with black letters.  In normal video
7379 #       the foreground changes colors on a black background.  
7380 #           This terminfo uses some of the more advanced features of curses
7381 #       to display both color and blink.  In the final analysis I am not
7382 #       sure that the wy350 runs better with this terminfo than it does
7383 #       with the wy50 terminfo (with user adjusted colors).
7384 #
7385 #       The mandatory pause used by flash does not work with
7386 #       older versions of terminfo.  If you see this effect then
7387 #       unset xon and delete the / from the delay.
7388 #       i.e. change $<100/> to $<100>
7389 #
7390 # Bug: The <op> capability resets attributes.
7391 wy350|wyse350|Wyse 350, 
7392         am, bw, hs, mc5i, mir, xon, 
7393         colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8, 
7394         wsl#45, xmc#1, 
7395         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
7396         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
7397         cub1=^H, cud1=^J, cuf1=^L, 
7398         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>, 
7399         dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET, 
7400         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
7401         il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>, 
7402         is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI, 
7403         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
7404         ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
7405         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
7406         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
7407         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
7408         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
7409         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
7410         pfx=\Ez%p1%{63}%+%c%p2%s\177, 
7411         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
7412         rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
7413         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%+%{48}%+%c, 
7414         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%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
7415         sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
7416         smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, use=adm+sgr, 
7417 wy350-vb|wyse350-vb|wyse 350 visible bell, 
7418         bel@, use=wy350, 
7419 wy350-w|wyse350-w|wyse 350 132-column, 
7420         cols#132, lw#7, nlab#16, wsl#97, 
7421         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, 
7422         use=wy350, 
7423 wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
7424         bel@, use=wy350-w, 
7425 #
7426 #       This terminfo description is untested.
7427 #       The wyse100 emulates an adm31, so the adm31 entry should work.
7428 #
7429 wy100|wyse 100, 
7430         hs, mir, 
7431         cols#80, lines#24, xmc#1, 
7432         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
7433         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
7434         dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J, 
7435         invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
7436         kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
7437         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
7438         rmir=\Er, smir=\Eq, tsl=\EF, use=adm+sgr, 
7439 #
7440 #       The Wyse 120/150 has most of the features of the Wyse 60.
7441 #       This terminal does not need padding up to 9600 baud!
7442 #       <msgr> should be set but the clear screen fails when in
7443 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
7444 #       then set <msgr>.
7445 #
7446 wy120|wyse120|wy150|wyse150|Wyse 120/150, 
7447         am, bw, hs, km, mc5i, mir, msgr, xon, 
7448         cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
7449         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
7450         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
7451         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
7452         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
7453         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
7454         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>, 
7455         hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
7456         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
7457         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
7458         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
7459         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
7460         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
7461         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
7462         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
7463         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
7464         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
7465         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
7466         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
7467         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
7468         rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
7469         rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
7470         rs3=\EwG\Ee($<100>, 
7471         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
7472         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
7473         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
7474         tbc=\E0, tsl=\EF, use=adm+sgr, 
7475 #
7476 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
7477         cols#132, lw#7, nlab#16, wsl#97, 
7478         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
7479         rs2=\E`;$<70>, use=wy120, 
7480 #
7481 wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
7482         lh@, lines#25, lw@, nlab@, 
7483         pln@, rs3=\EwG\Ee)$<100>, use=wy120, 
7484 #
7485 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
7486         lh@, lines#25, lw@, nlab@, 
7487         pln@, rs3=\EwG\Ee)$<100>, use=wy120-w, 
7488 #
7489 wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
7490         bel@, use=wy120, 
7491 #
7492 wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
7493         bel@, use=wy120-w, 
7494 #
7495 #       The Wyse 60 is like the Wyse 50 but with more padding.
7496 #       The reset strings are slow and the pad times very depending
7497 #       on other parameters such as font loading.  I have tried
7498 #       to follow the following outline:
7499 #
7500 #               <rs1> -> set personality
7501 #               <rs2> -> set number of columns
7502 #               <rs3> -> set number of lines
7503 #               <is1> -> select the proper font
7504 #               <is2> -> do the initialization
7505 #               <is3> -> set up display memory (2 pages)
7506 #
7507 #       The Wyse 60's that have vt100 emulation are slower than the
7508 #       older Wyse 60's.  This change happened mid-1987.
7509 #       The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
7510 #
7511 #       The meta key is only half right.  This terminal will return the
7512 #       high order bit set when you hit CTRL-function_key
7513 #
7514 #       It may be useful to assign two function keys with the
7515 #       values  \E=(\s  look at old data in page 1
7516 #               \E=W,   look at bottom of page 1
7517 #       where \s is a space ( ).
7518 #
7519 #       Note:
7520 #          The Wyse 60 runs faster when the XON/XOFF
7521 #          handshake is turned off.
7522 #
7523 # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
7524 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
7525 wy60|wyse60|Wyse 60, 
7526         am, bw, hs, km, mc5i, mir, msgr, 
7527         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
7528         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
7529         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
7530         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
7531         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
7532         dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r, 
7533         ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
7534         home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
7535         ip=$<3>, is1=\EcB0\EcC1, 
7536         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
7537         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
7538         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
7539         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
7540         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
7541         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
7542         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
7543         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
7544         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
7545         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
7546         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
7547         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
7548         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
7549         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
7550         rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
7551         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
7552         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
7553         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
7554         tbc=\E0, tsl=\EF, use=adm+sgr, 
7555 #
7556 wy60-w|wyse60-w|wyse 60 132-column, 
7557         cols#132, lw#7, nlab#16, wsl#97, 
7558         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
7559         rs2=\EeF$<150>\E`;$<150>, use=wy60, 
7560 #
7561 wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
7562         lh@, lines#25, lw@, nlab@, 
7563         pln@, rs3=\EwG\Ee)$<200>, use=wy60, 
7564 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
7565         lh@, lines#25, lw@, nlab@, 
7566         pln@, rs3=\EwG\Ee)$<200>, use=wy60-w, 
7567 #
7568 wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
7569         lines#42, 
7570         clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, 
7571         dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
7572         ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
7573         ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60, 
7574 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
7575         cols#132, lw#7, nlab#16, wsl#97, 
7576         clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
7577         dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>, 
7578         nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42, 
7579 #
7580 wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
7581         lh@, lines#43, lw@, nlab@, 
7582         pln@, rs3=\Ee+$<150>, use=wy60-42, 
7583 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
7584         lh@, lines#43, lw@, nlab@, 
7585         pln@, rs3=\Ee+$<150>, use=wy60-42-w, 
7586 #
7587 wy60-vb|wyse60-vb|Wyse 60 visible bell, 
7588         bel@, use=wy60, 
7589 wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
7590         bel@, use=wy60-w, 
7591
7592 #       The Wyse-99GT looks at lot like the Wyse 60 except that it
7593 #       does not have the 42/43 line mode.  In the Wyse-60 the "lines"
7594 #       setup parameter controls the number of lines on the screen.
7595 #       For the Wyse 99GT the "lines" setup parameter controls the
7596 #       number of lines in a page.  The screen can display 25 lines max.
7597 #           The Wyse-99GT also has personalities for the VT220 and
7598 #       Tektronix 4014.  But this has no bearing on the native mode.
7599 #
7600 #       (msgr) should be set but the clear screen fails when in
7601 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
7602 #       then set msgr, else use msgr@.
7603 #
7604 #       u0 -> enter Tektronix mode
7605 #       u1 -> exit Tektronix mode
7606 #
7607 wy99gt|wyse99gt|Wyse 99gt, 
7608         msgr@, 
7609         clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>, 
7610         el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>, 
7611         il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@, 
7612         ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1, 
7613         u0=\E~>\E8, u1=\E[42h, use=wy60, 
7614 #
7615 wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
7616         cols#132, lw#7, nlab#16, wsl#97, 
7617         clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
7618         dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, 
7619         use=wy99gt, 
7620 #
7621 wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
7622         lh@, lines#25, lw@, nlab@, 
7623         pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt, 
7624 #
7625 wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
7626         lh@, lines#25, lw@, nlab@, 
7627         pln@, rs2=\E`;$<150>, use=wy99gt-w, 
7628 #
7629 wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
7630         bel@, use=wy99gt, 
7631 #
7632 wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
7633         bel@, use=wy99gt-w, 
7634
7635 # Can't set tabs! Other bugs (ANSI mode only):
7636 # - can't redefine function keys (anyway, key redefinition in ANSI mode
7637 #   is too much complex to be described);
7638 # - meta key can't be described (the terminal forgets it when reset);
7639 # The xon-xoff handshaking can't be disabled while in ansi personality, so
7640 # emacs can't work at speed greater than 9600 baud.  No padding is needed at
7641 # this speed.
7642 #   dch1 has been commented out because it causes annoying glittering when
7643 # vi deletes one character at the beginning of a line with tabs in it.
7644 #   dch makes sysgen(1M) have a horrible behaviour when deleting
7645 # a screen and makes screen(1) behave badly, so it is disabled too. The nice
7646 # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
7647 # not, so smir and rmir are commented out as well.
7648 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
7649 wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard), 
7650         am, km, mc5i, mir, msgr, xenl, 
7651         cols#80, it#8, lines#25, vt#3, 
7652         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~, 
7653         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7654         clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M, 
7655         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>, 
7656         cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED, 
7657         cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>, 
7658         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
7659         cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
7660         ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>, 
7661         enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H, 
7662         hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, 
7663         il1=\E[L, ind=\n$<1>, invis=\E[8m, 
7664         is2=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i, 
7665         kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
7666         kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
7667         kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ, 
7668         kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~, 
7669         kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~, 
7670         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h, 
7671         mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8, 
7672         rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
7673         rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m, 
7674         rs2=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i, 
7675         sc=\E7, 
7676         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;, 
7677         sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7678         smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, 
7679
7680 #   This is the american terminal. Here tabs work fine.
7681 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
7682 wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard), 
7683         hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, use=wy99-ansi, 
7684
7685 # This terminal (firmware version 02) has a lot of bugs:
7686 # - can't set tabs;
7687 # - other bugs in ANSI modes (see above).
7688 # This description disables handshaking when using cup. This is because
7689 # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
7690 # cannot be used at speeds greater than 9600 baud, because at greater
7691 # speeds handshaking is needed even for character sending. If you use
7692 # DTR handshaking, you can use even greater speeds.
7693 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
7694 wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard), 
7695         am, bw, hs, km, mc5i, mir, msgr, xon, 
7696         cols#80, it#8, lines#25, wsl#46, 
7697         acsc='x+y.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G, 
7698         blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032, 
7699         cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L, 
7700         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
7701         cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r, 
7702         ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>, 
7703         flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE, 
7704         ind=^J, invis=\EG3, 
7705         is2=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024, 
7706         ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, 
7707         kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, 
7708         kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r, 
7709         kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r, 
7710         kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r, 
7711         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
7712         kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#, 
7713         nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed., 
7714         rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30, 
7715         rs2=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024, 
7716         sgr=\E(\EG%{48}%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\E)%;%?%p9%t\EcE%e\EcD%;, 
7717         sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30, 
7718         smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF, 
7719
7720 # This is the american terminal. Here tabs work.
7721 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
7722 wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard), 
7723         hts=\E1, tbc=\E0, use=wy99f, 
7724
7725 #
7726 #       The Wyse 160 is combination of the WY-60 and the WY-99gt.
7727 #       The reset strings are slow and the pad times very depending
7728 #       on other parameters such as font loading.  I have tried
7729 #       to follow the following outline:
7730 #
7731 #               <rs1> -> set personality
7732 #               <rs2> -> set number of columns
7733 #               <rs3> -> set number of lines
7734 #               <is1> -> select the proper font
7735 #               <is2> -> do the initialization
7736 #               <is3> -> set up display memory (2 pages)
7737 #
7738 #       The display memory may be used for either text or graphics.
7739 #       When "Display Memory = Shared" the terminal will have more pages
7740 #       but garbage may be left on the screen when you switch from
7741 #       graphics to text.  If "Display Memory = Unshared" then the
7742 #       text area will be only one page long.
7743 #
7744 # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
7745 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
7746 wy160|wyse160|Wyse 160, 
7747         am, bw, hs, km, mc5i, mir, msgr, 
7748         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
7749         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
7750         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
7751         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
7752         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
7753         dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, 
7754         el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
7755         hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1, 
7756         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
7757         is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
7758         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
7759         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
7760         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
7761         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
7762         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
7763         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
7764         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
7765         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
7766         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
7767         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
7768         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
7769         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
7770         rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
7771         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
7772         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
7773         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
7774         tbc=\E0, tsl=\EF, use=adm+sgr, 
7775 #
7776 wy160-w|wyse160-w|wyse 160 132-column, 
7777         cols#132, lw#7, nlab#16, wsl#90, 
7778         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
7779         rs2=\EeF$<150>\E`;$<150>, use=wy160, 
7780 #
7781 wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
7782         lh@, lines#25, lw@, nlab@, 
7783         pln@, rs3=\EwG\Ee)$<200>, use=wy160, 
7784 wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
7785         lh@, lines#25, lw@, nlab@, 
7786         pln@, rs3=\EwG\Ee)$<200>, use=wy160-w, 
7787 #
7788 wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
7789         lines#42, 
7790         clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>, 
7791         ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>, 
7792         rs3=\Ee*$<150>, use=wy160, 
7793 wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
7794         cols#132, lw#7, nlab#16, wsl#90, 
7795         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
7796         rs2=\EeF$<150>\E`;$<150>, use=wy160-42, 
7797 #
7798 wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
7799         lh@, lines#43, lw@, nlab@, 
7800         pln@, rs3=\Ee+$<150>, use=wy160-42, 
7801 wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
7802         lh@, lines#43, lw@, nlab@, 
7803         pln@, rs3=\Ee+$<150>, use=wy160-42-w, 
7804 #
7805 wy160-vb|wyse160-vb|Wyse 160 visible bell, 
7806         bel@, use=wy160, 
7807 wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
7808         bel@, use=wy160-w, 
7809 #
7810 #       The Wyse 75 is a vt100 lookalike without advanced video.
7811 #
7812 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
7813 #       Underline) without magic cookies.  The following description
7814 #       uses this capability, but when more than one attribute is
7815 #       put on the screen at once, all attributes will be changed
7816 #       to be the same as the last attribute given.
7817 #          The Wyse 75 can support more attributes when used with magic
7818 #       cookies.  The wy75-mc terminal description uses magic cookies
7819 #       to correctly handle multiple attributes on a screen.
7820 #
7821 wy75|wyse75|wyse 75, 
7822         am, hs, mc5i, mir, msgr, xenl, xon, 
7823         cols#80, lines#24, ma#1, pb#1201, wsl#78, 
7824         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7825         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>, 
7826         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>, 
7827         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
7828         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7829         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
7830         dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
7831         dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001, 
7832         ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
7833         enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A, 
7834         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
7835         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
7836         ind=\n$<2>, ip=$<1>, 
7837         is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
7838         is2=\E>\E(B\E)0\017, is3=\E[m, kbs=^H, kcub1=\E[D, 
7839         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, 
7840         kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
7841         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
7842         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i, 
7843         kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M, 
7844         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
7845         khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~, 
7846         kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i, 
7847         mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, 
7848         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
7849         rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l, 
7850         sc=\E7, 
7851         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%;, 
7852         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7853         smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
7854         tbc=\E[3g, tsl=\E[>\,\001, use=vt220+keypad, 
7855 #
7856 #       This terminal description uses the non-hidden attribute mode
7857 #       (with magic cookie).
7858 #
7859 wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
7860         msgr@, 
7861         ma@, xmc#1, 
7862         blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
7863         rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p, 
7864         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%;, 
7865         sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p, 
7866         use=wy75, 
7867 wy75-vb|wyse75-vb|wyse 75 with visible bell, 
7868         pb@, 
7869         bel@, use=wy75, 
7870 wy75-w|wyse75-w|wyse 75 in 132 column mode, 
7871         cols#132, wsl#130, 
7872         rs2=\E[35h\E[?3h$<80>, use=wy75, 
7873 wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
7874         pb@, 
7875         bel@, use=wy75-w, 
7876 #
7877 #       Wyse 85 emulating a vt220 7 bit mode.
7878 #               24 line screen with status line.
7879 #
7880 #       The vt220 mode permits more function keys but it wipes out
7881 #       the escape key.  I strongly recommend that <f11> be set to
7882 #       escape (esc).
7883 #       The terminal may have to be set for 8 data bits and 2 stop
7884 #       bits for the arrow keys to work.
7885 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
7886 #       <dch> and <ich> work best when XON/XOFF is set.  <ich> and
7887 #       <dch> leave trash on the screen when used without XON/XOFF.
7888 #
7889 wy85|wyse85|wyse 85, 
7890         am, hs, mc5i, mir, msgr, xenl, xon, 
7891         cols#80, it#8, lines#24, wsl#80, 
7892         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7893         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7894         clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
7895         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7896         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7897         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
7898         dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
7899         dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
7900         ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
7901         enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
7902         fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
7903         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
7904         ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
7905         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
7906         is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
7907         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf10=\E[21~, 
7908         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
7909         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
7910         kf19=\E[33~, kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, 
7911         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
7912         khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
7913         kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
7914         mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>, 
7915         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, 
7916         rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>, 
7917         rs3=\E[?5l, sc=\E7, 
7918         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%;, 
7919         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7920         smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
7921         tsl=\E[40h\E7\E[25;%i%p1%dH, use=vt220+keypad, 
7922 #
7923 #       Wyse 85 with visual bell.
7924 wy85-vb|wyse85-vb|wyse 85 with visible bell, 
7925         bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85, 
7926 #
7927 #       Wyse 85 in 132-column mode.
7928 wy85-w|wyse85-w|wyse 85 in 132-column mode, 
7929         cols#132, wsl#132, 
7930         rs2=\E[35h\E[?3h$<70>, use=wy85, 
7931 #
7932 #       Wyse 85 in 132-column mode with visual bell.
7933 wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
7934         bel@, use=wy85-w, 
7935
7936 # From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
7937 # This copes with an apparent firmware bug in the wy85.  He writes:
7938 # "What I did was change leave the terminal cursor keys set to Normal
7939 # (instead of application), and change \E[ to \233 for all the keys in
7940 # terminfo. At one point, I found some reference indicating that this
7941 # terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
7942 # me), but I can't find that and the server under my bookmark to "Wyse 
7943 # Technical" isn't responding.  So there's the question of wether the wy85
7944 # terminfo should reflect the manufactuer's intended behaviour of the terminal
7945 # or the actual."
7946 wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode, 
7947         am, hs, mc5i, mir, msgr, xenl, xon, 
7948         cols#80, it#8, lines#24, wsl#80, 
7949         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7950         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7951         clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
7952         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7953         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7954         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
7955         dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
7956         dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
7957         ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
7958         enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
7959         fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
7960         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
7961         ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
7962         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
7963         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
7964         kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\233D, kcud1=\233B, 
7965         kcuf1=\233C, kcuu1=\233A, kdch1=\2333~, kent=\EOM, 
7966         kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~, 
7967         kf13=\23325~, kf14=\23326~, kf15=\23328~, kf16=\23329~, 
7968         kf17=\23331~, kf18=\23332~, kf19=\23333~, kf2=\EOQ, 
7969         kf20=\23334~, kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~, 
7970         kf8=\23319~, kf9=\23320~, kfnd=\2331~, khlp=\23328~, 
7971         khome=\23326~, kich1=\2332~, knp=\2336~, kpp=\2335~, 
7972         kslt=\2334~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
7973         mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>, 
7974         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, 
7975         rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>, 
7976         rs3=\E[?5l, sc=\E7, 
7977         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%;, 
7978         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7979         smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
7980         tsl=\E[40h\E7\E[25;%i%p1%dH, 
7981 #
7982 #       Wyse 185 emulating a vt320 7 bit mode.
7983 #
7984 #       This terminal always displays 25 lines.  These lines may be used
7985 #       as 24 data lines and a terminal status line (top or bottom) or
7986 #       25 data lines.  The 48 and 50 line modes change the page size
7987 #       and not the number of lines on the screen.
7988 #
7989 #       The Compose Character key can be used as a meta key if changed
7990 #       by set-up.
7991 #
7992 wy185|wyse185|wyse 185, 
7993         am, hs, km, mc5i, mir, msgr, xenl, xon, 
7994         cols#80, it#8, lines#24, wsl#80, 
7995         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7996         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7997         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
7998         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
7999         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
8000         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8001         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>, 
8002         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
8003         dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
8004         el=\E[K, el1=\E[1K, enacs=\E)0, 
8005         flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8, 
8006         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
8007         ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
8008         ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
8009         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
8010         is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
8011         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, 
8012         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
8013         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
8014         kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
8015         kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
8016         kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
8017         knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, 
8018         lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
8019         ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, 
8020         rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
8021         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
8022         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
8023         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%;, 
8024         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
8025         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
8026         tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
8027         use=vt220+keypad, 
8028 #
8029 #       Wyse 185 with 24 data lines and top status (terminal status)
8030 wy185-24|wyse185-24|wyse 185 with 24 data lines, 
8031         hs@, 
8032         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
8033         use=wy185, 
8034 #
8035 #       Wyse 185 with visual bell.
8036 wy185-vb|wyse185-vb|wyse 185+flash, 
8037         bel@, use=wy185, 
8038 #
8039 #       Wyse 185 in 132-column mode.
8040 wy185-w|wyse185-w|wyse 185 in 132-column mode, 
8041         cols#132, wsl#132, 
8042         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
8043         ip=$<7>, rs2=\E[35h\E[?3h, use=wy185, 
8044 #
8045 #       Wyse 185 in 132-column mode with visual bell.
8046 wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
8047         bel@, use=wy185-w, 
8048
8049 # wy325 terminfo entries
8050 # Done by Joe H. Davis        3-9-92
8051
8052 # lines 25  columns 80
8053 #
8054 wy325|wyse325|Wyse epc, 
8055         am, bw, hs, mc5i, mir, 
8056         cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
8057         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
8058         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
8059         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
8060         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
8061         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
8062         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
8063         il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
8064         is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
8065         is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
8066         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
8067         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
8068         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
8069         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
8070         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
8071         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
8072         mc0=\EP, mc4=^T, mc5=\Ed#, 
8073         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
8074         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
8075         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
8076         rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
8077         rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
8078         rs3=\EwG\Ee($<100>, 
8079         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
8080         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
8081         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
8082         tsl=\EF, use=adm+sgr, 
8083
8084 #
8085 # lines 24  columns 80  vb 
8086 #
8087 wy325-vb|wyse325-vb|wyse-325 with visual bell, 
8088         bel@, use=wy325, 
8089
8090 #
8091 # lines 24  columns 132
8092 #
8093 wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
8094         cols#132, lw#7, nlab#16, wsl#97, 
8095         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
8096         rs2=\E`;$<70>, use=wy325, 
8097 #
8098 # lines 25  columns 80
8099 #
8100 wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
8101         lh@, lines#25, lw@, nlab@, 
8102         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
8103 #
8104 # lines 25  columns 132
8105 #
8106 wy325-25w|wyse325-25w|wy325 132 columns, 
8107         lh@, lines#25, lw@, nlab@, 
8108         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
8109 #
8110 # lines 25  columns 132  vb 
8111 #
8112 wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
8113         bel@, use=wy325-w, 
8114
8115 #
8116 # lines 42  columns 80
8117 #
8118 wy325-42|wyse325-42|wyse-325 42 lines, 
8119         lh@, lines#42, lw@, nlab@, 
8120         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
8121 #
8122 # lines 42  columns 132
8123 #
8124 wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
8125         lh@, lines#42, lw@, nlab@, 
8126         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
8127 #
8128 # lines 42  columns 132  vb 
8129 #
8130 wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
8131         bel@, use=wy325-w, 
8132 #
8133 # lines 43  columns 80
8134 #
8135 wy325-43|wyse325-43|wyse-325 43 lines, 
8136         lh@, lines#43, lw@, nlab@, 
8137         pln@, use=wy325, 
8138 #
8139 # lines 43  columns 132
8140 #
8141 wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
8142         lh@, lines#43, lw@, nlab@, 
8143         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
8144 #
8145 # lines 43  columns 132  vb 
8146 #
8147 wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
8148         bel@, use=wy325-w, 
8149
8150 #       Wyse 370 -- 24 line screen with status line.
8151 #
8152 #       The terminal may have to be set for 8 data bits and 2 stop
8153 #       bits for the arrow keys to work.
8154 #
8155 #       If you change keyboards the terminal will send different
8156 #       escape sequences.
8157 #       The following definition is for the basic terminal without
8158 #       function keys.
8159 #
8160 #       <u0> -> enter Tektronix 4010/4014 mode
8161 #       <u1> -> exit  Tektronix 4010/4014 mode
8162 #       <u2> -> enter ASCII mode (from any ANSI mode)
8163 #       <u3> -> exit  ASCII mode (goto native ANSI mode)
8164 #       <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
8165 #       <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
8166 #
8167 # Bug: The <op> capability resets attributes.
8168 wy370-nk|wyse 370 without function keys, 
8169         am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
8170         colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80, 
8171         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8172         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
8173         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
8174         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8175         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
8176         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
8177         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>, 
8178         dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
8179         dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
8180         el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
8181         flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8, 
8182         home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
8183         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
8184         ind=\n$<2>, 
8185         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, 
8186         invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
8187         is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
8188         is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
8189         mc5=\E[5i, 
8190         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, 
8191         op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
8192         rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
8193         rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
8194         rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
8195         rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw, 
8196         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%;, 
8197         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
8198         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
8199         tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
8200         u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B, 
8201         u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd, 
8202 #
8203 #       Function key set for the ASCII (wy-50 compatible) keyboard
8204 #       This is the default 370.
8205 #
8206 wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
8207         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
8208         kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i, 
8209         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
8210         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i, 
8211         kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
8212         kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
8213         knp=\E[U, kpp=\E[V, use=wy370-nk, 
8214 #
8215 #       Function key set for the VT-320 (and wy85) compatible keyboard
8216 #
8217 wy370-105k|Wyse 370 with 105 key keyboard, 
8218         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8219         kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
8220         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
8221         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, 
8222         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
8223         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
8224         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
8225         use=wy370-nk, use=vt220+keypad, 
8226 #
8227 #       Function key set for the PC compatible keyboard
8228 #
8229 wy370-EPC|Wyse 370 with 102 key keyboard, 
8230         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
8231         kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
8232         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
8233         kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
8234         khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk, 
8235 #
8236 #       Wyse 370 with visual bell.
8237 wy370-vb|Wyse 370 with visible bell, 
8238         bel@, use=wy370, 
8239 #
8240 #       Wyse 370 in 132-column mode.
8241 wy370-w|Wyse 370 in 132-column mode, 
8242         cols#132, wsl#132, 
8243         rs2=\E[35h\E[?3h$<70>, use=wy370, 
8244 #
8245 #       Wyse 370 in 132-column mode with visual bell.
8246 wy370-wvb|Wyse 370 with visible bell 132-columns, 
8247         flash=\E[30h\E\,\E[30l$<300>, use=wy370-w, 
8248 wy370-rv|Wyse 370 reverse video, 
8249         rs3=\E[32h\E[?5h, use=wy370, 
8250 #
8251 #       Wyse 99gt Tektronix 4010/4014 emulator,
8252 #
8253 wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
8254         am, os, 
8255         cols#74, lines#35, 
8256         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
8257         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, 
8258         cuu1=^K, ff=^L, 
8259         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
8260         home=^]7`x @\037, 
8261         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
8262         is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
8263 #
8264 #       Wyse 160 Tektronix 4010/4014 emulator,
8265 #
8266 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
8267         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, 
8268         home=^]8`g @\037, use=wy99gt-tek, 
8269 #
8270 #       Wyse 370 Tektronix 4010/4014 emulator,
8271 #
8272 wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
8273         am, os, 
8274         cols#80, lines#36, 
8275         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
8276         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, 
8277         cuu1=^K, ff=^L, 
8278         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
8279         home=^]8g @\037, 
8280         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
8281         is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K, 
8282         nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
8283
8284 # Vendor-supplied Wyse entries end here.
8285
8286 #
8287 #TITLE:  TERMINFO ENTRY WY520
8288 #DATE:   8/5/93
8289 # The WY520 terminfo is based on the WY285 entry published on the WYSE 
8290 # BBS with the addition of more function keys and special keys.
8291 #
8292 #               rs1 -> set personality
8293 #               rs2 -> set number of columns
8294 #               rs3 -> set number of lines
8295 #               is1 -> select the proper font
8296 #               is2 -> do the initialization
8297 #               is3 -> If this string is empty then rs3 gets sent.
8298 #
8299 #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
8300 #       - The BS key is programmed to generate BS in smcup since
8301 #         is2 doesn't seem to work.
8302 #       - Remove and shift/Remove: delete a character
8303 #       - Insert : enter insert mode
8304 #       - Find   : delete to end of file
8305 #       - Select : clear a line
8306 #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
8307 #       - F14 : Home key
8308 #       - Bottom status line (host writable line) is used.
8309 #       - smkx,rmkx are removed because this would put the numeric
8310 #         keypad in Dec application mode which doesn't seem to work
8311 #         with SCO applications.
8312 #
8313 wy520|wyse520|wyse 520, 
8314         am, hs, km, mc5i, mir, xenl, xon, 
8315         cols#80, it#8, lines#24, wsl#80, 
8316         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8317         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
8318         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
8319         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
8320         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
8321         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8322         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>, 
8323         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~, 
8324         ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
8325         enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
8326         hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
8327         il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
8328         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h, 
8329         is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
8330         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~, 
8331         kel=\E[4~, kent=\EOM, kf10=\E[21~, kf11=\E[23~, 
8332         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
8333         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
8334         kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
8335         kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, 
8336         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, 
8337         lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
8338         rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, 
8339         rmcup=\E[ R, rmir=\E[4l, rmso=\E[m, rmul=\E[24m, 
8340         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
8341         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
8342         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%;, 
8343         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, 
8344         smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
8345         tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`, 
8346         vpa=\E[%i%p1%dd, use=vt220+keypad, 
8347 #
8348 #       Wyse 520 with 24 data lines and status (terminal status)
8349 wy520-24|wyse520-24|wyse 520 with 24 data lines, 
8350         hs@, 
8351         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
8352         use=wy520, 
8353 #
8354 #       Wyse 520 with visual bell.
8355 wy520-vb|wyse520-vb|wyse 520 with visible bell, 
8356         flash=\E[30h\E\,\E[30l$<100>, use=wy520, 
8357 #
8358 #       Wyse 520 in 132-column mode.
8359 wy520-w|wyse520-w|wyse 520 in 132-column mode, 
8360         cols#132, wsl#132, 
8361         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
8362         ip=$<7>, rs2=\E[35h\E[?3h, use=wy520, 
8363 #
8364 #       Wyse 520 in 132-column mode with visual bell.
8365 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
8366         flash=\E[30h\E\,\E[30l$<100>, use=wy520-w, 
8367 #
8368 #
8369 #       Wyse 520 emulating a vt420 7 bit mode.
8370 #       The DEL key is programmed to generate BS in is2.
8371 #       With EPC keyboard.
8372 #       - 'End' key will clear till end of line on EPC keyboard
8373 #       - Shift/End : ignored.
8374 #       - Insert : enter insert mode.
8375 #       - Delete : delete a character (have to change interrupt character
8376 #                  to CTRL-C: stty intr '^c') for it to work since the
8377 #                  Delete key sends 7FH.
8378 wy520-epc|wyse520-epc|wyse 520 with EPC keyboard, 
8379         kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
8380         kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
8381         use=wy520, 
8382 #
8383 #       Wyse 520 with 24 data lines and status (terminal status)
8384 #       with EPC keyboard.
8385 wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard, 
8386         hs@, 
8387         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
8388         use=wy520-epc, 
8389 #
8390 #       Wyse 520 with visual bell.
8391 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard, 
8392         flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc, 
8393 #
8394 #       Wyse 520 in 132-column mode.
8395 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard, 
8396         cols#132, wsl#132, 
8397         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
8398         ip=$<7>, rs2=\E[35h\E[?3h, use=wy520-epc, 
8399 #
8400 #       Wyse 520 in 132-column mode with visual bell.
8401 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard, 
8402         flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w, 
8403 #
8404 #       Wyse 520 in 80-column, 36 lines
8405 wy520-36|wyse520-36|wyse 520 with 36 data lines, 
8406         hs@, 
8407         lines#36, 
8408         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, 
8409         use=wy520, 
8410 #
8411 #       Wyse 520 in 80-column, 48 lines
8412 wy520-48|wyse520-48|wyse 520 with 48 data lines, 
8413         hs@, 
8414         lines#48, 
8415         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, 
8416         use=wy520, 
8417 #
8418 #       Wyse 520 in 132-column, 36 lines
8419 wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines, 
8420         cols#132, wsl#132, 
8421         rs2=\E[?3h, 
8422         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, 
8423         use=wy520-36, 
8424 #
8425 #       Wyse 520 in 132-column, 48 lines
8426 wy520-48w|wyse520-48w|wyse 520 with 48 data lines, 
8427         cols#132, wsl#132, 
8428         rs2=\E[?3h, 
8429         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, 
8430         use=wy520-48, 
8431 #
8432 #
8433 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
8434 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard, 
8435         hs@, 
8436         lines#36, 
8437         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, 
8438         use=wy520-epc, 
8439 #
8440 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
8441 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard, 
8442         hs@, 
8443         lines#48, 
8444         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, 
8445         use=wy520-epc, 
8446 #
8447 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
8448 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard, 
8449         cols#132, wsl#132, 
8450         rs2=\E[?3h, 
8451         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, 
8452         use=wy520-36pc, 
8453 #
8454 #       Wyse 520 in 132-column, 48 lines with EPC keyboard
8455 wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard, 
8456         cols#132, wsl#132, 
8457         rs2=\E[?3h, 
8458         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, 
8459         use=wy520-48pc, 
8460
8461 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
8462 # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
8463 # file and we don't know what <hts> is -- esr)
8464 wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
8465         OTbs, am, 
8466         cols#80, it#8, lines#24, 
8467         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
8468         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
8469         dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J, 
8470         is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, 
8471         kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O, 
8472         rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N, 
8473         smul=^N, 
8474
8475 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
8476         is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
8477         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
8478         khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, 
8479         use=wy75, 
8480
8481 # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
8482 wy100q|Wyse 100 for Quotron, 
8483         OTbs, 
8484         cols#80, lines#24, xmc#1, 
8485         cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
8486         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8487         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
8488         is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
8489         kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, use=adm+sgr, 
8490
8491 #### Kermit terminal emulations
8492 #
8493 # Obsolete Kermit versions may be listed in the section describing obsolete
8494 # non-ANSI terminal emulators later in the file.
8495 #
8496
8497 # KERMIT standard all versions.
8498 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
8499 # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
8500 # From: greg small <gts@populi.berkeley.edu> 9-25-84
8501 kermit|standard kermit, 
8502         OTbs, 
8503         cols#80, lines#24, 
8504         clear=\EE, cub1=^H, cuf1=\EC, 
8505         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
8506         el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n, 
8507         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
8508 kermit-am|standard kermit plus auto-margin, 
8509         am, 
8510         is2=K1 Standard Kermit plus Automatic Margins\n, 
8511         use=kermit, 
8512 # IBMPC Kermit 1.2.
8513 # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
8514 # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
8515 # line).
8516 # From: greg small <gts@populi.berkeley.edu> 8-30-84
8517 pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
8518         am, 
8519         lines#25, 
8520         clear=\EH\EJ, ed@, el@, 
8521         is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit, 
8522 # IBMPC Kermit 1.20
8523 # Cannot use line 25, now acts funny like ansi special scrolling region.
8524 # Initialization must escape from that region by cursor position to line 24.
8525 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
8526 # Does not use :am: because autowrap is lost when kermit dropped and restarted.
8527 # From: greg small <gts@populi.berkeley.edu> 12-19-84
8528 pckermit120|UCB IBMPC Kermit 1.20, 
8529         it#8, lines#24, 
8530         cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I, 
8531         il1=\EL, 
8532         is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
8533         rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit, 
8534 # MS-DOS Kermit 2.27 for the IBMPC
8535 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
8536 # Cannot use line 25, now acts funny like ansi special scrolling region.
8537 # Initialization must escape from that region by cursor position to line 24.
8538 # Does not use am: because autowrap is lost when kermit dropped and restarted.
8539 # Reverse video for standout like H19.
8540 # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
8541 # From: greg small <gts@populi.berkeley.edu> 3-17-85
8542 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
8543         OTbs, am@, 
8544         cols#80, it#8, lines#24, 
8545         clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
8546         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
8547         cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK, 
8548         home=\EH, ht=^I, il1=\EL, 
8549         is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
8550         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek, 
8551         rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep, 
8552 # MS-DOS Kermit 2.27 with automatic margins
8553 # From: greg small <gts@populi.berkeley.edu> 3-17-85
8554 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
8555         am, 
8556         cvvis=\EO\Eq\EG\EvK5, 
8557         is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, 
8558         use=msk227, 
8559 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
8560 # Automatic margins now default.  Use ansi <sgr> for highlights.
8561 # Define function keys.
8562 # (msk22714: removed obsolete ":kn#10:" -- esr)
8563 # From: greg small <gts@populi.berkeley.edu> 3-17-85
8564 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
8565         am, 
8566         bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
8567         is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
8568         kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, 
8569         kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
8570         sgr0=\E[m, smso=\E[1m, smul=\E[4m, use=mskermit227, 
8571 # This was designed for a VT320 emulator, but it is probably a good start
8572 # at support for the VT320 itself.
8573 # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
8574 # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
8575 vt320-k3|MS-Kermit 3.00's vt320 emulation, 
8576         am, eslok, hs, km, mir, msgr, xenl, 
8577         cols#80, it#8, lines#49, pb#9600, vt#3, 
8578         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8579         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
8580         clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
8581         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8582         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
8583         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8584         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
8585         dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
8586         flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
8587         fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
8588         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
8589         is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD, 
8590         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~, 
8591         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
8592         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
8593         kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8, 
8594         rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l, 
8595         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
8596         rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E[4i\E[?4i\E[m\E[r\E[2$~, 
8597         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
8598         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
8599         tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
8600 # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
8601 # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
8602 # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
8603 vt320-k311|dec vt320 series as defined by kermit 3.11, 
8604         am, eslok, hs, mir, msgr, xenl, xon, 
8605         cols#80, it#8, lines#24, vt#3, 
8606         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8607         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
8608         clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
8609         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8610         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
8611         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8612         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
8613         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
8614         flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH, 
8615         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED, 
8616         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
8617         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
8618         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
8619         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
8620         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
8621         rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O, 
8622         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
8623         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
8624         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
8625         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
8626
8627 ######## NON-ANSI TERMINAL EMULATIONS
8628 #
8629
8630 #### Avatar
8631 #
8632 # These entries attempt to describe Avatar, a terminal emulation used with
8633 # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
8634 # capabilities, but with cheaper (shorter) control sequences.  Messy design,
8635 # excessively dependent on PC idiosyncracies, but apparently rather popular
8636 # in the BBS world.
8637 #
8638 # No color support.  Avatar doesn't fit either of the Tektronix or HP color
8639 # models that terminfo knows about.  An Avatar color attribute is the
8640 # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
8641 #
8642 # I wrote these entries while looking at the Avatar spec.  I don't have
8643 # the facilities to test them.  Let me know if they work, or don't.
8644 #
8645 # Avatar escapes not used by these entries (because maybe you're smarter
8646 # and more motivated than I am and can figure out how to wrap terminfo
8647 # around some of them, and because they are weird enough to be funny):
8648 #                               level 0:
8649 # ^L            -- clear window/reset current attribute to default
8650 # ^V^A%p1%c     -- set current color attribute, parameter decodes as follows:
8651
8652 #      bit:         6   5   4   3   2   1   0
8653 #                   |       |   |   |       |
8654 #                   +---+---+   |   +---+---+
8655 #                       |       |       |
8656 #                       |       |  foreground color
8657 #                       |  foreground intensity
8658 #                  background color
8659 #                               level 0+:
8660 # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) up by p1 lines
8661 # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) down by p1 lines
8662 # ^V^L%p1%c%p2%c%p3%c           -- clear p2 lines and p3 cols w/attr %p1 
8663 # ^V^M%p1%c%p2%c%p3%c%p4%c      -- fill p3 lines & p4 cols w/char p2+attr %p1 
8664 # (^V^L and ^V^M set the current attribute as a side-effect.)
8665 # ^V ^Y <a> [...] <c>   -- repeat pattern. <a> specifies the number of bytes
8666 #                          in the pattern, <c> the number of times the pattern
8667 #                          should be repeated. If either value is 0, no-op.
8668 #                          The pattern can contain Avatar console codes,
8669 #                          including other ^V ^Y patterns.
8670 #                               level 1:
8671 # ^V^O          -- clockwise mode on; turn print direction right each time you
8672 #                  hit a window edge (yes, really).  Turned off by CR
8673 # ^V^P          -- no-op
8674 # ^V^Q%c        -- query the driver
8675 # ^V^R          -- driver reset
8676 # ^V^S          -- Sound tone (PC-specific)
8677 # ^V^T                  -- change highlight at current cursor poition to %c
8678 # ^V^U%p1%c%p2%c        -- highlight window <a> with attribute <b>
8679 # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
8680 #                       -- define window 
8681 #
8682 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
8683 # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
8684 # tell ncurses that the corresponding highlights exist; it should use <sgr>,
8685 # which is the only method that will actually work for multiple highlights.)
8686 avatar0|avatar terminal emulator level 0, 
8687         am, bce, msgr, 
8688         cols#80, it#8, lines#25, 
8689         blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
8690         cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
8691         ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp, 
8692         rs2=^L, 
8693         sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
8694         sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, use=klone+acs, 
8695 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
8696 avatar0+|avatar terminal emulator level 0+, 
8697         dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0, 
8698 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
8699 avatar|avatar1|avatar terminal emulator level 1, 
8700         civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
8701         rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+, 
8702
8703 #### RBcomm
8704 #
8705 # RBComm is a lean and mean terminal emulator written by the Interrupt List
8706 # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
8707 # '90s), especially in the BBS world, and still has some loyal users due to
8708 # its very small memory footprint and to a cute macro language.
8709 rbcomm|IBM PC with RBcomm and EMACS keybindings, 
8710         am, bw, mir, msgr, xenl, 
8711         cols#80, it#8, lines#25, 
8712         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
8713         clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
8714         cub1=^H, cud1=^C, cuf1=^B, 
8715         cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, 
8716         cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z, 
8717         ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K, 
8718         ind=\ED, invis=\E[8m, 
8719         is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H, 
8720         kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED, 
8721         rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=, 
8722         rmir=^], rmkx=\E>, rmso=^U, rmul=^U, 
8723         rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m, 
8724         smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T, 
8725 rbcomm-nam|IBM PC with RBcomm without autowrap, 
8726         am@, 
8727         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
8728         is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H, 
8729         kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm, 
8730 rbcomm-w|IBM PC with RBcomm in 132 column mode, 
8731         cols#132, 
8732         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
8733         is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H, 
8734         kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm, 
8735
8736 ######## LCD DISPLAYS
8737 #
8738
8739 #### Matrix Orbital
8740 # from: Eric Z. Ayers  (eric@ale.org)
8741 #
8742 # Matrix Orbital 20x4 LCD display
8743 # Command Character is 0xFE (decimal 254, octal 376)
8744 #
8745 # On this device, cursor addressability isn't possible.  The LCD expects:
8746 #      0xfe G <col> <row> 
8747 #      for cup: %p1 == row and %p2 is column
8748 #
8749 # This line:
8750 #       cup=\376G%p2%c%p1%c
8751 # LOOKS like it will work, but sometimes only one of the two numbers is sent. 
8752 # See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
8753
8754 # Alas, there is no cursor upline capability on this display.
8755 #
8756 # These entries add some 'sanity stuff' to the clear function.  That is, it
8757 # does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
8758 # and turns off the cursor blinking and stuff like that.
8759 #
8760 # NOTE: calling 'beep' turns on the backlight (bell)
8761 # NOTE: calling 'flash' turns it on and back off (visual bell)
8762 #
8763 MtxOrb| Generic Matrix Orbital LCD display, 
8764         bel=\376B^A, clear=\376X\376C\376R\376K\376T, 
8765         cnorm=\376K\376T, cub1=\376L, cuf1=\376M, 
8766         flash=\376B\001$<200>\376F, home=\376H, 
8767 MtxOrb204| 20x4 Matrix Orbital LCD display, 
8768         cols#20, lines#4, use=MtxOrb, 
8769 MtxOrb162| 16x2 Matrix Orbital LCD display, 
8770         cols#16, lines#2, use=MtxOrb, 
8771 # The end
8772
8773 ######## OLDER TERMINAL TYPES
8774 #
8775 # This section is devoted to older commercial terminal brands that are now
8776 # discontinued, but known to be still in use or represented by emulations.
8777 #
8778
8779 #### AT&T (att, tty)
8780 #
8781 # This section also includes Teletype-branded VDTs.
8782 #
8783 # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
8784 # Boundless Technologies); for details, see the header comment on the ADDS
8785 # section.
8786 #
8787 # These are AT&T's official terminfo entries.  All-caps aliases have been
8788 # removed.
8789 #
8790 att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
8791         am, eo, mir, msgr, xon, 
8792         cols#80, it#8, lines#24, 
8793         bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
8794         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
8795         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8796         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
8797         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
8798         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
8799         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
8800         kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
8801         kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
8802         kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r, 
8803         kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H, 
8804         kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
8805         rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
8806         smso=\E[7m, 
8807 att2350|AT&T 2350 Video Information Terminal 80 column mode, 
8808         mc0@, mc4@, mc5@, use=att2300, 
8809
8810 # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
8811 # Seems upward compatible with vt100, plus ins/del line/char.
8812 # On sgr, the protection parameter is ignored.
8813 # No check is made to make sure that only 3 parameters are output.
8814 #       standout= reverse + half-intensity = 3 | 5.
8815 #       bold= reverse + underline = 2 | 3.
8816 # note that half-bright blinking doesn't look different from normal blinking.
8817 # NOTE:you must program the function keys first, label second!
8818 # (att4410: a BSD entry has been seen with the following capabilities: 
8819 # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
8820 # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
8821 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
8822         am, hs, mir, msgr, xon, 
8823         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
8824         acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8825         bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
8826         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
8827         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
8828         dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I, 
8829         ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
8830         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, 
8831         kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
8832         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
8833         kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, 
8834         ll=\E[24H, nel=^M^J, 
8835         pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
8836         pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
8837         rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
8838         sc=\E7, 
8839         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%;, 
8840         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
8841         tsl=\E7\E[25;%p1%{1}%+%dH, 
8842
8843 att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
8844         cols#132, wsl#132, 
8845         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1, 
8846
8847 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
8848         OTbs, 
8849         pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, 
8850         use=att5410v1, 
8851
8852 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
8853         cols#132, wsl#132, 
8854         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410, 
8855
8856 # 5410 in terms of a vt100
8857 # (v5410: added <rmam>/<smam> based on init string -- esr)
8858 v5410|att5410 in terms of a vt100, 
8859         am, mir, msgr, xon, 
8860         cols#80, it#8, lines#24, vt#3, 
8861         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8862         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
8863         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
8864         cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
8865         cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P, 
8866         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
8867         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@, 
8868         il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
8869         kcuu1=\EOA, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, 
8870         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
8871         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
8872         sc=\E7, 
8873         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>, 
8874         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
8875         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
8876         use=vt100+fnkeys, 
8877
8878
8879 # Teletype Model 5420 -- A souped up 5410, with multiple windows,
8880 # even! the 5420 has three modes: scroll, window or page mode
8881 # this terminfo should work in scroll or window mode, but doesn't
8882 # take advantage of any of the differences between them.
8883 #
8884 # Has memory below (2 lines!)
8885 # 3 pages of memory (plus some spare)
8886 # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
8887 # <hpa>, <hts> would work for these, but these work in both scroll and window
8888 # mode... Unset insert character so insert mode works
8889 # <is1> sets 80 column mode,
8890 # <is2> escape sequence:
8891 # 1) turn off all fonts
8892 # 2) function keys off, keyboard lock off, control display off,
8893 #    insert mode off, erasure mode off,
8894 # 3) full duplex, monitor mode off, send graphics off, nl on lf off
8895 # 4) reset origin mode
8896 # 5) set line wraparound
8897 # 6) exit erasure mode, positional attribute mode, and erasure extent mode
8898 # 7) clear margins
8899 # 8) program ENTER to transmit ^J,
8900 # We use \212 to program the ^J because a bare ^J will get translated by
8901 # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
8902 #     1      2            3              4     5     6    7  8
8903 # <is3> set screen color to black,
8904 # No representation in terminfo for the delete word key: kdw1=\Ed
8905 # Key capabilities assume the power-up send sequence...
8906 # This <rmcup> is not strictly necessary, but it helps maximize 
8907 # memory usefulness: <rmcup=\Ez>,
8908 # Alternate sgr0:       <sgr0=\E[m\EW^O>,
8909 # 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%;>,
8910 # smkx programs the SYS PF keys to send a set sequence.
8911 # It also sets up labels f1, f2, ..., f8, and sends edit keys.
8912 # This string causes them to send the strings <kf1>-<kf8>
8913 # when pressed in SYS PF mode.
8914 # (att4415: I added <rmam>/<smam> based on the init string -- esr)
8915 att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
8916         OTbs, db, mir, xon, 
8917         lh#2, lm#78, lw#8, nlab#8, wsl#55, 
8918         cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD, 
8919         cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx, 
8920         cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP, 
8921         dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD, 
8922         flash=\E[?5h$<200>\E[?5l, home=\E[x, 
8923         hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@, 
8924         il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>, 
8925         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, 
8926         is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, 
8927         kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd, 
8928         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
8929         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
8930         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
8931         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, 
8932         mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
8933         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
8934         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 
8935         rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
8936         rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
8937         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%;, 
8938         sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
8939         smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
8940         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
8941         use=att4410, 
8942
8943 att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
8944         cols#132, lm#54, wsl#97, 
8945         is1=\E[?3h$<100>, use=att4415, 
8946
8947 att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
8948         flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415, 
8949
8950 att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
8951         cols#132, lm#54, wsl#97, 
8952         flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, 
8953         use=att4415, 
8954
8955 # Note that this mode permits programming USER PF KEYS and labels
8956 # However, when you program user pf labels you have to reselect
8957 # user pf keys to make them appear! 
8958 att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
8959         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
8960         pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
8961         pln=\E[%p1%d;0;0;1q%p2%:-16.16s, 
8962
8963 att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
8964         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
8965         use=att4415, 
8966
8967 att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
8968         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
8969         use=att4415-rv, 
8970
8971 att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
8972         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
8973         use=att4415-w, 
8974
8975 att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
8976         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
8977         use=att4415-w-rv, 
8978
8979 att5420_2|AT&T 5420 model 2 80 cols, 
8980         am, db, hs, mir, msgr, xon, 
8981         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
8982         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8983         blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j, 
8984         cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8985         cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C, 
8986         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j, 
8987         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
8988         dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
8989         el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
8990         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
8991         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
8992         invis=\E[8m, 
8993         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, 
8994         kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
8995         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
8996         kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, 
8997         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
8998         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
8999         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
9000         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, 
9001         mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
9002         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
9003         pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8, 
9004         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j, 
9005         rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
9006         sc=\E7, 
9007         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%;, 
9008         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
9009         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
9010         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
9011 att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
9012         cols#132, 
9013         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, 
9014         use=att5420_2, 
9015
9016 att4418|att5418|AT&T 5418 80 cols, 
9017         am, xon, 
9018         cols#80, lines#24, 
9019         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9020         bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
9021         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
9022         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
9023         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
9024         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
9025         ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
9026         is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%%, kcub1=\E@, 
9027         kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h, 
9028         kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I, 
9029         kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
9030         kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j, 
9031         kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8, 
9032         rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7, 
9033         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
9034 att4418-w|att5418-w|AT&T 5418 132 cols, 
9035         cols#132, 
9036         is1=\E[?3h, use=att5418, 
9037
9038 att4420|tty4420|teletype 4420, 
9039         OTbs, da, db, eo, msgr, ul, xon, 
9040         cols#80, lines#24, lm#72, 
9041         bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC, 
9042         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
9043         dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s, 
9044         kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
9045         kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH, 
9046         kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
9047         lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~, 
9048         rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
9049
9050 #  The following is a terminfo entry for the Teletype 4424
9051 #  asynchronous keyboard-display terminal.  It supports
9052 #  the vi editor.  The terminal must be set up as follows,
9053 #       
9054 #       HIGHLIGHT DEFINITION    3-TONE
9055 #       DISPLAY FUNCTION        GROUP III
9056 #       
9057 #  The second entry below provides limited (a la adm3a)
9058 #  operation under GROUP II.
9059 #       
9060 #  This must be used with DISPLAY FUNCTION GROUP I or III
9061 #       and HIGHLIGHT DEFINITION 3-TONE
9062 # The terminal has either bold or blink, depending on options
9063 #
9064 # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
9065 att4424|tty4424|teletype 4424, 
9066         OTbs, am, xon, 
9067         cols#80, lines#24, 
9068         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9069         bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M, 
9070         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9071         cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC, 
9072         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA, 
9073         dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM, 
9074         ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
9075         ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h, 
9076         kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
9077         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
9078         khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, 
9079         rmul=\EZ, 
9080         sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
9081         sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\, 
9082         tbc=\EF, 
9083
9084 att4424-1|tty4424-1|teletype 4424 in display function group I, 
9085         kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@, 
9086         use=att4424, 
9087
9088 # This entry is not one of AT&T's official ones, it was translated from the
9089 # 4.4BSD termcap file.  The highlight strings are different from att4424.
9090 # I have no idea why this is -- older firmware version, maybe?
9091 # The following two lines are the comment originally attached to the entry:
9092 # This entry appears to avoid the top line - I have no idea why.
9093 # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
9094 att4424m|tty4424m|teletype 4424M, 
9095         am, da, db, mir, 
9096         cols#80, it#8, lines#23, 
9097         bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
9098         cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP, 
9099         dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>, 
9100         is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
9101         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
9102         kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m, 
9103         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
9104
9105 # The Teletype 5425 is really version 2 of the Teletype 5420. It 
9106 # is quite similar, except for some minor differences. No page 
9107 # mode, for example, so all of the <cup> sequences used above have 
9108 # to change back to what's being used for the 5410. Many of the 
9109 # option settings have changed their numbering as well.
9110
9111 # This has been tested on a preliminary model.
9112 #
9113 # (att5425: added <rmam>/<smam> based on the init string -- esr)
9114 att5425|tty5425|att4425|AT&T 4425/5425, 
9115         am, da, db, hs, mir, msgr, xenl, xon, 
9116         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
9117         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9118         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
9119         clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
9120         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9121         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
9122         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9123         cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
9124         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, 
9125         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
9126         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
9127         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
9128         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
9129         invis=\E[8m, is1=\E<\E[?3l$<100>, 
9130         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, 
9131         is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
9132         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
9133         kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, 
9134         kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
9135         kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T, 
9136         kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
9137         nel=^M^J, 
9138         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
9139         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8, 
9140         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 
9141         rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, 
9142         rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
9143         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%;, 
9144         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
9145         smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 
9146         smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 
9147         vpa=\E[%p1%{1}%+%dd, 
9148
9149 att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
9150         smkx=\E[21;1j\E[25;4j\Eent, use=att4425, 
9151
9152 att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
9153         cols#132, lm#54, wsl#97, 
9154         is1=\E[?3h$<100>, use=tty5425, 
9155
9156 # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
9157 # I also added <rmam>/<smam> -- esr)
9158 att4426|tty4426|teletype 4426S, 
9159         am, da, db, xon, 
9160         cols#80, lines#24, lm#48, 
9161         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9162         bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, 
9163         cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
9164         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9165         cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
9166         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H, 
9167         hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^, 
9168         il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS, 
9169         is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, 
9170         kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
9171         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
9172         kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
9173         nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT, 
9174         rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
9175         rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0, 
9176         smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g, 
9177         vpa=\E[%p1%dd, 
9178
9179 # Terminfo entry for the AT&T 510 A Personal Terminal
9180 # Function keys 9 - 16 are available only after the 
9181 # screen labeled (soft keys/action blocks) are labeled.  Function key
9182 # 9 corresponds to the leftmost touch target on the screen,
9183 # function key 16 corresponds to the rightmost.
9184 #
9185 # This entry is based on one done by Ernie Rice at Summit, NJ and
9186 # changed by Anne Gallup, Skokie, IL, ttrdc!anne
9187 att510a|bct510a|AT&T 510A Personal Terminal, 
9188         am, mir, msgr, xenl, xon, 
9189         cols#80, lh#2, lines#24, lw#7, nlab#8, 
9190         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
9191         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
9192         civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
9193         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
9194         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9195         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, 
9196         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
9197         el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I, 
9198         hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l, 
9199         is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
9200         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, 
9201         kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, 
9202         kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, 
9203         kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
9204         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
9205         pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
9206         rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7, 
9207         sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
9208         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
9209         smul=\E[4m, tbc=\E[3g, 
9210
9211 # Terminfo entry for the AT&T 510 D Personal Terminal
9212 # Function keys 9 through 16 are accessed by bringing up the
9213 # system blocks.
9214 # Function key 9 corresponds to the leftmost touch target on the screen,
9215 # function key 16 corresponds to the rightmost.
9216 #
9217 # There are problems with soft key labeling.  These are due to 
9218 # strangenesses in the native terminal that are impossible to
9219 # describe in a terminfo.  
9220 att510d|bct510d|AT&T 510D Personal Terminal, 
9221         am, da, db, mir, msgr, xenl, xon, 
9222         cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
9223         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
9224         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
9225         clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
9226         cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
9227         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
9228         cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
9229         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
9230         el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, 
9231         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
9232         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
9233         invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
9234         kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
9235         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd, 
9236         kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi, 
9237         kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
9238         kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, 
9239         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE, 
9240         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
9241         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
9242         rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, 
9243         rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, 
9244         rs2=\E[5;0|, sc=\E7, 
9245         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%;, 
9246         sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, 
9247         smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m, 
9248         smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
9249
9250 # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
9251 att500|att513|AT&T 513 using page mode, 
9252         am, chts, mir, msgr, xenl, xon, 
9253         cols#80, lh#2, lines#24, lw#8, nlab#8, 
9254         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
9255         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
9256         clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
9257         csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9258         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
9259         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9260         cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m, 
9261         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
9262         enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
9263         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
9264         indn=\E[%p1%dE, invis=\E[8m, 
9265         is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
9266         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
9267         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
9268         kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, 
9269         kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
9270         kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY, 
9271         kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw, 
9272         kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, 
9273         kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9274         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent, 
9275         kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
9276         kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, 
9277         khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
9278         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
9279         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
9280         kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB, 
9281         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
9282         mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i, 
9283         nel=\EE, 
9284         pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
9285         pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
9286         pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
9287         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
9288         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
9289         rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
9290         rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
9291         rmul=\E[m, 
9292         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, 
9293         rs2=\E[5;0|, sc=\E7, 
9294         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%;, 
9295         sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
9296         smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
9297         smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
9298
9299 # 01-07-88
9300 # printer must be set to EMUL ANSI to accept ESC codes
9301 # <cuu1> stops at top margin
9302 # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
9303 #       and alt font ascii,wrap on,tabs cleared
9304 # <is2> disables newline on LF,Emphasized off
9305 # The <u0> capability sets form length
9306 att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
9307         xhpa, xvpa, 
9308         bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10, 
9309         orhi#100, orl#12, orvi#72, 
9310         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%;, 
9311         cr=^M, 
9312         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%;, 
9313         cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM, 
9314         ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r, 
9315         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%;, 
9316         rshm=\E[m, 
9317         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(}%;, 
9318         smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
9319         smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m, 
9320         u0=\E[%p1%dt, vpa=\E[%p1%dd, 
9321
9322 # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
9323 # The following SET-UP modes are assumed for normal operation:
9324 #       CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
9325 # Other SET-UP modes may be set for operator convenience or communication
9326 # requirements.  This termcap description is for the Resident Terminal Mode.
9327 # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
9328 # The BRL entry also said: UNSAFE :ll=\E[70H:
9329 att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs, 
9330         am, xon, 
9331         cols#88, it#8, lines#70, vt#3, 
9332         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
9333         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
9334         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
9335         home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
9336         il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, 
9337         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
9338         kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT, 
9339         rs1=\Ec, sc=\E7, 
9340
9341 # 5620 terminfo  (2.0 or later ROMS with char attributes)
9342 # The following SET-UP modes are assumed for normal operation:
9343 #       DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
9344 # Other SET-UP modes may be set for operator convenience or communication
9345 # requirements.  This termcap description is for Resident Terminal Mode.  No
9346 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
9347 # assumptions: <ind> (scroll forward one line) is only done at screen bottom
9348 # Be aware that older versions of the dmd have a firmware bug that affects
9349 # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
9350 # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
9351 # also has <ll>=\E[70H commented out and marked unsafe.
9352 # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
9353 att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
9354         OTbs, am, msgr, npc, xon, 
9355         cols#88, it#8, lines#70, 
9356         bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
9357         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
9358         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
9359         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
9360         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
9361         indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
9362         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J, 
9363         pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T, 
9364         rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7, 
9365         sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
9366 att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
9367         lines#24, use=att5620, 
9368 att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
9369         lines#34, use=att5620, 
9370 # 5620 layer running the "S" system's downloaded graphics handler:
9371 att5620-s|tty5620-s|layer|vitty|5620 S layer, 
9372         OTbs, OTpt, am, 
9373         cols#80, it#8, lines#72, 
9374         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
9375         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED, 
9376         el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J, 
9377         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
9378         kll=\E[70;1H, 
9379
9380 # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
9381 #
9382 # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
9383 # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
9384 att605|AT&T 605 80 column 102key keyboard, 
9385         am, eo, xon, 
9386         cols#80, lines#24, lw#8, nlab#8, wsl#80, 
9387         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9388         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
9389         cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
9390         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
9391         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
9392         el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
9393         il1=\E[L, ind=^J, invis=\E[8m, 
9394         is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017, 
9395         kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
9396         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
9397         kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
9398         kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, 
9399         kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
9400         kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, 
9401         kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
9402         kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, 
9403         kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
9404         kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, 
9405         kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, 
9406         kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
9407         kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, 
9408         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
9409         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
9410         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
9411         rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
9412         rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016, 
9413         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
9414         tsl=\E7\E[25;%i%p1%dx, 
9415 att605-pc|ATT 605 in pc term mode, 
9416         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
9417         cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
9418         dch1=\E[P, dl1=\E[M, ich1=\E[@, il1=\E[L, kcbt=\E[Z, 
9419         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
9420         kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, 
9421         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
9422         kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I, 
9423         rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g, 
9424         xonc=e, use=att605, 
9425 att605-w|AT&T 605-w 132 column 102 key keyboard, 
9426         cols#132, wsl#132, 
9427         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, 
9428         use=att605, 
9429 # (att610: I added <rmam>/<smam> based on the init string.  I also
9430 # added <indn> and <rin> because the BSD file says the att615s have them,
9431 # and the 615 is like a 610 with a big keyboard, and most of their other
9432 # smart terminals support the same sequence -- esr)
9433 att610|AT&T 610; 80 column; 98key keyboard, 
9434         am, eslok, hs, mir, msgr, xenl, xon, 
9435         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
9436         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9437         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
9438         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
9439         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9440         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9441         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9442         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
9443         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
9444         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
9445         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
9446         indn=\E[%p1%dS, invis=\E[8m, 
9447         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
9448         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
9449         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
9450         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
9451         kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
9452         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
9453         kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, 
9454         nel=\EE, 
9455         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
9456         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
9457         ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
9458         rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
9459         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%;, 
9460         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
9461         smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx, 
9462 att610-w|AT&T 610; 132 column; 98key keyboard, 
9463         cols#132, wsl#132, 
9464         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
9465         use=att610, 
9466
9467 att610-103k|AT&T 610; 80 column; 103key keyboard, 
9468         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
9469         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
9470         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
9471         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
9472         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
9473         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
9474         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
9475         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
9476         khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl, 
9477         knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
9478         kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq, 
9479         krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
9480         kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610, 
9481 att610-103k-w|AT&T 610; 132 column; 103key keyboard, 
9482         cols#132, wsl#132, 
9483         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
9484         use=att610-103k, 
9485 att615|AT&T 615; 80 column; 98key keyboard, 
9486         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
9487         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
9488         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
9489         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
9490         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
9491         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
9492         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610, 
9493 att615-w|AT&T 615; 132 column; 98key keyboard, 
9494         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
9495         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
9496         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
9497         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
9498         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
9499         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
9500         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610-w, 
9501 att615-103k|AT&T 615; 80 column; 103key keyboard, 
9502         kLFT=\E[ A, kRIT=\E[ @, use=att610-103k, 
9503 att615-103k-w|AT&T 615; 132 column; 103key keyboard, 
9504         kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w, 
9505 # (att620: I added <rmam>/<smam> based on the init string and
9506 # <rin>/<indn> from a BSD termcap -- esr)
9507 att620|AT&T 620; 80 column; 98key keyboard, 
9508         am, eslok, hs, mir, msgr, xenl, xon, 
9509         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
9510         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9511         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
9512         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
9513         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9514         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9515         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9516         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
9517         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
9518         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
9519         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
9520         indn=\E[%p1%dS, invis=\E[8m, 
9521         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
9522         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
9523         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
9524         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
9525         kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
9526         kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, 
9527         kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
9528         kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, 
9529         kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
9530         kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, 
9531         kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
9532         kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
9533         kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
9534         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
9535         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
9536         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
9537         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 
9538         rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
9539         rs2=\Ec\E[?3l, sc=\E7, 
9540         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%;, 
9541         sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
9542         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
9543         tsl=\E7\E[25;%i%p1%dx, 
9544 att620-w|AT&T 620; 132 column; 98key keyboard, 
9545         cols#132, wsl#132, 
9546         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
9547         use=att620, 
9548 att620-103k|AT&T 620; 80 column; 103key keyboard, 
9549         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
9550         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
9551         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
9552         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
9553         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
9554         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
9555         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
9556         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
9557         kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@, 
9558         kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, 
9559         kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@, 
9560         kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
9561         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
9562         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
9563         kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, 
9564         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, use=att620, 
9565
9566 att620-103k-w|AT&T 620; 132 column; 103key keyboard, 
9567         cols#132, wsl#132, 
9568         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
9569         use=att620-103k, 
9570
9571 # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
9572 # The following SETUP modes are assumed for normal operation:
9573 #       Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
9574 #       Font_Size=Large         Non-Layers_Window_Cols=80
9575 #                               Non-Layers_Window_Rows=60
9576 # Other SETUP modes may be set for operator convenience or communication
9577 # requirements.  Some capabilities assume a printer attached to the Aux EIA
9578 # port.  This termcap description is for the Fixed Non-Layers Window.  No
9579 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
9580 # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
9581 att630|AT&T 630 windowing terminal, 
9582         OTbs, am, da, db, mir, msgr, npc, xon, 
9583         cols#80, it#8, lines#60, lm#0, 
9584         bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
9585         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
9586         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9587         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
9588         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
9589         el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
9590         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
9591         kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
9592         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M, 
9593         kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, 
9594         kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
9595         kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
9596         kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i, 
9597         mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
9598         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
9599         rmul=\E[m, rs2=\Ec, sc=\E7, 
9600         sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
9601         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
9602 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
9603         lines#24, use=att630, 
9604
9605 # This is the att700 entry for 700 native emulation of the AT&T 700
9606 # terminal.  Comments are relative to changes from the 605V2 entry and
9607 # att730 on which the entry is based.  Comments show the terminfo
9608 # capability name, termcap name, and description.
9609 #
9610 # Here is what's going onm in the init string:
9611 #       ESC [ 50;4|     set 700 native mode (really is 605)
9612 # x     ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
9613 #       ESC [ 53;0|     set GenFlow to Xon/Xoff
9614 #       ESC [ 8 ;0|     set CR on NL 
9615 # x     ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
9616 #       ESC [ ? 4 l     jump scroll 
9617 #       ESC [ ? 5 l/h   video: normal (l); reverse (h)
9618 #       ESC [ ?13 l     Labels on
9619 #       ESC [ ?15 l     parity check = no
9620 #       ESC [ 13 l      monitor mode off
9621 #       ESC [ 20 l      LF on NL (not CRLF on NL)
9622 #       ESC [ ? 7 h     autowrap on
9623 #       ESC [ 12 h      local echo off
9624 #       ESC ( B         GO = ASCII
9625 #       ESC ) 0         G1 = Special Char & Line Drawing
9626 #       ESC [ ? 31 l    Set 7 bit controls
9627 #
9628 # Note: Most terminals, especially the 600 family use Reverse Video for
9629 # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
9630 # Assume we should stay with reverse video for 70..  However, the 605V2 exits
9631 # standout mode with \E[m (all normal attributes).  The 730 entry simply
9632 # exits reverse video which would leave other current attributes intact.  It
9633 # was assumed the 730 entry to be more correct so rmso has changed.  The
9634 # 605V2 has no sequences to turn individual attributes off, thus its setting
9635 # and the rmso/smso settings from the 730.
9636 #
9637 # Note: For the same reason as above in rmso I changed exit under-score mode
9638 # to specifically turn off underscore, rather than return to all normal 
9639 # attributes
9640 #
9641 # Note: The following pkey_xmit is taken from the 605V2 which contained the
9642 # capability as pfxl.  It was changed here to pfx since pfxl
9643 # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
9644 # allows strings to be parameters and label values must be programmed as
9645 # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
9646 # and strings to be parameters.  The 605V2 pfx entry should be examined later
9647 # in this regard. For reference the 730 pfxl entry is shown here for comparison
9648 # 730 pfx entry:
9649 #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
9650 # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
9651 #
9652 # (for 4.0 tic)
9653 #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
9654 #
9655 # (for <4.0 tic)
9656 #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
9657 #
9658 # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
9659 #
9660 # Port1 Interface
9661 #
9662 # modular 10 pin Connector
9663 # Left side       Right side
9664 # Pin 1 2 3 4 5 6 7 8 9 10
9665 #
9666 #        Key (notch) at bottom
9667 #
9668 # Pin    1 DSR
9669 #        3 DCD
9670 #        4 DTR
9671 #        5 Sig Ground
9672 #        6 RD
9673 #        7 SD
9674 #        8 CTS
9675 #        9 RTS
9676 #        10 Frame Ground
9677 #
9678 # The manual is 189 pages and is loaded with details about the escape codes,
9679 # etc..... Available from AT&T CIC 800-432-6600...
9680 # ask for Document number 999-300-660..
9681 #
9682 att700|AT&T 700 24x80 column display w/102key keyboard, 
9683         am, eslok, hs, mir, msgr, xenl, xon, 
9684         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
9685         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9686         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
9687         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
9688         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9689         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9690         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9691         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
9692         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
9693         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4, 
9694         fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
9695         il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m, 
9696         is2=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017, 
9697         is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, 
9698         kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9699         kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, 
9700         kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, 
9701         kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, 
9702         kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
9703         kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq, 
9704         kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu, 
9705         kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu, 
9706         kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
9707         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, 
9708         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
9709         kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H, 
9710         mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
9711         pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s, 
9712         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
9713         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
9714         rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m, 
9715         rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7, 
9716         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%;, 
9717         sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m, 
9718         smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g, 
9719         tsl=\E7\E[99;%i%p1%dx, 
9720
9721 # This entry was modified 3/13/90 by JWE.
9722 # fixes include additions of <enacs>, correcting <rep>, and modification
9723 # of <kHOM>.  (See comments below)
9724 # att730 has status line of 80 chars
9725 # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
9726 # the <kf25> and up keys are used for shifted system Fkeys
9727 # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
9728 # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
9729 # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
9730 # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
9731 # 102, 102+1, or 122 key keyboards
9732 #       kHOM=\E[2J,
9733 # (att730: I added <rmam>/<smam> based on the init string -- esr)
9734 att730|AT&T 730 windowing terminal, 
9735         am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
9736         cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80, 
9737         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9738         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
9739         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
9740         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9741         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9742         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9743         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
9744         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
9745         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
9746         home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
9747         ind=\ED, invis=\E[8m, 
9748         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
9749         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
9750         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
9751         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
9752         kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
9753         kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{, 
9754         kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD, 
9755         kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH, 
9756         kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
9757         kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf, 
9758         kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ, 
9759         kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg, 
9760         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
9761         kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
9762         mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
9763         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, 
9764         pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s, 
9765         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
9766         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
9767         rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m, 
9768         rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, 
9769         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%;, 
9770         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
9771         smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h, 
9772         swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
9773 att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
9774         lines#41, use=att730, 
9775 att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
9776         lines#24, use=att730, 
9777 att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
9778         flash=\E[?5l$<200>\E[?5h, 
9779         is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, 
9780         use=att730, 
9781 att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
9782         lines#41, use=att730r, 
9783 att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
9784         lines#24, use=att730r, 
9785
9786 # The following represents the screen layout along with the associated
9787 # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
9788 # not appear on the screen but are shown to reference the bezel buttons.
9789 # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
9790 # position relative to the screen.
9791 #
9792 #
9793 #
9794 #      +----------------------------------------------------------------+
9795 #      |                                                                |
9796 # XXXX | kf0                                                       kf24 | XXXX
9797 #      |                                                                |
9798 #      |                                                                |
9799 # XXXX | kf1                                                       kf23 | XXXX
9800 #      |                                                                |
9801 #      |                                                                |
9802 # XXXX | kf2                                                       kf22 | XXXX
9803 #      |                                                                |
9804 #      |                                                                |
9805 # XXXX | kf3                                                       kf21 | XXXX
9806 #      |                                                                |
9807 #      |                                                                |
9808 # XXXX | kf4                                                       kf20 | XXXX
9809 #      |                                                                |
9810 #      |                                                                |
9811 # XXXX | kf5                                                       kf19 | XXXX
9812 #      |                                                                |
9813 #      |                                                                |
9814 # XXXX | kf6                                                       kf18 | XXXX
9815 #      |                                                                |
9816 #      |                                                                |
9817 # XXXX |                                                                | XXXX
9818 #      |                                                                |
9819 #      |                                                                |
9820 #      +----------------------------------------------------------------+
9821 #
9822 #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
9823 #
9824 # Note: XXXX represents the screen buttons
9825 #                                                          CMD   REDRAW
9826 #
9827 #                                                          MAIL
9828 #
9829 # version 1 note: 
9830 #       The character string sent by key 'kf26' may be user programmable
9831 #       to send either \E[16s, or \E[26s.
9832 #       The character string sent by key 'krfr' may be user programmable
9833 #       to send either \E[17s, or \E[27s.
9834 #
9835 # Depression of the "CMD" key sends    \E!    (kcmd)
9836 # Depression of the "MAIL" key sends   \E[26s (kf26)
9837 # "REDRAW" same as "REFRESH" (krfr)
9838 #
9839 # "kf" functions adds carriage return to output string if terminal is in
9840 # 'new line' mode.
9841 #
9842 # The following are functions not covered in the table above:
9843 #
9844 #       Set keyboard character (SKC): \EPn1;Pn2w
9845 #                       Pn1= 0 Back Space key
9846 #                       Pn1= 1 Break key
9847 #                       Pn2=   Program char (hex)
9848 #
9849 #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
9850 #                       Pn1=     Window number (1-39)
9851 #                       Pn2-Pn5= Y;X;Y;X coordinates
9852 #
9853 #       Screen Selection (SSL): \E[Pnu
9854 #                       Pn= Window number
9855 #
9856 #       Set Terminal Modes (SM): \E[Pnh
9857 #                       Pn= 3 Graphics mode
9858 #                       Pn= > Cursor blink
9859 #                       Pn= < Enter new line mode
9860 #                       Pn= = Enter reverse insert/replace mode
9861 #                       Pn= ? Enter no scroll mode
9862 #
9863 #       Reset Terminal Mode (RM): \E[Pnl
9864 #                       Pn= 3 Exit graphics mode
9865 #                       Pn= > Exit cursor blink
9866 #                       Pn= < Exit new line mode
9867 #                       Pn= = Exit reverse insert/replace mode
9868 #                       Pn= ? Exit no scroll mode
9869 #
9870 #       Screen Status Report (SSR): \E[Pnp
9871 #                       Pn= 0 Request current window number
9872 #                       Pn= 1 Request current window dimensions
9873 #
9874 #       Device Status Report (DSR): \E[6n    Request cursor position
9875 #
9876 #       Call Status Report (CSR): \E[Pnv
9877 #                       Pn= 0 Call failed
9878 #                       Pn= 1 Call successful
9879 #
9880 #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
9881 #                       Pn1= Button number to be loaded
9882 #                       Pn2= Character count of "string"
9883 #                       Pn3= Key mode being loaded:
9884 #                               0= Unshifted
9885 #                               1= Shifted
9886 #                               2= Control
9887 #                       String= Text string (15 chars max)
9888 #
9889 #       Screen Number Report (SNR): \E[Pnp
9890 #                       Pn= Screen number
9891 #
9892 #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
9893 #                       Pn1= Number of rows available in window
9894 #                       Pn2= Number of columns available in window
9895 #
9896 #       Cursor Position Report (CPR): \E[Pn1;Pn2R
9897 #                       Pn1= "Y" Position of cursor
9898 #                       Pn2= "X" Position of cursor
9899 #
9900 #       Request Answer Back (RAB): \E[c
9901 #
9902 #       Answer Back Response (ABR): \E[?;*;30;VSV
9903 #                       *=  0 No printer available
9904 #                       *=  2 Printer available
9905 #                       V=  Software version number
9906 #                       SV= Software sub version number
9907 #       (printer-available field not documented in v1)
9908 #
9909 #       Screen Alignment Aid: \En
9910 #
9911 #       Bell (lower pitch): \E[x
9912 #
9913 #       Dial Phone Number: \EPdstring\
9914 #                       string= Phone number to be dialed
9915 #
9916 #       Set Phone Labels: \EPpstring\
9917 #                       string= Label for phone buttons
9918 #
9919 #       Set Clock: \EPchour;minute;second\
9920 #
9921 #       Position Clock: \EPsY;X\
9922 #                       Y= "Y" coordinate
9923 #                       X= "X" coordinate
9924 #
9925 #       Delete Clock: \Epr\
9926 #
9927 #       Programming The Function Buttons: \EPfPn;string\
9928 #                       Pn= Button number (00-06, 18-24)
9929 #                                         (kf00-kf06, kf18-kf24)
9930 #                       string= Text to sent on button depression
9931 #
9932 # The following in version 2 only:
9933 #
9934 #       Request For Local Directory Data: \EPp12;\
9935 #
9936 #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
9937 #
9938 #       Request for Local Directory Data in print format: \EPp13;\
9939 #
9940 #       Enable 'Prt on Line' mode: \022 (DC2)
9941 #
9942 #       Disable 'Prt on Line' mode: \024 (DC4)
9943 #
9944
9945 # 05-Aug-86:
9946 # The following Terminfo entry describes functions which are supported by
9947 # the AT&T 5430/pt505 terminal software version 2 and later.
9948 att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
9949         am, xon, 
9950         cols#80, it#8, lines#24, 
9951         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
9952         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
9953         cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
9954         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9955         cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9956         cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
9957         dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I, 
9958         il=\E[%p1%dL, il1=\E[L, ind=^J, 
9959         is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
9960         kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
9961         kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s, 
9962         kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s, 
9963         kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s, 
9964         kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s, 
9965         krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
9966         rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m, 
9967         rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m, 
9968         smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m, 
9969
9970 # The following Terminfo entry describes functions which are supported by
9971 # the AT&T 5430/pt505 terminal software version 1.
9972 att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
9973         lines#24, 
9974         mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505, 
9975 tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
9976         lines#22, use=att505, 
9977 #
9978 #### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
9979 # This cut mark helps make life less painful for people running ncurses tic
9980 # on machines with relatively little RAM.  The file can be broken in half here
9981 # cleanly and compiled in sections -- no `use' references cross this cut
9982 # going forward.
9983 #
9984
9985 #### Ampex (Dialogue)
9986 #
9987 # Yes, these are the same people who are better-known for making audio- and
9988 # videotape.  I'm told they are located in Redwood City, CA.
9989 #
9990
9991 # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
9992 # (ampex80: some capabilities merged in from SCO's entry -- esr)
9993 ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
9994         OTbs, am, bw, ul, 
9995         cols#80, it#8, lines#24, 
9996         bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, 
9997         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
9998         dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, 
9999         ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em, 
10000         smso=\Ej, smul=\El, tbc=\E3, 
10001 # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
10002 ampex175|ampex d175, 
10003         am, 
10004         cols#80, lines#24, 
10005         bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10006         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
10007         dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
10008         is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
10009         kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, 
10010         rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
10011 # No backspace key in the main QWERTY cluster. Fortunately, it has a
10012 # NEWLINE/PAGE key just above RETURN that sends a strange single-character
10013 # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
10014 # mode), this key can be used as the erase key; I find I like this. Because
10015 # some people and some systems may not, there is another termcap ("ampex175")
10016 # that suppresses this little eccentricity by omitting the relevant capability.
10017 ampex175-b|ampex d175 using left arrow for erase, 
10018         kbs=^_, use=ampex175, 
10019 # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
10020 # (ampex210: removed obsolete ":kn#10:" -- esr)
10021 ampex210|a210|ampex a210, 
10022         OTbs, am, hs, xenl, 
10023         cols#80, it#8, lines#24, xmc#1, 
10024         cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
10025         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
10026         dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX, 
10027         fsl=\E.2, home=^^, ht=^I, ich1=\EQ, 
10028         if=/usr/share/tabset/std, il1=\EE, invis@, 
10029         is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H, 
10030         kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
10031         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
10032         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^, 
10033         tsl=\E.0\Eg\E}\Ef, use=adm+sgr, 
10034 # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
10035 # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
10036 # and moved the padding to be *after* the caps -- esr)
10037 ampex219|ampex-219|amp219|Ampex with Automargins, 
10038         hs, xenl, 
10039         cols#80, it#8, lines#24, 
10040         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z, 
10041         clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M, 
10042         csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
10043         cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
10044         cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>, 
10045         el=\E[K$<3>, home=\E[H, ht=^I, ind=^J, 
10046         is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
10047         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~, 
10048         kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~, 
10049         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
10050         rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>, 
10051         rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h, 
10052         smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
10053 ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
10054         cols#132, lines#24, 
10055         bel=^G, cr=^M, cud1=^J, ind=^J, 
10056         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219, 
10057 # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr) 
10058 ampex232|ampex-232|Ampex Model 232, 
10059         am, 
10060         cols#80, lines#24, xmc#1, 
10061         cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V, 
10062         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10063         dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET, 
10064         flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>, 
10065         invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, 
10066         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
10067         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
10068         kf9=^AI\r, khome=^^, use=adm+sgr, 
10069 # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
10070 ampex232w|Ampex Model 232 / 132 columns, 
10071         cols#132, lines#24, 
10072         is2=\E\034Eg\El, use=ampex232, 
10073
10074 #### Ann Arbor (aa)
10075 #
10076 # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
10077 # numbers of function keys.  At least some used monitors in portrait mode,
10078 # allowing up to 76-character screen heights!  They were reachable at:
10079 #
10080 #       Ann Arbor Terminals
10081 #       6175 Jackson Road
10082 #       Ann Arbor, MI 48103
10083 #       (313)-663-8000
10084 #
10085 # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
10086 # can't be found on the Web; I fear they're long dead.  R.I.P.
10087 #
10088
10089
10090 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
10091 # Highly modified 6/22 by Mike O'Brien.
10092 # split out into several for the various screen sizes by dave-yost@rand
10093 # Modifications made 3/82 by Mark Horton
10094 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
10095 # status line moved to top of screen, <flash> removed 5/82
10096 # Some unknown person at SCO then hacked the init strings to make them more
10097 # efficient.
10098 #
10099 # assumes the following setup:
10100 #   A menu: 0000 1010  0001 0000
10101 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
10102 #   C menu: 56   66   0    0    9600  0110 1100
10103 #   D menu: 0110 1001   1   0
10104 #
10105 #       Briefly, the settings are for the following modes:
10106 #          (values are for bit set/clear with * indicating our preference
10107 #           and the value used to test these termcaps)
10108 #       Note that many of these settings are irrelevent to the terminfo
10109 #       and are just set to the default mode of the terminal as shipped
10110 #       by the factory.
10111 #
10112 # A menu: 0000 1010  0001 0000
10113 #       Block/underline cursor*
10114 #       blinking/nonblinking cursor*
10115 #       key click/no key click*
10116 #       bell/no bell at column 72*
10117 #
10118 #       key pad is cursor control*/key pad is numeric
10119 #       return and line feed/return for <cr> key *
10120 #       repeat after .5 sec*/no repeat
10121 #       repeat at 25/15 chars per sec. *
10122 #
10123 #       hold data until pause pressed/process data unless pause pressed*
10124 #       slow scroll/no slow scroll*
10125 #       Hold in area/don't hold in area*
10126 #       functions keys have default*/function keys disabled on powerup
10127 #
10128 #       show/don't show position of cursor during page transmit*
10129 #       unused
10130 #       unused
10131 #       unused
10132 #
10133 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
10134 #       Baud rate (9600*)
10135 #
10136 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
10137 #       1 stop bit*/2 stop bits
10138 #       parity error detection off*/on
10139 #
10140 #       keyboard local/on line*
10141 #       half/full duplex*
10142 #       disable/do not disable keyboard after data transmission*
10143 #
10144 #       transmit entire page/stop transmission at cursor*
10145 #       transfer/do not transfer protected characters*
10146 #       transmit all characters/transmit only selected characters*
10147 #       transmit all selected areas/transmit only 1 selected area*
10148 #
10149 #       transmit/do not transmit line separators to host*
10150 #       transmit/do not transmit page tab stops tabs to host*
10151 #       transmit/do not transmit column tab stop tabs to host*
10152 #       transmit/do not transmit graphics control (underline,inverse..)*
10153 #
10154 #       enable*/disable auto XON/XOFF control
10155 #       require/do not require receipt of a DC1 from host after each LF*
10156 #       pause key acts as a meta key/pause key is pause*
10157 #       unused
10158 #
10159 #       unused
10160 #       unused
10161 #       unused
10162 #       unused
10163 #
10164 #       XON character (17*)
10165 #       XOFF character (19*)
10166 #
10167 # C menu: 56   66   0    0    9600  0110 1100
10168 #       number of lines to print data on (printer) (56*)
10169 #
10170 #       number of lines on a sheet of paper (printer) (66*)
10171 #
10172 #       left margin (printer) (0*)
10173 #
10174 #       number of pad chars on new line to printer (0*)
10175 #
10176 #       printer baud rate (9600*)
10177 #
10178 #       printer parity: 00=odd,01=even*,10=space,11=mark
10179 #       printer stop bits: 2*/1
10180 #       print/do not print guarded areas*
10181 #
10182 #       new line is: 01=LF,10=CR,11=CRLF*
10183 #       unused
10184 #       unused
10185 #
10186 # D menu: 0110 1001   1   0
10187 #       LF is newline/LF is down one line, same column*
10188 #       wrap to preceding line if move left from col 1*/don't wrap
10189 #       wrap to next line if move right from col 80*/don't wrap
10190 #       backspace is/is not destructive*
10191 #
10192 #       display*/ignore DEL character
10193 #       display will not/will scroll*
10194 #       page/column tab stops*
10195 #       erase everything*/erase unprotected only
10196 #
10197 #       editing extent: 0=display,1=line*,2=field,3=area
10198 #
10199 #       unused
10200 #
10201
10202 annarbor4080|aa4080|ann arbor 4080, 
10203         OTbs, am, 
10204         cols#80, lines#40, 
10205         bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
10206         cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c, 
10207         cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
10208         kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
10209
10210 # Strange Ann Arbor terminal from BRL
10211 aas1901|Ann Arbor K4080 w/S1901 mod, 
10212         am, 
10213         cols#80, lines#40, 
10214         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
10215         home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c, 
10216         nel=^M^J, 
10217
10218 # If you're using the GNU termcap library, add
10219 #       :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
10220 # to these capabilities.  This is the nonstandard GNU termcap scrolling
10221 # capability, arguments are:
10222 #   1. Total number of lines on the screen.
10223 #   2. Number of lines above desired scroll region.
10224 #   3. Number of lines below (outside of) desired scroll region.
10225 #   4. Total number of lines on the screen, the same as the first parameter.
10226 # The generic Ann Arbor entry is the only one that uses this.
10227 aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
10228         OTbs, am, km, mc5i, mir, xon, 
10229         cols#80, it#8, 
10230         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
10231         clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
10232         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
10233         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
10234         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
10235         el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
10236         hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
10237         il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8, 
10238         is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
10239         kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
10240         kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK, 
10241         kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP, 
10242         kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
10243         kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC, 
10244         kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI, 
10245         khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i, 
10246         mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, 
10247         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
10248         rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
10249         rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
10250         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
10251         sgr0=\E[m, 
10252         smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
10253         smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
10254         vpa=\E[%p1%{1}%+%dd, 
10255
10256 aaa+rv|ann arbor ambassador in reverse video, 
10257         blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
10258         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
10259         rs1=\E[H\E[7m\E[J$<156>, 
10260         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
10261         sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
10262 # Ambassador with the DEC option, for partial vt100 compatibility.
10263 aaa+dec|ann arbor ambassador in dec vt100 mode, 
10264         acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
10265         csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
10266         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
10267         smacs=^O, 
10268 aaa-18|ann arbor ambassador/18 lines, 
10269         lines#18, 
10270         is2=\E7\E[60;0;0;18p\E8, 
10271         rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, 
10272         use=aaa+unk, 
10273 aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
10274         use=aaa+rv, use=aaa-18, 
10275 aaa-20|ann arbor ambassador/20 lines, 
10276         lines#20, 
10277         is2=\E7\E[60;0;0;20p\E8, 
10278         rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, 
10279         use=aaa+unk, 
10280 aaa-22|ann arbor ambassador/22 lines, 
10281         lines#22, 
10282         is2=\E7\E[60;0;0;22p\E8, 
10283         rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, 
10284         use=aaa+unk, 
10285 aaa-24|ann arbor ambassador/24 lines, 
10286         lines#24, 
10287         is2=\E7\E[60;0;0;24p\E8, 
10288         rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, 
10289         use=aaa+unk, 
10290 aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
10291         use=aaa+rv, use=aaa-24, 
10292 aaa-26|ann arbor ambassador/26 lines, 
10293         lines#26, 
10294         is2=\E7\E[60;0;0;26p\E8, 
10295         rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
10296         smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk, 
10297 aaa-28|ann arbor ambassador/28 lines, 
10298         lines#28, 
10299         is2=\E7\E[60;0;0;28p\E8, 
10300         rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
10301         smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk, 
10302 aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
10303         eslok, hs, 
10304         lines#29, 
10305         dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
10306         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
10307         rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
10308         smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
10309         tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk, 
10310 aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
10311         use=aaa+rv, use=aaa-30-s, 
10312 aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
10313         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
10314         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
10315 aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video, 
10316         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
10317         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
10318 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
10319         lines#30, 
10320         is2=\E7\E[60;0;0;30p\E8, 
10321         rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
10322         smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk, 
10323 aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
10324         use=aaa+rv, use=aaa-30, 
10325 aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
10326         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
10327         use=aaa-30, 
10328 aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
10329         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
10330         use=aaa+rv, use=aaa-30, 
10331 aaa-36|ann arbor ambassador/36 lines, 
10332         lines#36, 
10333         is2=\E7\E[60;0;0;36p\E8, 
10334         rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
10335         smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk, 
10336 aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
10337         use=aaa+rv, use=aaa-36, 
10338 aaa-40|ann arbor ambassador/40 lines, 
10339         lines#40, 
10340         is2=\E7\E[60;0;0;40p\E8, 
10341         rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
10342         smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk, 
10343 aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
10344         use=aaa+rv, use=aaa-40, 
10345 aaa-48|ann arbor ambassador/48 lines, 
10346         lines#48, 
10347         is2=\E7\E[60;0;0;48p\E8, 
10348         rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
10349         smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk, 
10350 aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
10351         use=aaa+rv, use=aaa-48, 
10352 aaa-60-s|ann arbor ambassador/59 lines+status, 
10353         eslok, hs, 
10354         lines#59, 
10355         dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
10356         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
10357         tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk, 
10358 aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
10359         use=aaa+rv, use=aaa-60-s, 
10360 aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
10361         use=aaa+dec, use=aaa+rv, use=aaa-60-s, 
10362 aaa-60|ann arbor ambassador/60 lines, 
10363         lines#60, 
10364         is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, 
10365         use=aaa+unk, 
10366 aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
10367         use=aaa+rv, use=aaa-60, 
10368 aaa-db|ann arbor ambassador 30/destructive backspace, 
10369         OTbs@, 
10370         cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30, 
10371
10372 guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
10373         lines#33, 
10374         flash=\E[>59h$<100>\E[>59l, 
10375         is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
10376         rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk, 
10377 guru+rv|guru changes for reverse video, 
10378         flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
10379 guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
10380         use=guru+rv, use=guru-33, 
10381 guru+s|guru status line, 
10382         eslok, hs, 
10383         dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l, 
10384         rmcup=\E[255;1p\E[255;1H\E[K, smcup=, 
10385         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
10386 guru-nctxt|guru with no saved context, 
10387         smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru, 
10388 guru-s|guru-33-s|ann arbor guru/33 lines+status, 
10389         lines#32, 
10390         is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
10391         smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
10392 guru-24|ann arbor guru 24 lines, 
10393         cols#80, lines#24, 
10394         is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, 
10395         use=guru+unk, 
10396 guru-44|ann arbor guru 44 lines, 
10397         cols#97, lines#44, 
10398         is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, 
10399         use=guru+unk, 
10400 guru-44-s|ann arbor guru/44 lines+status, 
10401         lines#43, 
10402         is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
10403         smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
10404 guru-76|guru with 76 lines by 89 cols, 
10405         cols#89, lines#76, 
10406         is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, 
10407         use=guru+unk, 
10408 guru-76-s|ann arbor guru/76 lines+status, 
10409         cols#89, lines#75, 
10410         is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
10411         smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
10412 guru-76-lp|guru-lp|guru with page bigger than line printer, 
10413         cols#134, lines#76, 
10414         is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, 
10415         use=guru+unk, 
10416 guru-76-w|guru 76 lines by 178 cols, 
10417         cols#178, lines#76, 
10418         is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, 
10419         use=guru+unk, 
10420 guru-76-w-s|ann arbor guru/76 lines+status+wide, 
10421         cols#178, lines#75, 
10422         is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
10423         smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
10424 guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
10425         cols#178, lines#76, 
10426         is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, 
10427         use=guru+unk, 
10428 aaa-rv-unk|ann arbor unknown type, 
10429         lh#0, lw#0, nlab#0, 
10430         blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 
10431         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
10432         rs1=\E[H\E[7m\E[J, 
10433         sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
10434         sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
10435
10436 #### Applied Digital Data Systems (adds)
10437 #
10438 # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
10439 # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
10440 # terminals was merged again.  Then AT&T sold the terminal business to
10441 # SunRiver, which later changed its  name to Boundless Technologies.  The
10442 # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
10443 # as of early 1995) are at:
10444 #
10445 #       Boundless Technologies
10446 #       100 Marcus Boulevard
10447 #       Hauppauge, NY 11788-3762
10448 #       Vox: (800)-231-5445
10449 #       Fax: (516)-342-7378
10450 #       Web: http://boundless.com
10451 #
10452 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
10453 # In 1995 Boundless acquired DEC's terminals business.  
10454 #
10455
10456 # Regent: lowest common denominator, works on all regents.
10457 # (regent: renamed ":bc:" to ":le:" -- esr)
10458 regent|Adds Regent Series, 
10459         OTbs, am, 
10460         cols#80, lines#24, 
10461         bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z, 
10462         home=\EY\s\s, ind=^J, ll=^A, 
10463 # Regent 100 has a bug where if computer sends escape when user is holding
10464 # down shift key it gets confused, so we avoid escape.
10465 regent100|Adds Regent 100, 
10466         xmc#1, 
10467         bel=^G, 
10468         cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
10469         kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
10470         kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, 
10471         lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, 
10472         sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent, 
10473 regent20|Adds Regent 20, 
10474         bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, 
10475         use=regent, 
10476 regent25|Adds Regent 25, 
10477         bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, 
10478         use=regent20, 
10479 regent40|Adds Regent 40, 
10480         xmc#1, 
10481         bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r, 
10482         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
10483         kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, 
10484         lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, 
10485         smul=\E0`, use=regent25, 
10486 regent40+|Adds Regent 40+, 
10487         is2=\EB, use=regent40, 
10488 regent60|regent200|Adds Regent 60, 
10489         dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF, 
10490         rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, 
10491         use=regent40+, 
10492 # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
10493 # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
10494 viewpoint|addsviewpoint|adds viewpoint, 
10495         OTbs, am, 
10496         cols#80, lines#24, 
10497         bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, 
10498         cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
10499         cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>, 
10500         ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
10501         kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
10502         rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N, 
10503 # Some viewpoints have bad ROMs that foo up on ^O
10504 screwpoint|adds viewpoint with ^O bug, 
10505         cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint, 
10506
10507 # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
10508 # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
10509 # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
10510 # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
10511 # invis=01000100 and %c is the logical or of desired attributes.
10512 # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
10513 vp3a+|viewpoint3a+|adds viewpoint 3a+, 
10514         am, bw, 
10515         cols#80, it#8, lines#24, 
10516         civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J, 
10517         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10518         ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
10519         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
10520         sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
10521         sgr0=\E(, smso=\E0Q\E), 
10522 vp60|viewpoint60|addsvp60|adds viewpoint60, 
10523         use=regent40, 
10524 #
10525 # adds viewpoint 90 - from cornell
10526 # Note:  emacs sends ei occasionally to insure the terminal is out of
10527 #        insert mode. This unfortunately puts the viewpoint90 IN insert
10528 #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
10529 #   -    :ei=:im=: must be present in the termcap translation.)
10530 #   -    <xhp> indicates glitch that attributes stick to location
10531 #   -    <msgr> means it's safe to move in standout mode
10532 #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
10533 #               the status line
10534 # Function key and label capabilities merged in from SCO.
10535 vp90|viewpoint90|adds viewpoint 90, 
10536         OTbs, bw, msgr, xhp, 
10537         cols#80, lines#24, 
10538         clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
10539         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
10540         dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I, 
10541         ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J, 
10542         kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, 
10543         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
10544         kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2, 
10545         lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, 
10546         lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, 
10547         sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
10548 # Note: if return acts weird on a980, check internal switch #2
10549 # on the top chip on the CONTROL pc board.
10550 adds980|a980|adds consul 980, 
10551         OTbs, am, 
10552         cols#80, lines#24, 
10553         bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
10554         cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d, 
10555         dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
10556         kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
10557         kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
10558
10559 #### C. Itoh Electronics
10560 #
10561 # As of 1995 these people no longer make terminals (they're still in the
10562 # printer business).  Their terminals were all clones of the DEC VT series.
10563 # They're located in Orange County, CA.
10564 #
10565
10566 # CIT 80  - vt-52 emulator, the termcap has been modified to remove
10567 #           the delay times and do an auto tab set rather than the indirect
10568 #           file used in vt100.
10569 cit80|cit-80|citoh 80, 
10570         OTbs, am, 
10571         cols#80, lines#24, 
10572         clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
10573         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, 
10574         ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
10575         kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, 
10576 # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
10577 # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
10578 cit101|citc|C.itoh fast vt100, 
10579         OTbs, am, xenl, 
10580         cols#80, lines#24, 
10581         bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C, 
10582         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U, 
10583         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
10584         flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L, 
10585         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
10586         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
10587         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
10588         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
10589         smul=\E[4m, 
10590 # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
10591 # The following termcap entry was created from the Callan cd100 entry.  The
10592 # last two lines (with the capabilities in caps) are used by RM-cobol to allow
10593 # full selection of combinations of reverse video, underline, and blink.
10594 # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
10595 # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
10596 # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
10597 cit101e|C. Itoh CIT-101e, 
10598         OTbs, OTpt, am, mir, msgr, 
10599         cols#80, it#8, lines#24, 
10600         acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr, 
10601         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
10602         cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J, 
10603         el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L, 
10604         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT, 
10605         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl, 
10606         kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
10607         rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
10608         smkx=\E=, smso=\E[7m, smul=\E[4m, 
10609 # From: David S. Lawyer, June 1997:
10610 # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
10611 # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
10612 # late 1980's CIT Terminals went out of business.
10613 # There is no need to use the initialization string is=... (by invoking
10614 # tset or setterm etc.) provided that the terminal has been manually set
10615 # up (and the setup saved with ^S) to be compatible with this termcap.  To be
10616 # compatible it should be in ANSI mode (not VT52).   A set-up that
10617 # works is to set all the manually setable stuff to factory defaults
10618 # by pressing ^D in set-up mode.  Then increse the brighness with the
10619 # up-arrow key since the factory default will likely be dim on an old
10620 # terminal.  Then change any options you want (provided that they are
10621 # compatible with the termcap).  For my terminal I set: Screen
10622 # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
10623 # on.  I also set up mine for parity (but you may not need it).  Then 
10624 # save the setup with ^S.
10625 # (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
10626 cit101e-rv|Citoh CIT-101e (sets reverse video), 
10627         am, eo, mir, msgr, xenl, xon, 
10628         cols#80, it#8, lines#24, 
10629         OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
10630         civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M, 
10631         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
10632         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
10633         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
10634         cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
10635         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>, 
10636         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
10637         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
10638         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, 
10639         kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
10640         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
10641         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l, 
10642         rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7, 
10643         sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, 
10644         smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, 
10645         u7=\E[6n, u8=\E[?6c, u9=\E[c, 
10646 cit101e-n|CIT-101e w/o am, 
10647         am@, 
10648         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, 
10649         use=cit101e, 
10650 cit101e-132|CIT-101e with 132 cols, 
10651         cols#132, 
10652         kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
10653 cit101e-n132|CIT-101e with 132 cols w/o am, 
10654         am@, 
10655         cols#132, 
10656         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, 
10657         use=cit101e, 
10658 # CIE Terminals CIT-500 from BRL
10659 # The following SET-UP modes are assumed for normal operation:
10660 #       GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
10661 #       AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
10662 #       DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
10663 # Other SET-UP modes may be set for operator convenience or communication
10664 # requirements.
10665 # Hardware tabs are assumed to be set every 8 columns; they can be set up
10666 # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
10667 # "stty ixon -ixany" to enable DC3/DC1 flow control!
10668 # (cit500: I added <rmam>/<smam> based on the init string -- esr)
10669 cit500|CIE Terminals CIT-500, 
10670         OTbs, OTpt, mir, msgr, xon, 
10671         OTkn#10, cols#80, it#8, lines#64, vt#3, 
10672         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
10673         clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10674         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10675         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10676         cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
10677         ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
10678         il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD, 
10679         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M, 
10680         ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
10681         kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ, 
10682         khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1, 
10683         lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18, 
10684         lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m, 
10685         ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
10686         rmso=\E[m, rmul=\E[m, 
10687         rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>, 
10688         sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
10689         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
10690
10691 # C. Itoh printers begin here
10692 citoh|ci8510|8510|c.itoh 8510a, 
10693         cols#80, it#8, 
10694         bold=\E!, cub1@, 
10695         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073., 
10696         rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
10697         smul=\EX, use=lpr, 
10698 citoh-pica|citoh in pica, 
10699         is1=\EN, use=citoh, 
10700 citoh-elite|citoh in elite, 
10701         cols#96, 
10702         is1=\EE, 
10703         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., 
10704         use=citoh, 
10705 citoh-comp|citoh in compressed, 
10706         cols#136, 
10707         is1=\EQ, 
10708         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., 
10709         use=citoh, 
10710 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
10711 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
10712         cols#32767, 
10713         is1=\EP, use=citoh, 
10714 citoh-6lpi|citoh in 6 lines per inch mode, 
10715         is3=\EA, use=citoh, 
10716 citoh-8lpi|citoh in 8 lines per inch mode, 
10717         lines#88, 
10718         is3=\EB, use=citoh, 
10719
10720 #### Control Data (cdc)
10721 #
10722
10723 cdc456|cdc 456 terminal, 
10724         OTbs, am, 
10725         cols#80, lines#24, 
10726         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10727         cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X, 
10728         el=^V, home=^Y, il1=\EL, ind=^J, 
10729
10730 # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
10731 cdc721|CDC Viking, 
10732         OTbs, am, 
10733         cols#80, lines#24, 
10734         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
10735         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
10736         kcuu1=^W, khome=^Y, 
10737 cdc721ll|CDC Vikingll, 
10738         OTbs, am, 
10739         cols#132, lines#24, 
10740         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
10741         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
10742         kcuu1=^W, khome=^Y, 
10743 # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
10744 cdc752|CDC 752, 
10745         OTbs, am, bw, xhp, 
10746         cols#80, lines#24, 
10747         bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
10748         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V, 
10749         home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017, 
10750 # CDC 756
10751 # The following switch/key settings are assumed for normal operation:
10752 #       96 chars        SCROLL          FULL duplex     not BLOCK
10753 # Other switches may be set according to communication requirements.
10754 # Insert/delete-character cannot be used, as the whole display is affected.
10755 # "so" & "se" are commented out until jove handles "sg" correctly.
10756 cdc756|CDC 756, 
10757         OTbs, am, bw, 
10758         OTkn#10, cols#80, lines#24, 
10759         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
10760         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, 
10761         dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J, 
10762         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI, 
10763         kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, 
10764         kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y, 
10765         khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4, 
10766         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z, 
10767         rs1=\031\030\002\003\017, 
10768 #
10769 # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
10770 #
10771 # Part of the long initialization string defines the "DOWN" key to the left
10772 # of the tab key to send an ESC.  The real ESC key is positioned way out 
10773 # in right field.
10774 #
10775 # The termcap won't work in 132 column mode due to the way it it moves the
10776 # cursor.  Termcap doesn't have the capability (as far as I could tell) to
10777 # handle the 721 in 132 column mode.
10778 #
10779 # (cdc721: changed :ri: to :sr: -- esr)
10780 cdc721-esc|Control Data 721, 
10781         OTbs, OTpt, am, bw, msgr, xon, 
10782         OTkn#10, cols#80, it#8, lines#30, 
10783         bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z, 
10784         cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
10785         dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
10786         ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
10787         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, 
10788         kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
10789         kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
10790         kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
10791         ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^], 
10792         sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk, 
10793         smso=^^D, smul=^\, tbc=^^^RY, 
10794
10795 #### Getronics
10796 #
10797 # Getronics is a Dutch electronics company that at one time was called 
10798 # `Geveke' and made async terminals; but (according to the company itself!)
10799 # they've lost all their documentation on the command set.  The hardware
10800 # documentation suggests the terminals were actually manufactured by a
10801 # Taiwanese electronics company named Cal-Comp.  There are known
10802 # to have been at least two models, the 33 and the 50.
10803 #
10804
10805 # The 50 seems to be a top end vt220 clone, with the addition of a higher
10806 # screen resolution, a larger screen, at least 1 page of memory above and
10807 # below the screen, apparently pages of memory right and left of the screen
10808 # which can be panned, and about 75 function keys (15 function keys x normal,
10809 # shift, control, func A, func B). It also has more setup possibilities than
10810 # the vt220. The monitor case is dated November 1978 and the keyboard case is
10811 # May 1982.
10812 #
10813 # The vt100 emulation works as is.  The entry below describes the rather
10814 # non-conformant (but more featureful) ANSI mode.
10815 #
10816 # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
10817 visa50|geveke visa 50 terminal in ansi 80 character mode, 
10818         bw, mir, msgr, 
10819         cols#80, lines#25, 
10820         acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
10821         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
10822         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
10823         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
10824         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
10825         dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM, 
10826         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H, 
10827         hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
10828         il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
10829         is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
10830         ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS, 
10831         kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
10832         kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002, 
10833         kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
10834         kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char, 
10835         lf3=A insert line, lf4=A delete line, lf5=A clear, 
10836         lf6=A ce of/cf gn, lf7=A print, lf8=A on-line, 
10837         lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l, 
10838         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, 
10839         rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, 
10840         smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
10841         vpa=\E[%i%p1%dd, 
10842
10843 #### Human Designed Systems (Concept)
10844 #
10845 #       Human Designed Systems
10846 #       400 Fehley Drive
10847 #       King of Prussia, PA 19406
10848 #       Vox: (610)-277-8300
10849 #       Fax: (610)-275-5739
10850 #       Net: support@hds.com
10851
10852 # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
10853 # the character-terminal business now (1995) and making X terminals.  In
10854 # particular, the whole `Concept' line described here was discontinued long
10855 # ago.
10856 #
10857
10858 # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
10859 # Extensive changes to c108 by arpavax:eric Feb 1982
10860 # Some unknown person at SCO then translated it to terminfo.
10861 #
10862 # There seem to be a number of different versions of the C108 PROMS
10863 # (with bug fixes in its Z-80 program).
10864
10865 # The first one that we had would lock out the keyboard of you
10866 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
10867 # Try that on your C108 and see if it sends a ^S when you type it.
10868 # If so, you have an old version of the PROMs.
10869
10870 # You should configure the C108 to send ^S/^Q before running this.
10871 # It is much faster (at 9600 baud) than the c100 because the delays
10872 # are not fixed.
10873 # new status line display entries for c108-8p:
10874 # <is3> - init str #3 - setup term for status display - 
10875 # set programmer mode, select window 2, define window at last 
10876 # line of memory, set bkgnd stat mesg there, select window 0.
10877
10878 # <tsl> - to status line - select window 2, home cursor, erase to 
10879 # end-of-window, 1/2 bright on, goto(line#0, col#?)
10880
10881 # <fsl> - from status line - 1/2 bright off, select window 0
10882
10883 # <dsl> - disable status display - set bkgnd status mesg with 
10884 # illegal window #
10885
10886 # There are probably more function keys that should be added but 
10887 # I don't know what they are.
10888 #
10889 # No delays needed on c108 because of ^S/^Q handshaking
10890 #
10891 c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
10892         is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
10893         rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p, 
10894 c108-4p|concept108-4p|concept 108 w/4 pages, 
10895         OTbs, eslok, hs, xon, 
10896         pb@, 
10897         acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M, 
10898         cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
10899         cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
10900         ind=^J, is1=\EK\E!\E F, 
10901         is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
10902         rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
10903         smcup=\EU\Ev  8p\Ep\r\E\025, 
10904         tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100, 
10905 c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
10906         rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, 
10907         use=c108-rv-4p, 
10908 c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
10909         flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, 
10910         use=c108-4p, 
10911 c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
10912         cols#132, 
10913         is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
10914         smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p, 
10915
10916 # Concept 100:
10917 # These have only window relative cursor addressing, not screen 
10918 # relative. To get it to work right here, smcup/rmcup (which 
10919 # were invented for the concept) lock you into a one page 
10920 # window for screen style programs.
10921
10922 # To get out of the one page window, we use a clever trick:
10923 # we set the window size to zero ("\Ev    " in rmcup) which the 
10924 # terminal recognizes as an error and resets the window to all 
10925 # of memory.
10926
10927 # This trick works on c100 but does not on c108, sigh.
10928
10929 # Some tty drivers use cr3 for concept, others use nl3, hence 
10930 # the delays on cr and ind below. This padding is only needed at 
10931 # 9600 baud and up.  One or the other is commented out depending on 
10932 # local conventions.
10933
10934 # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
10935 # less than 6 but more than 2 will work.
10936
10937 # Note: can't use function keys f7-f10 because they are 
10938 # indistinguishable from arrow keys (!), also, del char and 
10939 # clear eol use xon/xoff so they probably won't work very well.
10940
10941 # Also note that we don't define insrt/del char/delline/eop/send 
10942 # because they don't transmit unless we reset them - I figured 
10943 # it was a bad idea to clobber their definitions.
10944
10945 # The <mc5> sequence changes the escape character to ^^ so that 
10946 # escapes will be passed through to the printer. Only trouble 
10947 # is that ^^ won't be - ^^ was chosen to be unlikely. 
10948 # Unfortunately, if you're sending raster bits through to be 
10949 # plotted, any character you choose will be likely, so we lose.
10950 #
10951 # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
10952 # cannot be # in is2 because it will hang a c100 with no printer 
10953 # if sent twice.
10954 c100|concept100|concept|c104|c100-4p|hds concept 100, 
10955         OTbs, am, eo, mir, ul, xenl, 
10956         cols#80, lines#24, pb#9600, vt#8, 
10957         bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
10958         cub1=^H, cud1=^J, cuf1=\E=, 
10959         cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
10960         dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
10961         ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
10962         ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
10963         is1=\EK, 
10964         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, 
10965         is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
10966         kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
10967         kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
10968         kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
10969         khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
10970         kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027, 
10971         mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
10972         rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
10973         rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
10974         rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
10975         smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX, 
10976         smso=\ED, smul=\EG, 
10977 c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
10978         cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, 
10979         smso=\EE, use=c100, 
10980 oc100|oconcept|c100-1p|old 1 page concept 100, 
10981         in, 
10982         is3@, use=c100, 
10983
10984 # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
10985 # Lots of notes, originally inline, but ncurses doesn't grok that.
10986 #
10987 # am:   not available in power on mode, but turned on with \E[=107;207h in
10988 #       is2=.  Also, \E=124l in is2= could have been used to prevent needing
10989 #       to specify xenl:, but that would have rendered the last space on the
10990 #       last line useless.
10991 # bw:   Not available in power on mode, but turned on with \E[=107;207h in
10992 #       is2=.
10993 # clear: Could be done with \E[2J alone, except that vi (and probably most
10994 #       other programs) assume that this also homes the cursor.
10995 # dsl:  Go to window 2, go to the beginning of the line, use a line feed to
10996 #       scroll the window, and go back to window 1.
10997 # is2:  the string may cause a warning to be issued by tic that it
10998 #       found a very long line and that it suspects that a comma is missing
10999 #       somewhere.  This warning can be ignored (unless it comes up more than
11000 #       once).  The initialization string contains the following commands:
11001 #
11002 #        [Setup mode items changed from factory defaults:]
11003 #               \E)0                    set alternate character set to
11004 #                                               graphics
11005 #               ^O                      set character set to default
11006 #        [In case it wasn't]
11007 #               \E[m                    turn off all attributes
11008 #        [In case they weren't off]
11009 #               \E[=107;                cursor wrap and
11010 #                       207h                    character wrap on
11011 #               \E[90;3u                set Fkey definitions to "transmit"
11012 #                                               defaults
11013 #               \E[92;3u                set cursor key definitions to
11014 #                                               "transmit" defaults
11015 #               \E[43;1u                set shift F13 to transmit...
11016 #               \177\E$P\177
11017 #               \E[44;1u                set shift F14 to transmit...
11018 #                       \177\E$Q\177
11019 #               \E[45;1u                set shift F15 to transmit...
11020 #                       \177\E$R\177
11021 #               \E[46;1u                set shift F16 to transmit...
11022 #                       \177\E$S\177
11023 #               \E[200;1u               set shift up to transmit...
11024 #                       \177\E$A\177
11025 #               \E[201;1u               set shift down to transmit...
11026 #                       \177\E$B\177
11027 #               \E[202;1u               set shift right to transmit...
11028 #                       \177\E$C\177
11029 #               \E[203;1u               set shift left to transmit...
11030 #                       \177\E$D\177
11031 #               \E[204;1u               set shift home to transmit...
11032 #                       \177\E$H\177
11033 #               \E[212;1u               set backtab to transmit...
11034 #                       \177\E$I\177
11035 #               \E[213;1u               set shift backspace to transmit...
11036 #                       \177\E$^H\177
11037 #               \E[214;1u               set shift del to transmit...
11038 #                       "\E$\177"
11039 #        [Necessary items not mentioned in setup mode:]
11040 #               \E[2!w                  move to window 2
11041 #               \E[25;25w               define window as line 25 of memory
11042 #               \E[!w                   move to window 1
11043 #               \E[2*w                  show current line of window 2 as
11044 #                                               status line
11045 #               \E[2+x                  set meta key to use high bit
11046 #               \E[;3+}                 move underline to bottom of character
11047 #
11048 #       All Fkeys are set to their default transmit definitions with \E[90;3u
11049 #       in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
11050 #       setting MUST be redefined or deactivated, because the default is
11051 #       contained in almost all of this terminal's Fkey strings!  If for some
11052 #       reason "quit" cannot be altered, the Fkeys can, but it would be
11053 #       necessary to change ^| to ^] in all of these definitions, and add
11054 #       \E[2;029!t to is2.
11055 # lines: is set to 24 because this terminal refuses to treat the 25th
11056 #       line normally.
11057 # ll:   Not available in power on mode, but turned on with \E[=107;207h in
11058 #       is2=.
11059 # lm:   Pointless, given that this definition locks a single screen of
11060 #       memory into view, but what the hey...
11061 # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
11062 #       other attributes alone), but some programs expect this to turn off
11063 #       everything.
11064 # rmul: Could use \E[4!{ to turn off only underline (leaving any other
11065 #       attributes alone), but some programs expect this to turn off
11066 #       everything.
11067 # sgr:  Attributes are set on this terminal with the string \E[ followed by
11068 #       a list of attribute code numbers (in decimal, separated by
11069 #       semicolons), followed by the character m.  The attribute code
11070 #       numbers are:
11071 #                 1 for bold;
11072 #                 2 for dim (which is ignored in power on mode);
11073 #                 4 for underline;
11074 #                 5 for blinking;
11075 #                 7 for inverse;
11076 #                 8 for not displayable; and
11077 #               =99 for protected (except that there are strange side
11078 #               effects to protected characters which make them inadvisable).
11079 #        The mapping of terminfo parameters to attributes is as follows:
11080 #               %p1 (standout) = bold and inverse together;
11081 #               %p2 (underline) = underline;
11082 #               %p3 (reverse) = inverse;
11083 #               %p4 (blink) = blinking;
11084 #               %p5 (dim) is ignored;
11085 #               %p6 (bold) = bold;
11086 #               %p7 (invisible) = not displayable;
11087 #               %p8 (protected) is ignored; and
11088 #               %p9 (alt char set) = alt char set.
11089 #        The code to do this is:
11090 #               \E[0            OUTPUT  \E[0
11091 #               %?%p1%p6%O      IF      (standout; bold) OR
11092 #               %t;1            THEN    OUTPUT  ;1
11093 #               %;              ENDIF
11094 #               %?%p2           IF      underline
11095 #               %t;4            THEN    OUTPUT  ;4
11096 #               %;              ENDIF
11097 #               %?%p4           IF      blink
11098 #               %t;5            THEN    OUTPUT  ;5
11099 #               %;              ENDIF
11100 #               %?%p1%p3%O      IF      (standout; reverse) OR
11101 #               %t;7            THEN    OUTPUT  ;7
11102 #               %;              ENDIF
11103 #               %?%p7           IF      invisible
11104 #               %t;8            THEN    OUTPUT  ;8
11105 #               %;              ENDIF
11106 #               m               OUTPUT  m
11107 #               %?%p9           IF      altcharset
11108 #               %t^N            THEN    OUTPUT  ^N
11109 #               %e^O            ELSE    OUTPUT  ^O
11110 #               %;              ENDIF
11111 # sgr0: Everything is turned off (including alternate character set), since
11112 #       there is no way of knowing what it is that the program wants turned
11113 #       off.
11114 # smul: The "underline" attribute is reconfigurable to an overline or
11115 #       strikethru, or (as done with \E[;3+} in is2=), to a line at the true
11116 #       bottom of the character cell.  This was done to allow for more readable
11117 #       underlined characters, and to be able to distinguish between an
11118 #       underlined space, an underscore, and an underlined underscore.
11119 # xenl: Terminal can be configured to not need this, but this "glitch"
11120 #       behavior is actually preferable with autowrap terminals.
11121 #
11122 # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
11123 # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
11124 # string modifies the 'O' in kf43 to kf46 to a '$'.
11125 #
11126 # kcbt was originally ^I but redefined in is2=.
11127 # kHOM was \E[H originally but redefined in is2=, as were a number of
11128 # other keys.
11129 # kDC was originally \177 but redefined in is2=.
11130 #
11131 # kbs:  Shift was also ^H originally but redefined as \E$^H in is2=.
11132 # tsl:  Go to window 2, then do an hpa=.
11133 #
11134 #------- flash=\E[8;3!}^G\E[3;3!}
11135 #------- flash=\E[?5h$<100>\E[?5l
11136 # There are two ways to flash the screen, both of which have their drawbacks. 
11137 # The first is to set the bell mode to video, transmit a bell character, and
11138 # set the bell mode back - but to what?  There is no way of knowing what the
11139 # user's old bell setting was before we messed with it.  Worse, the command to
11140 # set the bell mode also sets the key click volume, and there is no way to say
11141 # "leave that alone", or to know what it's set to, either.
11142 # The second way to do a flash is to set the screen to inverse video, pad for a
11143 # tenth of a second, and set it back - but like before, there's no way to know
11144 # that the screen wasn't ALREADY in inverse video, or that the user may prefer
11145 # it that way.  The point is moot anyway, since vi (and probably other
11146 # programs) assume that by defining flash=, you want the computer to use it
11147 # INSTEAD of bel=, rather than as a secondary type of signal.
11148 #
11149 #------- cvvis=\E[+{
11150 # The is the power on setting, which is also as visible as the cursor
11151 # gets.
11152 #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
11153 # Windowing is possible, but not defined here because it is also used to
11154 # emulate status line functions.  Allowing a program to set a window could
11155 # clobber the status line or render it unusable.  There is additional memory,
11156 # but screen scroll functions are destructive and do not make use of it.
11157 #
11158 #-------   dim=                 Not available in power on mode.
11159 # You have a choice of defining low intensity characters as "half bright" and
11160 # high intensity as "normal", or defining low as "normal" and high as "bold". 
11161 # No matter which you choose, only one of either "half bright" or "bold" is
11162 # available at any time, so taking the time to override the default is
11163 # pointless.
11164 #
11165 #-------  prot=\E[=0;99m
11166 # Not defined, because it appears to have some strange side effects.
11167 #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
11168 #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
11169 #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
11170 #        Available, but making them available to programs is inadvisable.
11171 #        The code to do this is:
11172 #               %?%p1%{24}%<    IF      ((key; 24) <;
11173 #               %p1%{30}%>               ((key; 30) >;
11174 #               %p1%{54}%<                (key; 54) <
11175 #               %A                       ) AND
11176 #               %O                      ) OR
11177 #        [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
11178 #               %t\E[           THEN    OUTPUT  \E[
11179 #               %p1%d                   OUTPUT  (key) as decimal
11180 #        [next line applies to pfx only]
11181 #               ;1                      OUTPUT  ;1
11182 #               u                       OUTPUT  u
11183 #               \177                    OUTPUT  \177
11184 #               %p2%s                   OUTPUT  (string) as string
11185 #               \177                    OUTPUT  \177
11186 #        [DEL chosen as delimiter, but could be any character]
11187 #        [implied:              ELSE    do nothing]
11188 #               %;              ENDIF
11189 #       
11190 #-------   rs2=
11191 # Not defined since anything it might do could be done faster and easier with
11192 # either Meta-Shift-Reset or the main power switch.
11193 #
11194 #-------  smkx=\E[1!z
11195 #-------  rmkx=\E[!z
11196 # These sequences apply to the cursor and setup keys only, not to the
11197 # numeric keypad.  But it doesn't matter anyway, since making these
11198 # available to programs is inadvisable.
11199 # For the key definitions below, all sequences beginning with \E$ are
11200 # custom and programmed into the terminal via is2.  \E$ also has no
11201 # meaning to any other terminal.
11202 #
11203 #------- cmdch=\E[;%p1%d!t
11204 # Available, but making it available to programs is inadvisable.
11205 #------- smxon=\E[1*q
11206 # Available, but making it available to programs is inadvisable.
11207 # Terminal will send XON/XOFF on buffer overflow.
11208 #------- rmxon=\E[*q
11209 # Available, but making it available to programs is inadvisable.
11210 # Terminal will not notify on buffer overflow.
11211 #-------   smm=\E[2+x
11212 #-------   rmm=\E[+x
11213 # Available, but making them available to programs is inadvisable.
11214 #
11215 # Printing:
11216 #        It's not made clear in the manuals, but based on other ansi/vt type
11217 #        terminals, it's a good guess that this terminal is capable of both
11218 #        "transparent print" (which doesn't copy data to the screen, and
11219 #        therefore needs mc5i: specified to say so) and "auxilliary print"
11220 #        (which does duplicate printed data on the screen, in which case mc4=
11221 #        and mc5= should use the \E[?4i and \E[?5i strings instead).
11222
11223 hds200|Human Designed Systems HDS200, 
11224         am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
11225         cols#80, it#8, lines#24, lm#0, 
11226         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
11227         blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{, 
11228         clear=\E[H\E[J, cnorm=\E[+{, cr=^M, 
11229         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
11230         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
11231         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
11232         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
11233         dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K, 
11234         fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
11235         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
11236         invis=\E[0;8m, 
11237         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+}, 
11238         kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H, 
11239         kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
11240         kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r, 
11241         kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ, 
11242         kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r, 
11243         kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r, 
11244         kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r, 
11245         kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r, 
11246         kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r, 
11247         kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r, 
11248         kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r, 
11249         kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r, 
11250         kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r, 
11251         kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H, 
11252         kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A, 
11253         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8, 
11254         rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017, 
11255         rmul=\E[m\017, sc=\E7, 
11256         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%;, 
11257         sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m, 
11258         smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG, 
11259         vpa=\E[%i%p1%dd, 
11260
11261 # <ht> through <el> included to specify padding needed in raw mode.
11262 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
11263 avt-ns|concept avt no status line, 
11264         OTbs, am, eo, mir, ul, xenl, xon, 
11265         cols#80, it#8, lines#24, lm#192, 
11266         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
11267         clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
11268         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
11269         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
11270         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
11271         cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>, 
11272         dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H, 
11273         hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, 
11274         ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
11275         invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l, 
11276         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, 
11277         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
11278         kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
11279         kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, 
11280         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
11281         pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#, 
11282         prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
11283         ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, 
11284         rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, 
11285         sc=\E7, 
11286         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
11287         sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r, 
11288         smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
11289         tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
11290 avt-rv-ns|concept avt in reverse video mode/no status line, 
11291         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
11292         use=avt-ns, 
11293 avt-w-ns|concept avt in 132 column mode/no status line, 
11294         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
11295         use=avt-ns, 
11296 avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
11297         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
11298         smcup=\E[H\E[1;24;1;132w, use=avt-ns, 
11299
11300 # Concept AVT with status line. We get the status line using the
11301 # "Background status line" feature of the terminal. We swipe the
11302 # first line of memory in window 2 for the status line, keeping
11303 # 191 lines of memory and 24 screen lines for regular use.
11304 # The first line is used instead of the last so that this works
11305 # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
11306 # assumes an 8 page AVT but lm isn't currently used anywhere.)
11307 #
11308 avt+s|concept avt status line changes, 
11309         eslok, hs, 
11310         lm#191, 
11311         dsl=\E[0*w, fsl=\E[1;1!w, 
11312         is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
11313         rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
11314         tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
11315 avt|avt-s|concept-avt|avt w/80 columns, 
11316         use=avt+s, use=avt-ns, 
11317 avt-rv|avt-rv-s|avt reverse video w/sl, 
11318         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
11319         use=avt+s, use=avt-ns, 
11320 avt-w|avt-w-s|concept avt 132 cols+status, 
11321         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
11322         use=avt+s, use=avt-ns, 
11323 avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
11324         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
11325         smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns, 
11326
11327 #### Contel Business Systems. 
11328 #
11329
11330 # Contel c300 and c320 terminals. 
11331 contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
11332         am, in, xon, 
11333         cols#80, lines#24, xmc#1, 
11334         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11335         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
11336         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
11337         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
11338         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
11339         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
11340         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
11341         rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3, 
11342 # Contel c301 and c321 terminals.
11343 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
11344         flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>, 
11345         use=contel300, 
11346
11347 #### Data General (dg)
11348 #
11349 # According to James Carlson <carlson@xylogics.com> writing in January 1995,
11350 # the terminals group at Data General was shut down in 1991; all these
11351 # terminals have thus been discontinued.
11352 #
11353 # DG terminals have function keys that respond to the SHIFT and CTRL keys,
11354 # e.g., SHIFT-F1 generates a different code from F1.  To number the keys
11355 # sequentially, first the unmodified key codes are listed as F1 through F15. 
11356 # Then their SHIFT versions are listed as F16 through F30, their CTRL versions
11357 # are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
11358 # F46 through F60.  This is done in the private "includes" below whose names
11359 # start with "dgkeys+".
11360 #
11361 # DG terminals generally support 8 bit characters.  For each of these terminals
11362 # two descriptions are supplied:
11363 #       1) A default description for 8 bits/character communications, which
11364 #          uses the default DG international character set and keyboard codes.
11365 #       2) A description with suffix "-7b" for 7 bits/character communications.
11366 #          This description must use the NON-DEFAULT native keyboard language.
11367
11368 # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
11369 # Ctrl/Shift fdkeys (kf34-kf44).
11370
11371 dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys, 
11372         ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z, 
11373         kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
11374         kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z, 
11375         kf11=\233011z, kf12=\233012z, kf13=\233013z, 
11376         kf14=\233014z, kf15=\233000z, kf16=\233101z, 
11377         kf17=\233102z, kf18=\233103z, kf19=\233104z, 
11378         kf2=\233002z, kf20=\233105z, kf21=\233106z, 
11379         kf22=\233107z, kf23=\233108z, kf24=\233109z, 
11380         kf25=\233110z, kf26=\233111z, kf27=\233112z, 
11381         kf28=\233113z, kf29=\233114z, kf3=\233003z, 
11382         kf30=\233100z, kf31=\233201z, kf32=\233202z, 
11383         kf33=\233203z, kf34=\233204z, kf35=\233205z, 
11384         kf36=\233206z, kf37=\233207z, kf38=\233208z, 
11385         kf39=\233209z, kf4=\233004z, kf40=\233210z, 
11386         kf41=\233211z, kf42=\233212z, kf43=\233213z, 
11387         kf44=\233214z, kf45=\233200z, kf46=\233301z, 
11388         kf47=\233302z, kf48=\233303z, kf49=\233304z, 
11389         kf5=\233005z, kf50=\233305z, kf51=\233306z, 
11390         kf52=\233307z, kf53=\233308z, kf54=\233309z, 
11391         kf55=\233310z, kf56=\233311z, kf57=\233312z, 
11392         kf58=\233313z, kf59=\233314z, kf6=\233006z, 
11393         kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z, 
11394         khome=\233H, kprt=\233i, 
11395
11396 dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys, 
11397         ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z, 
11398         kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
11399         kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z, 
11400         kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z, 
11401         kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z, 
11402         kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z, 
11403         kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z, 
11404         kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z, 
11405         kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z, 
11406         kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z, 
11407         kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z, 
11408         kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z, 
11409         kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z, 
11410         kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z, 
11411         kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z, 
11412         kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z, 
11413         kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z, 
11414         kf9=\E[009z, khome=\E[H, kprt=\E[i, 
11415
11416 dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys, 
11417         kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K, 
11418         kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c, 
11419         kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r, 
11420         kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3, 
11421         kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8, 
11422         kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#, 
11423         kf37=^^$, kf38=^^%%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(, 
11424         kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w, 
11425         kf8=^^x, kf9=^^y, khome=^H, 
11426
11427 dgkeys+15|Private entry describing 15 DG mode special keys, 
11428         kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^, 
11429         kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^}, 
11430         kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d, 
11431         kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i, 
11432         kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s, 
11433         kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5, 
11434         kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:, 
11435         kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!, 
11436         kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%%, kf51=^^&, 
11437         kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,, 
11438         kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x, 
11439         kf9=^^y, 
11440
11441 # Data General color terminals use the "Tektronix" color model.  The total
11442 # number of colors varies with the terminal model, as does support for
11443 # attributes used in conjunction with color.
11444
11445 # Removed u7, u8 definitions since they conflict with tack:
11446 #               Preserve user-defined colors in at least some cases.
11447 #       u7=^^Fh,
11448 #               Default is ACM mode.
11449 #       u8=^^F}20^^Fi^^F}21,
11450 #
11451 dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode, 
11452         bce, 
11453         colors#16, ncv#53, pairs#256, 
11454         op=\036Ad\036Bd, 
11455         setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
11456         setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
11457         setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
11458
11459 dg+fixed|Fixed color info for DG D430C terminals in DG mode, 
11460         use=dgunix+fixed, 
11461
11462 # Video attributes are coordinated using static variables set by "sgr", then
11463 # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
11464 # (D=dim, U=underline, B=blink, R=reverse.)
11465 dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode, 
11466         bce, 
11467         colors#8, ncv#16, pairs#64, 
11468         op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m, 
11469         setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
11470         setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
11471         setb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
11472         setf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
11473
11474 dg+color|Color info for Data General D470C terminals in ANSI mode, 
11475         colors#16, ncv#53, pairs#256, 
11476         setab=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
11477         setaf=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
11478         setb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
11479         setf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
11480         use=dg+color8, 
11481
11482 dgmode+color8|Color info for Data General D220/D230C terminals in DG mode, 
11483         bce, 
11484         colors#8, ncv#16, pairs#64, 
11485         op=\036Ad\036Bd, 
11486         setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
11487         setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
11488         setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
11489
11490 dgmode+color|Color info for Data General D470C terminals in DG mode, 
11491         colors#16, pairs#256, 
11492         setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
11493         setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
11494         use=dgmode+color8, 
11495
11496 dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode, 
11497         bce, ccc, 
11498         colors#52, ncv#53, pairs#26, 
11499         initp=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X, 
11500         oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00, 
11501         op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D, 
11502         scp=\036RG2%p1%02X, 
11503
11504 # Colors are in the order:  normal, reverse, dim, dim + reverse.
11505 dg+ccc|Configurable color info for DG D430C terminals in DG mode, 
11506         bce, ccc, 
11507         colors#52, ncv#53, pairs#26, 
11508         initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c, 
11509         oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00, 
11510         op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=, 
11511         scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c, 
11512
11513 # The generic DG terminal type (an 8-bit-clean subset of the 6053)
11514 # Initialization string 1 sets:
11515 #       ^R              - vertical scrolling enabled
11516 #       ^C              - blinking enabled
11517 dg-generic|Generic Data General terminal in DG mode, 
11518         am, bw, msgr, xon, 
11519         cols#80, lines#24, 
11520         bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
11521         cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C, 
11522         mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\, 
11523         smul=^T, use=dgkeys+11, 
11524
11525 # According to the 4.4BSD termcap file, the dg200 <cup> should be the
11526 # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
11527 # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
11528 # maybe they were originally nuls (which would fit).
11529
11530 dg200|data general dasher 200, 
11531         OTbs, am, bw, 
11532         cols#80, lines#24, 
11533         bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
11534         cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J, 
11535         kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q, 
11536         kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
11537         kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
11538         smso=^^D, smul=^T, 
11539
11540 # Data General 210/211 (and 410?)       from Lee Pearson (umich!lp) via BRL
11541 dg210|dg-ansi|Data General 210/211, 
11542         am, 
11543         cols#80, lines#24, 
11544         OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, 
11545         cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, 
11546         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
11547         nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, 
11548         smul=\E[4;m, 
11549 # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
11550 # courtesy of Carlos Rucalde of Vantage Software, Inc.
11551 # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
11552 # I suspect the d200 function keys actually work on the dg211, check it out.)
11553 dg211|Data General d211, 
11554         cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
11555         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
11556         rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200, 
11557
11558 # dg450 from Cornell (not official)
11559 dg450|dg6134|data general 6134, 
11560         cub1@, cuf1=^X, use=dg200, 
11561
11562 # Not official...
11563 # Note: lesser Dasher terminals will not work with vi because vi insists upon
11564 # having a command to move straight down from any position on the bottom line
11565 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
11566 # above have both, the D210/211, for instance, has neither.  We must use ANSI
11567 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
11568 # backspace on all terminals.  This is not so in DG mode.
11569 # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
11570 # grounds that there is no matching ":ml:"
11571 # fixed garbled ":k9=\E[00\:z:" capability -- esr)
11572 dg460-ansi|Data General Dasher 460 in ANSI-mode, 
11573         OTbs, am, msgr, ul, 
11574         cols#80, it#8, lines#24, 
11575         OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, 
11576         cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, 
11577         dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
11578         ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, 
11579         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
11580         kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, 
11581         kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, 
11582         kf8=\E[009z, kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, 
11583         lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, 
11584         ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, 
11585         smul=\E[4m, 
11586 # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
11587 # Data General 605x     
11588 # Ought to work for a Model 6242, Type D210 as well as a 605x.
11589 # Note that the cursor-down key transmits ^Z.  Job control users, beware!
11590 # This also matches a posted description of something called a `Dasher 100'
11591 # so there's a dg100 alias here. 
11592 # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
11593 dg6053-old|dg100|data general 6053, 
11594         OTbs, am, bw, ul, 
11595         cols#80, lines#24, 
11596         OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, 
11597         cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, 
11598         home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, 
11599         kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, 
11600         kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, 
11601         rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, 
11602         smul=^T, 
11603
11604 # (Some performance can be gained over the generic DG terminal type)
11605 dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053, 
11606         xon@, 
11607         home=^P\0\0, ll=^P\0^W, use=dg-generic, 
11608
11609 # Like 6053, but adds reverse video and more keypad and function keys.
11610 d200|d200-dg|Data General DASHER D200, 
11611         bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^], 
11612         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;, 
11613         sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15, 
11614         use=dg6053, 
11615
11616 # DASHER D210 series terminals in ANSI mode.
11617 #       Reverse video, no insert/delete character/line, 7 bits/character only.
11618 #
11619 # Initialization string 1 sets:
11620 #       <0              - scrolling enabled
11621 #       <1              - blink enabled
11622 #       <4              - print characters regardless of attributes
11623 d210|d214|Data General DASHER D210 series, 
11624         am, bw, msgr, xon, 
11625         cols#80, lines#24, 
11626         bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M, 
11627         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
11628         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11629         cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K, 
11630         el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l, 
11631         ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
11632         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m, 
11633         sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b, 
11634
11635 # DASHER D210 series terminals in DG mode.
11636 # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
11637 d210-dg|d214-dg|Data General DASHER D210 series in DG mode, 
11638         xon, 
11639         ed=^^FF, use=d200-dg, 
11640
11641 # DASHER D211 series terminals in ANSI mode.
11642 # Like the D210, but with 8-bit characters and local printer support.
11643 #
11644 # Initialization string 2 sets:
11645 #       \E[2;1;1;1v
11646 #               2;1     - 8 bit operations
11647 #               1;1     - 8 bit (international) keyboard language
11648 #       \E(B            - default primary character set (U.S. ASCII)
11649 #       \E)4            - default secondary character set (international)
11650 #       ^O              - primary character set
11651 #
11652 d211|d215|Data General DASHER D211 series, 
11653         km, 
11654         is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b, 
11655         use=d210, 
11656
11657 # Initialization string 2 sets:
11658 #       \E[2;0;1;0v
11659 #               2;0     - 7 bit operations
11660 #               1;0     - 7 bit (native) keyboard language
11661 #       \E(0            - default character set (the keyboard native language)
11662 #       ^O              - primary character set
11663 d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode, 
11664         km@, 
11665         is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211, 
11666
11667 # Like the D210 series, but adds support for 8-bit characters.
11668 #
11669 # Reset string 2 sets:
11670 #       ^^N     - secondary character set
11671 #       ^^FS0>  - 8 bit international character set
11672 #       ^^O     - primary character set
11673 #       ^^FS00  - default character set (matching the native keyboard language)
11674 #
11675 d211-dg|d215-dg|Data General DASHER D211 series in DG mode, 
11676         km, 
11677         rs2=\036N\036FS0>\036O\036FS00, use=d210-dg, 
11678
11679 d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode, 
11680         use=d211-dg, 
11681
11682 # Enhanced DG mode with changes to be more UNIX compatible.
11683 d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode, 
11684         mc5i, 
11685         it#8, 
11686         acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI, 
11687         clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA, 
11688         el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J, 
11689         is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd, 
11690         kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB, 
11691         kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0, 
11692         mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00, 
11693         rs2=\036N\036FS0E\036O\036FS00, 
11694         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
11695         sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11, 
11696         vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg, 
11697 d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines, 
11698         lines#25, 
11699         is3=\036Fz2, use=d216+, 
11700
11701 d217-unix|Data General DASHER D217 in DG-UNIX mode, 
11702         use=d216-unix, 
11703 d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines, 
11704         use=d216-unix-25, 
11705
11706 # DASHER D220 color terminal in ANSI mode.
11707 # Like the D470C but with fewer colors and screen editing features.
11708 #
11709 # Initialization string 1 sets:
11710 #       \E[<0;<1;<4l
11711 #               <0      - scrolling enabled
11712 #               <1      - blink enabled
11713 #               <4      - print characters regardless of attributes
11714 #       \E[m            - all attributes off
11715 # Reset string 1 sets:
11716 #       \Ec             - initial mode defaults (RIS)
11717 #
11718 d220|Data General DASHER D220, 
11719         mc5i@, 
11720         dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, 
11721         use=dg+color8, use=d470c, 
11722
11723 d220-7b|Data General DASHER D220 in 7 bit mode, 
11724         mc5i@, 
11725         dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, 
11726         use=dg+color8, use=d470c-7b, 
11727
11728 # Initialization string 3 sets:
11729 #       - default cursor (solid rectangle)
11730 # Reset string 2 sets:
11731 #       ^^N     - secondary character set
11732 #       ^^FS0>  - 8 bit international character set
11733 #       ^^O     - primary character set
11734 #       ^^FS00  - default character set (matching the native keyboard language)
11735 #
11736 d220-dg|Data General DASHER D220 color terminal in DG mode, 
11737         mc5i@, 
11738         dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@, 
11739         rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8, 
11740         use=d470c-dg, 
11741
11742 # DASHER D230C color terminal in ANSI mode.
11743 # Like the D220 but with minor ANSI compatibility improvements.
11744 #
11745 d230c|d230|Data General DASHER D230C, 
11746         blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J, 
11747         rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m, 
11748         sgr=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
11749         sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m, 
11750         smul=\E[4;50m, use=dgkeys+7b, use=d220, 
11751
11752 d230c-dg|d230-dg|Data General DASHER D230C in DG mode, 
11753         use=d220-dg, 
11754
11755 # DASHER D400/D450 series terminals.
11756 # These add intelligent features like insert/delete to the D200 series.
11757 #
11758 # Initialization string 2 sets:
11759 #       ^^FQ2           - default cursor (solid rectangle)
11760 #       ^^FW            - character protection disabled
11761 #       ^^FJ            - normal (80 column) mode
11762 #       ^^F\^           - horizontal scrolling enabled (for alignment)
11763 #       ^^FX004?        - margins at columns 0 and 79
11764 #       ^^F]            - horizontal scrolling disabled
11765 #       ^^O             - primary character set
11766 #       ^^FS00          - default character set (the keyboard native language)
11767 #       - (should reset scrolling regions, but that glitches the screen)
11768 # Reset string 1 sets:
11769 #       ^^FA            - all terminal defaults except scroll rate
11770 # Reset string 2 sets:
11771 #       ^^F]            - horizontal scrolling disabled
11772 #       ^^FT0           - jump scrolling
11773 #
11774 d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series, 
11775         mc5i, 
11776         acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0, 
11777         cnorm=\036FQ2, dch1=^^K, dl1=^^FI, 
11778         enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177, 
11779         ich1=^^J, il1=^^FH, 
11780         is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00, 
11781         ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O, 
11782         rs1=^^FA, rs2=\036F]\036FT0, 
11783         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;, 
11784         sgr0=\017\025\035\036E\036O, smacs=^^N, 
11785         vpa=\020\177%p1%c, use=d210-dg, 
11786
11787 # DASHER D410/D460 series terminals in ANSI mode.
11788 # These add a large number of intelligent terminal features.
11789 #
11790 # Initialization string 1 sets:
11791 #       \E[<0;<1;<2;<4l
11792 #               <0      - scrolling enabled
11793 #               <1      - blink enabled
11794 #               <2      - horizontal scrolling enabled (for alignment)
11795 #               <4      - print characters regardless of attributes
11796 #       \E[5;0v         - normal (80 column) mode
11797 #       \E[1;1;80w      - margins at columns 1 and 80
11798 #       \E[1;6;<2h
11799 #               1       - print all characters even if protected
11800 #               6       - character protection disabled
11801 #               <2      - horizontal scrolling disabled
11802 #       - (should reset scrolling regions, but that glitches the screen)
11803 #
11804 # Initialization string 2 sets:
11805 #       \E[3;2;2;1;1;1v
11806 #               3;2     - default cursor (solid rectangle)
11807 #               2;1     - 8 bit operations
11808 #               1;1     - international keyboard language
11809 #       \E(B            - default primary character set (U.S. ASCII)
11810 #       \E)4            - default secondary character set (international)
11811 #       ^O              - primary character set
11812 #
11813 #       Reset string 1 sets:
11814 #       \Ec             - initial mode defaults (RIS)
11815 #       \E[<2h          - horizontal scrolling disabled
11816 #
11817 # Reset string 2 sets:
11818 #       \E[4;0;2;1;1;1v
11819 #               4;0     - jump scrolling
11820 #               2;1     - 8 bit operations
11821 #               1;1     - 8 bit (international) keyboard language
11822 #       \E(B            - default primary character set (U.S. ASCII)
11823 #       \E)4            - default secondary character set (international)
11824 #
11825 d410|d411|d460|d461|Data General DASHER D410/D460 series, 
11826         mc5i, 
11827         acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v, 
11828         cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
11829         dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
11830         is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h, 
11831         is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i, 
11832         ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h, 
11833         rs2=\E[4;0;2;1;1;1v\E(B\E)4, 
11834         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;, 
11835         sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211, 
11836
11837 # Initialization string 2 sets:
11838 #       \E[3;2;2;0;1;0v
11839 #               3;2     - default cursor (solid rectangle)
11840 #               2;0     - 7 bit operations
11841 #               1;0     - 7 bit (native) keyboard language
11842 #       \E(0            - default character set (the keyboard native language)
11843 #       ^O              - primary character set
11844 #
11845 # Reset string 2 sets:
11846 #       \E[4;0;2;0;1;0v
11847 #               4;0     - jump scrolling
11848 #               2;0     - 7 bit operations
11849 #               1;0     - 7 bit (native) keyboard language
11850 #       \E(0            - default character set (the keyboard native language)
11851 #
11852 d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode, 
11853         km@, 
11854         enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O, 
11855         rs2=\E[4;0;2;0;1;0v\E(0, 
11856         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;, 
11857         sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410, 
11858
11859 d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode, 
11860         km, 
11861         enacs@, rmacs=\036FS00, 
11862         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
11863         sgr0=\017\025\035\036E\036FS00, smacs=\036FS11, 
11864         use=d400-dg, 
11865
11866 # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
11867 #
11868 # Initialization string 1 sets:
11869 #       \E[<0;<1;<2;<4l
11870 #               <0      - scrolling enabled
11871 #               <1      - blink enabled
11872 #               <2      - horizontal scrolling enabled (for alignment)
11873 #               <4      - print characters regardless of attributes
11874 #       \E[5;1v         - compressed (135 column) mode
11875 #       \E[1;1;126      - margins at columns 1 and 126
11876 #       \E[1;6;<2h
11877 #               1       - print all characters even if protected
11878 #               6       - character protection disabled
11879 #               <2      - horizontal scrolling disabled
11880 #       - (should reset scrolling regions, but that glitches the screen)
11881 #
11882 # Reset string 1 sets:
11883 #       \Ec             - initial mode defaults (RIS)
11884 #       \E[5;1v         - compressed (135 column) mode
11885 #       \E[1;1;126w     - margins at columns 1 and 126
11886 #       \E[<2h          - horizontal scrolling disabled
11887 #
11888 d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode, 
11889         cols#126, 
11890         is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
11891         rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410, 
11892
11893 d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode, 
11894         cols#126, 
11895         is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
11896         rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b, 
11897
11898 d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode, 
11899         use=d410-dg, 
11900
11901 # These add intelligent features like scrolling regions.
11902 d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode, 
11903         civis=\036FQ0, clear=^^FE, cnorm=\036FQ5, 
11904         cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI, 
11905         home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH, 
11906         is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00, 
11907         ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I, 
11908         rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10, 
11909         vpa=\036FPFF%p1%2.2X, 
11910         wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, 
11911         use=d216+, 
11912 d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode, 
11913         cols#132, 
11914         is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00, 
11915         rs2=\036P@1\036FK\036FX0083, 
11916         wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X, 
11917         use=d412-unix, 
11918 d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines, 
11919         lines#25, 
11920         is3=\036Fz2, 
11921         wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, 
11922         use=d462+, 
11923 d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line, 
11924         eslok, hs, 
11925         clear=\036FG\036PH, fsl=\036F}01\022, 
11926         is3=\036Fz2\036F}00\036FB180000\036F}01, ll@, 
11927         tsl=\036F}00\036FP%p1%2.2X18\036PG, 
11928         wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X, 
11929         use=d462+, 
11930
11931 #       Relative cursor motions are confined to the current window,
11932 #       which is not what the scrolling region specification expects.
11933 #       Thus, relative vertical cursor positioning must be deleted.
11934 d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region, 
11935         csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;, 
11936         cud1@, cuu1@, ll@, use=d462+, 
11937
11938 d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode, 
11939         use=d412-unix, 
11940 d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode, 
11941         use=d412-unix-w, 
11942 d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines, 
11943         use=d412-unix-25, 
11944 d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line, 
11945         use=d412-unix-s, 
11946 d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region, 
11947         use=d412-unix-sr, 
11948
11949 d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode, 
11950         use=d413-unix, 
11951 d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode, 
11952         use=d413-unix-w, 
11953 d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines, 
11954         use=d413-unix-25, 
11955 d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line, 
11956         use=d413-unix-s, 
11957 d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region, 
11958         use=d413-unix-sr, 
11959
11960 d430c-dg|d430-dg|Data General D430C in DG mode, 
11961         use=d413-dg, use=dg+fixed, 
11962 d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors, 
11963         use=d413-dg, use=dg+ccc, 
11964
11965 d430c-unix|d430-unix|Data General D430C in DG-UNIX mode, 
11966         use=d413-unix, use=dgunix+fixed, 
11967 d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode, 
11968         use=d413-unix-w, use=dgunix+fixed, 
11969 d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines, 
11970         use=d413-unix-25, use=dgunix+fixed, 
11971 d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line, 
11972         use=d413-unix-s, use=dgunix+fixed, 
11973 d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region, 
11974         use=d413-unix-sr, use=dgunix+fixed, 
11975 d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors, 
11976         use=d413-unix, use=dgunix+ccc, 
11977 d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors, 
11978         use=d413-unix-w, use=dgunix+ccc, 
11979 d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors, 
11980         use=d413-unix-25, use=dgunix+ccc, 
11981 d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors, 
11982         use=d413-unix-s, use=dgunix+ccc, 
11983 d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors, 
11984         use=d413-unix-sr, use=dgunix+ccc, 
11985
11986 # DASHER D470C color terminal in ANSI mode.
11987 # Like the D460 but with 16 colors and without a compressed mode.
11988 #
11989 # Initialization string 1 sets:
11990 #       \E[<0;<1;<2;<4l
11991 #               <0      - scrolling enabled
11992 #               <1      - blink enabled
11993 #               <2      - horizontal scrolling enabled (for alignment)
11994 #               <4      - print characters regardless of attributes
11995 #       \E[1;1;80w      - margins at columns 1 and 80
11996 #       \E[1;6;<2h
11997 #               1       - print all characters even if protected
11998 #               6       - character protection disabled
11999 #               <2      - horizontal scrolling disabled
12000 #       - (should reset scrolling regions, but that glitches the screen)
12001 #
12002 d470c|d470|Data General DASHER D470C, 
12003         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
12004         sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
12005         use=dg+color, use=d460, 
12006
12007 d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode, 
12008         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
12009         sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;, 
12010         use=dg+color, use=d460-7b, 
12011
12012 # Initialization string 2 sets:
12013 #       ^^FQ2           - default cursor (solid rectangle)
12014 #       ^^FW            - character protection disabled
12015 #       ^^F\^           - horizontal scrolling enabled (for alignment)
12016 #       ^^FX004?        - margins at columns 0 and 79
12017 #       ^^F]            - horizontal scrolling disabled
12018 #       ^^O             - primary character set
12019 #       ^^FS00          - default character set (the keyboard native language)
12020 #       - (should reset scrolling regions, but that glitches the screen)
12021 #
12022 d470c-dg|d470-dg|Data General DASHER D470C in DG mode, 
12023         is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00, 
12024         use=dgmode+color, use=d460-dg, 
12025
12026 # DASHER D555 terminal in ANSI mode.
12027 # Like a D411, but has an integrated phone.
12028 d555|Data General DASHER D555, 
12029         use=d411, 
12030 d555-7b|Data General DASHER D555 in 7-bit mode, 
12031         use=d411-7b, 
12032 d555-w|Data General DASHER D555 in wide mode, 
12033         use=d411-w, 
12034 d555-7b-w|Data General DASHER D555 in wide 7-bit mode, 
12035         use=d411-7b-w, 
12036 d555-dg|Data General DASHER D555 series in DG mode, 
12037         use=d411-dg, 
12038
12039 # DASHER D577 terminal in ANSI mode.
12040 # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
12041 d577|Data General DASHER D577, 
12042         use=d411, 
12043 d577-7b|Data General DASHER D577 in 7-bit mode, 
12044         use=d411-7b, 
12045 d577-w|Data General DASHER D577 in wide mode, 
12046         use=d411-w, 
12047 d577-7b-w|Data General DASHER D577 in wide 7-bit mode, 
12048         use=d411-7b-w, 
12049
12050 d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode, 
12051         use=d411-dg, 
12052
12053 # DASHER D578 terminal.
12054 # Like a D577, but without compressed mode; like a D470C in this respect.
12055 #
12056 # Initialization string 1 sets:
12057 #       \E[<0;<1;<2;<4l
12058 #               <0      - scrolling enabled
12059 #               <1      - blink enabled
12060 #               <2      - horizontal scrolling enabled (for alignment)
12061 #               <4      - print characters regardless of attributes
12062 #       \E[1;1;80w      - margins at columns 1 and 80
12063 #       \E[1;6;<2h
12064 #               1       - print all characters even if protected
12065 #               6       - character protection disabled
12066 #               <2      - horizontal scrolling disabled
12067 #       - (should reset scrolling regions, but that glitches the screen)
12068 #
12069 d578|Data General DASHER D578, 
12070         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577, 
12071 d578-7b|Data General DASHER D578 in 7-bit mode, 
12072         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577-7b, 
12073
12074 #### Datamedia (dm)
12075 #
12076 # Datamedia was headquartered in Nashua, New Hampshire until it went 
12077 # out of business in 1993, but the ID plates on the terminals referred
12078 # to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
12079 # manufacturer which threw out all information about the terminals.
12080 #
12081
12082 cs10|colorscan|Datamedia Color Scan 10, 
12083         msgr, 
12084         cols#80, lines#24, 
12085         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
12086         cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
12087         ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
12088         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
12089         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
12090 cs10-w|Datamedia Color Scan 10 with 132 columns, 
12091         cols#132, 
12092         cup=\E[%i%p1%02d;%p2%03dH, use=cs10, 
12093
12094 # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
12095 dm1520|dm1521|datamedia 1520, 
12096         OTbs, am, xenl, 
12097         cols#80, it#8, lines#24, 
12098         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
12099         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
12100         home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
12101         khome=^Y, 
12102 # dm2500: this terminal has both <ich> and <smir>. Applications using 
12103 # termcap/terminfo directly (rather than through ncurses) might be confused.
12104 dm2500|datamedia2500|datamedia 2500, 
12105         OTbs, OTnc, 
12106         cols#80, lines#24, 
12107         bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
12108         cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
12109         dch1=\020\010\030\035$<10*>, 
12110         dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
12111         ich1=\020\034\030\035$<10*>, 
12112         il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
12113         rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
12114         smdc=^P, smir=^P, smso=^N, 
12115 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
12116 # also, has a meta-key.
12117 # From: <goldberger@su-csli.arpa>
12118 # (dmchat: ":MT:" changed to ":km:" -- esr)
12119 dmchat|dmchat version of datamedia 2500, 
12120         km, 
12121         dl1=\020\032\030\035$<2/>, 
12122         il1=\020\n\030\035\030\035$<1*/>, use=dm2500, 
12123 # (dm3025: ":MT:" changed to ":km:" -- esr)
12124 dm3025|datamedia 3025a, 
12125         OTbs, km, 
12126         cols#80, it#8, lines#24, 
12127         bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12128         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
12129         dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK, 
12130         home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, 
12131         is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, 
12132         smir=\EP, smso=\EO1, 
12133 dm3045|datamedia 3045a, 
12134         OTbs, am, eo, km@, ul, xenl, 
12135         dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA, 
12136         kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
12137         kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, 
12138         khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, 
12139         use=dm3025, 
12140 # Datamedia DT80 soft switches:
12141 # 1     0=Jump  1=Smooth
12142 #       Autorepeat      0=off  1=on
12143 #       Screen          0=Dark 1=light
12144 #       Cursor          0=u/l  1=block
12145
12146 # 2     Margin Bell     0=off  1=on
12147 #       Keyclick        0=off  1=on
12148 #       Ansi/VT52       0=VT52 1=Ansi
12149 #       Xon/Xoff        0=Off  1=On
12150
12151 # 3     Shift3          0=Hash 1=UK Pound
12152 #       Wrap            0=Off  1=On
12153 #       Newline         0=Off  1=On
12154 #       Interlace       0=Off  1=On
12155 #       
12156 # 4     Parity          0=Odd  1=Even
12157 #       Parity          0=Off  1=On
12158 #       Bits/Char       0=7    1=8
12159 #       Power           0=60Hz 1=50Hz
12160
12161 # 5     Line Interface  0=EIA  1=Loop
12162 #       Aux Interface   0=EIA  1=Loop
12163 #       Local Copy      0=Off  1=On     
12164 #       Spare
12165
12166 # 6     Aux Parity      0=Odd  1=Even
12167 #       Aux Parity      0=Off  1=On
12168 #       Aux Bits/Char   0=7    1=8
12169 #       CRT Saver       0=Off  1=On
12170 # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
12171 dm80|dmdt80|dt80|datamedia dt80/1, 
12172         clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
12173         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
12174         home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
12175         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
12176         use=vt100, 
12177 # except in 132 column mode, where it needs a little padding.
12178 # This is still less padding than the vt100, and you can always turn on
12179 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
12180 # reverse video.
12181 dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
12182         cols#132, 
12183         clear=\E[H\E[2J$<50/>, cud1=^J, 
12184         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
12185         ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80, 
12186 # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
12187 dt80-sas|Datamedia DT803/DTX for SAS usage, 
12188         am, bw, 
12189         cols#80, lines#24, 
12190         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
12191         bel=^G, clear=^L, cr=^M, 
12192         csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2, 
12193         cub1=^H, cud1=\EB, cuf1=^\, 
12194         cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K, 
12195         el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
12196         is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
12197         kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
12198         rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
12199         smso=\E$2\004, tbc=\E'0, 
12200
12201 # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
12202 # These aren't end-all Excel termcaps; but do insert/delete char/line
12203 # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
12204 # The naming convention has been bent somewhat, with the use of E? (where
12205 # E is for 'Excel') as # a name.  This was done to distinguish the entries
12206 # from the other Datamedias in use here, and yet to associate a model of
12207 # the Excel terminals with the regular datamedia terminals that share
12208 # major characteristics.
12209 excel62|excel64|datamedia Excel 62, 
12210         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
12211         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
12212         use=dt80, 
12213 excel62-w|excel64-w|datamedia Excel 62 in 132 char mode, 
12214         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
12215         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
12216         use=dt80w, 
12217 excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode, 
12218         dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J, 
12219         kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, 
12220         smir=\E[4h, use=dt80, 
12221
12222 #### Falco
12223 #
12224 #       Falco Data Products
12225 #       440 Potrero Avenue
12226 #       Sunnyvale, CA 940864-196
12227 #       Vox: (800)-325-2648
12228 #       Fax: (408)-745-7860
12229 #       Net: techsup@charm.sys.falco.com
12230 #
12231 # Current Falco models as of 1995 are generally ANSI-compatible and support
12232 # emulations of DEC VT-series, Wyse, and Televideo types.
12233 #
12234
12235 # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
12236 # This terminal was released around 1983 and was discontinued long ago.
12237 # The standout and underline highlights are the same.
12238 falco|ts1|ts-1|falco ts-1, 
12239         OTbs, am, 
12240         cols#80, it#8, lines#24, 
12241         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12242         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
12243         dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE, 
12244         ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
12245         kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, 
12246         smir=\Eq, smso=\Eg1, smul=\Eg1, 
12247 falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
12248         OTbs, am, da, db, mir, msgr, ul, 
12249         cols#80, it#8, lines#24, 
12250         bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, 
12251         cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
12252         dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I, 
12253         il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B, 
12254         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er, 
12255         rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq, 
12256         smso=\Eg4, smul=\Eg1, 
12257 # (ts100: I added <rmam>/<smam> based on the init string -- esr)
12258 ts100|ts100-sp|falco ts100-sp, 
12259         am, mir, msgr, xenl, xon, 
12260         cols#80, it#8, lines#24, vt#3, 
12261         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
12262         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
12263         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
12264         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
12265         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
12266         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
12267         cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
12268         el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, 
12269         ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea, 
12270         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12271         rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
12272         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
12273         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
12274         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>, 
12275         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
12276         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
12277         use=vt100+fnkeys, 
12278 ts100-ctxt|falco ts-100 saving context, 
12279         rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100, 
12280
12281 #### Florida Computer Graphics
12282 #
12283
12284 # Florida Computer Graphics Beacon System, using terminal emulator program
12285 # "host.com", as provided by FCG.  This description is for an early release
12286 # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
12287 # commented out.
12288
12289 # From: David Bryant <cbosg!djb> 1/7/83
12290 beacon|FCG Beacon System, 
12291         am, da, db, 
12292         cols#80, lines#32, 
12293         bel=\ESTART\r\E37\r\EEND\r$<1>, 
12294         blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M, 
12295         cub1=^H, cud1=^J, cuf1=\EV, 
12296         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
12297         dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE, 
12298         ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=, 
12299         rmso=\ESTART\r\E70\,0\r\EEND\r$<20>, 
12300         rmul=\ESTART\r\E60\,0\r\EEND\r, 
12301         sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>, 
12302         smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>, 
12303         smso=\ESTART\r\E70\,6\r\EEND\r$<20>, 
12304         smul=\ESTART\r\E60\,1\r\EEND\r, 
12305
12306 #### Fluke
12307 #
12308
12309 # The f1720a differences from ANSI: no auto margin, destructive 
12310 # tabs, # of lines, funny highlighting and underlining
12311 f1720|f1720a|fluke 1720A, 
12312         xt, 
12313         cols#80, lines#16, xmc#1, 
12314         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
12315         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, 
12316         el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^], 
12317         kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
12318         smso=\E[7m, smul=\E[4m, 
12319
12320 #### Liberty Electronics (Freedom)
12321 #
12322 #       Liberty Electronics
12323 #       48089 Fremont Blvd
12324 #       Fremont CA 94538
12325 #       Vox: (510)-623-6000
12326 #       Fax: (510)-623-7021
12327
12328 # From: <faletti@berkeley.edu>
12329 # (f100: added empty <acsc> to suppress a tic warning;
12330 # made this relative to adm+sgr -- note that <invis> isn't
12331 # known to work for f100 but does on the f110. --esr)
12332 f100|freedom|freedom100|freedom model 100, 
12333         OTbs, am, bw, hs, mir, msgr, xon, 
12334         cols#80, lines#24, 
12335         acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
12336         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
12337         dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
12338         flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c, 
12339         ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>, 
12340         is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, 
12341         kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
12342         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12343         kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er, 
12344         smacs=\E%%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
12345         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
12346 f100-rv|freedom-rv|freedom 100 in reverse video, 
12347         flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100, 
12348 # The f110 and f200 have problems with vi(1).  They use the ^V
12349 # code for the down cursor key. When kcud1 is defined in terminfo
12350 # as ^V, the Control Character Quoting capability (^V in insert mode)
12351 # is lost! It cannot be remapped in vi because it is necessary to enter
12352 # a ^V to to quote the ^V that is being remapped!!!
12353
12354 # f110/f200 users will have to decide whether
12355 # to lose the down cursor key or the quoting capability. We will opt
12356 # initially for leaving the quoting capability out, since use of VI
12357 # is not generally applicable to most interactive applications
12358 # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
12359 f110|freedom110|Liberty Freedom 110, 
12360         bw@, eslok, 
12361         it#8, wsl#80, 
12362         blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V, 
12363         cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
12364         flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW, 
12365         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, 
12366         kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO, 
12367         smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, use=f100, 
12368 f110-14|Liberty Freedom 110 14inch, 
12369         dch1@, use=f110, 
12370 f110-w|Liberty Freedom 110 - 132 cols, 
12371         cols#132, use=f110, 
12372 f110-14w|Liberty Freedom 110 14in/132 cols, 
12373         cols#132, 
12374         dch1@, use=f110, 
12375 # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
12376 f200|freedom200|Liberty Freedom 200, 
12377         OTbs, am, eslok, hs, mir, msgr, xon, 
12378         cols#80, it#8, lines#24, wsl#80, 
12379         acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
12380         clear=^Z, cnorm=\E.1, cr=^M, 
12381         csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
12382         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
12383         cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, 
12384         el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^, 
12385         hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H, 
12386         kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
12387         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
12388         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12389         kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, 
12390         ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<, 
12391         tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
12392 f200-w|Liberty Freedom 200 - 132 cols, 
12393         cols#132, use=f200, 
12394 # The f200 has the ability to reprogram the down cursor key. The key is
12395 # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
12396 # so powering the terminal off and on will not cause the change to be lost.
12397 f200vi|Liberty Freedom 200 for vi, 
12398         flash=\Eb$<200/>\Ed, kcud1=^J, use=f200, 
12399 f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
12400         cols#132, use=f200vi, 
12401
12402 #### GraphOn (go)
12403 #
12404 #       Graphon Corporation
12405 #       544 Division Street
12406 #       Campbell, CA 95008
12407 #       Vox: (408)-370-4080
12408 #       Fax: (408)-370-5047
12409 #       Net: troy@graphon.com (Troy Morrison)
12410 #
12411 #
12412 # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
12413 # including one odd hybrid that starts out life on power-up as a character
12414 # terminal, than can be switched to X graphics mode (driven over the serial
12415 # line) by an escape sequence.  No info on this beast yet.
12416 # (go140: I added <rmam>/<smam> based on the init string -- esr)
12417 go140|graphon go-140, 
12418         OTbs, 
12419         cols#80, it#8, lines#24, 
12420         clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
12421         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
12422         ed=\E[J$<10/>, el=\E[K, ht=^I, 
12423         if=/usr/share/tabset/vt100, il1=\E[L, 
12424         is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
12425         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
12426         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
12427         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
12428         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
12429         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
12430 go140w|graphon go-140 in 132 column mode, 
12431         am, 
12432         cols#132, 
12433         is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
12434         use=go140, 
12435 # Hacked up vt200 termcap to handle GO-225/VT220
12436 # From: <edm@nwnexus.WA.COM>
12437 # (go225: I added <rmam>/<smam> based on the init string -- esr)
12438 go225|go-225|Graphon 225, 
12439         OTbs, am, mir, xenl, 
12440         cols#80, it#8, lines#25, vt#3, 
12441         blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
12442         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
12443         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
12444         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED, 
12445         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
12446         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
12447         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m, 
12448         rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
12449         rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, 
12450         rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, 
12451         sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, 
12452         smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
12453
12454 #### Harris (Beehive)
12455 #
12456 # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
12457 # Their terminal group is ancient history now (1995) though the parent
12458 # company is still in business.
12459 #
12460
12461 # Beehive documentation is undated and marked Preliminary and has no figures
12462 # so we must have early Superbee2 (Model 600, according to phone conversation
12463 # with mfr.). It has proved reliable except for some missing padding
12464 # (notably after \EK and <nl> at bottom of screen).
12465
12466 # The key idea is that AEP mode is poison for <cup> & that US's in 
12467 # the local memory should be avoided like the plague. That means 
12468 # that the 2048 character local buffer is used as 25 lines of 80 
12469 # characters, period. No scrolling local memory, folks. It also 
12470 # appears that we cannot use naked INS LINE feature since it uses
12471 # US. The sbi fakes <il1> with an 80-space insert that may be too 
12472 # slow at low speeds; also spaces get converted to \040 which is 
12473 # too long for some programs (not vi).  DEL LINE is ok but slow.
12474
12475 # The <nl> string is designed for last line of screen ONLY; cup to 
12476 # 25th line corrects the motion inherent in scrolling to Page 1.
12477
12478 # There is one understood bug. It is that the screen appears to
12479 # pop to a new (blank) page after a <nel>, or leave a half-line 
12480 # ellipsis to a quad that is the extra 48 memory locations. The 
12481 # data received is dumped into memory but not displayed.  Not to 
12482 # worry if <cup> is being used; the lines not displayed will be, 
12483 # whenever the cursor is moved up there. Since <cup> is addressed 
12484 # relative to MEMORY of window, nothing is lost; but beware of 
12485 # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
12486 # therefore, is setenv MORE -c .
12487
12488 # WARNING: Not all features tested.
12489
12490 # Timings are assembled from 3 sources. Some timings may reflect 
12491 # SB2/Model 300 that were used if more conservative.
12492 # Tested on a Model 600 at 1200 and 9600 bd.
12493
12494 # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
12495 # placed on the keyboard and useless because of AEP, is made 
12496 # into a backspace key. In use ESC must be pressed twice (to send)
12497 # and sending ^C must be prefixed by ESC to avoid that weird 
12498 # transmit mode associated with ENTER key.
12499
12500 # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
12501 # the screen, then it has dropped into ENTER mode; hit 
12502 # RESET--ONLINE--!tset.
12503
12504 # As delivered this machine has a FATAL feature that will throw 
12505 # it into that strange transmit state (SPOW) if the space bar is 
12506 # hit after a CR is received, but before receiving a LF (or a 
12507 # few others).
12508
12509 # The circuits MUST be modified to eliminate the SPOW latch. 
12510 # This is done by strapping on chip A46 of the I/O board; cut 
12511 # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
12512 # chip. This mod has been checked out on a Mod 600 of Superbee II.
12513 # With this modification absurdly high timings on cr are 
12514 # unnecessary.
12515
12516 # NOTE WELL that the rear panel switch should be set to CR/LF, 
12517 # not AEP!
12518 #
12519 sb1|beehive superbee, 
12520         OTbs, am, bw, da, db, mir, ul, xsb, 
12521         cols#80, lines#25, xmc#1, 
12522         bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, 
12523         cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d, 
12524         cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, 
12525         el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1, 
12526         il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
12527         ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, 
12528         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, 
12529         kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
12530         kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
12531         krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER, 
12532         rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, 
12533         smso=\E_1, smul=\E_0, tbc=\E3, 
12534 sbi|superbee|beehive superbee at Indiana U., 
12535         xsb, 
12536         cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, 
12537         use=sb1, 
12538 # Alternate (older) description of Superbee - f1=escape, f2=^C.
12539 # Note: there are at least 3 kinds of superbees in the world.  The sb1
12540 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
12541 # The sb3 puts garbage on the bottom of the screen when you scroll with
12542 # the switch in the back set to CRLF instead of AEP.  This description
12543 # is tested on the sb2 but should work on all with either switch setting.
12544 # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
12545 # the other two if you want to try to hit that tiny escape key.
12546 # This description is tricky: being able to use cup depends on there being
12547 # 2048 bytes of memory and the hairy <nl> string.
12548 superbee-xsb|beehive super bee, 
12549         am, da, db, xsb, 
12550         cols#80, it#8, lines#25, 
12551         clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J, 
12552         cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
12553         dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
12554         home=\EH, ht=^I, hts=\E1, 
12555         ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ, 
12556         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq, 
12557         kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
12558         khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
12559 # This loses on lines > 80 chars long, use at your own risk
12560 superbeeic|super bee with insert char, 
12561         ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
12562 sb2|sb3|fixed superbee, 
12563         xsb@, use=superbee, 
12564
12565 ####  Beehive Medical Electronics
12566 #
12567 # Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
12568 # Regarding your question though; Beehive terminals weren't made by Harris.
12569 # They were made by Beehive Medical Electronics in Utah. They went out of
12570 # business in the early '80s.
12571 #
12572 # (OK, then, I don't know why a couple of these say "harris beehive".)
12573 #
12574
12575 # Reports are that most of these Beehive entries (except superbee) have not
12576 # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
12577
12578 # (bee: <ich1> was empty, which is obviously bogus -- esr)
12579 beehive|bee|harris beehive, 
12580         OTbs, am, mir, 
12581         cols#80, lines#24, 
12582         cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
12583         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
12584         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>, 
12585         kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
12586         kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
12587         krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, 
12588         smir=\EQ, smso=\EdP, smul=\Ed`, 
12589 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
12590 # good grief - does this entry make :sg:/:ug: when it doesn't have to?
12591 # look at those spaces in <rmso>/<smso>.  Seems strange to me...
12592 # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
12593 # really care, cook up one using ^F -- esr)
12594 beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
12595         OTbs, am, 
12596         cols#80, it#8, lines#20, 
12597         bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K, 
12598         dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F, 
12599         il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s, 
12600 beehive4|bh4|beehive 4, 
12601         am, 
12602         cols#80, lines#24, 
12603         bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
12604         cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J, 
12605 # There was an early Australian kit-built computer called a "Microbee".
12606 # It's not clear whether this is for one of those or for a relative
12607 # of the Beehive.
12608 microb|microbee|micro bee series, 
12609         OTbs, am, 
12610         cols#80, it#8, lines#24, 
12611         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12612         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
12613         el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
12614         kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
12615         kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@, 
12616         rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`, 
12617
12618 # 8675, 8686, and bee from Cyrus Rahman
12619 # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
12620 ha8675|harris 8675, 
12621         is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
12622         kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei, 
12623         kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H, 
12624         kf8=\177, kf9=\Ee, use=bee, 
12625 # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
12626 # in :is: -- esr)
12627 ha8686|harris 8686, 
12628         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#, 
12629         kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003, 
12630         kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003, 
12631         kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003, 
12632         kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(, 
12633         use=bee, 
12634
12635 #### Hazeltine
12636 #
12637 # Hazeltine appears to be out of the terminal business as of 1995.  These
12638 # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
12639 # Harris. They have a hazeltine.com domain (but no web page there ) and can
12640 # be reached at:
12641 #
12642 #       Hazeltine
12643 #       450 East Pulaski Road
12644 #       Greenlawn, New York 11740
12645 #
12646 # As late as 1993, manuals for the terminal product line could still be
12647 # purchased from:
12648 #
12649 #       TRW Customer Service Division
12650 #       15 Law Drive
12651 #       P.O. Box 2076
12652 #       Fairfield, NJ 07007-2078
12653 #
12654 # They're now (1998) a subsidiary of General Electric, operating under the
12655 # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
12656 # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
12657 #
12658
12659 # Since <cuf1> is blank, when you want to erase something you
12660 # are out of luck.  You will have to do ^L's a lot to
12661 # redraw the screen.  h1000 is untested.  It doesn't work in
12662 # vi - this terminal is too dumb for even vi.  (The code is
12663 # there but it isn't debugged for this case.)
12664 hz1000|hazeltine 1000, 
12665         OTbs, 
12666         cols#80, lines#12, 
12667         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K, 
12668         ind=^J, 
12669 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
12670 hz1420|hazeltine 1420, 
12671         OTbs, am, 
12672         cols#80, lines#24, 
12673         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P, 
12674         cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S, 
12675         ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y, 
12676         smso=\E^_, 
12677 # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
12678 # freakout with out-of-range args and tn3270.  No hz since it needs to
12679 # receive tildes.
12680 hz1500|hazeltine 1500, 
12681         OTbs, am, hz, 
12682         cols#80, lines#24, 
12683         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
12684         cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c, 
12685         cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
12686         il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
12687         kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
12688 # h1510 assumed to be in sane escape mode.  Else use h1500.
12689 # (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
12690 # <smso=\E^Y>, but these caps were commented out in 8.3; also,
12691 # removed incorrect and overridden ":do=^J:" -- esr)
12692 hz1510|hazeltine 1510, 
12693         OTbs, am, 
12694         cols#80, lines#24, 
12695         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P, 
12696         cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X, 
12697         el=\E^O, il1=\E^Z, ind=^J, 
12698 # Hazeltine 1520
12699 # The following switch settings are assumed for normal operation:
12700 #       FULL            CR              U/L_CASE        ESCAPE
12701 #       FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
12702 # Other switches may be set for operator convenience or communication
12703 # requirements.
12704 hz1520|Hazeltine 1520, 
12705         OTbs, am, bw, msgr, 
12706         cols#80, lines#24, 
12707         bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
12708         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
12709         ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H, 
12710         kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, 
12711         kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z, 
12712         rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_, 
12713 # This version works with the escape switch off
12714 # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
12715 hz1520-noesc|hazeltine 1520, 
12716         am, hz, 
12717         cols#80, lines#24, 
12718         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
12719         cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O, 
12720         home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_, 
12721 # Note: the h1552 appears to be the first Hazeltine terminal which
12722 # is not braindamaged.  It has tildes and backprimes and everything!
12723 # Be sure the auto lf/cr switch is set to cr.
12724 hz1552|hazeltine 1552, 
12725         OTbs, 
12726         cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue, 
12727         lf2=red, lf3=green, use=vt52, 
12728 hz1552-rv|hazeltine 1552 reverse video, 
12729         cud1=^J, rmso=\ET, smso=\ES, use=hz1552, 
12730 # Note: h2000 won't work well because of a clash between upper case and ~'s.
12731 hz2000|hazeltine 2000, 
12732         OTbs, OTnc, am, 
12733         cols#74, lines#27, 
12734         bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
12735         cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
12736         il1=~\032$<6>, ind=^J, pad=\177, 
12737 # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
12738 # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
12739 # to work ok. There is one problem though if one types a lot of garbage
12740 # characters very fast vi seems not able to keep up and hangs while trying
12741 # to insert. That's in insert mode while trying to insert in the middle of
12742 # a line. It might be because the Esprit doesn't have insert char and delete
12743 # char as a built in function. Vi has to delete to end of line and then 
12744 # redraw the rest of the line.
12745 esprit|Hazeltine Esprit I, 
12746         OTbs, am, bw, 
12747         cols#80, lines#24, 
12748         bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
12749         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
12750         ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H, 
12751         kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
12752         kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J, 
12753         kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R, 
12754         lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, 
12755         rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_, 
12756 esprit-am|hazeltine esprit auto-margin, 
12757         am, use=esprit, 
12758 # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
12759 # Vi it seems always wants to send a control J for "do" and it turned out
12760 # that the terminal would work somewhat if the auto LF/CR was turned off.
12761 # (hmod1: removed :dn=~^K: -- esr)
12762 hmod1|Hazeltine Modular 1, 
12763         OTbs, am, hz, 
12764         cols#80, lines#24, 
12765         bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
12766         cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z, 
12767         ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R, 
12768         rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_, 
12769 #
12770 # Hazeltine Executive 80 Model 30 (1554?)
12771 #       from  Will Martin <control@ALMSA-1.ARPA> via BRL
12772 # Like VT100, except for different "am" behavior.
12773 hazel|exec80|h80|he80|Hazeltine Executive 80, 
12774         OTbs, OTpt, am, 
12775         cols#80, it#8, lines#24, vt#3, 
12776         OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
12777         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
12778         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
12779         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
12780         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
12781         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
12782         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
12783         kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
12784         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
12785         rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
12786         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
12787         sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
12788         smul=\E[4m$<2/>, 
12789
12790 #### IBM
12791 #
12792
12793 ibm327x|line mode IBM 3270 style, 
12794         gn, 
12795         clear=^M^J, el=^M, home=^M, 
12796
12797 ibm3101|i3101|IBM 3101-10, 
12798         OTbs, am, xon, 
12799         cols#80, lines#24, 
12800         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12801         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
12802         el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB, 
12803         kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH, 
12804 ibm3151|IBM 3151 display, 
12805         is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B, 
12806         sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;, 
12807         sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162, 
12808 # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
12809 # removed kend, knp, kpp -TD
12810 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
12811         OTbs, am, mir, msgr, 
12812         cols#80, it#8, lines#24, 
12813         acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370, 
12814         bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
12815         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
12816         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
12817         invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
12818         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
12819         kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r, 
12820         kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
12821         kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
12822         kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
12823         kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
12824         kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
12825         kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
12826         ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, rmcup=\E>A, 
12827         rmso=\E4@, rmul=\E4@, 
12828         sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;, 
12829         sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
12830
12831 ibm3161-C|IBM 3161-C NLS terminal using cartridge, 
12832         rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, use=ibm3161, 
12833 ibm3162|IBM 3162 display, 
12834         blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a, 
12835         rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a, 
12836         use=ibm3161-C, 
12837
12838 # This really should not use setab/setaf, but it is clear that the
12839 # original terminfo does not toggle red/blue colors as in setb/setf.
12840 ibm3164|i3164|IBM 3164, 
12841         msgr, 
12842         colors#8, pairs#64, 
12843         op=\E4 "@, rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A, 
12844         setab=\E4  %p1%{64}%+%c, 
12845         setaf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@, 
12846         smcup=\E!9/N\E>B, use=ibm3161, 
12847
12848 ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display, 
12849         am, bw, msgr, xon, 
12850         cols#80, it#8, lines#25, 
12851         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
12852         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
12853         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
12854         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
12855         cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
12856         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, 
12857         hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
12858         indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z, 
12859         kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
12860         kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q, 
12861         kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q, 
12862         kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q, 
12863         kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q, 
12864         kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q, 
12865         kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q, 
12866         kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q, 
12867         kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q, 
12868         kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q, 
12869         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
12870         kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q, 
12871         kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q, 
12872         krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l, 
12873         rmso=\E[m, rmul=\E[m, rs2=\Ec, 
12874         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
12875         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
12876
12877 ibmaed|IBM Experimental display, 
12878         OTbs, am, eo, msgr, 
12879         cols#80, it#8, lines#52, 
12880         clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
12881         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
12882         dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP, 
12883         il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
12884         rmso=\E0, sgr0=\E0, smso=\E0, 
12885 ibm-apl|apl|IBM apl terminal simulator, 
12886         lines#25, use=dm1520, 
12887 # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
12888 # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
12889 ibmmono|IBM workstation monochrome, 
12890         eslok, hs, 
12891         bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
12892         invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
12893         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
12894         khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
12895         lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
12896         sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, 
12897         use=ibm3101, 
12898 ibmega|IBM Enhanced Color Display, 
12899         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
12900         nel=^M^J, use=ibmmono, 
12901 # This color scheme is assumed in some recent IBM terminal descriptions
12902 # (green on black, emulated on a 16-color terminal).
12903 ibm+color|IBM color definitions, 
12904         colors#8, ncv#3, pairs#64, 
12905         op=\E[32m\E[40m, 
12906         setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;, 
12907         setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;, 
12908 ibm+16color|IBM aixterm color definitions, 
12909         colors#16, pairs#256, 
12910         setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm, 
12911         setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm, 
12912         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, 
12913         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, 
12914 ibm5154|IBM 5154 Color display, 
12915         colors#8, ncv@, pairs#64, 
12916         bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
12917         use=ibm+color, 
12918 ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
12919         rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
12920         use=ibmmono, 
12921 ibmvga-c|IBM VGA display color termcap, 
12922         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
12923         nel=^M^J, use=ibmega-c, 
12924 ibmvga|IBM VGA display, 
12925         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
12926         nel=^M^J, use=ibmega, 
12927 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
12928 rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display, 
12929         lines#32, 
12930         dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
12931 ibm6155|IBM 6155 Black & White display, 
12932         blink@, bold@, use=ibm5151, 
12933 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
12934 ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display, 
12935         lines#31, 
12936         dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
12937 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
12938         lines#31, 
12939         dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, 
12940         use=ibmega-c, 
12941 ibm6154|IBM 6154 Color displays, 
12942         blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
12943         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
12944         sgr0=\E[0;10m, use=ibm5154, 
12945 ibm6153|IBM 6153 Black & White display, 
12946         blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
12947         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
12948         sgr0=\E[0;10m, use=ibm5151, 
12949 ibm6153-90|IBM 6153 Black & White display, 
12950         cols#90, lines#36, 
12951         blink@, bold@, use=ibm5151, 
12952 ibm6153-40|IBM 6153 Black & White display, 
12953         cols#40, lines#12, use=ibm6153-90, 
12954 ibm8512|ibm8513|IBM color VGA Terminal, 
12955         am, mir, msgr, 
12956         cols#80, it#8, lines#25, 
12957         acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m, 
12958         clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C, 
12959         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
12960         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL, 
12961         il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A, 
12962         kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, 
12963         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
12964         kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m, 
12965         rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l, 
12966         rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
12967         rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
12968         smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
12969         smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
12970         use=ibm8503, 
12971 hft-c|HFT with Color, 
12972         colors#8, pairs#64, 
12973         acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0, 
12974         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B, 
12975         use=ibm5151, use=ibm+color, 
12976 hft-c-old|HFT with Color PC850, 
12977         colors#8, pairs#64, 
12978         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
12979         use=ibm+color, 
12980 hft-old|AIWS High Function Terminal, 
12981         am, xon, 
12982         cols#80, lines#25, 
12983         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
12984         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
12985         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
12986         ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, 
12987         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
12988         kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
12989         kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
12990         kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q, 
12991         ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m, 
12992         sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color, 
12993 ibm-system1|system1|ibm system/1 computer, 
12994         am, xt, 
12995         cols#80, lines#24, 
12996         bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
12997         cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
12998         ind=^J, 
12999 #       lft-pc850 : IBM Low Function Terminal Device
13000 #    lft "supports" underline, bold, and blink in the sense that the lft code
13001 #    sets all the right bits.  HOWEVER, depending upon the adapter, these
13002 #    attributes may or may not be supported by the device driver.
13003 lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device, 
13004         am, bw, msgr, xon, 
13005         cols#80, it#8, lines#25, 
13006         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
13007         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
13008         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13009         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13010         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
13011         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K, 
13012         home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL, 
13013         il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, 
13014         kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, 
13015         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, 
13016         kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q, 
13017         kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, 
13018         kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, 
13019         kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, 
13020         kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, 
13021         kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, 
13022         kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, 
13023         kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, 
13024         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
13025         kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
13026         kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q, 
13027         kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT, 
13028         rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec, 
13029         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, 
13030         sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
13031         tbc=\E[3g, 
13032 ibm5081|hft|IBM Megapel Color display, 
13033         acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B, 
13034         s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154, 
13035 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, 
13036         eslok, hs, 
13037         lines#33, 
13038         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, 
13039         use=ibmega-c, 
13040 ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display, 
13041         use=hft-c, 
13042 ibm8514|IBM 8514/a color VGA display, 
13043         eslok, hs, 
13044         dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft, 
13045 ibm8514-c|IBM 8514 color display with standout and underline, 
13046         eslok, hs, 
13047         lines#41, 
13048         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
13049         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
13050         use=ibmega-c, 
13051
13052 #
13053 # AIX entries.  IBM ships these with AIX 3.2.5. 
13054 # -- added rc, sc based on manpage -TD
13055 # Note that we could use ibm+16color, but that is not how IBM defines this one.
13056 aixterm|IBM Aixterm Terminal Emulator, 
13057         eslok, hs, 
13058         acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
13059         fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
13060         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, 
13061         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154, 
13062 aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
13063         eslok, hs, 
13064         acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
13065         fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
13066         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
13067         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153, 
13068 aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator, 
13069         eslok, hs, 
13070         bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
13071         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
13072         tsl=\E[?%p1%dT, use=ibm6153, 
13073 jaixterm|IBM Kanji Aixterm Terminal Eemulator, 
13074         acsc@, use=aixterm, 
13075 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
13076         acsc@, use=aixterm-m, 
13077
13078 #### Infoton/General Terminal Corp.
13079 #
13080
13081 # gt100 sounds like something DEC would come out with.  Let's hope they don't.
13082 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
13083         OTbs, am, 
13084         cols#80, lines#24, 
13085         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
13086         cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM, 
13087         ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, 
13088         ind=^J, rmso=\Ea, smso=\Eb, 
13089 i400|infoton 400, 
13090         OTbs, am, 
13091         cols#80, lines#25, 
13092         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
13093         cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
13094         dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
13095         il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
13096 # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
13097 addrinfo, 
13098         am, 
13099         cols#80, lines#24, 
13100         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
13101         cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H, 
13102         ind=^J, ll=^H^\, 
13103 # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
13104 infoton, 
13105         am, 
13106         cols#80, lines#24, 
13107         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
13108         ed=^K, ind=^J, ll=^H^\, 
13109
13110 # The ICL6402 was actually the Kokusai Display System 6402.
13111 # The 6404 was the KDS7372 (color version of the 6402).
13112
13113 # ICL6404 control codes follow:
13114 #
13115 #code            function
13116 #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13117 #ctrl-A          set SOM position at cursor position
13118 #ctrl-G          Bell
13119 #ctrl-H          Backspace
13120 #ctrl-I          Horiz tab
13121 #ctrl-J          Linefeed
13122 #ctrl-K          Cursor up
13123 #ctrl-L          Cursor right
13124 #ctrl-M          Carriage return
13125 #ctrl-N          Disable xon/xoff to host
13126 #ctrl-O          Enable xon/xoff to host
13127 #ctrl-R          Enable bidirectional mode
13128 #ctrl-T          Disable bidirectional mode
13129 #ctrl-V          Cursor down
13130 #ctrl-Z          Clear unprotected data to insert char
13131 #ctrl-^          Cursor home
13132 #ctrl-_          Newline
13133 #
13134 #ESC             lead-in char for multiple character command
13135 #
13136 #ESC space R     execute power on sequence
13137 #ESC ! p1 p2     define scroll region:
13138 #                p1 = scroll top    line:  20h - 37h
13139 #                p1 = scroll bottom line:  20h - 37h
13140 #ESC "           unlock keyboard
13141 #ESC #           lock keyboard
13142 #ESC $           Semi-graphics mode on
13143 #ESC %           Semi-graphics mode off
13144 #ESC &           protect mode on
13145 #ESC '           protect mode off
13146 #ESC (           write protect mode off (full intensity)
13147 #ESC )           write protect mode on (half intensity)
13148 #
13149 #ESC *           clear screen
13150 #ESC +           clear unprotected data to insert char
13151 #ESC ,           clear unprotected data to half intensity spaces
13152 #ESC - p1 p2 p3 p4     address cursor to page, row, column:
13153 #                      p1 = page number  0 - 3
13154 #                      p2 = row          20h - 7fh
13155 #                      p3 = column (lo)  20h - 7fh
13156 #                      p4 = column (hi)  20h - 21h (only 132 col)
13157 #ESC . p1        set cursor style:
13158 #                p1 = 0  invisible cursor
13159 #                p1 = 1  block blinking cursor
13160 #                p1 = 2  block steady cursor
13161 #                p1 = 3  underline blinking cursor
13162 #                p1 = 4  underline steady cursor
13163 #ESC /           transmit cursor location (page, row, column)
13164 #ESC 0 p1 p2 p3 p4     program edit key:
13165 #                      p1 = edit key code: '@'-'S', '`'-'s'
13166 #                      p2 p3 p4 = program data (3 bytes)
13167 #
13168 #ESC 1           set tab
13169 #ESC 2           clear tab at cursor
13170 #ESC 3           clear all tabs
13171 #ESC 4           send unprotect line to cursor
13172 #ESC 5           send unprotect page to cursor
13173 #ESC 6           send line to cursor
13174 #ESC 7           send page to cursor
13175 #ESC 8 n         set scroll mode:
13176 #                n = 0   set jump scroll
13177 #                n = 1   set smooth scroll
13178 #ESC 9 n         control display:
13179 #                n = 0   display off
13180 #                n = 1   display on
13181 #ESC :           clear unprotected data to null
13182 #ESC ;           clear unprotected data to insert char
13183 #
13184 #ESC <           keyclick on
13185 #ESC = p1 p2     address cursor to row, column
13186 #                p1 = row          20h - 7fh
13187 #                p2 = column (lo)  20h - 7fh
13188 #                p3 = column (hi)  20h - 21h (only 132 col)
13189 #ESC >           keyclick off
13190 #ESC ?           transmit cursor location (row, column)
13191 #
13192 #ESC @           copy print mode on
13193 #ESC A           copy print mode off
13194 #ESC B           block mode on
13195 #ESC C           block mode off (conversation mode)
13196 #ESC D F         set full duplex
13197 #ESC D H         set half duplex
13198 #ESC E           line insert
13199 #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
13200 #                0 = black, 1 = red,     2 = green, 3 = yellow
13201 #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
13202 #ESC G n         set serial field attribute (n = 30h - 3Fh)
13203 #ESC H n         full graphics mode:
13204 #                n = 0  exit full graphics mode
13205 #                n = 1  enter full graphics mode
13206 #ESC I           back tab
13207 #ESC J           back page
13208 #ESC K           forward page
13209 #
13210 #ESC L           unformatted page print
13211 #ESC M L         move window left  (132 col mode only)
13212 #ESC M R         move window right (132 col mode only)
13213 #ESC N           set page edit (clear line edit)
13214 #ESC O           set line edit (clear page edit)
13215 #ESC P           formatted page print
13216 #ESC Q           character insert
13217 #ESC R           line delete
13218 #ESC S           send message unprotected only
13219 #ESC T           erase line to insert char
13220 #ESC U           set monitor mode   (see ESC X, ESC u)
13221 #
13222 #ESC V n         select video attribute mode:
13223 #                n = 0   serial field attribute mode
13224 #                n = 1   parallel character attribute mode
13225 #ESC V 2 n       define line attribute:
13226 #                n = 0   single width single height
13227 #                n = 1   single width double height
13228 #                n = 2   double width single height
13229 #                n = 3   double width double height
13230 #ESC V 3 n       select character font:
13231 #                n = 0   system font
13232 #                n = 1   user defined font
13233 #ESC V 4 n       select screen mode:
13234 #                n = 0   page screen mode
13235 #                n = 1   virtual screen mode
13236 #ESC V 5 n       control mouse mode:
13237 #                n = 0   disable mouse
13238 #                n = 1   enable sample mode
13239 #                n = 2   send mouse information
13240 #                n = 3   enable request mode
13241 #ESC W           character delete
13242 #ESC X           clear monitor mode (see ESC U, ESC u)
13243 #ESC Y           erase page to insert char
13244 #
13245 #ESC Z n         send user/status line:
13246 #                n = 0   send user line
13247 #                n = 1   send status line
13248 #                n = 2   send terminal ID
13249 #ESC [ p1 p2 p3  set character attribute (parallel char mode):
13250 #                p1: 0 = normal
13251 #                    1 = blank
13252 #                    2 = blink
13253 #                    3 = blink blank (= blank)
13254 #                    4 = reverse
13255 #                    5 = reverse blank
13256 #                    6 = reverse blink
13257 #                    7 = reverse blink blank (= reverse blank)
13258 #                    8 = underline
13259 #                    9 = underline blank
13260 #                    : = underline blink
13261 #                    ; = underline blink blank
13262 #                    < = reverse underline
13263 #                    = = reverse underline blank
13264 #                    > = reverse underline blink
13265 #                    ? = reverse underline blink blank
13266 #                p2, p3: f/grnd, b/grnd colour
13267 #                (see ESC F for colours)
13268 #                use ZZ for mono, eg.
13269 #                    ESC [ 0 Z Z for normal
13270 #                    ESC [ 4 Z Z for inverse etc.
13271 #
13272 #ESC \ n         set page size:
13273 #                n = 1   24 lines/page
13274 #                n = 2   48 lines/page
13275 #                n = 3   72 lines/page
13276 #                n = 4   96 lines/page
13277 #ESC ] n         set Wordstar mode:
13278 #                n = 0   normal (KDS7372) mode
13279 #                n = 1   Wordstar mode
13280 #
13281 #ESC b           set foreground colour screen
13282 #
13283 #ESC c n         enter self-test mode:
13284 #                n = 0   exit self test mode
13285 #                n = 1   ROM test
13286 #                n = 2   RAM test
13287 #                n = 3   NVRAM test
13288 #                n = 4   screen display test
13289 #                n = 5   main/printer port test
13290 #                n = 6   mouse port test
13291 #                n = 7   graphics board test
13292 #                n = 8   graphics memory test
13293 #                n = 9   display all 'E'
13294 #                n = :   display all 'H'
13295 #ESC d           set background colour screen
13296 #
13297 #ESC e n         program insert char (n = insert char)
13298 #ESC f text CR   load user status line with 'text'
13299 #
13300 #ESC g           display user status line on 25th line
13301 #ESC h           display system status line on 25th line
13302 #ESC i           tab
13303 #ESC j           reverse linefeed
13304 #ESC k n         duplex/local edit mode:
13305 #                n = 0   duplex edit mode
13306 #                n = 1   local edit mode
13307 #ESC l n         select virtual screen:
13308 #                n = 0   screen 1
13309 #                n = 1   screen 2
13310 #ESC m           save current config to NVRAM
13311 #ESC n p1        select display screen:
13312 #                p1 = 0  screen 1
13313 #                p1 = 1  screen 2
13314 #                p1 = 2  screen 3
13315 #                p1 = 3  screen 4
13316 #ESC o p1 p2     set characters/line and attribute:
13317 #                p1 = 0  80 chars/line
13318 #
13319 #ESC o p1 p2     set characters/line and attribute:
13320 #                p1 = 0  80 chars/line
13321 #                p1 = 1  132 chars/line
13322 #                p2 = 0  single width single height
13323 #                p2 = 1  single width double height
13324 #                p2 = 2  double width single height
13325 #                p2 = 3  double width double height
13326 #
13327 #ESC q           insert mode on
13328 #ESC r           edit mode on
13329 #ESC s           send message all
13330 #ESC t           erase line to null
13331 #ESC u           clear monitor mode (see ESC U, ESC X)
13332 #ESC v           autopage mode on
13333 #ESC w           autopage mode off
13334 #ESC x p1 p2 p3  define delimiter code...
13335 #ESC y           erase page to null
13336 #
13337 #ESC z 2 p1 p2 p3 p4   draw quadrangle:
13338 #                      p1 = starting row
13339 #                      p2 = starting column
13340 #                      p3 = end row
13341 #                      p4 = end column
13342 #
13343 #ESC { p1 p2 p3 p4     configure main port
13344 #                      (baud, stop bits, parity, word length)
13345 #
13346 #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
13347 #                        p1 = function key code:
13348 #                             '1' - ';'  normal f1- f11
13349 #                             '<' - 'F'  shifted f1 - f11
13350 #                        p2 = program mode:
13351 #                             1 = FDX
13352 #                             2 = LOC
13353 #                             3 = HDX
13354 #                        Ctrl-Y = terminator
13355 #                        (use Ctrl-P to escape ^P, ^Y )
13356 #
13357 #ESC } p1 p2 p3 p4     configure printer port
13358 #                      (baud, stop bits, parity, word length)
13359 #ESC ~           send system status
13360 #
13361 # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
13362 #
13363 # Entry is by esr going solely on above information and is UNTESTED.
13364 # This actually looks a lot like a Televideo 9xx.
13365 # This entry uses page 0 and is monochrome; I'm not brave enough to try
13366 # to make color work without a test terminal.  The <am> capability is a guess.
13367 # The initialization string sets conversation mode, blinking underline cursor,
13368 # full duplex, parallel attribute mode, display user status line, white
13369 # foreground, black background, normal highlight.
13370 #
13371 icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372, 
13372         OTbs, am, hs, 
13373         cols#80, lines#24, 
13374         bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*, 
13375         cnorm=\E.3, cr=^M, 
13376         csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L, 
13377         cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c, 
13378         cuu1=^K, cvvis=\E.1, dch1=\EW, dl1=\ER, home=^^, ht=^I, 
13379         hts=\E1, il1=\EE, invis=\E[1ZZ, 
13380         is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ, 
13381         rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ, 
13382         rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1, 
13383         sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ, 
13384         sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3, 
13385 icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols, 
13386         rs2=\Eo1, use=icl6404, 
13387
13388 #### Interactive Systems Corp
13389 #
13390 # ISC used to sell OEMed and customized hardware to support ISC UNIX.
13391 # ISC UNIX still exists in 1995, but ISC itself is no more; they got
13392 # bought out by Sun.
13393 #
13394
13395 # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
13396 # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
13397 # ":le=^_:" later overridden -- esr)
13398 intext|Interactive Systems Corporation modified owl 1200, 
13399         OTbs, am, 
13400         cols#80, it#8, lines#24, xmc#1, 
13401         bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J, 
13402         cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\, 
13403         dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>, 
13404         el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H, 
13405         kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
13406         kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r, 
13407         kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<, 
13408         rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%%, 
13409         smso=^V$\,, 
13410 intext2|intextii|INTERACTIVE modified owl 1251, 
13411         am, bw, ul, 
13412         cols#80, lines#24, xmc#0, 
13413         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B, 
13414         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
13415         dl1=\E[M, ed=\E[J, el=\E[K, 
13416         flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
13417         hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
13418         kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r, 
13419         kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, 
13420         kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
13421         khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO, 
13422         lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT, 
13423         lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
13424         smul=\E[18 D, 
13425
13426 #### Kimtron (abm, kt)
13427 #
13428 # Kimtron seems to be history, but as March 1998 these people are still 
13429 # offering repair services for Kimtron equipment:
13430 #
13431 #    Com/Pair Monitor Service
13432 #    1105 N. Cliff Ave.
13433 #    Sioux Falls, South Dakota 57103
13434 #     
13435 #    WATS voice:  1-800/398-4946
13436 #    POTS   fax: +1 605/338-8709
13437 #    POTS voice: +1 605/338-9650
13438 #         Email: <compair@sd.cybernex.net>
13439 #  Internet/Web: <http://www.com-pair.com>
13440 #
13441 # Kimtron entries include (undocumented) codes for: enter dim mode,
13442 # enter bold mode, enter reverse mode, turn off all attributes.
13443 #
13444
13445 # Kimtron ABM 85 added by Dual Systems
13446 # (abm85: removed duplicated ":kd=^J:" -- esr)
13447 abm85|Kimtron ABM 85, 
13448         OTbs, am, bw, msgr, 
13449         cols#80, it#8, lines#24, xmc#1, 
13450         cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
13451         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
13452         dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
13453         if=/usr/share/tabset/stdcrt, il1=\EE, 
13454         is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H, 
13455         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek, 
13456         rmul=\Em, smir=\EQ, smso=\Ej, smul=\El, 
13457 # Kimtron ABM 85H added by Dual Systems.
13458 # Some notes about the abm85h entries:
13459 # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
13460 #    firmware revs prior to SP51
13461 # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
13462 #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
13463 #    in some places and NOT software settable i.e., <is2> can't fix it)
13464 # 3) In 85h mode, the arrow keys and special functions transmit when
13465 #    the terminal is in dup-edit, and work only locally in local-edit.
13466 #    Vi won't swallow `del char' for instance, but <smcup> turns on
13467 #    dup-edit anyway so that the arrow keys will work right. If the
13468 #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
13469 #    <is2>.  Note that 920E mode does not have software commands to toggle
13470 #    between dup and local edit, so you get whatever was set last on the
13471 #    terminal.
13472 # 4) <flash> attribute is nice, but seems too slow to work correctly
13473 #    (\Eb<pad>\Ed)
13474 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
13475 #    are selected, the <xmc@> entry should be removed.
13476 # 6) auto new-line should be on (selectable from setup mode only)
13477 #
13478 # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
13479 abm85h|Kimtron ABM 85H native mode, 
13480         hs, 
13481         xmc@, 
13482         bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@, 
13483         fsl=^M, invis@, 
13484         is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
13485         kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, use=adm+sgr, 
13486         use=abm85, 
13487 abm85e|Kimtron ABM 85H in 920E mode, 
13488         xmc@, 
13489         bel=^G, dim=\E), flash@, 
13490         is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
13491         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85, 
13492 abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
13493         xmc@, 
13494         bel=^G, dim=\E), 
13495         is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
13496         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85, 
13497 # From: <malman@bbn-vax.arpa>
13498 # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
13499 kt7|kimtron model kt-7, 
13500         OTbs, am, 
13501         cols#80, it#8, lines#24, 
13502         cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
13503         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
13504         dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
13505         if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E", 
13506         kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
13507         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, 
13508         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
13509         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
13510         kich1=\EQ, kil1=\EE, tsl=\Ef, use=adm+sgr, 
13511 # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
13512 # other kt7 entry and the adjacent key capabilities).  Removed EE which is
13513 # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
13514 # but we can't figure out what.
13515 kt7ix|kimtron model kt-7 or 70 in IX mode, 
13516         am, bw, 
13517         cols#80, it#8, lines#25, 
13518         acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI, 
13519         civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
13520         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
13521         dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
13522         home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J, 
13523         is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*, 
13524         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER, 
13525         ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
13526         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
13527         kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ, 
13528         nel=^M^J, pulse=\EK, rmacs=\E%%, rmir=, rmso=\EG0, rmul=\EG0, 
13529         sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef, 
13530
13531 #### Microdata/MDIS
13532 #
13533 # This was a line of terminals made by McDonnell-Douglas Information Systems.
13534 # These entries come direct from MDIS documentation.  I have edited them only
13535 # to move primary names of the form p[0-9] * to aliases, and to comment out
13536 # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have 
13537 # also removed the change history; the last version indicates this is
13538 # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
13539 #
13540
13541 # McDonnell Information Systems Terminal Family History
13542 # =========================================
13543 #
13544 # Prism-1, Prism-2 and P99:
13545 #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
13546 #
13547 # Prism-4 and Prism-5:
13548 #       Slightly less ancient range of Microdata terminals. Follow-on from
13549 #       Prism-2, but with many enhancements. P5 has eight display pages.
13550 #
13551 # Prism-6:
13552 #       A special terminal for use with library systems, primarily in Germany.
13553 #       Limited numbers. Similar functionality to P5 (except attributes?).
13554 #
13555 # Prism-7, Prism-8 and Prism-9:
13556 #       More recent range of MDIS terminals, in which P7 and P8
13557 #       replace the P4 & P5, with added functionality, and P9 is the flagship.
13558 #       The P9 has two emulation modes - P8 and ANSI - and includes a
13559 #       large number of the DEC VT220 control sequences. Both
13560 #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
13561 #
13562 # Prism-12 and Prism-14:
13563 #       Latest range, functionally very similar to the P9.  The P14 has a
13564 #       black-on-white overscanning screen.
13565 #
13566 # The terminfo definitions given here are:
13567 #
13568 # p2      - Prism-2 (or Prism-1 or P99).
13569 #
13570 # p4      - Prism-4 (and older P7s & P8s).
13571 # p5      - Prism-5 (or Prism-6).
13572 #
13573 # p7      - Prism-7.
13574 # p8      - Prism-8 (in national or multinational mode).
13575 # p8-w    - 132 column version of p8.
13576 # p9      - Prism-9 in ANSI mode.
13577 # p9-w    - 132 column version of p9.
13578 # p9-8    - Prism-9 in Prism-8 emulation mode.
13579 # p9-8-w  - As p9-8, but with 132 columns.
13580 #
13581 # p12     - Prism-12 in ANSI mode.
13582 # p12-w   - 132 column version of p12.
13583 # p12-m   - Prism-12 in MDC emulation mode.
13584 # p12-m-w - As p12-m, but with 132 columns.
13585 # p14     - Prism-14 in ANSI mode.
13586 # p14-w   - 132 column version of p14.
13587 # p14-m   - Prism-14 in MDC emulation mode.
13588 # p14-m-w - As p14-m, but with 132 columns.
13589 #
13590 # p2: Prism-2
13591 # -----------
13592 #
13593 # Includes Prism-1 and basic P99 without SP or MP loaded.
13594 # The simplest form of Prism-type terminal.
13595 # Basic cursor movement and clearing operations only.
13596 # No video attributes.
13597 # Notes:
13598 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
13599 #  value up, followed by backspace.
13600 #
13601 prism2|MDC Prism-2, 
13602         am, bw, msgr, 
13603         cols#80, lines#24, 
13604         bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
13605         cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
13606         cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
13607         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
13608         ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c, 
13609
13610 # p4: Prism-4
13611 # -----------
13612 #
13613 # Includes early versions of P7 & P8.
13614 # Basic family definition for most Prisms (except P2 and P9 ANSI).
13615 # Notes:
13616 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
13617 #  value up, followed by backspace.
13618 #  Cursor key definitions removed because they interfere with vi and csh keys.
13619 #
13620 prism4|p4|P4|MDC Prism-4, 
13621         am, bw, hs, mc5i, msgr, 
13622         cols#80, lines#24, wsl#72, xmc#1, 
13623         bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
13624         cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
13625         cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
13626         cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
13627         fsl=^]\345, home=^A, 
13628         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
13629         ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
13630         rev=^CD, rmso=^C\s, rmul=^C\s, 
13631         sgr=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
13632         sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
13633         vpa=\013%p1%{32}%+%c, 
13634
13635 # p5: Prism-5
13636 # -----------
13637 #
13638 # Same definition as p4. Includes Prism-6 (not tested!).
13639 # Does not use any multi-page features.
13640 #
13641 prism5|p5|P5|MDC Prism-5, 
13642         use=p4, 
13643
13644 # p7: Prism-7
13645 # -----------
13646 #
13647 # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
13648 # Notes:
13649 #  Use p4 for very early models of P7.
13650 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
13651 #
13652 prism7|p7|P7|MDC Prism-7, 
13653         cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4, 
13654
13655 # p8: Prism-8
13656 # -----------
13657 #
13658 # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
13659 # Supports national and multinational character sets.
13660 # Notes:
13661 #  Alternate char set operations only work in multinational mode.
13662 #  Use p4 for very early models of P8.
13663 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
13664 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
13665 #
13666 prism8|p8|P8|MDC Prism-8, 
13667         cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h, 
13668         vpa=\E[%i%p1%dd, use=p4, 
13669
13670 # p8-w: Prism-8 in 132 column mode
13671 # --------------------------------
13672 #
13673 # 'Wide' version of p8.
13674 # Notes:
13675 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
13676 #
13677 prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode, 
13678         cols#132, 
13679         is2=\E[<12h\E[<14h, use=p8, 
13680
13681 # p9: Prism-9 in ANSI mode
13682 # -------------------------
13683 #
13684 # The "flagship" model of this generation of terminals.
13685 # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
13686 # Notes:
13687 #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
13688 #  Fixes to deal with terminal firmware bugs:
13689 #  . 'ri' uses insert-line since rev index doesn't always
13690 #  . 'sgr0' has extra '0' since esc[m fails
13691 #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
13692 #  Not covered in the current definition:
13693 #  . Labels
13694 #  . Programming Fn keys
13695 #  . Graphic characters (defaults correctly to vt100)
13696 #  . Padding values (sets xon)
13697 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
13698 #
13699 prism9|p9|P9|MDC Prism-9 in ANSII mode, 
13700         am, bw, hs, mc5i, msgr, xenl, xon, 
13701         cols#80, it#8, lines#24, vt#3, wsl#72, 
13702         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, 
13703         clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v, 
13704         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13705         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13706         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
13707         dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX, 
13708         ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`, 
13709         ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
13710         is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D, 
13711         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~, 
13712         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
13713         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
13714         kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
13715         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
13716         khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, 
13717         prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, 
13718         ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
13719         rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 
13720         sc=\E[%y, 
13721         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%;, 
13722         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
13723         tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd, 
13724
13725 # p9-w: Prism-9 in 132 column mode
13726 # --------------------------------
13727 #
13728 # 'Wide' version of p9.
13729 #
13730 prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode, 
13731         cols#132, 
13732         is2=\E[&p\E[<12l\E F\E[<14h, 
13733         rs2=\E[&p\E[<12l\E F\E[<14h, use=p9, 
13734
13735 # p9-8: Prism-9 in P8 mode
13736 # ------------------------
13737 #
13738 # P9 terminal in P8 emulation mode.
13739 # Similar to p8 definition.
13740 # Insertion and deletion operations possible.
13741 #
13742 prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode, 
13743         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
13744         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8, 
13745
13746 # p9-8-w: Prism-9 in P8 and 132 column modes
13747 # ------------------------------------------
13748 #
13749 # P9 terminal in P8 emulation mode and 132 column mode.
13750 #
13751 prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode, 
13752         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
13753         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w, 
13754
13755 # p12: Prism-12 in ANSI mode
13756 # ---------------------------
13757 #
13758 # See p9 definition.
13759 #
13760 prism12|p12|P12|MDC Prism-12 in ANSI mode, 
13761         use=p9, 
13762
13763 # p12-w: Prism-12 in 132 column mode
13764 # ----------------------------------
13765 #
13766 # 'Wide' version of p12.
13767 #
13768 prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode, 
13769         use=p9-w, 
13770
13771 # p12-m: Prism-12 in MDC emulation mode
13772 # -------------------------------------
13773 #
13774 # P12 terminal in MDC emulation mode.
13775 # Similar to p8 definition.
13776 # Insertion and deletion operations possible.
13777 #
13778 prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode, 
13779         use=p9-8, 
13780
13781 # p12-m-w: Prism-12 in MDC emulation and 132 column modes
13782 # -------------------------------------------------------
13783 #
13784 # P12 terminal in MDC emulation mode and 132 column mode.
13785 #
13786 prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode, 
13787         use=p9-8-w, 
13788
13789 # p14: Prism-14 in ANSII mode
13790 # ---------------------------
13791 #
13792 # See p9 definition.
13793 #
13794 prism14|p14|P14|MDC Prism-14 in ANSII mode, 
13795         use=p9, 
13796
13797 # p14-w: Prism-14 in 132 column mode
13798 # ----------------------------------
13799 #
13800 # 'Wide' version of p14.
13801 #
13802 prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode, 
13803         use=p9-w, 
13804
13805 # p14-m: Prism-14 in MDC emulation mode
13806 # -------------------------------------
13807 #
13808 # P14 terminal in MDC emulation mode.
13809 # Similar to p8 definition.
13810 # Insertion and deletion operations possible.
13811 #
13812 prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode, 
13813         use=p9-8, 
13814
13815 # p14-m-w: Prism-14 in MDC emulation and 132 column modes
13816 # -------------------------------------------------------
13817 #
13818 # P14 terminal in MDC emulation mode and 132 column mode.
13819 #
13820 prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode, 
13821         use=p9-8-w, 
13822
13823 # End of McDonnell Information Systems Prism definitions
13824
13825 # These things were popular in the Pick database community at one time
13826 # From: George Land <georgeland@aol.com> 24 Sep 1996
13827 p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition, 
13828         am, bw, hs, mir, 
13829         cols#80, lines#24, ma#1, wsl#78, xmc#1, 
13830         bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
13831         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P, 
13832         ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U, 
13833         kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ, 
13834         kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r, 
13835         kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r, 
13836         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
13837         kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
13838         lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
13839         pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
13840         smul=^C0, 
13841
13842 #### Microterm (act, mime)
13843 #
13844 # The mime1 entries refer to the Microterm Mime I or Mime II.
13845 # The default mime is assumed to be in enhanced act iv mode.
13846 #
13847
13848 # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
13849 # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
13850 # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
13851 # since Sytek insists ^S means xoff.
13852 # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
13853 act4|microterm|microterm act iv, 
13854         OTbs, am, 
13855         cols#80, lines#24, 
13856         bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
13857         cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c, 
13858         cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
13859         ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
13860         il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
13861         kcuu1=^Z, 
13862 # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
13863 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
13864 # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
13865 act5|microterm5|microterm act v, 
13866         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, 
13867         use=act4, 
13868 # Mimes using brightness for standout.  Half bright is really dim unless
13869 # you turn up the brightness so far that lines show up on the screen.
13870 mime-fb|full bright mime1, 
13871         is2=^S\E, rmso=^S, smso=^Y, use=mime, 
13872 mime-hb|half bright mime1, 
13873         is2=^Y\E, rmso=^Y, smso=^S, use=mime, 
13874 # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
13875 # the more plausible ":do=^J:" -- esr)
13876 # uc was at one time disabled to get around a curses bug, be wary of it
13877 mime|mime1|mime2|mimei|mimeii|microterm mime1, 
13878         OTbs, am, 
13879         cols#80, it#8, lines#24, vt#9, 
13880         bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
13881         cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c, 
13882         cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
13883         il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
13884         kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
13885 # These termcaps (for mime2a) put the terminal in low intensity mode
13886 # since high intensity mode is so obnoxious.
13887 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
13888         OTbs, am, 
13889         cols#80, lines#24, 
13890         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13891         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED, 
13892         dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^, 
13893         il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J, 
13894         kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7, 
13895         smir=\EE, smso=\E\:, smul=\E6, 
13896 # This is the preferred mode (but ^X can't be used as a kill character)
13897 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
13898         OTbs, 
13899         cols#80, it#8, lines#24, 
13900         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
13901         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N, 
13902         dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I, 
13903         il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, 
13904         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, 
13905         rmul=\E5, smir=^O, smso=\E8, smul=\E4, 
13906 # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
13907 mime3a|mime1 emulating 3a, 
13908         am@, 
13909         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a, 
13910 mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
13911         it#8, 
13912         dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, 
13913         use=mime3a, 
13914 # Wed Mar  9 18:53:21 1983
13915 # We run our terminals at 2400 baud, so there might be some timing problems at
13916 # higher speeds. The major improvements in this model are the terminal now 
13917 # scrolls down and insert mode works without redrawing the rest of the line
13918 # to the right of the cursor. This is done with a bit of a kludge using the
13919 # exit graphics mode to get out of insert, but it does not appear to hurt
13920 # anything when using vi at least. If you have some users using act4s with
13921 # programs that use curses and graphics mode this could be a problem.
13922 mime314|mm314|mime 314, 
13923         am, 
13924         cols#80, lines#24, 
13925         clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z, 
13926         dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H, 
13927         kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S, 
13928 # Microterm mime 340 from University of Wisconsin
13929 mm340|mime340|mime 340, 
13930         cols#80, lines#24, 
13931         clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13932         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
13933         dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
13934         el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,, 
13935         kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J, 
13936 # This came from University of Wisconsin marked "astro termcap for jooss".
13937 # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
13938 # also added <rmam>/<smam> based  on the init string -- esr)
13939 mt4520-rv|micro-term 4520 reverse video, 
13940         am, hs, msgr, xenl, xon, 
13941         cols#80, it#8, lines#24, wsl#80, 
13942         bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
13943         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
13944         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
13945         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
13946         cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
13947         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h, 
13948         fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
13949         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
13950         is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
13951         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
13952         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
13953         ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100, 
13954         ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m, 
13955         rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
13956         sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
13957         tbc=\E[g, tsl=\E[25;1H, 
13958
13959 # Fri Aug  5 08:11:57 1983
13960 # This entry works for the ergo 4000 with the following setups:
13961 # ansi,wraparound,newline disabled, xon/xoff disabled in both
13962 # setup a & c.
13963 #       
13964 # WARNING!!! There are multiple versions of ERGO 4000 microcode
13965 # Be advised that very early versions DO NOT WORK RIGHT !!  
13966 # Microterm does have a ROM exchange program- use it or lose big
13967 # (ergo400: added <rmam>/<smam> based on the init string -- esr)
13968 ergo4000|microterm ergo 4000, 
13969         da, db, msgr, 
13970         cols#80, lines#66, 
13971         bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B, 
13972         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
13973         dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>, 
13974         el=\E[0K$<13>, ht=^I, il1=\E[1L$<5*>, ind=\ED$<20*>, 
13975         is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
13976         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
13977         kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3, 
13978         lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l, 
13979         rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>, 
13980         smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>, 
13981         smso=\E[7m$<20>, 
13982
13983 #### NCR 
13984 #
13985 # NCR's terminal group was merged with AT&T's when AT&T bought the company.
13986 # For what happened to that group, see the ADDS section.
13987 #
13988 # There is an NCR4103 terminal that's just a re-badged Wyse-50.
13989 #
13990
13991 # The following vendor-supplied termcaps were captured from the Boundless
13992 # Technologies site, 8 March 1998.  I removed all-upper-case names that were
13993 # identical, except for case, to lower-case ones.  I also uncommented the acsc
13994 # capabilities.X
13995 #
13996 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
13997 # DEC vt200/300 with color capabilities added.
13998 ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
13999         colors#8, pairs#64, 
14000         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
14001         use=ncr260vt300an, 
14002 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
14003 # DEC vt200/300 with color capabilities added.
14004 ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
14005         colors#8, pairs#64, 
14006         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
14007         use=ncr260vt300wan, 
14008 # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
14009 # DEC vt200/300 with color capabilities added.
14010 ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard, 
14011         colors#8, pairs#64, 
14012         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
14013         use=ncr260vt300pp, 
14014 # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
14015 # DEC vt200/300 with color capabilities added.
14016 ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode, 
14017         colors#8, pairs#64, 
14018         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
14019         use=ncr260vt300wpp, 
14020 # This definition for ViewPoint supports several attributes.  This means
14021 # that it has magic cookies (extra spaces where the attributes begin).
14022 # Some applications do not function well with magic cookies.  The System
14023 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
14024 # If supporting various attributes is not vital, 'xmc#1' and the extra
14025 # attributes can be removed. 
14026 # Mapping to ASCII character set ('acsc' capability) can also be 
14027 # restored if needed.
14028 ncr260vppp|NCR 2900_260 viewpoint, 
14029         am, bw, hs, km, mc5i, mir, msgr, xon, 
14030         cols#80, lines#24, nlab#32, xmc#1, 
14031         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
14032         cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5, 
14033         cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>, 
14034         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>, 
14035         cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, 
14036         ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, 
14037         hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1, 
14038         is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
14039         kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ, 
14040         kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F, 
14041         kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r, 
14042         kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r, 
14043         kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r, 
14044         kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r, 
14045         kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r, 
14046         kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r, 
14047         kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r, 
14048         kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ, 
14049         kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R, 
14050         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>, 
14051         nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003, 
14052         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
14053         rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
14054         sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq, 
14055         smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF, 
14056 ncr260vpwpp|NCR 2900_260 viewpoint wide mode, 
14057         cols#132, 
14058         cup=\Ea%i%p1%dR%p2%dC$<30>, 
14059         is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
14060         rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
14061         use=ncr260vppp, 
14062 ncr260vt100an|NCR 2900_260 vt100 with ansi kybd, 
14063         am, hs, mir, msgr, xenl, xon, 
14064         cols#80, lines#24, nlab#32, 
14065         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
14066         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
14067         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
14068         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>, 
14069         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
14070         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
14071         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
14072         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
14073         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
14074         ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>, 
14075         fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I, 
14076         hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, 
14077         il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>, 
14078         invis=\E[8m, 
14079         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14080         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14081         kdch1=\E[3~, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, 
14082         knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, 
14083         rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l, 
14084         rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m, 
14085         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14086         sc=\E7, 
14087         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
14088         sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h, 
14089         smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g, 
14090         tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, use=vt220+keypad, 
14091 ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd, 
14092         cols#132, 
14093         cup=\E[%i%p1%d;%p2%dH$<30>, 
14094         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14095         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14096         use=ncr260vt100an, 
14097 ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd, 
14098         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14099         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
14100         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
14101         kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~, 
14102         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, 
14103         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14104         smkx=\E=, use=ncr260vt100an, 
14105 ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd, 
14106         cols#132, 
14107         cup=\E[%i%p1%d;%p2%dH$<30>, 
14108         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14109         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14110         use=ncr260vt100pp, 
14111 ncr260vt200an|NCR 2900_260 vt200 with ansi kybd, 
14112         am, hs, mir, msgr, xenl, xon, 
14113         cols#80, lines#24, nlab#32, 
14114         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
14115         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
14116         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
14117         csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
14118         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
14119         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
14120         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
14121         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
14122         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
14123         ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
14124         fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
14125         ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
14126         ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
14127         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14128         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14129         kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~, 
14130         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
14131         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
14132         kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, 
14133         kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, kf26=\E[1~, 
14134         kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, kf30=\E[5~, 
14135         kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
14136         kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
14137         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
14138         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
14139         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
14140         ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
14141         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
14142         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14143         sc=\E7, 
14144         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
14145         sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
14146         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
14147         tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
14148         use=vt220+keypad, 
14149 ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd, 
14150         cols#132, 
14151         cup=\E[%i%p1%d;%p2%dH$<30>, 
14152         is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
14153         rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
14154         use=ncr260vt200an, 
14155 ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd, 
14156         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
14157         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
14158         kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
14159         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
14160         use=ncr260vt200an, 
14161 ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd, 
14162         cols#132, 
14163         cup=\E[%i%p1%d;%p2%dH$<30>, 
14164         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14165         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14166         use=ncr260vt200pp, 
14167 ncr260vt300an|NCR 2900_260 vt300 with ansi kybd, 
14168         am, hs, mir, msgr, xenl, xon, 
14169         cols#80, lines#24, nlab#32, 
14170         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
14171         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
14172         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
14173         csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
14174         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
14175         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
14176         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
14177         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
14178         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
14179         ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
14180         fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
14181         ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
14182         ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
14183         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14184         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14185         kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~, 
14186         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
14187         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
14188         kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, kf23=\E[33~, 
14189         kf24=\E[34~, kf25=\E[35~, kf26=\E[1~, kf27=\E[2~, 
14190         kf28=\E[3~, kf29=\E[4~, kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, 
14191         kf33=\E[8~, kf34=\E[9~, kf35=\E[10~, kf5=\E[M, kf6=\E[17~, 
14192         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
14193         khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
14194         krdo=\E[29~, kslt=\E[4~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, 
14195         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=\017$<20>, 
14196         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
14197         rmul=\E[24m, 
14198         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14199         sc=\E7, 
14200         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
14201         sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
14202         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
14203         tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
14204         use=vt220+keypad, 
14205 ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd, 
14206         cols#132, 
14207         cup=\E[%i%p1%d;%p2%dH$<30>, 
14208         is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
14209         rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
14210         use=ncr260vt300an, 
14211 ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd, 
14212         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
14213         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
14214         kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
14215         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
14216         use=ncr260vt300an, 
14217 NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd, 
14218         cols#132, 
14219         cup=\E[%i%p1%d;%p2%dH$<30>, 
14220         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14221         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
14222         use=ncr260vt300pp, 
14223 # This terminfo file contains color capabilities for the Wyse325 emulation of 
14224 # the NCR 2900/260C color terminal.  Because of the structure of the command
14225 # (escape sequence) used to set color attributes, one of the fore/background
14226 # colors must be preset to a given value. I have set the background color to
14227 # black.  The user can change this setup by altering the last section of the
14228 # 'setf' definition.  The escape sequence to set color attributes is 
14229 #               ESC d y <foreground_color> <background_color> 1  
14230 # In addition, the background color can be changed through the desk accessories.
14231 # The capablitiy 'op' sets colors to green on black (default combination).  
14232 #
14233 # NOTE:  The NCR Unix System Administrator's Shell will not function properly
14234 #           if the 'pairs' capability is defined. Un-Comment the 'pairs'
14235 #           capability and recompile if you wish to have it included. 
14236 #
14237 ncr260wy325pp|NCR 2900_260 wyse 325, 
14238         am, bw, hs, km, mc5i, mir, msgr, xon, 
14239         colors#16, cols#80, lines#24, ncv#33, nlab#32, 
14240         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
14241         cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M, 
14242         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
14243         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
14244         cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
14245         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I, 
14246         hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
14247         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14248         kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
14249         kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, 
14250         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET, 
14251         kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
14252         kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, 
14253         kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, 
14254         kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, 
14255         kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r, 
14256         kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
14257         kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, 
14258         kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
14259         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
14260         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
14261         rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
14262         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14263         setb=\s, 
14264         setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{64}%e%p1%{8}%=%t%{57}%e%p1%{9}%=%t%{58}%e%p1%{10}%=%t%{59}%e%p1%{11}%=%t%{60}%e%p1%{12}%=%t%{61}%e%p1%{13}%=%t%{62}%e%p1%{14}%=%t%{63}%e%p1%{15}%=%t%{56}%;\Edy%c11$<100>, 
14265         sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/, 
14266         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
14267         tsl=\EF, 
14268 ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode, 
14269         cols#132, 
14270         cup=\Ea%i%p1%dR%p2%dC$<30>, 
14271         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14272         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14273         use=ncr260wy325pp, 
14274 # This definition for Wyse 350 supports several attributes.  This means
14275 # that it has magic cookies (extra spaces where the attributes begin).
14276 # Some applications do not function well with magic cookies.  The System
14277 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
14278 # If supporting various attributes is not vital, 'xmc#1' and the extra
14279 # attributes can be removed. 
14280 # Mapping to ASCII character set ('acsc' capability) can also be 
14281 # restored if needed.
14282 # In addition, color capabilities have been added to this file.  The drawback,
14283 # however, is that the background color has to be black.  The foreground colors
14284 # are numbered 0 through 15.  
14285 #
14286 # NOTE:  The NCR Unix System Administrator's Shell does not function properly
14287 #           with the 'pairs' capability defined as below.  If you wish to
14288 #           have it included, Un-comment it and recompile (using 'tic'). 
14289 #
14290 ncr260wy350pp|NCR 2900_260 wyse 350, 
14291         am, bw, hs, km, mc5i, mir, msgr, xon, 
14292         colors#16, cols#80, lines#24, ncv#33, nlab#32, pairs#16, xmc#1, 
14293         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
14294         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
14295         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
14296         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>, 
14297         cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
14298         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I, 
14299         hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
14300         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14301         kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
14302         kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
14303         kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
14304         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
14305         kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
14306         kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
14307         kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
14308         kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
14309         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
14310         khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
14311         mc0=\EP$<10>, mc4=^T, mc5=^R, 
14312         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>, 
14313         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
14314         rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
14315         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14316         setb=\s, 
14317         setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{102}%e%p1%{8}%=%t%{97}%e%p1%{9}%=%t%{98}%e%p1%{10}%=%t%{99}%e%p1%{11}%=%t%{101}%e%p1%{12}%=%t%{106}%e%p1%{13}%=%t%{110}%e%p1%{14}%=%t%{111}%e%p1%{15}%=%t%{56}%;\Em0%c$<100>, 
14318         sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/, 
14319         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
14320         tsl=\EF, 
14321 ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode, 
14322         cols#132, 
14323         cup=\Ea%i%p1%dR%p2%dC$<30>, 
14324         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
14325         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
14326         use=ncr260wy350pp, 
14327 # This definition for Wyse 50+ supports several attributes.  This means
14328 # that it has magic cookies (extra spaces where the attributes begin).
14329 # Some applications do not function well with magic cookies.  The System
14330 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
14331 # If supporting various attributes is not vital, 'xmc#1' and the extra
14332 # attributes can be removed. 
14333 # Mapping to ASCII character set ('acsc' capability) can also be 
14334 # restored if needed.
14335 # (ncr260wy50+pp: originally contained commented-out 
14336 # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
14337 ncr260wy50+pp|NCR 2900_260 wyse 50+, 
14338         am, bw, hs, km, mc5i, mir, msgr, xon, 
14339         cols#80, lines#24, nlab#32, xmc#1, 
14340         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
14341         cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
14342         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
14343         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>, 
14344         cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
14345         ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>, 
14346         ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>, 
14347         invis=\EG1, 
14348         is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14349         kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
14350         kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
14351         kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
14352         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
14353         kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
14354         kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
14355         kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
14356         kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
14357         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
14358         khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
14359         mc0=\EP$<10>, mc4=^T, mc5=^R, 
14360         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
14361         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
14362         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
14363         rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14364         sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq, 
14365         smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF, 
14366 ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode, 
14367         cols#132, 
14368         cup=\Ea%i%p1%dR%p2%dC$<30>, 
14369         is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
14370         rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
14371         use=ncr260wy50+pp, 
14372 ncr260wy60pp|NCR 2900_260 wyse 60, 
14373         am, bw, hs, km, mc5i, mir, msgr, xon, 
14374         cols#80, lines#24, nlab#32, 
14375         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
14376         cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, 
14377         cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
14378         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
14379         cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
14380         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>, 
14381         ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>, 
14382         invis=\EG1, 
14383         is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14384         kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
14385         kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, 
14386         kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
14387         kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
14388         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
14389         kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, 
14390         kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, 
14391         kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, 
14392         kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, 
14393         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
14394         kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
14395         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>, 
14396         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
14397         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
14398         rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14399         sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/, 
14400         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>, 
14401         tsl=\EF, 
14402 ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode, 
14403         cols#132, 
14404         cup=\Ea%i%p1%dR%p2%dC$<30>, 
14405         is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14406         rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
14407         use=ncr260wy60pp, 
14408 ncr160vppp|NCR 2900_160 viewpoint, 
14409         use=ncr260vppp, 
14410 ncr160vpwpp|NCR 2900_160 viewpoint wide mode, 
14411         use=ncr260vpwpp, 
14412 ncr160vt100an|NCR 2900_160 vt100 with ansi kybd, 
14413         use=ncr260vt100an, 
14414 ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd, 
14415         use=ncr260vt100pp, 
14416 ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd, 
14417         use=ncr260vt100wan, 
14418 ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd, 
14419         use=ncr260vt100wpp, 
14420 ncr160vt200an|NCR 2900_160 vt200 with ansi kybd, 
14421         use=ncr260vt200an, 
14422 ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd, 
14423         use=ncr260vt200pp, 
14424 ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd, 
14425         use=ncr260vt200wan, 
14426 ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd, 
14427         use=ncr260vt200wpp, 
14428 ncr160vt300an|NCR 2900_160 vt300 with ansi kybd, 
14429         use=ncr260vt300an, 
14430 ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd, 
14431         use=ncr260vt300pp, 
14432 ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd, 
14433         use=ncr260vt300wan, 
14434 ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd, 
14435         use=ncr260vt300wpp, 
14436 ncr160wy50+pp|NCR 2900_160 wyse 50+, 
14437         use=ncr260wy50+pp, 
14438 ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode, 
14439         use=ncr260wy50+wpp, 
14440 ncr160wy60pp|NCR 2900_160 wyse 60, 
14441         use=ncr260wy60pp, 
14442 ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode, 
14443         use=ncr260wy60wpp, 
14444 ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal, 
14445         am, hs, mc5i, mir, msgr, xon, 
14446         cols#80, it#8, lines#24, nlab#32, 
14447         acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~, 
14448         bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>, 
14449         clear=\E[2J\E[1;1H$<300>, cr=^M, 
14450         csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>, 
14451         cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>, 
14452         cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>, 
14453         cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>, 
14454         cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>, 
14455         dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>, 
14456         ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>, 
14457         enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>, 
14458         ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>, 
14459         ind=\ED, 
14460         is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>, 
14461         kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D, 
14462         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP, 
14463         kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE, 
14464         rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>, 
14465         rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>, 
14466         rs2=\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
14467         sc=\E7, 
14468         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>, 
14469         sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>, 
14470         smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>, 
14471         tsl=\E[>+1$<70>, 
14472 ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal, 
14473         cols#132, 
14474         is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>, 
14475         rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
14476         use=ncrvt100an, 
14477 #
14478 # Vendor-supplied NCR termcaps end here
14479
14480 # NCR7900 DIP switches:
14481 #
14482 # Switch A:
14483 # 1-4 - Baud Rate
14484 # 5   - Parity (Odd/Even)
14485 # 6   - Don't Send or Do Send Spaces
14486 # 7   - Parity Enable
14487 # 8   - Stop Bits (One/Two)
14488
14489 # Switch B:
14490 # 1   - Upper/Lower Shift
14491 # 2   - Typewriter Shift
14492 # 3   - Half Duplex / Full Duplex
14493 # 4   - Light/Dark Background
14494 # 5-6 - Carriage Return Without / With Line Feed
14495 # 7   - Extended Mode
14496 # 8   - Suppress Keyboard Display
14497
14498 # Switch C:
14499 # 1   - End of line entry disabled/enabled
14500 # 2   - Conversational mode / (Local?) Mode
14501 # 3   - Control characters displayed / not displayed
14502 # 4   - (2-wire?) / 4-wire communications
14503 # 5   - RTS on and off for each character
14504 # 6   - (50Hz?) / 60 Hz
14505 # 7   - Exit after level zero diagnostics
14506 # 8   - RS-232 interface
14507
14508 # Switch D:
14509 # 1   - Reverse Channel (yes / no)
14510 # 2   - Manual answer (no / yes)
14511 # 3-4 - Cursor appearance
14512 # 5   - Communication Rate
14513 # 6   - Enable / Disable EXT turnoff
14514 # 7   - Enable / Disable CR turnoff
14515 # 8   - Enable / Disable backspace
14516 #
14517 # Since each attribute parameter is 0 or 1, we shift each attribute (standout,
14518 # reverse, blink, dim, and underline) the appropriate number of bits (by
14519 # multiplying the 0 or 1 by a correct factor to shift) so the bias character,
14520 # '@' is (effectively) "or"ed with each attribute to generate the proper third
14521 # character in the <ESC>0 sequence.  The <sgr> string implements the following
14522 # equation:
14523 #
14524 # ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
14525 # ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
14526 #
14527 #       Where:  P1 <==> Standout attribute parameter
14528 #               P2 <==> Underline attribute parameter
14529 #               P3 <==> Reverse attribute parameter
14530 #               P4 <==> Blink attribute parameter
14531 #               P5 <==> Dim attribute parameter
14532 # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
14533 ncr7900i|ncr7900|ncr 7900 model 1, 
14534         am, bw, ul, 
14535         cols#80, lines#24, xmc#1, 
14536         bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
14537         cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
14538         is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
14539         kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
14540         rmul=\E0@, 
14541         sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
14542         sgr0=\E0@, smso=\E0Q, smul=\E0`, 
14543 ncr7900iv|ncr 7900 model 4, 
14544         am, bw, eslok, hs, 
14545         cols#80, lines#24, 
14546         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
14547         cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
14548         fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
14549         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
14550         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
14551         khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J, 
14552         tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
14553 # Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
14554 #          The user can enter a CTRL-B to get out of this locked state.
14555 # In <hpa>, we want to output the character given by the formula:
14556 #               ((col / 10) * 16) + (col % 10)          where "col" is "p1"
14557 ncr7901|ncr 7901 model, 
14558         am, bw, ul, 
14559         cols#80, lines#24, 
14560         bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M, 
14561         cub1=^H, cud1=^J, cuf1=^F, 
14562         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
14563         ed=\Ek, el=\EK, 
14564         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
14565         is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
14566         khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
14567         sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
14568         sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
14569         vpa=\013%p1%{64}%+%c, 
14570
14571 #### Perkin-Elmer (Owl)
14572 #
14573 # These are official terminfo entries from within Perkin-Elmer.
14574 #
14575
14576 bantam|pe550|pe6100|perkin elmer 550, 
14577         OTbs, 
14578         cols#80, lines#24, 
14579         bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
14580         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
14581         el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
14582 fox|pe1100|perkin elmer 1100, 
14583         OTbs, am, 
14584         cols#80, lines#24, 
14585         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
14586         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
14587         ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003, 
14588         home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3, 
14589 owl|pe1200|perkin elmer 1200, 
14590         OTbs, am, in, 
14591         cols#80, lines#24, 
14592         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
14593         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
14594         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
14595         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
14596         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
14597         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
14598         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
14599         rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3, 
14600 pe1251|pe6300|pe6312|perkin elmer 1251, 
14601         am, 
14602         cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
14603         bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
14604         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
14605         ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J, 
14606         kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE, 
14607         kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
14608 # (pe7000m: this had
14609 #       rmul=\E!\0, smul=\E!\040, 
14610 # which is probably wrong, it collides with kf0
14611 pe7000m|perkin elmer 7000 series monochrome monitor, 
14612         am, 
14613         cols#80, lines#24, 
14614         bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
14615         cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
14616         ed=\EJ, el=\EI, home=\EH, ind=^J, 
14617         is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
14618         kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A, 
14619         kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
14620         kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
14621         ll=\ES7\s, ri=\ER, 
14622 pe7000c|perkin elmer 7000 series colour monitor, 
14623         is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
14624         rmul=\E!\0, smso=\Eb2, smul=\E!\s, use=pe7000m, 
14625
14626 #### Sperry Univac
14627 #
14628 # Sperry Univac has merged with Burroughs to form Unisys.
14629 #
14630
14631 # This entry is for the Sperry UTS30 terminal running the TTY 
14632 # utility under control of CP/M Plus 1R1. The functionality 
14633 # provided is comparable to the DEC vt100.
14634 # (uts30: I added <rmam>/<smam> based on the init string -- esr)
14635 uts30|sperry uts30 with cp/m@1R1, 
14636         am, bw, hs, 
14637         cols#80, lines#24, wsl#40, 
14638         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
14639         bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L, 
14640         cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, 
14641         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
14642         cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
14643         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, 
14644         dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
14645         ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN, 
14646         ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H, 
14647         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, 
14648         rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
14649         rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
14650         rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
14651         sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m, 
14652         smul=\E[4m, tsl=\E], uc=\EPB, 
14653
14654 #### Tandem
14655 #
14656 # Tandem builds these things for use with its line of fault-tolerant
14657 # transaction-processing computers.  They aren't generally available
14658 # on the merchant market, and so are fairly uncommon.
14659 #
14660
14661 tandem6510|adm3a repackaged by Tandem, 
14662         use=adm3a, 
14663
14664 # A funny series of terminal that TANDEM uses.  The actual model numbers
14665 # have a fourth digit after 653 that designates minor variants.  These are
14666 # natively block-mode and rather ugly, but they have a character mode which
14667 # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
14668 # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
14669 # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
14670 tandem653|t653x|Tandem 653x multipage terminal, 
14671         OTbs, am, da, db, hs, 
14672         cols#80, lines#24, wsl#64, xmc#1, 
14673         clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
14674         cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r, 
14675         ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s, 
14676         rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo, 
14677
14678 #### Tandy/Radio Shack
14679 #
14680 # Tandy has a line of VDTs distinct from its microcomputers.
14681 #
14682
14683 dmterm|deskmate terminal, 
14684         am, bw, 
14685         cols#80, lines#24, 
14686         bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H, 
14687         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
14688         cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
14689         ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB, 
14690         kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4, 
14691         kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0, 
14692         khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, 
14693         lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@, 
14694         use=adm+sgr, 
14695 dt100|dt-100|Tandy DT-100 terminal, 
14696         xon, 
14697         cols#80, lines#24, xmc#1, 
14698         acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
14699         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
14700         csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
14701         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
14702         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
14703         il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
14704         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, 
14705         kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
14706         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H, 
14707         knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5, 
14708         lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
14709         sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
14710 dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
14711         cols#132, use=dt100, 
14712 dt110|Tandy DT-110 emulating ansi, 
14713         xon, 
14714         cols#80, lines#24, 
14715         acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
14716         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
14717         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
14718         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
14719         dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H, 
14720         ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, 
14721         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
14722         kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~, 
14723         kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~, 
14724         khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1, 
14725         lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
14726         lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
14727         smacs=^N, smso=\E[7m, smul=\E[4m, 
14728 pt210|TRS-80 PT-210 printing terminal, 
14729         hc, os, 
14730         cols#80, 
14731         bel=^G, cr=^M, cud1=^J, ind=^J, 
14732
14733 #### Tektronix (tek)
14734 #
14735 # Tektronix tubes are graphics terminals.  Most of them use modified 
14736 # oscilloscope technology incorporating a long-persistence green phosphor,
14737 # and support vector graphics on a main screen with an attached "dialogue
14738 # area" for interactive text.
14739 #
14740
14741 tek|tek4012|tektronix 4012, 
14742         OTbs, os, 
14743         cols#75, lines#35, 
14744         bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J, 
14745         ff=\014$<1000>, is2=\E^O, 
14746 # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
14747 tek4013|tektronix 4013, 
14748         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012, 
14749 tek4014|tektronix 4014, 
14750         cols#81, lines#38, 
14751         is2=\E\017\E9, use=tek4012, 
14752 # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
14753 tek4015|tektronix 4015, 
14754         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014, 
14755 tek4014-sm|tektronix 4014 in small font, 
14756         cols#121, lines#58, 
14757         is2=\E\017\E\:, use=tek4014, 
14758 # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
14759 tek4015-sm|tektronix 4015 in small font, 
14760         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm, 
14761 # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
14762 #
14763 # You need to have "stty nl2" in effect.  Some versions of tset(1) know
14764 # how to set it for you.
14765 #
14766 # It's got the Magic Cookie problem around stand-out mode.  If you can't
14767 # live with Magic Cookie, remove the :so: and :se: fields and do without
14768 # reverse video.  If you like reverse video stand-out mode but don't want
14769 # it to flash, change the letter 'H' to 'P' in the :so: field.
14770 tek4023|tektronix 4023, 
14771         OTbs, am, 
14772         OTdN#4, cols#80, lines#24, vt#4, xmc#1, 
14773         OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, 
14774         cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, 
14775         rmso=^_@, smso=^_P, 
14776 # It is recommended that you run the 4025 at 4800 baud or less;
14777 # various bugs in the terminal appear at 9600.  It wedges at the
14778 # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
14779 # on keyboard don't work.  You have to hit BREAK twice to get
14780 # one break at any speed - this is a documented feature.
14781 # Can't use cursor motion because it's memory relative, and 
14782 # because it only works in the workspace, not the monitor.  
14783 # Same for home. Likewise, standout only works in the workspace.
14784
14785 # <el> was commented out since vi and rogue seem to work better 
14786 # simulating it with lots of spaces!
14787
14788 # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
14789 # and didn't seem necessary.
14790 #
14791 tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
14792         OTbs, am, da, db, 
14793         cols#80, it#8, lines#34, lm#0, 
14794         bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
14795         cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
14796         cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
14797         cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
14798         dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
14799         ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
14800         il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
14801         ind=^F^J, 
14802         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
14803         rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
14804         smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
14805 tek4025-17|tek 4025 17 line window, 
14806         lines#17, use=tek4025, 
14807 tek4025-17-ws|tek 4025 17 line window in workspace, 
14808         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
14809         rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r, 
14810         smso=\037att e\r, use=tek4025-17, 
14811 tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
14812         is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
14813         rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025, 
14814 # Tektronix 4025a
14815 # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
14816 # The following status modes are assumed for normal operation (replace the
14817 # initial "!" by whatever the current command character is):
14818 #       !COM 29                 # NOTE: changes command character to GS (^])
14819 #       ^]DUP
14820 #       ^]ECH R
14821 #       ^]EOL
14822 #       ^]RSS T
14823 #       ^]SNO N
14824 #       ^]STO 9 17 25 33 41 49 57 65 73
14825 # Other modes may be set according to communication requirements.
14826 # If the command character is inadvertently changed, termcap can't restore it.
14827 # Insert-character cannot be made to work on both top and bottom rows.
14828 # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
14829 # There also seems to be a problem with vertical motion, perhaps involving
14830 # delete/insert-line, following a typed carriage return.  This terminal sucks.
14831 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14832 # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
14833 # work any more. -- esr)
14834 tek4025a|Tektronix 4025A, 
14835         OTbs, OTpt, am, bw, da, db, xon, 
14836         cols#80, it#8, lines#34, 
14837         bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^], 
14838         cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;, 
14839         cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;, 
14840         cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;, 
14841         dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;, 
14842         el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I, 
14843         il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;, 
14844         rs2=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;, 
14845         tbc=\035sto;, 
14846 # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
14847 # Here's the command file that I use to get rogue to work on the 4025.
14848 # It should work with any program using the old curses (e.g. it better
14849 # not try to scroll, or cursor addressing won't work.  Also, you can't
14850 # see the cursor.)
14851 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
14852 tek4025-cr|tek 4025 for curses and rogue, 
14853         OTbs, am, 
14854         cols#80, it#8, lines#33, 
14855         clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
14856         cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J, 
14857         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
14858         rmcup=\037wor 0, smcup=\037wor 33h, 
14859 # next two lines commented out since curses only allows 128 chars, sigh.
14860 #       :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:\
14861 #       :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:
14862 tek4025ex|4025ex|4027ex|tek 4025 w/!, 
14863         is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r, 
14864         rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025, 
14865 tek4105|tektronix 4105, 
14866         OTbs, am, mir, msgr, ul, xenl, xt, 
14867         cols#79, it#8, lines#29, 
14868         acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
14869         clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
14870         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
14871         dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
14872         il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m, 
14873         is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B, 
14874         kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T, 
14875         rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m, 
14876         rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m, 
14877         smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
14878         smul=\E[=5;<2m, tbc=\E[1g, 
14879
14880 # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
14881 tek4105-30|4015 emulating 30 line vt100, 
14882         am, mir, msgr, xenl, xon, 
14883         cols#80, it#8, lines#30, vt#3, 
14884         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
14885         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
14886         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
14887         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
14888         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
14889         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
14890         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
14891         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, 
14892         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8, 
14893         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
14894         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
14895         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
14896         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>, 
14897         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
14898         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
14899         use=vt100+fnkeys, 
14900
14901 # Tektronix 4105 from BRL
14902 # The following setup modes are assumed for normal operation:
14903 #       CODE ansi               CRLF no                 DABUFFER 141
14904 #       DAENABLE yes            DALINES 30              DAMODE replace
14905 #       DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
14906 #       FLAGGING input          INSERTREPLACE replace   LFCR no
14907 #       ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
14908 #       SELECTCHARSET G1 0      TABS -2
14909 # Other setup modes may be set for operator convenience or communication
14910 # requirements; I recommend
14911 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
14912 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
14913 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
14914 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
14915 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
14916 #       PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
14917 #       XMTDELAY 0
14918 # and factory color maps.  After setting these modes, save them with NVSAVE. No
14919 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14920 # "IC" cannot be used in combination with "im" & "ei".
14921 # "tek4105a" is just a guess:
14922 tek4105a|Tektronix 4105, 
14923         OTbs, OTpt, msgr, xon, 
14924         OTkn#8, cols#80, it#8, lines#30, vt#3, 
14925         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
14926         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
14927         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
14928         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
14929         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14930         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
14931         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
14932         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
14933         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
14934         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14935         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
14936         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
14937         lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
14938         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
14939         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
14940         rs2=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLA>\ELM0\EKE0\ENF1\EKS0\END0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>, 
14941         sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
14942         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
14943
14944 #
14945 # Tektronix 4106/4107/4109 from BRL
14946 # The following setup modes are assumed for normal operation:
14947 #       CODE ansi               COLUMNMODE 80           CRLF no
14948 #       DABUFFER 141            DAENABLE yes            DALINES 32
14949 #       DAMODE replace          DAVISIBILITY yes        ECHO no
14950 #       EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
14951 #       LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
14952 #       PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
14953 #       TABS -2
14954 # Other setup modes may be set for operator convenience or communication
14955 # requirements; I recommend
14956 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
14957 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
14958 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
14959 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
14960 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
14961 #       PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
14962 #       XMTDELAY 0
14963 # and factory color maps.  After setting these modes, save them with NVSAVE.  No
14964 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14965 # "IC" cannot be used in combination with "im" & "ei".
14966 tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109, 
14967         msgr, xon, 
14968         cols#80, it#8, lines#32, vt#3, 
14969         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
14970         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
14971         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
14972         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
14973         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14974         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
14975         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
14976         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
14977         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
14978         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14979         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
14980         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
14981         lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
14982         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
14983         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
14984         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>, 
14985         sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
14986         smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g, 
14987
14988 tek4107|tek4109|tektronix terminals 4107 4109, 
14989         OTbs, am, mir, msgr, ul, xenl, xt, 
14990         cols#79, it#8, lines#29, 
14991         bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
14992         bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M, 
14993         cub1=^H, cud1=^J, cuf1=\EC, 
14994         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3, 
14995         dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J, 
14996         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
14997         rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
14998         rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
14999         sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>\E%%!0, 
15000         sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0, 
15001         smul=\E%!1\E[4m$<2>\E%!0, 
15002 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
15003 # see the note attached to tek4207.
15004 tek4207-s|Tektronix 4207 with sysline but no memory, 
15005         eslok, hs, 
15006         dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
15007         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, 
15008         is2=\E7\E[?6l\E[2K\E[?6h\E8, 
15009         tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107, 
15010
15011 # The 4110 series may be a wonderful graphics series, but they make the 4025
15012 # look good for screen editing.  In the dialog area, you can't move the cursor
15013 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
15014 # is no way to scroll.
15015
15016 # Note that there is a floppy for free from Tek that makes the 
15017 # 4112 emulate the vt52 (use the vt52 termcap). There is also
15018 # an expected enhancement that will use ANSI standard sequences.
15019
15020 # 4112 in non-dialog area pretending to scroll. It really wraps 
15021 # but vi is said to work (more or less) in this mode.
15022
15023 # 'vi' works reasonably well with this entry.
15024 #
15025 otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
15026         am, 
15027         cols#80, lines#34, 
15028         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J, 
15029         rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0, 
15030 # The 4112 with the ANSI compatibility enhancement
15031 tek4112|tek4114|tektronix 4110 series, 
15032         OTbs, am, db, 
15033         cols#80, lines#34, 
15034         cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
15035         cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M, 
15036         ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
15037         ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8, 
15038         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
15039 tek4112-nd|4112 not in dialog area, 
15040         OTns, 
15041         cuu1=^K, use=tek4112, 
15042 tek4112-5|4112 in 5 line dialog area, 
15043         lines#5, use=tek4112, 
15044 # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
15045 # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
15046 # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
15047 # previously \0410 and \0411 sequences...I don't *think* they were supposed
15048 # to be 4-digit octal -- esr)
15049 tek4113|tektronix 4113 color graphics with 5 line dialog area, 
15050         OTbs, am, da, eo, 
15051         cols#80, lines#5, 
15052         clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
15053         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
15054         is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
15055 tek4113-34|tektronix 4113 color graphics with 34 line dialog area, 
15056         lines#34, 
15057         is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113, 
15058 # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
15059 # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
15060 # :vb: needs enough delay to let you see the background color being toggled.
15061 tek4113-nd|tektronix 4113 color graphics with no dialog area, 
15062         OTbs, am, eo, 
15063         cols#80, it#8, lines#34, 
15064         clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
15065         cvvis=\ELZ\EKA0, 
15066         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
15067         home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @, 
15068         ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
15069 # This entry is from Tek. Inc.  (Brian Biehl)
15070 # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
15071 otek4115|Tektronix 4115, 
15072         OTbs, am, da, db, eo, 
15073         cols#80, it#8, lines#34, 
15074         cbt=\E[Z, clear=\E[H\E[2J, 
15075         cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B, 
15076         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
15077         cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J, 
15078         el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
15079         il1=\E[L, 
15080         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, 
15081         kbs=^H, ri=\EM, rmam=\E[?7l, 
15082         rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
15083         rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
15084         smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m, 
15085         smul=\E[4m, 
15086 tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
15087         am, xon, 
15088         cols#80, lines#34, 
15089         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
15090         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
15091         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15092         cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
15093         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
15094         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
15095         il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
15096         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
15097         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
15098         rmso=\E[m, rmul=\E[m, 
15099         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
15100         sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
15101         vpa=\E[%p1%{1}%+%dd, 
15102 # The tek4125 emulates a vt100 incorrectly - the scrolling region
15103 # command is ignored.  The following entry replaces <csr> with the needed
15104 # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
15105 # chokes on; and adds a lot of initialization for the tek dialog area.
15106 # Note that this entry uses all 34 lines and sets the cursor color to green.
15107 # Steve Jacobson 8/85
15108 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
15109 # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
15110 tek4125|tektronix 4125, 
15111         lines#34, 
15112         csr@, dl1=\E[1M, il1=\E[1L, 
15113         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, 
15114         rc@, sc@, smkx=\E=, use=vt100, 
15115
15116 # From: <jcoker@ucbic>
15117 # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
15118 # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
15119 # note that if jcoker wasn't confused you may be able to use this one.
15120 # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
15121 tek4207|Tektronix 4207 graphics terminal with memory, 
15122         am, bw, mir, msgr, ul, xenl, 
15123         cols#80, it#8, lines#32, 
15124         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>, 
15125         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15126         cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J, 
15127         el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>, 
15128         il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5, 
15129         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, 
15130         kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H, 
15131         rev=\E[7m, ri=\E[T, 
15132         rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
15133         rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m, 
15134         smul=\E[4m, tbc=\E[1g, 
15135
15136 # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
15137 # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
15138 # Tab had been given as \E2I,that must be the tab-set capability -- esr)
15139 tek4404|tektronix 4404, 
15140         OTbs, 
15141         cols#80, it#8, lines#32, 
15142         blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
15143         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
15144         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, 
15145         ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L, 
15146         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
15147         rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
15148         rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
15149         smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h, 
15150         smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
15151 # Some unknown person wrote:
15152 # I added the is string - straight Unix has ESC ; in the login 
15153 # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
15154 # mode). The is string here cleans up a few things (but not 
15155 # everything).
15156 ct8500|tektronix ct8500, 
15157         am, bw, da, db, 
15158         cols#80, lines#25, 
15159         bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J, 
15160         cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER, 
15161         dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\, 
15162         il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s, 
15163         rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!, 
15164
15165 # Tektronix 4205 terminal.
15166 #
15167 # am is not defined because the wrap around occurs not when the char.
15168 # is placed in the 80'th column, but when we are attempting to type
15169 # the 81'st character on the line.  (esr: hmm, this is like the vt100
15170 # version of xenl, perhaps am + xenl would work!)
15171 #
15172 # Bold, dim, and standout are simulated by colors and thus not allowed
15173 # with colors.  The tektronix color table is mapped into the RGB color
15174 # table by setf/setb. All colors are reset to factory specifications by oc.
15175 # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
15176 # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
15177 # interval then maps into pre-defined value.
15178 tek4205|tektronix 4205, 
15179         ccc, mir, msgr, 
15180         colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63, 
15181         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
15182         bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
15183         clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
15184         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
15185         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
15186         dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
15187         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
15188         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
15189         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, 
15190         invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
15191         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
15192         kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
15193         kf7=\ES, 
15194         oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1, 
15195         op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
15196         rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
15197         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%;, 
15198         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%;, 
15199         sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
15200         smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
15201         smul=\E[4m, tbc=\E[1g, 
15202
15203 #### Teletype (tty)
15204 #
15205 # These are the hardcopy Teletypes from before AT&T bought the company,
15206 # clattering electromechanical dinosaurs in Bakelite cases that printed on
15207 # pulpy yellow roll paper.  If you remember these you go back a ways.
15208 # Teletype-branded VDTs are listed in the AT&T section.
15209 #
15210 # The earliest UNIXes were designed to use these clunkers; nroff and a few
15211 # other programs still default to emitting codes for the Model 37.
15212 #
15213
15214 tty33|tty35|model 33 or 35 teletype, 
15215         hc, os, xon, 
15216         cols#72, 
15217         bel=^G, cr=^M, cud1=^J, ind=^J, 
15218 tty37|model 37 teletype, 
15219         OTbs, hc, os, xon, 
15220         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
15221         ind=^J, 
15222
15223 # There are known to be at least three flavors of the tty40, all seem more
15224 # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
15225 # awful braindamage, such as printing a visible newline indicator after each
15226 # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
15227 # braindamaged but has hope and is described here.  The 40-4 is a 3270
15228 # lookalike and beyond hope.  The terminal has visible bell but I don't know
15229 # it - it's null here to prevent it from showing the BL character.
15230 # There is an \EG in <nl> because of a bug in old vi (if stty says you have
15231 # a "newline" style terminal (-crmode) vi figures all it needs is nl
15232 # to get crlf, even if <cr> is not ^M.)
15233 # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
15234 tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
15235         OTbs, xon, 
15236         cols#80, lines#24, 
15237         clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
15238         cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
15239         ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
15240         ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
15241         kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4, 
15242         rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>, 
15243 tty43|model 43 teletype, 
15244         OTbs, am, hc, os, xon, 
15245         cols#132, 
15246         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
15247
15248 #### Tymshare
15249 #
15250
15251 # You can add <is2=\E<> to put this 40-column mode, though I can't
15252 # for the life of me think why anyone would want to.
15253 scanset|sc410|sc415|Tymshare Scan Set, 
15254         am, bw, msgr, 
15255         cols#80, lines#24, 
15256         acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
15257         cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
15258         cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
15259         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
15260         mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
15261
15262 #### Volker-Craig (vc)
15263 #
15264 # If you saw a Byte Magazine cover with a terminal on it during the early
15265 # 1980s, it was probably one of these.  Carl Helmers liked them because
15266 # they could crank 19.2 and were cheap (that is, he liked them until he tried
15267 # to program one...)
15268 #
15269
15270 # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
15271 # every other linefeed.
15272 vc303|vc103|vc203|volker-craig 303, 
15273         OTbs, OTns, am, 
15274         cols#80, lines#24, 
15275         bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
15276         cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, 
15277         kcuu1=^N, ll=\017$<1>W, 
15278 vc303a|vc403a|volker-craig 303a, 
15279         clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
15280         home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303, 
15281 # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
15282 vc404|volker-craig 404, 
15283         OTbs, am, 
15284         cols#80, lines#24, 
15285         bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
15286         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
15287         ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
15288         kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
15289 vc404-s|volker-craig 404 w/standout mode, 
15290         cud1=^J, rmso=^O, smso=^N, use=vc404, 
15291 # From: <wolfgang@cs.sfu.ca>
15292 # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
15293 vc414|vc414h|Volker-Craig 414H in sane escape mode., 
15294         OTbs, am, 
15295         cols#80, lines#24, 
15296         clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
15297         cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
15298         dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R, 
15299         ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P, 
15300         kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE, 
15301         kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, 
15302         lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
15303         rmso=\E^_, smso=\E^Y, 
15304 vc415|volker-craig 415, 
15305         clear=^L, use=vc404, 
15306
15307 ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
15308 #
15309
15310 #### IBM PC and clones
15311 #
15312
15313 # The pcplot IBM-PC terminal emulation program is really messed up. It is
15314 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
15315 # doesn't support scrolling regions, ignores add line commands, and ignores
15316 # delete line commands. Consequently, the resulting behavior looks like a
15317 # crude adm3a-type terminal.
15318 # Steve Jacobson 8/85
15319 pcplot|pc-plot terminal emulation program, 
15320         xenl@, 
15321         csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100, 
15322 # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
15323 # I've found that my KayPro II, running MDM730, continues to emulate an
15324 # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
15325 # system the following termcap entry works well:
15326 # I have noticed a couple of minor glitches, but nothing I can't work
15327 # around. (I added two capabilities from the BRL entry -- esr)
15328 kaypro|kaypro2|kaypro II, 
15329         OTbs, am, 
15330         cols#80, lines#24, 
15331         bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L, 
15332         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W, 
15333         el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
15334
15335 # From IBM, Thu May  5 19:35:27 1983
15336 # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
15337 ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
15338         OTbs, am, 
15339         cols#80, lines#24, 
15340         bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
15341         cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
15342
15343 ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX, 
15344         OTbs, am, bw, eo, hs, km, msgr, ul, 
15345         cols#80, it#8, lines#24, 
15346         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
15347         bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
15348         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
15349         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15350         cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
15351         home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B, 
15352         indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H, 
15353         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
15354         kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241, 
15355         kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247, 
15356         kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V, 
15357         ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A, 
15358         rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m, 
15359         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
15360         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
15361
15362 #### Apple II
15363 #
15364 # Apple II firmware console first, then various 80-column cards and 
15365 # terminal emulators.  For two cents I'd toss all these in the UFO file
15366 # along with the 40-column apple entries.
15367 #
15368
15369 # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
15370 #       'it#8' tells UNIX that you have tabs every 8 columns.  This is a
15371 #               function of TIC, not the firmware.
15372 #       The clear key on a IIgs will do something like clear-screen, 
15373 #               depending on what you're in.
15374 appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface, 
15375         OTbs, am, bw, eo, msgr, 
15376         cols#80, it#8, lines#24, 
15377         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
15378         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
15379         home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J, 
15380         kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N, 
15381         smso=^O, 
15382 # Apple //e with 80-column card, entry from BRL
15383 # The modem interface is permitted to discard LF (maybe DC1), otherwise
15384 # passing characters to the 80-column firmware via COUT (PR#3 assumed).
15385 # Auto-wrap does not work right due to newline scrolling delay, which also
15386 # requires that you set "stty cr2".
15387 # Note: Cursor addressing is only available via the Pascal V1.1 entry,
15388 # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
15389 # using a terminal emulation program instead of the built-in firmware.
15390 apple2e|Apple //e, 
15391         bw, msgr, 
15392         cols#80, lines#24, 
15393         bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_, 
15394         ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W, 
15395         is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K, 
15396         nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
15397         smso=^O, 
15398 # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
15399 # 4.20, with incoming and outgoing terminals both on 0, emulation On.
15400 apple2e-p|Apple //e via Pascal, 
15401         cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H, 
15402         kcud1=^J, use=apple2e, 
15403 # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
15404 # Enable DC3/DC1 flow control with "stty ixon -ixany".
15405 apple-ae|ASCII Express, 
15406         OTbs, am, bw, msgr, nxon, xon, 
15407         cols#80, it#8, lines#24, 
15408         bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
15409         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
15410         home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J, 
15411         kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
15412         smso=^O, 
15413 appleII|apple ii plus, 
15414         OTbs, am, 
15415         cols#80, it#8, lines#24, 
15416         clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
15417         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6, 
15418         ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
15419         is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N, 
15420         smso=^O, 
15421 # Originally by Gary Ford 21NOV83
15422 # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
15423 apple-80|apple II with smarterm 80 col, 
15424         OTbs, am, bw, 
15425         cols#80, lines#24, 
15426         cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J, 
15427         cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
15428         ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
15429 apple-soroc|apple emulating soroc 120, 
15430         am, 
15431         cols#80, lines#24, 
15432         bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
15433         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
15434         home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
15435 # From Peter Harrison, Computer Graphics Lab, San Francisco
15436 #   ucbvax!ucsfmis!harrison  .....uucp
15437 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
15438 # "These two work.  If you don't have the inverse video chip for the
15439 # Apple with videx then remove the :so: and :se: fields."
15440 # (apple-videx: this used to be called DaleApple -- esr)
15441 apple-videx|Apple with videx videoterm 80 column board with inverse video, 
15442         OTbs, am, xenl, 
15443         cols#80, it#8, lines#24, 
15444         clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
15445         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
15446         home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y, 
15447         rmso=^Z2, sgr0=^Z2, smso=^Z3, 
15448 # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
15449 #                             Apple Cat ][ 212 modem, + more all
15450 #                             controlled by ASCII Express: Pro.
15451 # From Dave Shaver <isucs1!shaver>
15452 apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell, 
15453         OTbs, am, eo, xt, 
15454         cols#80, lines#24, 
15455         acsc=, clear=^L, cuf1=^\, 
15456         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
15457         flash=^W35^W06, home=^Y, 
15458         is2=^V4^W06\017\rVisible Bell Installed.\016\r\n, 
15459         rmso=^N, smso=^O, 
15460 apple-uterm|Ultraterm for Apple micros, 
15461         OTbs, am, eo, xt, 
15462         cols#80, lines#24, 
15463         acsc=, clear=^L, cuf1=^\, 
15464         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
15465         home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O, 
15466 # from trwrba!bwong (Bradley W. Wong):
15467 #
15468 # This entry assumes that you are using an apple with the UCSD Pascal
15469 # language card.  SYSTEM.MISCINFO is assumed to be the same as that
15470 # supplied with the standard apple except that screenwidth should be set
15471 # using SETUP to 80 columns.  Note that the right arrow in not mapped in
15472 # this termcap entry.  This is because that key, on the Apple, transmits
15473 # a ^U and would thus preempt the more useful "up" function of vi.
15474 #
15475 # HMH 2/23/81
15476 apple80p|80-column apple with Pascal card, 
15477         am, bw, 
15478         cols#80, lines#24, 
15479         clear=^Y^L, cuf1=^\\:, 
15480         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
15481         home=^Y, kcub1=^H, 
15482 #
15483 # Apple II+ equipped with Videx 80 column card
15484 #
15485 # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
15486 # manually converted by D A Gwyn
15487 #
15488 # DO NOT use any terminal emulation with this data base, it works directly
15489 # with the Videx card.  This has been tested with vi 1200 baud and works fine.
15490 #
15491 # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
15492 # 1 screen, while in R2 ^U doesn't.
15493 # For inverse alternate character set add:
15494 #       <smacs>=^O:<rmacs>=^N:
15495 # (apple-v: added it#8 -- esr)
15496 apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520), 
15497         am, xenl, 
15498         cols#80, it#8, lines#24, 
15499         bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H, 
15500         cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
15501         cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>, 
15502         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
15503         khome=^Y, rmso=^Z2, smso=^Z3, 
15504 apple-videx3|vapple|Apple II with 80 col card, 
15505         OTbs, am, 
15506         cols#80, lines#24, 
15507         clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
15508         cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
15509         kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, 
15510         kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%%, kf9=\E&, khome=\EH, 
15511 #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
15512 aepro|Apple II+ running ASCII Express Pro--vt52, 
15513         OTbs, 
15514         cols#80, lines#24, 
15515         clear=\014$<300/>, cuf1=\EC, 
15516         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
15517         el=\EK, home=\EH, 
15518 # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
15519 apple-vm80|ap-vm80|apple with viewmax-80, 
15520         OTbs, 
15521         cols#80, lines#24, 
15522         clear=\014$<300/>, cuf1=^\\:, 
15523         cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_, 
15524         ed=\013$<300/>, el=^], home=\031$<200/>, 
15525
15526 #### Apple Lisa & Macintosh
15527 #
15528
15529 # (lisa: changed <cvvis> to <cnorm> -- esr)
15530 lisa|apple lisa console display (black on white), 
15531         OTbs, am, eo, msgr, 
15532         cols#88, it#8, lines#32, 
15533         acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L, 
15534         cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
15535         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
15536         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
15537         is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15538         kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
15539         sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
15540 liswb|apple lisa console display (white on black), 
15541         is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
15542         smso=\E[m, smul=\E[4m, use=lisa, 
15543
15544 # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
15545 # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
15546 #
15547 # These entries assume that the 'Auto Wraparound' is enabled.
15548 # Xon-Xoff flow control should also be enabled.
15549 #
15550 # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
15551 # settings are in non-volatile memory and don't need to be reset upon login.
15552 # Also setting the number of columns glitches the screen annoyingly.
15553 # You can type "reset" to get them set.
15554 #
15555 lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation, 
15556         OTbs, OTpt, am, xenl, xon, 
15557         OTkn#4, cols#80, it#8, lines#24, vt#3, 
15558         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
15559         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
15560         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
15561         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
15562         el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, 
15563         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ, 
15564         kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8, 
15565         rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
15566         rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r, 
15567         sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
15568         tbc=\E[3g, 
15569 # Lisaterm in 132 column ("wide") mode.
15570 lisaterm-w|Apple Lisa with Lisaterm in 132 column mode, 
15571         cols#132, 
15572         kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm, 
15573 # Although MacTerminal has insert/delete line, it is commented out here
15574 # since it is much faster and cleaner to use the "lock scrolling region"
15575 # method of inserting and deleting lines due to the MacTerminal implementation.
15576 # Also, the "Insert/delete ch" strings have an extra character appended to them
15577 # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
15578 # supported by MacTerminal.
15579 mac|macintosh|Macintosh with MacTerminal, 
15580         xenl, 
15581         OTdN#30, 
15582         blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa, 
15583 # Lisaterm in 132 column ("wide") mode.
15584 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode, 
15585         cols#132, use=mac, 
15586
15587 # The AppKit Terminal.app descriptions all have names beginning with
15588 # "nsterm". Note that the statusline (-s) versions use the window
15589 # titlebar as a phony status line, and may produce warnings during
15590 # compilation as a result ("tsl uses 0 parameters, expected 1".) Ignore
15591 # these warnings, or even ignore these entries entirely. Apps which
15592 # need to position the cursor or do other fancy stuff inside the status
15593 # line won't work with these entries. They're primarily useful for
15594 # programs like Pine which provide simple notifications in the status
15595 # line. Please note that non-ASCII characters don't work right in the
15596 # status line, since Terminal.app incorrectly interprets their Unicode
15597 # codepoints as MacRoman codepoints.
15598
15599 # * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
15600 #   "nsterm" to comply with the name length and case conventions and
15601 #   limitations of various software packages [notably Solaris terminfo
15602 #   and UNIX.] A single Apple_Terminal alias is retained for
15603 #   backwards-compatbility.
15604
15605 # * Added function key support (F1-F4). These only work in Terminal.app
15606 #   version 51, hopefully the capabilities won't cause problems for people
15607 #   using version 41.
15608
15609 # * Added "full color" (-c) entries which support the 16-color mode in
15610 #   version 51.
15611
15612 # * By default, version 51 uses UTF-8 encoding with broken altcharset
15613 #   support, so "ASCII" (-7) entries without altcharset support were
15614 #   added.
15615
15616 # nsterm - AppKit Terminal.app
15617 #
15618 # Apple's Mac OS X includes a Terminal.app derived from the old NeXT
15619 # Terminal.app. It is a partial VT100 emulation with some xterm-like
15620 # extensions. This terminfo was written to describe versions 41
15621 # (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
15622 # version 10.1) of Terminal.app.
15623 #
15624 # Terminal.app runs under the Mac OS X Quartz windowing system (and
15625 # other AppKit-supported windowing systems.)  On the Mac OS X machine I
15626 # use, the executable for Terminal.app is:
15627 # /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
15628 #
15629 # If you're looking for a description of the full-screen system
15630 # console which runs under Apple's Darwin operating system on PowerPC
15631 # platforms, see the "xnuppc" entry instead.
15632 #
15633 # There were no function keys in version 41. In version 51, there are
15634 # four working function keys (F1, F2, F3 and F4.) The function keys
15635 # are included in all of these entries.
15636 #
15637 # It does not support mouse pointer position reporting. Under some
15638 # circumstances the cursor can be positioned using option-click; this
15639 # works by comparing the cursor position and the selected position,
15640 # and simulating enough cursor-key presses to move the cursor to the
15641 # selected position. This technique fails in all but the simplest
15642 # applications.
15643 #
15644 # It provides partial ANSI color support (background colors interacted
15645 # badly with bold in version 41, though, as reflected in :ncv:.) The
15646 # monochrome (-m) entries are useful if you've disabled color support
15647 # or use a monochrome monitor. The full color (-c) entries are useful
15648 # in version 51, which doesn't exhibit the background color bug. They
15649 # also enable an xterm-compatible 16-color mode.
15650 #
15651 # The configurable titlebar is set using xterm-compatible sequences;
15652 # it is used as a status bar in the statusline (-s) entries. Its width
15653 # depends on font sizes and window sizes, but 50 characters seems to
15654 # be the default for an 80x24 window.
15655 #
15656 # The MacRoman character encoding is used for some of the alternate
15657 # characters in the "MacRoman" entries; the "ASCII" (-7) entries
15658 # disable alternate character set support entirely, and the "VT100"
15659 # (-acs) entries rely instead on Terminal.app's own buggy VT100
15660 # graphics emulation, which seems to think the character encoding is
15661 # the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
15662 # are useful in Terminal.app version 51, which supports UTF-8 and
15663 # other ASCII-compatible character encodings but does not correctly
15664 # implement VT100 graphics; once VT100 graphics are correctly
15665 # implemented in Terminal.app, the "VT100" (-acs) entries should be
15666 # usable in any ASCII-compatible character encoding [except perhaps
15667 # in UTF-8, where some experts argue for disallowing alternate
15668 # characters entirely.]
15669 #
15670 # Terminal.app reports "vt100" as the terminal type, but exports
15671 # several environment variables which may aid detection in a shell
15672 # profile (i.e. .profile or .login):
15673 #
15674 # TERM=vt100
15675 # TERM_PROGRAM=Apple_Terminal
15676 # TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
15677 # TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
15678 #
15679 # For example, the following Bourne shell script would detect the
15680 # correct terminal type:
15681 #
15682 # if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
15683 # then
15684 #     export TERM
15685 #     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
15686 #     then
15687 #         TERM="nsterm"
15688 #     else
15689 #         TERM="nsterm-c-7"
15690 #     fi
15691 # fi
15692 #
15693 # In a C shell derivative, this would be accomplished by:
15694 #
15695 # if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
15696 #     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
15697 #          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
15698 #              setenv TERM "nsterm"
15699 #          else
15700 #              setenv TERM "nsterm-c-7"
15701 #          endif
15702 #     endif
15703 # endif
15704
15705 # The '+' entries are building blocks
15706 nsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset, 
15707         am, bw, msgr, xenl, xon, 
15708         cols#80, it#8, lines#24, 
15709         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
15710         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
15711         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
15712         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
15713         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
15714         home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
15715         kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
15716         kent=\EOM, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
15717         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
15718         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
15719         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m, 
15720         sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
15721         smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, 
15722         u8=\E[?1;2c, u9=\E[c, use=vt100+pfkeys, 
15723
15724 nsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset, 
15725         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
15726         enacs=\E(B\E)0, rmacs=^O, 
15727         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
15728         smacs=^N, use=nsterm+7, 
15729
15730 nsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset, 
15731         acsc=0#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377, 
15732         enacs=\E(B\E)0, rmacs=^O, 
15733         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
15734         smacs=^N, use=nsterm+7, 
15735
15736 nsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support, 
15737         hs, 
15738         wsl#50, 
15739         dsl=\E]2;\007, fsl=^G, tsl=\E]2;, 
15740
15741 nsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors), 
15742         op=\E[0m, use=ibm+16color, 
15743
15744 nsterm+c41|AppKit Terminal.app v41 color support, 
15745         colors#8, ncv#37, pairs#64, 
15746         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
15747
15748 # These are different combinations of the building blocks
15749
15750 # ASCII charset (-7)
15751 nsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome), 
15752         use=nsterm+7, 
15753
15754 nsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline), 
15755         use=nsterm+s, use=nsterm+7, 
15756
15757 nsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color), 
15758         use=nsterm+c41, use=nsterm+7, 
15759
15760 nsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color), 
15761         use=nsterm+c, use=nsterm+7, 
15762
15763 nsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline), 
15764         use=nsterm+s, use=nsterm+c41, use=nsterm+7, 
15765
15766 nsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline), 
15767         use=nsterm+s, use=nsterm+c, use=nsterm+7, 
15768
15769 # VT100 alternate-charset (-acs)
15770 nsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome), 
15771         use=nsterm+acs, 
15772
15773 nsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline), 
15774         use=nsterm+s, use=nsterm+acs, 
15775
15776 nsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color), 
15777         use=nsterm+c41, use=nsterm+acs, 
15778
15779 nsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color), 
15780         use=nsterm+c, use=nsterm+acs, 
15781
15782 nsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline), 
15783         use=nsterm+s, use=nsterm+c41, use=nsterm+acs, 
15784
15785 nsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline), 
15786         use=nsterm+s, use=nsterm+c, use=nsterm+acs, 
15787
15788 # MacRoman charset
15789 nsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome), 
15790         use=nsterm+mac, 
15791
15792 nsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline), 
15793         use=nsterm+s, use=nsterm+mac, 
15794
15795 nsterm|Apple_Terminal|AppKit Terminal.app v41+ w/MacRoman charset (color), 
15796         use=nsterm+c41, use=nsterm+mac, 
15797
15798 nsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color), 
15799         use=nsterm+c, use=nsterm+mac, 
15800
15801 nsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline), 
15802         use=nsterm+s, use=nsterm+c41, use=nsterm+mac, 
15803
15804 nsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline), 
15805         use=nsterm+s, use=nsterm+c, use=nsterm+mac, 
15806
15807 # xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
15808 #
15809 # On PowerPC platforms, Apple's Darwin operating system uses a
15810 # full-screen system console derived from a NetBSD framebuffer
15811 # console. It is an ANSI-style terminal, and is not really VT-100
15812 # compatible.
15813 #
15814 # Under Mac OS X, this is the system console driver used while in
15815 # single-user mode [reachable by holding down Command-S during the
15816 # boot process] and when logged in using console mode [reachable by
15817 # typing ">console" at the graphical login prompt.]
15818 #
15819 # If you're looking for a description of the Terminal.app terminal
15820 # emulator which runs under the Mac OS X Quartz windowing system (and
15821 # other AppKit-supported windowing systems,) see the "nsterm"
15822 # entry instead.
15823 #
15824 # NOTE: Under Mac OS X version 10.1, the default login window does not
15825 # prompt for user name, instead requiring an icon to be selected from
15826 # a list of known users. Since the special ">console" login is not in
15827 # this list, you must make one of two changes in the Login Window
15828 # panel of the Login section of System Prefs to make the special
15829 # ">console" login accessible. The first option is to enable 'Show
15830 # "Other User" in list for network users', which will add a special
15831 # "Other..." icon to the graphical login panel. Selecting "Other..."
15832 # will present the regular graphical login prompt. The second option
15833 # is to change the 'Display Login Window as:' setting to 'Name and
15834 # password entry fields', which replaces the login panel with a
15835 # graphical login prompt.
15836 #
15837 # There are no function keys, at least not in Darwin 1.3.
15838 #
15839 # It has no mouse support.
15840 #
15841 # It has full ANSI color support, and color combines correctly with
15842 # all three supported attributes: bold, inverse-video and underline.
15843 # However, bold colored text is almost unreadable (bolding is
15844 # accomplished using shifting and or-ing, and looks smeared) so bold
15845 # has been excluded from the list of color-compatible attributes
15846 # [using (ncv)]. The monochrome entry (-m) is useful if you use a
15847 # monochrome monitor.
15848 #
15849 # There is one serious bug with this terminal emulation's color
15850 # support: repositioning the cursor onto a cell with non-matching
15851 # colors obliterates that cell's contents, replacing it with a blank
15852 # and displaying a colored cursor in the "current" colors. There is
15853 # no complete workaround at present [other than using the monochrome
15854 # (-m) entries,] but removing the (msgr) capability seemed to help.
15855 #
15856 # The "standout" chosen was simple reverse-video, although a colorful
15857 # standout might be more aesthetically pleasing. Similarly, the bold
15858 # chosen is the terminal's own smeared bold, although a simple
15859 # color-change might be more readable. The color-bold (-b) entries
15860 # uses magenta colored text for bolding instead. The fancy color (-f
15861 # and -f2) entries use color for bold, standout and underlined text
15862 # (underlined text is still underlined, though.)
15863 #
15864 # Apparently the terminal emulator does support a VT-100-style
15865 # alternate character set, but all the alternate character set
15866 # positions have been left blank in the font. For this reason, no
15867 # alternate character set capabilities have been included in this
15868 # description. The console driver appears to be ASCII-only, so (enacs)
15869 # has been excluded [although the VT-100 sequence does work.]
15870 #
15871 # The default Mac OS X and Darwin installation reports "vt100" as the
15872 # terminal type, and exports no helpful environment variables. To fix
15873 # this, change the "console" entry in /etc/ttys from "vt100" to
15874 # "xnuppc-WxH", where W and H are the character dimensions of your
15875 # console (see below.)
15876 #
15877 # The font used by the terminal emulator is apparently one originally
15878 # drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
15879 # file includes descriptions for the following geometries:
15880 #
15881 #     Pixels        Characters   Entry Name (append -m for monochrome)
15882 #    -------------------------------------------------------------------
15883 #     640x400       80x25        xnuppc-80x25
15884 #     640x480       80x30        xnuppc-80x30
15885 #     720x480       90x30        xnuppc-90x30
15886 #     800x600       100x37       xnuppc-100x37
15887 #     896x600       112x37       xnuppc-112x37
15888 #     1024x640      128x40       xnuppc-128x40
15889 #     1024x768      128x48       xnuppc-128x48
15890 #     1152x768      144x48       xnuppc-144x48
15891 #     1280x1024     160x64       xnuppc-160x64
15892 #     1600x1024     200x64       xnuppc-200x64
15893 #     1600x1200     200x75       xnuppc-200x75
15894 #     2048x1536     256x96       xnuppc-256x96
15895 #
15896 # The basic "xnuppc" entry includes no size information, and the
15897 # emulator includes no reporting capability, so you'll be at the mercy
15898 # of the TTY device (which reports incorrectly on my hardware.) The
15899 # color-bold entries do not include size information.
15900
15901 # The '+' entries are building blocks
15902 xnuppc+basic|Darwin PowerPC Console basic capabilities, 
15903         am, bce, mir, xenl, 
15904         it#8, 
15905         bold=\E[1m, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
15906         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
15907         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15908         cuu=\E[%p1%dA, cuu1=\E[A, dsl=\E]2;\007, ed=\E[J, el=\E[K, 
15909         el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=\177, 
15910         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8, 
15911         rev=\E[7m, ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, 
15912         rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
15913         sc=\E7, 
15914         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
15915         sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
15916         smul=\E[4m, tbc=\E[3g, use=vt100+keypad, 
15917
15918 xnuppc+c|Darwin PowerPC Console ANSI color support, 
15919         colors#8, ncv#32, pairs#64, 
15920         op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
15921
15922 xnuppc+b|Darwin PowerPC Console color-bold support, 
15923         ncv#32, 
15924         bold=\E[35m, 
15925         sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
15926         use=xnuppc+basic, 
15927
15928 xnuppc+f|Darwin PowerPC Console fancy color support, 
15929         ncv#35, 
15930         sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%p3%t;7%;m, 
15931         smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b, 
15932
15933 xnuppc+f2|Darwin PowerPC Console alternate fancy color support, 
15934         ncv#35, 
15935         bold=\E[33m, 
15936         sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%p3%t;7%;m, 
15937         smso=\E[31;47m, smul=\E[34m, use=xnuppc+basic, 
15938
15939 # Building blocks for specific screen sizes
15940 xnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels), 
15941         cols#80, lines#25, 
15942
15943 xnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels), 
15944         cols#80, lines#30, 
15945
15946 xnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels), 
15947         cols#90, lines#30, 
15948
15949 xnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels), 
15950         cols#100, lines#37, 
15951
15952 xnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels), 
15953         cols#112, lines#37, 
15954
15955 xnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels), 
15956         cols#128, lines#40, 
15957
15958 xnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels), 
15959         cols#128, lines#48, 
15960
15961 xnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels), 
15962         cols#144, lines#48, 
15963
15964 xnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels), 
15965         cols#160, lines#64, 
15966
15967 xnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels), 
15968         cols#200, lines#64, 
15969
15970 xnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels), 
15971         cols#200, lines#75, 
15972
15973 xnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels), 
15974         cols#256, lines#96, 
15975
15976 # These are different combinations of the building blocks
15977
15978 xnuppc-m|darwin-m|Darwin PowerPC Console (monochrome), 
15979         use=xnuppc+basic, 
15980
15981 xnuppc|darwin|Darwin PowerPC Console (color), 
15982         use=xnuppc+c, use=xnuppc+basic, 
15983
15984 xnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold), 
15985         use=xnuppc+b, 
15986
15987 xnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold), 
15988         use=xnuppc+b, use=xnuppc+c, 
15989
15990 xnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome), 
15991         use=xnuppc+f, 
15992
15993 xnuppc-f|darwin-f|Darwin PowerPC Console (fancy color), 
15994         use=xnuppc+f, use=xnuppc+c, 
15995
15996 xnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome), 
15997         use=xnuppc+f2, 
15998
15999 xnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color), 
16000         use=xnuppc+f2, use=xnuppc+c, 
16001
16002 # Combinations for specific screen sizes
16003 xnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25, 
16004         use=xnuppc+80x25, use=xnuppc+basic, 
16005
16006 xnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25, 
16007         use=xnuppc+c, use=xnuppc+80x25, use=xnuppc+basic, 
16008
16009 xnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30, 
16010         use=xnuppc+80x30, use=xnuppc+basic, 
16011
16012 xnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30, 
16013         use=xnuppc+c, use=xnuppc+80x30, use=xnuppc+basic, 
16014
16015 xnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30, 
16016         use=xnuppc+90x30, use=xnuppc+basic, 
16017
16018 xnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30, 
16019         use=xnuppc+c, use=xnuppc+90x30, use=xnuppc+basic, 
16020
16021 xnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37, 
16022         use=xnuppc+100x37, use=xnuppc+basic, 
16023
16024 xnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37, 
16025         use=xnuppc+c, use=xnuppc+100x37, use=xnuppc+basic, 
16026
16027 xnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37, 
16028         use=xnuppc+112x37, use=xnuppc+basic, 
16029
16030 xnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37, 
16031         use=xnuppc+c, use=xnuppc+112x37, use=xnuppc+basic, 
16032
16033 xnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40, 
16034         use=xnuppc+128x40, use=xnuppc+basic, 
16035
16036 xnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40, 
16037         use=xnuppc+c, use=xnuppc+128x40, use=xnuppc+basic, 
16038
16039 xnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48, 
16040         use=xnuppc+128x48, use=xnuppc+basic, 
16041
16042 xnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48, 
16043         use=xnuppc+c, use=xnuppc+128x48, use=xnuppc+basic, 
16044
16045 xnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48, 
16046         use=xnuppc+144x48, use=xnuppc+basic, 
16047
16048 xnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48, 
16049         use=xnuppc+c, use=xnuppc+144x48, use=xnuppc+basic, 
16050
16051 xnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64, 
16052         use=xnuppc+160x64, use=xnuppc+basic, 
16053
16054 xnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64, 
16055         use=xnuppc+c, use=xnuppc+160x64, use=xnuppc+basic, 
16056
16057 xnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64, 
16058         use=xnuppc+200x64, use=xnuppc+basic, 
16059
16060 xnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64, 
16061         use=xnuppc+c, use=xnuppc+200x64, use=xnuppc+basic, 
16062
16063 xnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75, 
16064         use=xnuppc+200x75, use=xnuppc+basic, 
16065
16066 xnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75, 
16067         use=xnuppc+c, use=xnuppc+200x75, use=xnuppc+basic, 
16068
16069 xnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96, 
16070         use=xnuppc+256x96, use=xnuppc+basic, 
16071
16072 xnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96, 
16073         use=xnuppc+c, use=xnuppc+256x96, use=xnuppc+basic, 
16074
16075 #### Radio Shack/Tandy
16076 #
16077
16078 # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
16079 # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
16080 # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
16081 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
16082         OTbs, am, 
16083         cols#80, it#8, lines#24, 
16084         bel=^G, blink=^_", bold=\E\:^A, civis=^E\s, 
16085         clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F, 
16086         cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
16087         dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
16088         kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
16089         sgr0=\037!\E\:\0, smso=^_\s, smul=^_", 
16090 # (trs2: removed obsolete ":nl=^_:" -- esr)
16091 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
16092         OTbs, am, msgr, 
16093         cols#80, it#8, lines#24, 
16094         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
16095         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B, 
16096         el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\, 
16097         kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N, 
16098 # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
16099 # (This had extension capabilities
16100 #       :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
16101 #       :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
16102 # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
16103 trs16|trs-80 model 16 console, 
16104         OTbs, am, 
16105         cols#80, it#8, lines#24, 
16106         acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L, 
16107         cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
16108         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
16109         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
16110         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
16111         kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, 
16112         khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, 
16113         lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, 
16114         smacs=\ERG, smso=\ERD, 
16115
16116 #### Atari ST
16117 #
16118
16119 # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
16120 atari|atari st, 
16121         OTbs, am, 
16122         cols#80, it#8, lines#25, 
16123         clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
16124         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
16125         ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB, 
16126         kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep, 
16127 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
16128 # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
16129 uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
16130         lines#49, 
16131         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, 
16132         use=vt220, 
16133 # MiNT VT52 emulation. 80 columns, 25 rows.
16134 # MiNT is Now TOS, the operating system which comes with all Ataris now
16135 # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
16136 # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
16137 # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
16138 st52|Atari ST with VT52 emulation, 
16139         am, km, 
16140         cols#80, lines#25, 
16141         bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED, 
16142         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
16143         cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 
16144         ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
16145         kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M, 
16146         kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>, 
16147         kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
16148         kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek, 
16149         ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq, 
16150         smcup=\Ee, smso=\Ep, 
16151  
16152 #### Commodore Business Machines
16153 #
16154 # Formerly located in West Chester, PA; went spectacularly bust in 1994
16155 # after years of shaky engineering and egregious mismanagement.  Made one
16156 # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
16157 # C-128, VIC-20).  The C-64 is said to have been the most popular machine
16158 # ever (most units sold); they can still be found gathering dust in closets
16159 # everywhere.
16160 #
16161
16162 # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
16163 # Added a few more entries, converted caret-type control sequence (^x) entries
16164 # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
16165 # Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
16166 #
16167 # :as:, :ae:                    Support for alternate character sets.
16168 # :ve=\E[\040p:vi=\E[\060\040p: cursor visible/invisible.
16169 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
16170 #     This one appears to fix a problem I always had with a line ending
16171 #     at 'width+1' (I think) followed by a blank line in vi. The blank
16172 #     line tended to disappear and reappear depending on how the screen
16173 #     was refreshed. Note that this is probably needed only if you use
16174 #     something like a Dnet Fterm with the window sized to some peculiar
16175 #     dimension larger than 80 columns.
16176 # :k0=\E9~:     map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
16177 # (amiga: removed obsolete :kn#10:,
16178 # also added empty <acsc> to suppress a warning --esr)
16179 amiga|Amiga ANSI, 
16180         OTbs, am, bw, xenl, 
16181         cols#80, lines#24, 
16182         acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
16183         civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD, 
16184         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
16185         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
16186         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
16187         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
16188         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
16189         indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, 
16190         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[9~, 
16191         kf1=\E[0~, kf2=\E[1~, kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, 
16192         kf6=\E[5~, kf7=\E[6~, kf8=\E[7~, kf9=\E[8~, rev=\E[7m, 
16193         ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, rmul=\E[m, 
16194         rs1=\Ec, sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
16195
16196 # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
16197 # (amiga: added empty <acsc> to suppress a warning.
16198 # I'm told this entry screws up badly with AS225, the Amiga
16199 # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
16200 amiga-h|Hans Verkuil's Amiga ANSI, 
16201         OTbs, bw, msgr, 
16202         cols#80, lines#24, 
16203         acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
16204         civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M, 
16205         cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
16206         cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
16207         cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
16208         dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
16209         home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S, 
16210         indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H, 
16211         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
16212         kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~, 
16213         kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
16214         kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
16215         rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m, 
16216         rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
16217         smso=\2337m, smul=\2334m, 
16218
16219 # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
16220 amiga-8bit|Amiga ANSI using 8-bit controls, 
16221         acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L, 
16222         ind=\204, indn@, ri=\215, rin@, use=amiga-h, 
16223
16224 # From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
16225 # requires use of appropriate preferences settings.
16226 amiga-vnc|Amiga using VNC console (black on light gray), 
16227         am, da, db, msgr, ndscr, 
16228         btns#1, colors#16, cols#80, lines#24, lm#0, ncv#0, pairs#256, 
16229         bel=^G, blink=\E[7;2m, bold=\E[1m, civis=\E[0p, 
16230         clear=\E[H\E[J, cnorm=\E[p\E[>?6l, cr=^M, 
16231         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
16232         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
16233         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
16234         cvvis=\E[>?6h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
16235         dl=\E[%p1%dM, dl1=\E[1M, ed=\E[J, el=\E[K, flash=^G, 
16236         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
16237         indn=\E[%p1%dS, invis=\E8m, 
16238         is2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h, 
16239         kbs=^H, kcbt=\233Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
16240         kcuu1=\E[A, kdch1=\177, kf0=\E[9~, kf1=\E[0~, kf2=\E[1~, 
16241         kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, kf6=\E[5~, kf7=\E[6~, 
16242         kf8=\E[7~, kf9=\E[8~, khlp=\E[?~, khome=\E[44~, kll=\E[45~, 
16243         kmous=\E[M, knp=\E[42~, kpp=\E[41~, nel=\EE, oc=\E[0m, 
16244         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=\E[?7h\E[r\E[J, 
16245         rmkx=\E[?1l, rmso=\E[21m, rmul=\E[24m, rs1=\Ec, 
16246         rs2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h, 
16247         setab=\E[%?%p1%{8}%>%t%'F'%p1%+%d%e4%p1%d%;m, 
16248         setaf=\E[%?%p1%{8}%>%t%'2'%p1%+%d%e3%p1%d%;m, 
16249         sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h, 
16250         smso=\E[1m, smul=\E[4m, 
16251
16252 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
16253 #       I'm trying to write a termcap for a commodore b-128, and I'm
16254 # having a little trouble. I've had to map most of my control characters
16255 # to something that unix will accept (my delete-char is a ctrl-t, etc),
16256 # and create some functions (like cm), but thats life.
16257 #       The problem is with the arrow keys - right, and up work fine, but
16258 # left deletes the previous character and down I just can't figure out.
16259 # Jove knows what I want, but I don't know what it's sending to me (it
16260 # isn't thats bound to next-line in jove).
16261 #       Anybody got any ideas? Here's my termcap.
16262 # DAG -- I changed his "^n" entries to "\n"; see if that works.
16263 #
16264 commodore|b-128|Commodore B-128 micro, 
16265         am, bw, 
16266         OTdN#20, cols#80, lines#24, pb#150, 
16267         OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J, 
16268         cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P, 
16269         dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>, 
16270         home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>, 
16271         kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=, 
16272         smir=, 
16273
16274 #### North Star
16275 #
16276 # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
16277 northstar|North Star Advantage, 
16278         OTbs, 
16279         cols#80, lines#24, 
16280         clear=\004$<200/>, 
16281         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>, 
16282         el=\016$<200/>, home=\034\032$<200/>, 
16283
16284 #### Osborne
16285 #
16286 # Thu Jul  7 03:55:16 1983
16287 #       
16288 # As an aside, be careful; it may sound like an anomaly on the 
16289 # Osborne, but with the 80-column upgrade, it's too easy to 
16290 # enter lines >80 columns!
16291 #       
16292 # I've already had several comments...
16293 # The Osborne-1 with the 80-col option is capable of being 
16294 # 52, 80, or 104 characters wide; default to 80 for compatibility 
16295 # with most systems.
16296 #       
16297 # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
16298 osborne-w|osborne1-w|osborne I in 104-column mode, 
16299         msgr, ul, xt, 
16300         cols#104, lines#24, 
16301         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
16302         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
16303         dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
16304         kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El, 
16305 # Osborne I     from ptsfa!rhc (Robert Cohen) via BRL
16306 osborne|osborne1|osborne I in 80-column mode, 
16307         OTbs, am, mir, msgr, ul, xhp, 
16308         OTdB#4, cols#80, lines#24, 
16309         clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
16310         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
16311         dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
16312         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
16313         rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
16314 #
16315 # Osborne Executive definition from BRL
16316 # Similar to tvi920
16317 # Added by David Milligan and Tom Smith (SMU)
16318 osexec|Osborne executive, 
16319         OTbs, am, 
16320         OTug#1, cols#80, lines#24, xmc#1, 
16321         OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
16322         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
16323         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
16324         is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
16325         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
16326         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
16327         kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej, 
16328         smul=\El, tbc=\E3, 
16329
16330 #### Console types for obsolete UNIX clones
16331 #
16332 # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
16333 # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
16334 # were commercial, Minix an educational tool sold in conjunction with a book.
16335 # Memory-segmentation limits and a strong tendency to look like V7 long after
16336 # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
16337 # and Minix were ported to 32-bit Intel boxes, only to be run over by a
16338 # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
16339 # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
16340 # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
16341 # even as single processes under SunOS and the Macintosh OS.
16342 #
16343
16344 # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
16345 minix|minix console (v1.7), 
16346         am, xenl, 
16347         cols#80, it#8, lines#25, 
16348         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
16349         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
16350         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
16351         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
16352         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
16353         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
16354         is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
16355         kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, 
16356         kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
16357         lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
16358         rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
16359 # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
16360 minix-old|minix console (v1.5), 
16361         xon, 
16362         cols#80, it#8, lines#25, 
16363         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
16364         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
16365         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
16366         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
16367         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
16368         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
16369         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
16370         kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
16371         khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
16372         rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
16373 # The linewrap option can be specified by editing /usr/include/minix/config.h
16374 # before recompiling the minix 1.5 kernel.
16375 minix-old-am|minix console with linewrap, 
16376         am, use=minix-old, 
16377
16378 pc-minix|minix console on an Intel box, 
16379         use=klone+acs, use=minix, 
16380
16381 # According to the Coherent 2.3 manual, the PC console is similar
16382 # to a z19. The differences seem to be (1) 25 lines, (2) no status
16383 # line, (3) standout is broken, (4) ins/del line is broken, (5)
16384 # has blinking and bold.
16385 pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
16386         am, mir, 
16387         cols#80, it#8, lines#25, 
16388         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
16389         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN, 
16390         ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
16391         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
16392         rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep, 
16393
16394 # According to the Venix 1.1 manual, the PC console is similar
16395 # to a DEC vt52.  Differences seem to be (1) arrow keys send 
16396 # different strings, (2) enhanced standout, (3) added insert/delete line.
16397 # Note in particular that it doesn't have automatic margins.
16398 # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
16399 # not described here because this derives from an old termcap entry.
16400 pc-venix|venix|IBM PC console running Venix, 
16401         cols#80, it#8, lines#25, 
16402         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
16403         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
16404         ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK, 
16405         kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI, 
16406
16407 #### Miscellaneous microcomputer consoles
16408 #
16409 # If you know anything more about any of these, please tell me.
16410 #
16411
16412 # The MAI Basic Four computer was obsolete at the end of the 1980s.
16413 # It may be used as a terminal by putting it in "line" mode as seen on 
16414 # one of the status lines.
16415 # Initialization is similar to CIT80. <is2> will set ANSI mode for you.  
16416 # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
16417 # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I 
16418 # used \ED instead.
16419 # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
16420 mai|basic4|MAI Basic Four in ansi mode, 
16421         am, da, db, mir, msgr, 
16422         cols#82, it#8, lines#25, 
16423         bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h, 
16424         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X, 
16425         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P, 
16426         dl1=\E[M, ed=^_, el=^^, home=^], ht=^I, 
16427         if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED, 
16428         is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
16429         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
16430         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
16431         kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T, 
16432         rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
16433         smir=\E[4h, smso=\E[7m, smul=\E[4m, 
16434 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
16435 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
16436 #
16437 # On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
16438 # The Basis 108 was a Apple II clone, manufactured by the "Basis
16439 # Mikrocomputer GmbH" in Munster, Germany (the company still exists today,  
16440 # about 1,5 km from where I live, but doesn't build own computers any
16441 # more). A Basis 108 featured a really heavy (cast aluminium?) case, was
16442 # equipped with one or two 5.25" disk drives, had a monochrome and colour
16443 # video output for a TV set or a dedicated monitor and several slots for
16444 # Apple II cards. Basis 108 were quite popular at german schools before
16445 # the advent of the IBM PC. They run, for example, the UCSD Pascal
16446 # development system (which I used even in 1993 to program the steering
16447 # and data recording for our school's experimental solar panel :), Apple DOS
16448 # or CP/M.
16449 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
16450 basis|BASIS108 computer with terminal translation table active, 
16451         clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H, 
16452         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E), 
16453         smso=\E(, use=adm3a, 
16454 # luna's BMC terminal emulator
16455 luna|luna68k|LUNA68K Bitmap console, 
16456         cols#88, lines#46, use=ansi-mini, 
16457 megatek|pegasus workstation terminal emulator, 
16458         am, os, 
16459         cols#83, lines#60, 
16460 # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
16461 # interface (pre-Macintosh by several years) that went nowhere.
16462 xerox820|x820|Xerox 820, 
16463         am, 
16464         cols#80, lines#24, 
16465         bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
16466         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X, 
16467         home=^^, ind=^J, 
16468
16469 #### Videotex and teletext
16470 #
16471
16472 # \E\:1}        switch to te'le'informatique mode (ascii terminal/ISO 6429)
16473 # \E[?3l        80 columns
16474 # \E[?4l        scrolling on
16475 # \E[12h        local echo off
16476 # \Ec           reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
16477 # \E)0          G1 DEC set (line graphics)
16478 #
16479 # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
16480 m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique, 
16481         OTbs, eslok, hs, xenl, 
16482         cols#80, it#8, lines#24, wsl#72, xmc#0, 
16483         acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
16484         blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J, 
16485         cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
16486         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
16487         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
16488         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
16489         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J, 
16490         home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, ip=$<7/>, 
16491         is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0, 
16492         is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
16493         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp, 
16494         kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, 
16495         kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H, 
16496         kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H, 
16497         mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
16498         rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
16499         rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, 
16500         smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
16501         u6=\E[%i%d;%dR, u7=\E[6n, 
16502
16503 # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
16504 #
16505 minitel1|minitel 1, 
16506         am, bw, eslok, hs, hz, msgr, 
16507         colors#8, cols#40, lines#24, pairs#8, 
16508         acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L, 
16509         cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
16510         cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X, 
16511         enacs=^Y, fsl=^J, home=^^, ind=^J, 
16512         is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG, 
16513         rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\, 
16514         setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;, 
16515         sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;, 
16516         sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c, 
16517 # is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
16518 minitel1b|minitel 1-bistandard (in 40cols mode), 
16519         mir, 
16520         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
16521         cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
16522         dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L, 
16523         is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D, 
16524         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
16525         kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l, 
16526         smir=\E[4h, smkx=\E;iYA\E;jYC, use=minitel1, 
16527 # <rmkx> posait des problemes (logout en sortant de vi).
16528 minitel1b-80|minitel 1-bistandard (standard teleinformatique), 
16529         am@, bw@, hz@, 
16530         colors@, cols#80, it#8, pairs@, 
16531         blink=\E[5m, bold=\E[1m, civis=\037@A\024\n, 
16532         clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C, 
16533         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
16534         ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq, 
16535         kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw, 
16536         kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m, 
16537         ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@, 
16538         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
16539         sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, use=minitel1b, 
16540
16541 ######## OBSOLETE VDT TYPES
16542 #
16543 # These terminals are *long* dead -- these entries are retained for
16544 # historical interest only.
16545
16546 #### Amtek Business Machines
16547 #
16548
16549 # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
16550 # but these caps were commented out in 8.3; also, removed overridden
16551 # ":do=^J:" -- esr)
16552 abm80|amtek business machines 80, 
16553         OTbs, am, bw, 
16554         cols#80, lines#24, 
16555         cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
16556         cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
16557         dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
16558
16559 #### Bell Labs blit terminals
16560 #
16561 # These were AT&T's official entries.  The 5620 FAQ maintained by 
16562 # David Breneman <daveb@dgtl.com> has this to say:
16563 #
16564 #  Actually, in the beginning was the Jerq, and the Jerq was white with a
16565 #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
16566 #  was good.  But lo, upon the horizon loomed a mighty management-type person
16567 #  (known now only by the initials VP) who said, the mighty Jerq must stay
16568 #  alone, and could not go forth into the world. So Locanthi and Pike put the
16569 #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
16570 #  world. And the Jerq lived the rest of its days in research, but never
16571 #  strayed from those paths.
16572 #
16573 #  In all seriousness, the Blit was originally known as the Jerq, but when
16574 #  it started to be shown outside of the halls of the Bell Labs Research
16575 #  organization, the management powers that be decided that the name could
16576 #  not remain. So it was renamed to be Blit. This was in late 1981.
16577 #
16578 # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
16579 # 730, and 730+.)
16580 #
16581
16582 blit|jerq|blit running teletype rom, 
16583         am, eo, ul, xon, 
16584         cols#87, it#8, lines#72, 
16585         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
16586         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
16587         dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c, 
16588         dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!, 
16589         il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, 
16590         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
16591
16592 # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
16593 cbblit|fixterm|blit running columbus code, 
16594         cols#88, 
16595         ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d, 
16596         rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!, 
16597         smul=\EU", use=blit, 
16598
16599 oblit|ojerq|first version of blit rom, 
16600         am, da, db, eo, mir, ul, xon, 
16601         cols#88, it#8, lines#72, 
16602         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
16603         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO, 
16604         dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G, 
16605         ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER, 
16606         smir=\EQ, 
16607
16608 #### Bolt, Beranek & Newman (bbn)
16609 #
16610 # The BitGraph was a product of the now-defunct BBN Computer Corporation.
16611 # The parent company, best known as the architects of the Internet, is
16612 # still around.
16613 #
16614 # Jeff DelPapa <dp@world.std.com> writes:
16615 # The bitgraph was a large white box that contained a monochrome bitmap
16616 # display, and a 68000 to run it.  You could download code and run it on
16617 # the cpu, it had 128kb (I think) of memory.  I used one in the late
16618 # 70's, sure beat a vt100.  It had one strange feature tho -- it used
16619 # the cpu to bitblt pixels to scroll, it took longer than the refresh
16620 # rate, and looked like a rubber sheet stretching, then snapping
16621 # upwards.  It had everything the early mac had, except a floppy drive a
16622 # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
16623 # Beranek and Neuman) sold at most a few hundred of them to the real
16624 # world.  DOD may have bought more...
16625
16626
16627 # Entries for the BitGraph terminals.  The problem 
16628 # with scrolling in vi can only be fixed by getting BBN to put 
16629 # smarter scroll logic in the terminal or changing vi or padding 
16630 # scrolls with about 500 ms delay.
16631 #       
16632 # I always thought the problem was related to the terminal 
16633 # counting newlines in its input buffer before scrolling and 
16634 # then moving the screen that much. Then vi comes along and 
16635 # paints lines in on the bottom line of the screen, so you get 
16636 # this big white gap.
16637
16638 bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
16639         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
16640         use=bg2.0, 
16641 bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
16642         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
16643         use=bg2.0, 
16644 bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
16645         OTbs, xenl, 
16646         cols#85, lines#64, 
16647         bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
16648         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
16649         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>, 
16650         ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, 
16651         ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
16652         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, 
16653         lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7, 
16654         sgr0=\E[m, smkx=\E=, smso=\E[7m, 
16655
16656 bg1.25rv|bbn bitgraph 1.25 (reverse video), 
16657         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
16658         use=bg1.25, 
16659 bg1.25nv|bbn bitgraph 1.25 (normal video), 
16660         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
16661         use=bg1.25, 
16662 # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
16663 bg1.25|bbn bitgraph 1.25, 
16664         cols#85, lines#64, 
16665         bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B, 
16666         cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
16667         dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
16668         il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB, 
16669         kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, 
16670         lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l, 
16671         rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
16672         smso=\E[7m, 
16673
16674 #### Bull (bq, dku, vip)
16675 #
16676 # (Adapted for terminfo; AIX extension capabilities translated -- esr)
16677
16678 #============================================#
16679 # BULL QUESTAR 210 `SDP' terminals emulation #
16680 #============================================#
16681 #
16682 # Description written by R.K.Saunders (Bull Transac)
16683 #
16684 # Modifications written by F. Girard (Bull MTS)
16685 #               19-05-87 V02.00.01
16686 #               17-12-87 V02.00.02
16687 #               15-09-89 V02.00.05
16688 #
16689 #       Typical technical selections F1 (modes SDP/ROLL):
16690 # -------------------------------------------------------
16691 # |   01   02   03   04   05   06   07   08   09   10   |
16692 # |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
16693 # |                                                     |
16694 # |   11   12   13   14   15   16   17   18   19   20   |
16695 # |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
16696 # |                                                     |
16697 # |   21   22   23   24   25   26   27   28   29   30   |
16698 # |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
16699 # |                                                     |
16700 # |   31   32   33   34   35   36   37   38   39   40   |
16701 # |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
16702 # -------------------------------------------------------
16703 #       Typical firmware identification F5 "etat 6":
16704 #  P287.02.04b  (AZERTY)
16705 #  P297.11.04   (24-pin: 2732)  or P798.11.04   (28-pin: 2764)
16706 #  P298.03.03   (monochrome)    or P374.03.02   (colour)
16707 #
16708 #       SM SDP mode (VIP command):      ^[[?=h
16709 #       RIS (erases screen):            ^[c
16710 #       DMI disable keyboard:           ^[`
16711 #       SM double rendition mode:       ^[[?>h
16712 #       RM solicited status mode:       ^[[5l
16713 #       RM character mode:              ^[[>l
16714 #       RM echoplex mode:               ^[[12l
16715 #       RM column tab mode:             ^[[18l
16716 #       RM forbid SS2 keyboard mode:    ^[[?<l
16717 #       SM scroll mode:                 ^[[=h
16718 #       FCF enable XON/XOFF:            ^[P1s^[\
16719 #       MTL select end msg character:   ^[[^Wp
16720 #       EMI enable keyboard:            ^[b
16721 #       RIS retour etat initial:        ^[c
16722 #       enable FC keypad:               ^[[?<h,
16723 #       MPW map status line window:     ^[PY99:98^[\
16724 #       SCP select status line:         ^[[0;98v
16725 #       ED erase entire partition:      ^[[2J
16726 #       SCP select main partition:      ^[[v
16727 #       SM character insertion mode:    ^[[4h
16728 #       RM character replacement mode:  ^[[4l
16729 #       COO cursor on:                  ^[[r
16730 #       COO cursor off:                 ^[[1r
16731 #       SGR dim (turquoise) rev attr:   ^[[2;7m
16732 #       SGR Data normal attr:           ^[[m
16733 #       SO Line-graphic mode ON:        ^N
16734 #       SI Line-graphic mode OFF:       ^O
16735 #       MC start routing to printer:    ^[[5i
16736 #       MC stop routing to printer:     ^M^[[4i
16737 #
16738
16739 # This entry covers the following terminals:
16740 # dku7102, tws2102, and tws models 2105 to 2112
16741 tws-generic|dku7102|Bull Questar tws terminals, 
16742         am, eslok, hs, mir, msgr, xenl, xhp@, xon, 
16743         cols#80, it#8, lines#24, wsl#80, 
16744         acsc=``aaffggj)k\,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~, 
16745         bel=^G, blink=\E[0;5m, cbt=\E[Z, civis=\E[1r, clear=\E[2J, 
16746         cnorm=\E[r, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
16747         cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
16748         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
16749         dim=\E[0;2m, dl=\E[%p1%dM, dl1=\E[M, 
16750         dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[v, ed=\E[J, el=\E[K, 
16751         fsl=\E[v, home=\E[H, ht=\E[I, hts=\EH, il=\E[%p1%dL, 
16752         il1=\E[L, ind=^J, invis=\E[0;8m, 
16753         is1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\, 
16754         is2=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p, 
16755         is3=\Eb\E[?<h, kbs=^H, kcbt=\E[Z, kctab=\E[g, kcub1=\E[D, 
16756         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
16757         ked=\E[J, kel=\E[K, kf1=\E[1u\027, kf2=\E[2u\027, 
16758         kf3=\E[3u\027, kf4=\E[4u\027, kf5=\E[5u\027, 
16759         kf6=\E[6u\027, kf7=\E[7u\027, kf8=\E[8u\027, khome=\E[H, 
16760         khts=\EH, kil1=\E[L, krmir=\E[4l, ll=\E[H\E[A, mc0=\E[0i, 
16761         mc4=\r\E[4i, mc5=\E[5i, rev=\E[0;7m, rmacs=^O, 
16762         rmcup=\E[0;98v\E[2J\E[v, rmir=\E[4l, rmso=\E[m, 
16763         rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N, 
16764         sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
16765         sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\, 
16766         smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[2g, 
16767         tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m, 
16768 tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA, 
16769         dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v, 
16770         use=tws-generic, 
16771 tws2103|xdku|BULL Questar tws2103, 
16772         ht=^I, use=tws-generic, 
16773 tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA, 
16774         ht=^I, use=tws2102-sna, 
16775 dku7102-old|BULL Questar 200 DKU7102 (microcode version < 6), 
16776         clear=\E[2J\E[H, cup@, dl@, dl1@, 
16777         dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v, el=\E[K\E[m, 
16778         il@, il1@, tsl=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m, 
16779         use=tws-generic, 
16780 dku7202|BULL Questar 200 DKU7202 (colour/character attributes), 
16781         blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb, 
16782         smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic, 
16783
16784 #=========================================================#
16785 # BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
16786 #=========================================================#
16787 #
16788 # Description written by J. Staerck (BULL SA)
16789 #       Copyright (c) 1989 BULL SA
16790 #---------------------------------------------------------------------------
16791 #  This entry is used for terminals with vt320 emulation mode
16792 #  and following set-up : 
16793 #    8 bit ISO Latin Character Set (ISO 8859-1),
16794 #    7 bit Control Characters, 
16795 #    80 columns screen.    
16796 #  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
16797 #  They are used in string capabilities with vt220-320 emulation mode.
16798 #  In the following DEC definitions, two kinds of terminfo databases are
16799 #    provided :
16800 #    1. the first with Command Sequence Introducer starting with escape 
16801 #       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
16802 #    2. the second with Command Sequence Introducer starting with escape 
16803 #       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
16804 #       Soft Terminal Reset             esc [ ! p
16805 #       RIS (erases screen):            esc c
16806 #       DECKPNM numeric keypad mode:    esc >
16807 #       DECKPAM applic. keypad mode:    esc =
16808 #       DECSTBM Scrolling region:       esc [ r
16809 #       SCS select G0 = US:             esc ( B
16810 #       SCS select G1 = line-graphic:   esc ) 0
16811 #       Select 7-bit C1 controls:       esc sp F
16812 #       Select 8-bit C1 controls:       esc sp G
16813 #       Select cursor home:             esc [  H
16814 #       Select erase screen:            esc [  J
16815 #       SM KAM lock keyboard:           esc [ 2 h
16816 #       RM KAM unlock keyboard:         esc [ 2 l
16817 #       SM SRM local echo off:          esc [ 1 2 h
16818 #       RM SRM local echo on:           esc [ 1 2 l
16819 #       SM LNM New line :               esc [ 2 0 h
16820 #       RM LNM return = CR only:        esc [ 2 0 l
16821 #       SM DECCKM cursor keys mode:     esc [ ? 1 h
16822 #       RM DECCKM appli. keys mode:     esc [ ? 1 l
16823 #       SM DECANM ANSI mode on:         esc [ ? 2 h
16824 #       RM DECANM ANSI mode off:        esc [ ? 2 l
16825 #       SM DECCOLM 132-column screen:   esc [ ? 3 h
16826 #       RM DECCOLM 80-column screen:    esc [ ? 3 l
16827 #       SM DECSCLM Smooth scroll:       esc [ ? 4 h
16828 #       RM DECSCLM Jump scroll:         esc [ ? 4 l
16829 #       SM DECSCNM screen light backgr. esc [ ? 5 h
16830 #       RM DECSCNM screen dark backgr.  esc [ ? 5 l
16831 #       SM DECOM move within margins:   esc [ ? 6 h
16832 #       RM DECOM move outside margins:  esc [ ? 6 l
16833 #       SM DECAWM auto right margin:    esc [ ? 7 h
16834 #       RM DECAWM auto right margin:    esc [ ? 7 l
16835 #       SM DECARM auto repeat:          esc [ ? 8 h
16836 #       RM DECARM auto repeat:          esc [ ? 8 l
16837 #       DECSASD Select active main:     esc [ 0 $ } 
16838 #       DECSASD Select active status:   esc [ 1 $ } 
16839 #       DECSSDT Select status none:     esc [ 0 $ ~ 
16840 #       DECSSDT Select status indic.:   esc [ 1 $ ~ 
16841 #       DECSSDT Select status host-wr:  esc [ 2 $ ~ 
16842 #       SM DECTCEM Visible cursor:      esc [ ? 2 5 h
16843 #       RM DECTCEM Invisible cursor:    esc [ ? 2 5 l
16844 #       SM DECNCRM 7 bits NCR set:      esc [ ? 4 2 h
16845 #       RM DECNCRM Multi or ISO latin:  esc [ ? 4 2 l
16846 #       SM DECNKM numeric keypad mode:  esc [ ? 6 6 h
16847 #       RM DECNKM numeric keypad appl.: esc [ ? 6 6 l
16848 #       SM DECKBUM clavier informatique esc [ ? 6 8 h
16849 #       RM DECKBUM clavier bureautique: esc [ ? 6 8 l
16850 #       DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 " p
16851 # or    DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 ; 0 " p
16852 # or    DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 ; 2 " p
16853 #       DECSCL vt300 mode 7-bit ctrl:   esc [ 6 3 ; 1 " p
16854 #       Char. and Line attributes:      esc [ Ps ... Ps m
16855 # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
16856 # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
16857 #
16858
16859 # This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
16860 bq300|Bull vt320 ISO Latin 1 80 columns terminal, 
16861         am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
16862         cols#80, it#8, lines#24, vt#3, wsl#80, 
16863         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
16864         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
16865         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
16866         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
16867         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
16868         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
16869         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
16870         dl1=\E[M, dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX, 
16871         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
16872         flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I, 
16873         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
16874         is1=\E[63;1"p\E[2h, 
16875         is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
16876         is3=\E[0$}\E[?25h\E[2l\E[H\E[J, ka1=\EOw, ka3=\EOy, 
16877         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
16878         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, 
16879         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
16880         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
16881         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
16882         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
16883         khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
16884         krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, 
16885         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
16886         ri=\EM, rmacs=^O, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l, 
16887         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p, 
16888         rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
16889         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;, 
16890         sgr0=\E[0m\E(B, smacs=^N, smam=\E[?7h, 
16891         smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m, 
16892         smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~, 
16893 bq300-rv|Bull vt320 reverse 80 columns, 
16894         flash=\E[?5l$<50>\E[?5h, 
16895         is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
16896         use=bq300, 
16897 bq300-w|Bull vt320 132 columns, 
16898         cols#132, wsl#132, 
16899         is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
16900         rs2=\E[?3h, use=bq300, 
16901 bq300-w-rv|Bull vt320 reverse mode 132 columns, 
16902         cols#132, wsl#132, 
16903         flash=\E[?5l$<50>\E[?5h, 
16904         is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
16905         rs2=\E[?3h, use=bq300, 
16906
16907 #  This entry is used for terminals with vt320 emulation mode
16908 #  and following set-up : 
16909 #    8 bit ISO Latin Character Set (ISO 8859-1),
16910 #    8 bit Control Characters, (CSI coded as x9B for ESC [)
16911 #    80 columns screen.    
16912 #       Soft Terminal Reset             csi ! p
16913 #       RIS (erases screen):            esc c
16914 #       DECKPNM numeric keypad mode:    esc >
16915 #       DECKPAM applic. keypad mode:    esc =
16916 #       DECSTBM Scrolling region:       esc [ r
16917 #       SCS select G0 = US:             esc ( B
16918 #       SCS select G1 = line-graphic:   esc ) 0
16919 #       Select 7-bit C1 controls:       esc sp F
16920 #       Select 8-bit C1 controls:       esc sp G
16921 #       Select cursor home:             csi H
16922 #       Select erase screen:            csi J
16923 #       SM KAM lock keyboard:           csi 2 h
16924 #       RM KAM unlock keyboard:         csi 2 l
16925 #       SM SRM local echo off:          csi 1 2 h
16926 #       RM SRM local echo on:           csi 1 2 l
16927 #       SM LNM New line :               csi 2 0 h
16928 #       RM LNM return = CR only:        csi 2 0 l
16929 #       SM DECCKM cursor keys mode:     csi ? 1 h
16930 #       RM DECCKM appli. keys mode:     csi ? 1 l
16931 #       SM DECANM ANSI mode on:         csi ? 2 h
16932 #       RM DECANM ANSI mode off:        csi ? 2 l
16933 #       SM DECCOLM 132-column screen:   csi ? 3 h
16934 #       RM DECCOLM 80-column screen:    csi ? 3 l
16935 #       SM DECSCLM Smooth scroll:       csi ? 4 h
16936 #       RM DECSCLM Jump scroll:         csi ? 4 l
16937 #       SM DECSCNM screen light backgr. csi ? 5 h
16938 #       RM DECSCNM screen dark backgr.  csi ? 5 l
16939 #       SM DECOM move within margins:   csi ? 6 h
16940 #       RM DECOM move outside margins:  csi ? 6 l
16941 #       SM DECAWM auto right margin:    csi ? 7 h
16942 #       RM DECAWM auto right margin:    csi ? 7 l
16943 #       SM DECARM auto repeat:          csi ? 8 h
16944 #       RM DECARM auto repeat:          csi ? 8 l
16945 #       DECSASD Select active main:     csi 0 $ } 
16946 #       DECSASD Select active status:   csi 1 $ } 
16947 #       DECSSDT Select status none:     csi 0 $ ~ 
16948 #       DECSSDT Select status indic.:   csi 1 $ ~ 
16949 #       DECSSDT Select status host-wr:  csi 2 $ ~ 
16950 #       SM DECTCEM Visible cursor:      csi ? 2 5 h
16951 #       RM DECTCEM Invisible cursor:    csi ? 2 5 l
16952 #       SM DECNCRM 7 bits NCR set:      csi ? 4 2 h
16953 #       RM DECNCRM Multi or ISO latin:  csi ? 4 2 l
16954 #       DECSCL vt300 mode 8-bit ctrl:   csi 6 3 " p
16955 # or    DECSCL vt300 mode 8-bit ctrl:   csi 6 3 ; 0 " p
16956 #       DECSCL vt300 mode 7-bit ctrl:   csi 6 3 ; 1 " p
16957 #       Char. and Line attributes:      csi Ps ... Ps m
16958 # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
16959 # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
16960 # (bq300-8: <cub1>,<cuf1>,<cuu1>,<cud1>,<dl1>,<il1> to get under 1024 --esr)
16961 bq300-8|Bull vt320 full 8 bits 80 columns, 
16962         am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
16963         cols#80, it#8, lines#24, vt#3, wsl#80, 
16964         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
16965         bel=^G, blink=\2335m, bold=\2331m, civis=\233?25l, 
16966         clear=\233H\233J, cnorm=\233?25h, cr=^M, 
16967         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB, 
16968         cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, 
16969         cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P, 
16970         dl=\233%p1%dM, dsl=\2331$}\2332$~\n\2330$}, 
16971         ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, 
16972         enacs=\E(B\E)0, flash=\233?5h$<50>\233?5l, fsl=\2330$}, 
16973         home=\233H, ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, 
16974         ind=\ED, is1=\E[63;2"p\E[2h, 
16975         is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
16976         is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w, 
16977         ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s, 
16978         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
16979         kdch1=\2333~, kf1=\217P, kf10=\23321~, kf11=\23323~, 
16980         kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
16981         kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
16982         kf2=\217Q, kf20=\23334~, kf3=\217R, kf4=\217S, kf6=\23317~, 
16983         kf7=\23318~, kf8=\23319~, kf9=\23320~, kfnd=\2331~, 
16984         khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~, 
16985         krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3, 
16986         lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8, 
16987         rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, rmcup=\233?7h, 
16988         rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
16989         rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
16990         sgr=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;, 
16991         sgr0=\2330m\E(B, smacs=^N, smam=\233?7h, 
16992         smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m, 
16993         smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~, 
16994 bq300-8rv|Bull vt320 8-bit reverse mode 80 columns, 
16995         flash=\233?5l$<50>\233?5h, 
16996         is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
16997         use=bq300-8, 
16998 bq300-8w|Bull vt320 8-bit 132 columns, 
16999         cols#132, wsl#132, 
17000         is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
17001         rs2=\233?3h, use=bq300-8, 
17002 bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns, 
17003         cols#132, wsl#132, 
17004         flash=\233?5l$<50>\233?5h, 
17005         is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
17006         rs2=\233?3h, use=bq300-8, 
17007
17008 #  This entry is used for terminals with vt320 emulation mode
17009 #  a 102 keys keyboard (PC scancode !) and following set-up : 
17010 #    8 bit ISO Latin Character Set (ISO 8859-1),
17011 #    7 bit Control Characters, 
17012 #    80 columns screen.    
17013 bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns, 
17014         kbs=^H, kdch1=\E[3~, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
17015         kf11=\E[29~, kf12=\E[31~, kf13@, kf14@, kf15@, kf16@, kf17@, 
17016         kf18@, kf19@, kf2=\E[18~, kf20@, kf3=\E[19~, kf4=\E[20~, 
17017         kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
17018         kfnd@, khlp@, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
17019         krdo@, kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300, 
17020 bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns, 
17021         flash=\E[?5l$<50>\E[?5h, 
17022         is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
17023         use=bq300-pc, 
17024 bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal, 
17025         cols#132, wsl#132, 
17026         is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
17027         rs2=\E[?3h, use=bq300-pc, 
17028 bq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns, 
17029         cols#132, wsl#132, 
17030         flash=\E[?5l$<50>\E[?5h, 
17031         is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
17032         rs2=\E[?3h, use=bq300-pc, 
17033 #    8 bit ISO Latin Character Set (ISO 8859-1),
17034 #    8 bit Control Characters, 
17035 #    80 columns screen.    
17036 bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns, 
17037         kbs=^H, kdch1=\2333~, kend=\2334~, kf1=\23317~, 
17038         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13@, kf14@, 
17039         kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\23318~, kf20@, 
17040         kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
17041         kf7=\23324~, kf8=\23325~, kf9=\23326~, kfnd@, khlp@, 
17042         khome=\2331~, kich1=\2332~, knp=\2336~, kpp=\2335~, krdo@, 
17043         kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300-8, 
17044 bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns, 
17045         flash=\E[?5l$<50>\E[?5h, 
17046         is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
17047         use=bq300-8-pc, 
17048 bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns, 
17049         cols#132, wsl#132, 
17050         is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
17051         rs2=\E[?3h, use=bq300-8-pc, 
17052 bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns, 
17053         cols#132, wsl#132, 
17054         flash=\E[?5l$<50>\E[?5h, 
17055         is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
17056         rs2=\E[?3h, use=bq300-8-pc, 
17057
17058 #======================================================#
17059 # BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
17060 #======================================================#
17061
17062 # normal mode, 8 bits, 80 columns terminal.
17063 #       RES reset :                     ^[e
17064 #       RIS reset initial state:        ^[c
17065 #       BLE bell enable                 ^[h
17066 #       BLD bell disable                ^[g
17067 #       CAMS char. attr. mode set       ^[[D
17068 #       CAMR char. attr. mode reset     ^[[G
17069 #       CLR clear                       ^[`
17070 #       KBU keyboard unlock (set)       ^[[W
17071 #       KBL keyboard lock (reset)       ^[[X
17072 #       CM  character mode (async.)     ^[k
17073 #       NEP non echoplex mode (by host) ^[l
17074 #       EP  echoplex mode (by host)     ^[m
17075 #       IM  insert mode set             ^[[I
17076 #       IM  insert mode reset           ^[[J
17077 #       RMS roll mode set               ^[r
17078 #       RMR roll mode reset             ^[q
17079 #       SM78 set mode vip7800           ^[[1q
17080 #       SD  scroll up   (72 lines)      ^[[0s
17081 #       SD  scroll down (72 lines)      ^[[1s
17082 #       RBM block mode reset            ^[[E
17083 #       SLS status line set             ^[w
17084 #       SLR status line reset           ^[v
17085 #       SLL status line lock            ^[O
17086 #       LGS Line-graphic mode set       ^[G
17087 #       LGR Line-graphic mode reset     ^[F
17088 #       TBC tab clear (at cursor pos.)  ^[[g
17089 #       TBI tab initialize              ^[[N
17090 #       TBS tab set (at cursor pos.)    ^[p
17091 #       PDS  print data space           ^[[0p
17092 #       PHD  print host data            ^[[3p
17093 #       PDT  print data terminator      ^[[<p
17094 #       PRES print adapter reset        ^[[2p
17095 #       SSPR multi-part. reset          ^[[<>u
17096 #       SSP0 partition 0 set            ^[[00u
17097 #       SSP1 partition n format 1       ^[[PnPnSTRINGu
17098 #       SSP2 partition n format 2       ^[[PnPnSTRINGu
17099 #       SSP3 partition n format 3       ^[[PnPnu
17100 #       ATR attribute (visual)
17101 #           blink :                     ^[sB
17102 #           dim :                       ^[sL
17103 #           hide (blank) :              ^[sH
17104 #           restore :                   ^[sR
17105 #           inverse video :             ^[sI
17106 #           prot. :                     ^[sP
17107 #           underline :                 ^[s_
17108 #           reset :                     ^{
17109 #
17110 # This covers the vip7800 and BQ3155-vip7800
17111 vip|Bull Questar 3155-7800, 
17112         am, eslok, hs, km, mc5i, msgr, xenl, xon, 
17113         cols#80, it#8, lines#24, vt#3, wsl#80, 
17114         acsc=0pjdkblamcnkqitgufvhwexj, bel=^G, blink=\EsB, 
17115         cbt=\E[Z, clear=\E`, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
17116         cup=\E[%i%p1%03d%p2%03df, cuu1=\EA, dch1=\E[P, dim=\EsL, 
17117         dl1=\E[M, dsl=\Ev, ed=\EJ, el=\EK, 
17118         flash=\007$<80>\007$<80>\007, fsl=\EO, home=\EH, ht=^I, 
17119         hts=\Ep, ich1=\E[I, ind=^J, invis=\EsH, 
17120         is2=\E[00u\E[<>001001024080024080u\E[01u, 
17121         is3=\Er\E[W\E`, kHOM=\EH, kLFT=\Eo, kRIT=\Eu, kbs=^H, 
17122         kcbt=\E[Z, kclr=\E`, kctab=\E[g, kcub1=\ED, kcud1=\EB, 
17123         kcuf1=\EC, kcuu1=\EA, kdch1=\E[P, kdl1=\E[M, ked=\EJ, 
17124         kel=\EK, kf1=\E0, kf10=\ET, kf11=\E\\, kf12=\E\^, kf13@, kf14@, 
17125         kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E2, kf20@, kf21=\E1, 
17126         kf22=\E5, kf23=\E7, kf24=\E9, kf25=\E;, kf26=\E=, kf27=\E?, 
17127         kf28=\EQ, kf29=\ES, kf3=\E6, kf30=\EV, kf31=\E], kf32=\E_, 
17128         kf4=\E8, kf5=\E\:, kf6=\E<, kf7=\E>, kf8=\EP, kf9=\ER, 
17129         khome=\EH, khts=\Ep, kich1=\E[I, kil1=\E[L, kind=\E[0s, 
17130         kll=\EH\EA, kri=\E[1s, krmir=\E[J, ktbc=\E[N, lf1=pf1, 
17131         lf2=pf2, lf3=pf3, lf4=pf4, ll=\EH\EA, mc0=\E[0p, mc4=\E[<p, 
17132         mc5=\E[3p, nel=^M, prot=\EsP, rev=\EsI, 
17133         ri=\EA\EJ\EH\E[L$<10>, rmacs=\EF, rmir=\E[J, rmso=\EsR, 
17134         rmul=\EsR, rs1=\Ec, rs2=\E[G, s0ds=\EF, s1ds=\EG, 
17135         sgr0=\EsR\EsU\EF, smacs=\EG, smir=\E[I, smso=\EsI, 
17136         smul=\Es_, tbc=\E[N, tsl=\Ew, 
17137 # normal screen, 8 bits, 132 columns terminal.
17138 vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide, 
17139         cols#132, wsl#132, 
17140         is2=\E[00u\E[<>001001024132024132u\E[01u, use=vip, 
17141 vip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines, 
17142         lines#72, 
17143         is2=\E[00u\E[<>001001024080072080u\E[01u, use=vip, 
17144 vip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines, 
17145         cols#132, lines#72, wsl#132, 
17146         is2=\E[00u\E[<>001001024132072132u\E[01u, use=vip, 
17147
17148 #### Chromatics
17149 #
17150
17151 # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
17152 # that is smaller than the screen, and puts up a warning message 
17153 # outside the window. Te erases the warning message, puts the 
17154 # window back to be the whole screen, and puts the cursor at just
17155 # below the small window. I defined <cnorm> and <civis> to really turn 
17156 # the cursor on and off, but I have taken this out since I don't 
17157 # like the cursor being turned off when vi exits.   
17158 cg7900|chromatics|chromatics 7900, 
17159         am, 
17160         cols#80, lines#40, 
17161         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
17162         cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2, 
17163         ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
17164         rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
17165         rmso=\001C1\,\001c2\,, 
17166         smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
17167         smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 
17168
17169 #### Computer Automation
17170 #
17171
17172 ca22851|computer automation 22851, 
17173         am, 
17174         cols#80, lines#24, 
17175         bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I, 
17176         cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J, 
17177         kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^, 
17178
17179 #### Cybernex
17180 #
17181
17182 # This entry has correct padding and the undocumented "ri" capability
17183 cyb83|xl83|cybernex xl-83, 
17184         OTbs, am, 
17185         cols#80, lines#24, 
17186         bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
17187         cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
17188         ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H, 
17189         kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
17190 # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
17191 cyb110|mdl110|cybernex mdl-110, 
17192         OTbs, am, 
17193         cols#80, lines#24, 
17194         bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
17195         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
17196         dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
17197         ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
17198         ht=\011$<43>, ich1=\016A\035$<3.5>, 
17199         il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
17200
17201 #### Datapoint
17202 #
17203 # Datapoint is gone.  They used to be headquartered in Texas.
17204 # They created ARCnet, an Ethernet competitor that flourished for a while
17205 # in the early 1980s before 3COM got wise and cut its prices.  The service
17206 # side of Datapoint still lives (1995) in the form of Intelogic Trace.
17207 #
17208
17209 dp3360|datapoint|datapoint 3360, 
17210         OTbs, am, 
17211         cols#82, lines#25, 
17212         bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
17213         ed=^_, el=^^, home=^], ind=^J, 
17214
17215 # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
17216 # The Datapoint 8242 Workstation was sold at least between 1985 
17217 # and 1989. To make the terminal work with this entry, press 
17218 # CONTROL-INT-INT to take the terminal off-line, and type (opt). 
17219 # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
17220 # CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
17221 # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
17222 # fact unusable because the strings sent by the terminal conflict
17223 # with other keys).
17224 # The terminal is capable of displaying "box draw" characters.
17225 # For each graphic character you must send 2 ESC's (\E\E) followed 
17226 # by a control character as follows: 
17227 #         character        meaning
17228 #         =========        =======
17229 #         ctrl-E           top tee
17230 #         ctrl-F           right tee
17231 #         ctrl-G           bottom tee
17232 #         ctrl-H           left tee
17233 #         ctrl-I           cross
17234 #         ctrl-J           top left corner
17235 #         ctrl-K           top right corner
17236 #         ctrl-L           bottom left corner
17237 #         ctrl-M           bottom right corner
17238 #         ctrl-N           horizontal line
17239 #         ctrl-O           vertical line
17240 # Unfortunately this cannot be fitted into the termcap/terminfo 
17241 # description scheme. 
17242 dp8242|datapoint 8242, 
17243         msgr, 
17244         cols#80, lines#25, 
17245         bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X, 
17246         cr=^M, cub1=^H, cud1=^J, 
17247         cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V, 
17248         home=^U, ht=^I, il1=\E^T, ind=^C, 
17249         is1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
17250         kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee, 
17251         kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea, 
17252         kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J, 
17253         rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D, 
17254         rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
17255         smso=\E^E, smul=\E^F, 
17256         wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025, 
17257
17258 #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
17259 #
17260 # These entries are DEC's official terminfos for its older terminals.
17261 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
17262 # Engineering for more information.  Updated terminfos and termcaps 
17263 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
17264 #
17265
17266 gt40|dec gt40, 
17267         OTbs, os, 
17268         cols#72, lines#30, 
17269         bel=^G, cr=^M, cub1=^H, cud1=^J, 
17270 gt42|dec gt42, 
17271         OTbs, os, 
17272         cols#72, lines#40, 
17273         bel=^G, cr=^M, cub1=^H, cud1=^J, 
17274 vt50|dec vt50, 
17275         OTbs, 
17276         cols#80, lines#12, 
17277         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
17278         cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
17279 vt50h|dec vt50h, 
17280         OTbs, 
17281         cols#80, lines#12, 
17282         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
17283         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
17284         el=\EK, ht=^I, ind=^J, ri=\EI, 
17285 # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
17286 vt61|vt-61|vt61.5|dec vt61, 
17287         cols#80, lines#24, 
17288         bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J, 
17289         cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
17290         cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
17291         ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
17292         ri=\E$<20>I, 
17293
17294 # The gigi does standout with red!
17295 # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
17296 gigi|vk100|dec gigi graphics terminal, 
17297         OTbs, am, xenl, 
17298         cols#84, lines#24, 
17299         bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
17300         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
17301         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
17302         el=\E[K, ht=^I, ind=^J, 
17303         is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
17304         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
17305         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
17306         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
17307         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m, 
17308         smul=\E[4m, 
17309
17310 # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
17311 # a PC differentiated from the IBM clones.  It was a total, ludicrous,
17312 # grossly-overpriced failure (among other things, DEC's OS didn't include
17313 # a format program, so you had to buy pre-formatted floppies from DEC at
17314 # a hefty premium!).
17315 pro350|decpro|dec pro console, 
17316         OTbs, 
17317         cols#80, it#8, lines#24, 
17318         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
17319         clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
17320         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
17321         el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
17322         kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI, 
17323         kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG, 
17324         rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D, 
17325
17326 dw1|decwriter I, 
17327         OTbs, hc, os, 
17328         cols#72, 
17329         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
17330 dw2|decwriter|dw|decwriter II, 
17331         OTbs, hc, os, 
17332         cols#132, 
17333         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
17334 # \E(B          Use U.S. character set (otherwise # => british pound !)
17335 # \E[20l        Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
17336 # \E[w          10 char/in pitch
17337 # \E[1;132      full width horizontal margins
17338 # \E[2g         clear all tab stops
17339 # \E[z          6 lines/in
17340 # \E[66t        66 lines/page (for \f)
17341 # \E[1;66r      full vertical page can be printed
17342 # \E[4g         clear vertical tab stops
17343 # \E>           disable alternate keypad mode (so it transmits numbers!)
17344 # \E[%i%p1%du   set tab stop at column %d (origin == 1)
17345 #               (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
17346 #               a tab stop)
17347 #
17348 #       The dw3 does standout with wide characters.
17349 #
17350 dw3|la120|decwriter III, 
17351         OTbs, hc, os, 
17352         cols#132, 
17353         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
17354         is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
17355         is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
17356         kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w, 
17357 dw4|decwriter IV, 
17358         OTbs, am, hc, os, 
17359         cols#132, 
17360         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H, 
17361         kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
17362
17363 # These aren't official
17364 ln03|dec ln03 laser printer, 
17365         hc, 
17366         cols#80, lines#66, 
17367         bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J, 
17368         rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m, 
17369         smul=\E[4m, 
17370 ln03-w|dec ln03 laser printer 132 cols, 
17371         cols#132, 
17372         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
17373         kcud1=^J, nel=^M^J, use=ln03, 
17374
17375 #### Delta Data (dd)
17376 #
17377
17378 # Untested. The cup sequence is hairy enough that it probably needs work.
17379 # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
17380 # There are BSD-derived termcap entries floating around for this puppy
17381 # that are *certainly* wrong.
17382 delta|dd5000|delta data 5000, 
17383         OTbs, am, 
17384         cols#80, lines#27, 
17385         bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
17386         cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c, 
17387         cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
17388
17389 #### Digital Data Research (ddr)
17390 #
17391
17392 # (ddr: I added <rmam>/<smam> based on the init string -- esr)
17393 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
17394         OTbs, am, xenl, 
17395         cols#80, it#8, lines#24, vt#3, 
17396         blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
17397         clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H, 
17398         cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
17399         cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
17400         ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
17401         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
17402         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
17403         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l, 
17404         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>, 
17405         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
17406         sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, 
17407         smul=\E[4m$<2/>, 
17408
17409 #### Evans & Sutherland
17410 #
17411
17412 # Jon Leech <leech@cs.unc.edu> tells us:
17413 # The ps300 was the Evans & Sutherland Picture System 300, a high
17414 # performance 3D vector graphics system with a bunch of specialized hardware.
17415 # Approximate date of release was 1982 (early 80s, anyway), and it had several
17416 # evolutions including (limited) color versions such as the PS330C. PS300s
17417 # were effectively obsolete by the late 80s, replaced by raster graphics
17418 # systems, although specialized applications like molecular modelling
17419 # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
17420 # are out of production, though of course E&S is very much alive (in 1996).
17421 # (ps300: changed ":pt@:" to "it@" -- esr)
17422 #
17423 ps300|Picture System 300, 
17424         xt, 
17425         it@, 
17426         rmso@, rmul@, smso@, smul@, use=vt100, 
17427
17428 #### General Electric (ge)
17429 #
17430
17431 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
17432         OTbs, hc, os, 
17433         cols#120, 
17434         bel=^G, cr=^M, cud1=^J, ind=^J, 
17435
17436 #### Heathkit/Zenith
17437 #
17438
17439 # Here is a description of the H19 DIP switches:
17440 #
17441 # S401
17442 # 0-3 = baud rate as follows:
17443
17444 #         3       2       1       0
17445 #       ---     ---     ---     --- 
17446 #         0       0       1       1       300 baud
17447 #         0       1       0       1       1200 baud
17448 #         1       0       0       0       2400 baud
17449 #         1       0       1       0       4800 baud
17450 #         1       1       0       0       9600 baud
17451 #         1       1       0       1       19.2K baud
17452
17453 # 4 = parity (0 = no parity)
17454 # 5 = even parity (0 = odd parity)
17455 # 6 = stick parity (0 = normal parity)
17456 # 7 = full duplex (0 = half duplex)
17457
17458 # S402 
17459 # 0 = block cursor (0 = underscore cursor)
17460 # 1 = no key click (0 = keyclick)
17461 # 2 = wrap at end of line (0 = no wrap)
17462 # 3 = auto LF on CR (0 = no LF on CR)
17463 # 4 = auto CR on LF (0 = no CR on LF)
17464 # 5 = ANSI mode (0 = VT52 mode)
17465 # 6 = keypad shifted (0 = keypad unshifted)
17466 # 7 = 50Hz refresh (1 = 60Hz refresh)
17467
17468 # Factory Default settings are as follows:
17469 #          7 6 5 4 3 2 1 0
17470 # S401     1 0 0 0 1 1 0 0
17471 # S402     0 0 0 0 0 0 0 0
17472 # (h19: I added <rmam>/<smam> based on the init string;
17473 # also added empty <acsc> to suppress a tic warning -- esr)
17474 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
17475         OTbs, am, mir, msgr, 
17476         cols#80, it#8, lines#24, 
17477         acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
17478         cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
17479         cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>, 
17480         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J, 
17481         is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
17482         kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
17483         kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, 
17484         kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white, 
17485         ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
17486         smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
17487 h19-bs|heathkit w/keypad shifted, 
17488         rmkx=\Eu, smkx=\Et, use=h19-b, 
17489 h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor, 
17490         rmkx=\Eu, smkx=\Et, use=h19-u, 
17491 # (h19: merged in <ip> from BSDI hp19-e entry>;
17492 # also added empty <acsc> to suppress a tic warning --esr)
17493 # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
17494 # Tim tells us that:
17495 # I have an old Zenith-19 terminal at home that still gets a lot of use.
17496 # This terminal suffers from the same famous insert-mode padding lossage
17497 # that has been acknowledged for the Z29 terminal.  Emacs is nearly
17498 # unusable on this box, since even a half-scroll up or down the window
17499 # causes flaming terminal death.
17500 #   
17501 # On the Z19, the only way I have found around this problem is to remove
17502 # the :al: and :dl: entries entirely.  No amount of extra padding will
17503 # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
17504 # makes Emacs a little slower, but it remains in the land of the living.
17505 # Big win.
17506 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
17507         OTbs, am, eslok, hs, mir, msgr, 
17508         cols#80, it#8, lines#24, 
17509         acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
17510         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
17511         cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, 
17512         ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, 
17513         kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
17514         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, 
17515         lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
17516         smacs=\EF, smir=\E@, smso=\Ep, 
17517         tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
17518 h19-u|heathkit with underscore cursor, 
17519         cnorm@, cvvis@, use=h19-b, 
17520 h19-g|h19g|heathkit w/block cursor, 
17521         cnorm=\Ex4, use=h19-b, 
17522 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
17523         lines#60, 
17524         dl1=\EM, il1=\EL, use=h19, 
17525
17526 # The major problem with the Z29 is that it requires more padding than the Z19.
17527 #
17528 # The problem with declaring an H19 to be synonymous with a Z29 is that
17529 # it needs more padding. It especially loses if a program attempts
17530 # to put the Z29 into insert mode and insert text at 9600 baud. It
17531 # even loses worse if the program attempts to insert tabs at 9600
17532 # baud. Adding padding to text that is inserted loses because in 
17533 # order to make the Z29 not die, one must add so much padding that
17534 # whenever the program tries to use insert mode, the effective 
17535 # rate is about 110 baud.
17536
17537 # What program would want to put the terminal into insert mode 
17538 # and shove stuff at it at 9600 baud you ask?  
17539
17540 # Emacs. Emacs seems to want to do the mathematically optimal 
17541 # thing in doing a redisplay rather than the practical thing.
17542 # When it is about to output a line on top of a line that is 
17543 # already on the screen, instead of just killing to the end of 
17544 # the line and outputting the new line, it compares the old line 
17545 # and the new line and if there are any similarities, it 
17546 # constructs the new line by deleting the text on the old line 
17547 # on the terminal that is already there and then inserting new
17548 # text into the line to transform it into the new line that is 
17549 # to be displayed. The Z29 does not react kindly to this.
17550
17551 # But don't cry for too long.... There is a solution. You can make
17552 # a termcap entry for the Z29 that says the Z29 has no insert mode.
17553 # Then Emacs cannot use it. "Oh, no, but now inserting into a 
17554 # line will be really slow", you say. Well there is a sort of a
17555 # solution to that too. There is an insert character option on 
17556 # the Z29 that will insert one character. Unfortunately, it 
17557 # involves putting the terminal into ansi mode, inserting the 
17558 # character, and changing it back to H19 mode. All this takes 12 
17559 # characters. Pretty expensive to insert one character, but it 
17560 # works. Either Emacs doesn't try to use its inserting hack when 
17561 # it's only given an insert character ability or the Z29 doesn't 
17562 # require padding with this (the former is probably more likely, 
17563 # but I haven't checked it out).
17564 # (z29: added empty <acsc> to suppress a tic warning, merged in
17565 # status line capabilities from BRL entry --esr)
17566 z29|zenith29|z29b|zenith z29b, 
17567         OTbs, OTpt, am, eslok, hs, mir, msgr, 
17568         OTkn#10, cols#80, lines#24, 
17569         OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, 
17570         cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
17571         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
17572         cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, 
17573         ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I, 
17574         ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>, 
17575         is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
17576         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
17577         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
17578         lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, 
17579         rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8, 
17580         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
17581 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
17582 # the world is stable. <rs1> causes the terminal to be reset to the state
17583 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
17584 # cursor, bc -> block cursor.
17585 # From: Mike Meyers
17586 # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
17587 # looks vt100-compatible -- esr)
17588 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
17589         OTbs, OTpt, am, eslok, hs, mir, msgr, 
17590         OTkn#10, cols#80, it#8, lines#24, 
17591         OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, 
17592         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
17593         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
17594         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
17595         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
17596         dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H, 
17597         ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL, 
17598         ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
17599         kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS, 
17600         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
17601         kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7, 
17602         nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h, 
17603         rmso=\E[m, rmul=\E[m, 
17604         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, 
17605         sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m, 
17606         tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
17607 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
17608         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, 
17609         use=z29a, 
17610 z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
17611         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, 
17612         use=z29a, 
17613 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
17614         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, 
17615         use=z29a, 
17616 # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
17617 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
17618         am, eslok, hs, mc5i, mir, msgr, xon, 
17619         cols#80, lines#24, 
17620         acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
17621         blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
17622         clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
17623         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
17624         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
17625         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
17626         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
17627         dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K, 
17628         fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L, 
17629         ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
17630         ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
17631         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS, 
17632         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
17633         kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
17634         mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
17635         rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
17636         rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0, 
17637         smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
17638         tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
17639
17640 # From: Brad Brahms <Brahms@USC-ECLC>
17641 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
17642         cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw, 
17643 # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
17644 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
17645         OTbs, OTpt, mir, msgr, 
17646         OTkn#10, cols#80, it#8, lines#24, 
17647         acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
17648         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
17649         cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, 
17650         ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, 
17651         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, 
17652         kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
17653         kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
17654         smacs=\EF, smir=\E@, smso=\Ep, 
17655 p19|h19-b with il1/dl1, 
17656         dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b, 
17657 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
17658 # (ztx: removed duplicate :sr: -- esr)
17659 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
17660         OTbs, am, eslok, hs, 
17661         cols#80, it#8, lines#24, 
17662         clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
17663         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
17664         dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, 
17665         il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, 
17666         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES, 
17667         kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER, 
17668         ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2, 
17669         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
17670
17671 #### IMS International (ims)
17672 #
17673 # There was a company called IMS International located in Carson City, 
17674 # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
17675 # bus/Z80 hardware and a line of terminals called Ultimas.  
17676 #
17677
17678 # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
17679 ims950-b|bare ims950 no init string, 
17680         is2@, use=ims950, 
17681 # (ims950: removed obsolete ":ko@:" -- esr)
17682 ims950|ims televideo 950 emulation, 
17683         xenl@, 
17684         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
17685         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950, 
17686 # (ims950-rv: removed obsolete ":ko@:" -- esr)
17687 ims950-rv|ims tvi950 rev video, 
17688         xenl@, 
17689         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
17690         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950-rv, 
17691 ims-ansi|ultima2|ultimaII|IMS Ultima II, 
17692         OTbs, am, 
17693         cols#80, it#8, lines#24, 
17694         clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
17695         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K, 
17696         ht=^I, if=/usr/share/tabset/vt100, 
17697         is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
17698         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM, 
17699         rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m, 
17700         smul=\E[4m, 
17701
17702 #### Intertec Data Systems
17703 #
17704 # I think this company is long dead as of 1995.  They made an early CP/M
17705 # micro called the "Intertec Superbrain" that was moderately popular,
17706 # then sank out of sight.
17707 #
17708
17709 superbrain|intertec superbrain, 
17710         OTbs, am, bw, 
17711         cols#80, lines#24, 
17712         OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, 
17713         cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K, 
17714         ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U, 
17715         kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L, 
17716 # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
17717 # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
17718 # and the reverse is actually true.  Try it. -- esr)
17719 intertube|intertec|Intertec InterTube, 
17720         OTbs, am, 
17721         cols#80, lines#25, 
17722         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
17723         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A, 
17724         ind=^J, rmso=\E0@, smso=\E0P, 
17725 # The intertube 2 has the "full duplex" problem like the tek 4025: if you
17726 # are typing and a command comes in, the keystrokes you type get interspersed
17727 # with the command and it messes up
17728 intertube2|intertec data systems intertube 2, 
17729         OTbs, 
17730         cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
17731         el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
17732         ll=^K^X\r, vpa=\013%p1%c, use=intertube, 
17733
17734 #### Ithaca Intersystems
17735 #
17736 # This company made S100-bus personal computers long ago in the pre-IBM-PC
17737 # past.  They used to be reachable at:
17738 #
17739 #       Ithaca Intersystems
17740 #       1650 Hanshaw Road
17741 #       Ithaca, New York 14850
17742 #
17743 # However, the outfit went bankrupt years ago.
17744 #
17745
17746 # The Graphos III was a color graphics terminal from Ithaca Intersystems.
17747 # These entries were written (originally in termcap syntax) by Brian Yandell 
17748 # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
17749 # University of Wisconsin.
17750
17751 # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
17752 # removed <if=/usr/share/tabset/init.graphos> and 
17753 # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
17754 graphos|graphos III, 
17755         am, mir, 
17756         cols#80, it#8, lines#24, 
17757         clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
17758         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
17759         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
17760         cuu=\E[%p1%dA, cuu1=\E[A, 
17761         cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, 
17762         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
17763         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
17764         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
17765         kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
17766         rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h, 
17767         smir=\E[4h, smso=\E[7m, 
17768 graphos-30|graphos III with 30 lines, 
17769         lines#30, 
17770         cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos, 
17771
17772 #### Modgraph
17773 #
17774 # These people used to be reachable at:
17775 #
17776 #       Modgraph, Inc
17777 #       1393 Main Street,
17778 #       Waltham, MA 02154
17779 #       Vox: (617)-890-5796.
17780 #
17781 # However, if you call that number today you'll get an insurance company.
17782 # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
17783 # 26 Feb 1997 that says:
17784 #
17785 # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
17786 # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
17787 # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
17788 # panel-mount etc).  I can be emailed at sonfour@aol.com
17789 #
17790 # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
17791 # dated 1984.  According to the manual, it featured Tek 4010/4014
17792 # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
17793 #
17794
17795 modgraph|mod24|modgraph terminal emulating vt100, 
17796         xenl@, 
17797         cols#80, lines#24, 
17798         cvvis=\E\^9;0s\E\^7;1s, 
17799         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, 
17800         rf@, ri=\EM\E[K$<5/>, use=vt100, 
17801 # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
17802 modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
17803         am, da, db, 
17804         cols#80, it#8, lines#24, 
17805         clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
17806         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>, 
17807         ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
17808         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, 
17809         ri=\EI$<5/>, 
17810 #
17811 # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
17812 # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
17813 # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
17814 # mark and using delete-to-killbuffer work correctly.  However, we would
17815 # like normal mode of operation to be using a Modgraph with 48 line setting.
17816 # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
17817 # the setting mark and delete-to-killbuffer results in the deletion of only
17818 # the line the mark is set on.
17819 # We've discovered that the delete-to-killbuffer works correctly
17820 # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
17821 # the first line disappears but a ctrl-l shows that it did work
17822 # correctly.
17823 modgraph48|mod|Modgraph w/48 lines, 
17824         OTbs, OTpt, am, xenl, 
17825         cols#80, it#8, lines#48, vt#3, 
17826         OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, 
17827         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
17828         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
17829         flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q, 
17830         home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h, 
17831         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
17832         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
17833         ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
17834         rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, 
17835         smso=\E[7m, smul=\E[4m, 
17836
17837 #### Morrow Designs
17838
17839 # This was George Morrow's company.  They started in the late 1970s making
17840 # S100-bus machines.  They used to be reachable at:
17841 #
17842 #        Morrow
17843 #        600 McCormick St.
17844 #        San Leandro, CA 94577
17845 #
17846 # but they're long gone now (1995).
17847 #
17848
17849 # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
17850 # Jeff's specimen was dated June 1984.
17851 # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
17852 mt70|mt-70|Morrow MD-70; native Morrow mode, 
17853         am, mir, msgr, xon, 
17854         cols#80, it#8, lines#24, 
17855         acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G, 
17856         cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
17857         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
17858         cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
17859         flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
17860         ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r, 
17861         kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r, 
17862         kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r, 
17863         kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, 
17864         kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
17865         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
17866         kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_, 
17867         rmacs=\E%%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], 
17868         smul=\EG1, tbc=\E0, use=adm+sgr, 
17869
17870 #### Motorola
17871 #
17872
17873 # Motorola EXORterm 155 from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
17874 # (Seth H Zirin)
17875 ex155|Motorola Exorterm 155, 
17876         OTbs, am, bw, 
17877         OTkn#5, OTug#1, cols#80, lines#24, 
17878         cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED, 
17879         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU, 
17880         home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H, 
17881         kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@, 
17882         rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED, 
17883
17884 #### Omron
17885 #
17886 # This company is still around in 1995, manufacturing point-of-sale systems.
17887
17888 omron|Omron 8025AG, 
17889         OTbs, am, da, db, 
17890         cols#80, lines#24, 
17891         bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, 
17892         cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH, 
17893         il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef, 
17894
17895 #### Ramtek
17896 #
17897 # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
17898 # were competition for things like the Tektronics 4025.
17899 #
17900
17901 # Ramtek 6221 from BRL, probably by Doug Gwyn
17902 # The following SET-UP modes are assumed for normal operation:
17903 #       UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
17904 #       NEWLINE_OFF             80_COLUMNS
17905 # Other SET-UP modes may be set for operator convenience or communication
17906 # requirements; I recommend
17907 #       SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
17908 # Hardware tabs are assumed to be every 8 columns; they can be set up by the
17909 # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
17910 # Note that the Control-E key is useless on this brain-damaged terminal.  No
17911 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
17912 rt6221|Ramtek 6221 80x24, 
17913         OTbs, OTpt, msgr, xon, 
17914         OTkn#4, cols#80, it#8, lines#24, vt#3, 
17915         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
17916         clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M, 
17917         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
17918         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
17919         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
17920         cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I, 
17921         hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
17922         kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
17923         kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H, 
17924         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>, 
17925         rmso=\E[m, rmul=\E[m, 
17926         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>, 
17927         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
17928         smul=\E[4m, tbc=\E[3g, 
17929 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
17930 rt6221-w|Ramtek 6221 160x48, 
17931         cols#160, lines#48, 
17932         ll=\E[48;1H, use=rt6221, 
17933
17934 #### RCA
17935 #
17936
17937 # RCA VP3301 or VP3501
17938 rca|rca vp3301/vp3501, 
17939         OTbs, 
17940         cols#40, lines#24, 
17941         clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
17942         cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1, 
17943
17944
17945 #### Selanar
17946 #
17947
17948 # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
17949 # The following SET-UP modes are assumed for normal operation:
17950 #       SET_DEFAULT_TABS        48_LINES                80_COLUMNS
17951 #       ONLINE                  ANSI                    CURSOR_VISIBLE
17952 #       VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
17953 #       LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
17954 #       CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
17955 # For use with graphics software, all graphics modes should be set to factory
17956 # default.  Other SET-UP modes may be set for operator convenience or
17957 # communication requirements.  No delays are specified; use "stty ixon -ixany"
17958 # to enable DC3/DC1 flow control!
17959 # I commented out the scrolling capabilities since they are too slow.
17960 hirez100|Selanar HiREZ-100, 
17961         OTbs, OTpt, mir, msgr, xon, 
17962         OTkn#4, cols#80, it#8, lines#48, vt#3, 
17963         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
17964         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
17965         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
17966         cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
17967         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
17968         hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H, 
17969         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, 
17970         kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, 
17971         lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i, 
17972         mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O, 
17973         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
17974         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>, 
17975         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, 
17976         smul=\E[4m, tbc=\E[3g, 
17977 hirez100-w|Selanar HiREZ-100 in 132-column mode, 
17978         cols#132, use=hirez100, 
17979
17980 #### Signetics
17981 #
17982
17983 # From University of Wisconsin
17984 vsc|Signetics Vsc Video driver by RMC, 
17985         am, msgr, 
17986         cols#80, it#8, lines#26, 
17987         clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
17988         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
17989         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s, 
17990         rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_", 
17991
17992 #### Soroc
17993 #
17994 # Alan Frisbie <frisbie@flying-disk.com> writes:
17995 #
17996 # As you may recall, the Soroc logo consisted of their name,
17997 # with the letter "S" superimposed over an odd design.   This
17998 # consisted of a circle with a slightly smaller 15 degree (approx.)
17999 # wedge with rounded corners inside it.   The color was sort of
18000 # a metallic gold/yellow.
18001
18002 # If I had been more of a beer drinker it might have been obvious
18003 # to me, but it took a clue from their service department to make
18004 # me exclaim, "Of course!"   The circular object was the top of
18005 # a beer can (the old removable pop-top style) and "Soroc" was an
18006 # anagram for "Coors".
18007
18008 # I can just imagine the founders of the company sitting around
18009 # one evening, tossing back a few and trying to decide what to
18010 # call their new company and what to use for a logo.
18011
18012
18013 # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
18014 soroc120|iq120|soroc|soroc iq120, 
18015         clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J, 
18016         kcuf1=^L, kcuu1=^K, use=adm3a, 
18017 soroc140|iq140|soroc iq140, 
18018         OTbs, am, mir, 
18019         cols#80, lines#24, 
18020         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
18021         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew, 
18022         dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J, 
18023         kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
18024         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
18025         kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8, 
18026         rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A, 
18027
18028 #### Southwest Technical Products
18029 #
18030 # These guys made an early personal micro called the M6800.  
18031 # The ct82 was probably its console terminal.
18032 #
18033
18034 # (swtp: removed obsolete ":bc=^D:" -- esr)
18035 swtp|ct82|southwest technical products ct82, 
18036         am, 
18037         cols#82, lines#20, 
18038         bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
18039         cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F, 
18040         home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
18041         is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
18042         ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
18043
18044 #### Synertek
18045 #
18046 # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
18047 #
18048 # Synertek used to make ICs, various 6502-based single-board process
18049 # control and hobbyist computers, and assorted peripherals including a
18050 # series of small inexpensive terminals (I think they were one of the
18051 # first to have a "terminal-on-a-keyboard", where the terminal itself
18052 # was only slightly larger than the keyboard).
18053 #
18054 # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
18055 # was a 40x24 terminal that could connect to a standard TV through a
18056 # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
18057 # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
18058 # I have a KTM-2/80 still in working order.  The KTM-2s had fully
18059 # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
18060 # ROM and 2 ROMs as character generators. They were incredibly simple,
18061 # and I've never had any problems with mine (witness the fact that mine
18062 # was made in 1981 and is still working great... I've blown the video
18063 # output transistor a couple of times, but it's a 2N2222 :-)
18064 #
18065 # The KTM-3 (which is what is listed in the terminfo file) was their
18066 # attempt at putting a KTM-2 in a box (and some models came with a
18067 # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
18068 # control and escape sequences are very different. The KTM-3 was always
18069 # real broken, at least according to the folks I've talked to about it.
18070
18071 # The padding in the entry is probably off--these terminals were very
18072 # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
18073 # anyone with any sanity replaced the ROMs with something that provided
18074 # a reasonable subset of VT100 functionality, since the usual ROMs were
18075 # obviously very primitive... oh, you could get an upgraded ROM from
18076 # Synertek for some incredible amount of money, but what hacker with an
18077 # EPROM burner would do that? :)
18078
18079 # Sorry I don't have any contact info; I believe they were located in
18080 # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
18081 # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
18082 # business these days.
18083 #
18084
18085 # Tested, seems to work fine with vi.
18086 synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
18087         am, 
18088         cols#80, lines#24, 
18089         clear=^Z, cub1=^H, cuf1=^L, 
18090         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
18091
18092 #### Tab Office Products
18093 #
18094 #       TAB Products Co. - Palo Alto, California
18095 #       Electronic Office Products,
18096 #       1451 California Avenue 94304
18097 #
18098 # I think they're out of business.
18099 #
18100
18101 # The tab 132 uses xon/xoff, so no padding needed.
18102 # <smkx>/<rmkx> have nothing to do with arrow keys.
18103 # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
18104 # Seems to be no way to get rid of status line.
18105 # The manual for this puppy was dated June 1981.  It claims to be VT52-
18106 # compatible but looks more vt100-like.
18107 tab132|tab|tab132-15|tab 132/15, 
18108         da, db, 
18109         OTdN@, cols#80, lines#24, lm#96, 
18110         cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M, 
18111         il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B, 
18112         kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, use=vt100, 
18113 tab132-w|tab132 in wide mode, 
18114         cols#132, 
18115         is2=\E[?7h\E[?3h\E[?5l, use=tab132, 
18116 tab132-rv|tab132 in reverse-video mode, 
18117         is2=\E[?7h\E[?3l\E[?5h, use=tab132, 
18118 tab132-w-rv|tab132 in reverse-video/wide mode, 
18119         is2=\E[?7h\E[?3h\E[?5h, use=tab132-w, 
18120
18121
18122 #### Teleray
18123 #
18124 #       Research Incorporated
18125 #       6425 Flying Cloud Drive
18126 #       Eden Prairie, MN 55344
18127 #       Vox: (612)-941-3300
18128 #
18129 # The Teleray terminals were all discontinued in 1992-93.  RI still services
18130 # and repairs these beasts, but no longer manufactures them.  The Teleray
18131 # people believe that all the types listed below are very rare now (1995).
18132 # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
18133 # Model 100) that were ANSI-compatible.
18134 #
18135 # Note two things called "teleray".  Reorder should move the common one
18136 # to the front if you have either.  A dumb teleray with the cursor stuck
18137 # on the bottom and no obvious model number is probably a 3700.
18138 #
18139
18140 t3700|dumb teleray 3700, 
18141         OTbs, 
18142         cols#80, lines#24, 
18143         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
18144 t3800|teleray 3800 series, 
18145         OTbs, 
18146         cols#80, it#8, lines#24, 
18147         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
18148         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
18149         home=\EH, ht=^I, ind=^J, ll=\EY7\s, 
18150 t1061|teleray|teleray 1061, 
18151         OTbs, am, km, xhp, xt, 
18152         cols#80, it#8, lines#24, xmc#1, 
18153         bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
18154         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
18155         dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF, 
18156         ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
18157         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, 
18158         kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7, 
18159         kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH, 
18160         tbc=\EG, 
18161 t1061f|teleray 1061 with fast PROMs, 
18162         dl1=\EM, il1=\EL, ip@, use=t1061, 
18163 # "Teleray Arpa Special", officially designated as
18164 # "Teleray Arpa network model 10" with "Special feature 720".
18165 # This is the new (1981) fast microcode updating the older "arpa" proms
18166 # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
18167 # converts the keypad to programmable function keys, and has other goodies.
18168 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
18169 # programs handle such lossage properly.
18170 # Note: this is NOT the old termcap's "t1061f with fast proms."
18171 # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
18172 # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
18173 t10|teleray 10 special, 
18174         OTbs, km, xhp, xt, 
18175         cols#80, it#8, lines#24, xmc#2, 
18176         clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
18177         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
18178         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
18179         ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
18180         smul=\ERH, 
18181 # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
18182 # back/forth words. Put the function keys (f1-f10) where they can be
18183 # found, and turn off the other magic keys along the top row, except
18184 # for line/local. Do the magic appropriate to make the page shifts work.
18185 # Also toggle ^S/^Q for those of us who use Emacs.
18186 t16|teleray 16, 
18187         am, da, db, mir, xhp, xt, 
18188         cols#80, lines#24, 
18189         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
18190         cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P, 
18191         dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L, 
18192         ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
18193         kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
18194         rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
18195         rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
18196         smso=\E[7m, smul=\E[4m, 
18197
18198 #### Texas Instruments (ti)
18199 #
18200
18201 # The Silent 700 was so called because it was built around a quiet thermal
18202 # printer.  It was portable, equipped with an acoustic coupler, and pretty
18203 # neat for its day.
18204 ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
18205         OTbs, hc, os, 
18206         cols#80, 
18207         bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
18208
18209 #
18210 # Texas Instruments 916 VDT 7 bit control mode
18211 #
18212 ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL, 
18213         da, db, in, msgr, 
18214         cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>, 
18215         cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB, 
18216         cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
18217         cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P, 
18218         dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, 
18219         el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>, 
18220         hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>, 
18221         il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H, 
18222         kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~, 
18223         kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~, 
18224         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
18225         kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T, 
18226         kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, 
18227         smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
18228         use=vt220, 
18229 #
18230 # Texas Instruments 916 VDT 8 bit control mode
18231 #
18232 ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL, 
18233         kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
18234         kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~, 
18235         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~, 
18236         kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
18237         kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H, 
18238         kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, use=ti916, 
18239 #
18240 # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
18241 #
18242 ti916-132|Texas Instruments 916 VDT vt220 132 column, 
18243         cols#132, use=ti916, 
18244 #
18245 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
18246 #
18247 ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column, 
18248         cols#132, use=ti916-8, 
18249 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
18250         OTbs, am, xon, 
18251         cols#80, it#8, lines#24, 
18252         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
18253         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
18254         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
18255         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
18256         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
18257         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
18258         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
18259         kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~, 
18260         kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m, 
18261         ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
18262         smul=\E[4m, tbc=\E[3g, 
18263 ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
18264         am, xon, 
18265         cols#80, it#8, lines#24, 
18266         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
18267         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
18268         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
18269         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
18270         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
18271         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
18272         kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
18273         kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>, 
18274         kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>, 
18275         kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, 
18276         rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
18277         smul=\E[4m, tbc=\E[3g, 
18278 ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
18279         cols#132, use=ti924, 
18280 ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
18281         cols#132, use=ti924-8, 
18282 ti931|Texas Instruments 931 VDT, 
18283         OTbs, am, xon, 
18284         cols#80, lines#24, 
18285         bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED, 
18286         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
18287         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
18288         ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
18289         is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
18290         kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, 
18291         kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, 
18292         kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
18293         sgr0=\E4@, smso=\E4A, smul=\E4D, 
18294 ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
18295         csr@, ind=\E[1S, ri=\E[1T, use=ti924, 
18296 # (ti926-8: I corrected this from the broken SCO entry -- esr)
18297 ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
18298         csr@, ind=\2331S, ri=\2331T, use=ti924-8, 
18299 ti_ansi|basic entry for ti928, 
18300         am, bce, eo, xenl, xon, 
18301         colors#8, cols#80, it#8, lines#25, pairs#64, 
18302         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, 
18303         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
18304         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
18305         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
18306         il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
18307         kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M, 
18308         kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, 
18309         kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
18310         op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m, 
18311         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
18312         smso=\E[7m, smul=\E[4m, 
18313 #
18314 #       928 VDT 7 bit control mode
18315 #
18316 ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
18317         kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
18318         kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
18319         kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
18320         kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
18321         kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, use=ti_ansi, 
18322 #
18323 #       928 VDT 8 bit control mode
18324 #
18325 ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
18326         kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~, 
18327         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~, 
18328         kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~, 
18329         kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~, 
18330         kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S, 
18331         kpp=\233T, kprt=\23335~, use=ti_ansi, 
18332
18333 #### Zentec (zen)
18334 #
18335
18336 # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
18337 # had just <smso>=\EG6 which I think means standout was supposed to be 
18338 # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
18339 # <invis> might work-- esr)
18340 zen30|z30|zentec 30, 
18341         OTbs, am, mir, ul, 
18342         cols#80, lines#24, 
18343         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
18344         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
18345         dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^, 
18346         il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6, 
18347         smul@, use=adm+sgr, 
18348 # (zen50: this had extension capabilities
18349 #       :BS=^U:CL=^V:CR=^B:
18350 # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
18351 # which were also in the original entry -- esr)
18352 # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
18353 zen50|z50|zentec zephyr, 
18354         OTbs, am, 
18355         cols#80, lines#24, xmc#1, 
18356         clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
18357         cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
18358         invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
18359         rmul@, smul@, use=adm+sgr, 
18360
18361 # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
18362 cci|cci1|z8001|zen8001|CCI Custom Zentec 8001, 
18363         OTbs, am, bw, 
18364         cols#80, lines#24, 
18365         blink=\EM", clear=\EH\EJ, cnorm=\EP, 
18366         csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J, 
18367         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
18368         cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH, 
18369         invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED, 
18370         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R, 
18371         rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s, 
18372         smso=\EM$, smul=\EM0, 
18373
18374 ######## OBSOLETE UNIX CONSOLES
18375 #
18376
18377 #### Apollo consoles
18378 #
18379 # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
18380 # labeled HP700s now.
18381 #
18382
18383 # From: Gary Darland <goodmanc@garnet.berkeley.edu>
18384 apollo|apollo console, 
18385         OTbs, am, mir, 
18386         cols#88, lines#53, 
18387         clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
18388         cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL, 
18389         ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED, 
18390         rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ, 
18391         smso=\ES, smul=\EU, vpa=\EO+\s, 
18392
18393 # We don't know whether or not the apollo guys replicated DEC's firmware bug
18394 # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
18395 # both these capabilities.
18396 apollo_15P|apollo 15 inch display, 
18397         rmir@, smir@, use=vt132, 
18398 apollo_19L|apollo 19 inch display, 
18399         rmir@, smir@, use=vt132, 
18400 apollo_color|apollo color display, 
18401         rmir@, smir@, use=vt132, 
18402
18403 #### Convergent Technology
18404 #
18405 # Burroughs bought Convergent shortly before it merged with Univac.
18406 # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
18407 # from 1991 or earlier).
18408 #
18409
18410 # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
18411 # (aws: removed unknown :dn=^K: -- esr)
18412 aws|Convergent Technologies AWS workstation under UTX and Xenix, 
18413         am, 
18414         OTug#0, cols#80, lines#28, xmc#0, 
18415         OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=, 
18416         clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, 
18417         dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c, 
18418         ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K, 
18419         kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF, 
18420         rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN, 
18421         vpa=\EV%p1%c, 
18422 awsc|Convergent Technologies AWS workstation under CTOS, 
18423         am, 
18424         OTug#0, cols#80, lines#24, xmc#0, 
18425         OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L, 
18426         cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF, 
18427         el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A, 
18428         rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE, 
18429         smul=\EAC, 
18430
18431 #### DEC consoles
18432 #
18433
18434 # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
18435 # The digital uVax II's had a graphic display called a qdss.  It was
18436 # supposed to be a high performance graphic accelerator, but it was
18437 # late to market and barely appeared before faster dumb frame buffers
18438 # appeared.  I have only used this display while running X11.  However,
18439 # during bootup, it was in text mode, and probably had a terminal emulator
18440 # within it.  And that is what your termcap entry is for.  In graphics
18441 # mode the screen size is 1024x864 pixels.
18442 qdss|qdcons|qdss glass tty, 
18443         OTbs, am, 
18444         cols#128, lines#57, 
18445         clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
18446         cup=\E=%p1%c%p2%c, cuu1=^K, 
18447
18448 #### Fortune Systems consoles
18449 #
18450 # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
18451 # in their day; I (esr) used one myself for a year or so around 1984.
18452 # They had no graphics, though, and couldn't compete against Suns and
18453 # the like.  R.I.P.
18454 #
18455
18456 # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
18457 # (This had extension capabilities
18458 #       :rv=\EH:re=\EI:rg=0:GG=0:\
18459 #       :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
18460 #       :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
18461 #       :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
18462 # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
18463 # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
18464 # to force both magic cookie glitches off.  Once upon a time, I
18465 # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
18466 # function keys; thus the "Al" value for HM was certainly an error.  I renamed
18467 # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
18468 # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
18469 # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
18470 # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
18471 fos|fortune|Fortune system, 
18472         OTbs, am, bw, 
18473         cols#80, lines#25, 
18474         acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E], 
18475         clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
18476         cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
18477         cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
18478         ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
18479         ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H, 
18480         kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r, 
18481         kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r, 
18482         kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, 
18483         khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, 
18484         rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
18485         smso=^\H`, smul=^\HP, 
18486
18487 #### Masscomp consoles
18488 #
18489 # Masscomp has gone out of business.  Their product line was purchased by
18490 # comany in Georgia (US) called "XS International", parts and service may
18491 # still be available through them.
18492 #
18493
18494 # (masscomp: ":MT:" changed to ":km:";  -- esr)
18495 masscomp|masscomp workstation console, 
18496         OTbs, km, mir, 
18497         cols#80, it#8, lines#24, 
18498         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
18499         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
18500         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H, 
18501         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, 
18502         rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
18503 masscomp1|masscomp large screen version 1, 
18504         cols#104, lines#36, use=masscomp, 
18505 masscomp2|masscomp large screen version 2, 
18506         cols#64, lines#21, use=masscomp, 
18507
18508 ######## OTHER OBSOLETE TYPES
18509 #
18510 # These terminals are *long* dead -- these entries are retained for
18511 # historical interest only.
18512 #
18513
18514 #### Obsolete non-ANSI software emulations
18515 #
18516
18517 # CTRM terminal emulator
18518 # 1. underlining is not allowed with colors: first, is is simulated by 
18519 # black on white, second, it disables background color manipulations.
18520 # 2. BLINKING, REVERSE and BOLD are allowed with colors,
18521 # so we have to save their status in the static registers A, B and H
18522 # respectively, to be able to restore them when color changes
18523 # (because any color change turns off ALL attributes)
18524 # 3. <bold> and <rev> sequences alternate modes,
18525 # rather than simply  entering them.  Thus we have to check the
18526 # static register B and H to determine the status, before sending the 
18527 # escape sequence.
18528 # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
18529 # and then reset colors
18530 # 5. implementation of the protect mode would badly penalize the performance.
18531 # we would have to use \E&bn sequence to turn off colors (as well as all
18532 # other attributes), and keep the status of protect mode in yet another
18533 # static variable.  If someone really needs this mode, they would have to
18534 # create another terminfo entry.
18535 # 6. original color-pair is white on black.
18536 # store the information about colors into static registers
18537 # 7. set foreground color.  it performs the following steps.
18538 #   1) turn off all attributes
18539 #   2) turn on the background and video attributes that have been turned
18540 #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
18541 #   3) turn on foreground attributes
18542 #   4) store information about foreground into U,V,W static registers
18543 # 8. turn on background: similar to turn on foreground above
18544 ctrm|C terminal emulator, 
18545         am, bce, xon, 
18546         colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0, 
18547         pairs#63, pb#19200, vt#6, 
18548         bel=^G, blink=\E&dA%{1}%PA, 
18549         bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
18550         clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
18551         cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM, 
18552         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1, 
18553         il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, 
18554         kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
18555         kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
18556         kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
18557         op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU, 
18558         rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
18559         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, 
18560         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, 
18561         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%;, 
18562         sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
18563         smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
18564
18565 # gs6300 - can't use blue foreground, it clashes with underline;
18566 # it's simulated with cyan
18567 # Bug: The <op> capability probably resets attributes.
18568 # (gs6300: commented out <rmln> (no <smln>) --esr)
18569 gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
18570         am, bce, msgr, xon, 
18571         colors#8, cols#80, it#8, lines#24, pairs#63, 
18572         acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
18573         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
18574         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
18575         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
18576         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
18577         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
18578         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
18579         is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B, 
18580         kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s, 
18581         kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
18582         khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
18583         ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
18584         setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m, 
18585         sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
18586
18587 # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
18588 # MS-Kermit with Heath-19 emulation mode enabled
18589 # (h19k: changed ":pt@:" to ":it@"
18590 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
18591         am@, da, db, xt, 
18592         it@, 
18593         ht@, use=h19-u, 
18594
18595 # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
18596 # Software (formerly Peripherals Computers & Supplies, Inc) of
18597 # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
18598 # also be reached at support@synergy.com.
18599 versaterm|versaterm vt100 emulator for the macintosh, 
18600         am, xenl, 
18601         cols#80, it#8, lines#24, 
18602         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
18603         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
18604         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
18605         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
18606         dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>, 
18607         el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>, 
18608         il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
18609         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
18610         kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, 
18611         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
18612         rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>, 
18613         sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>, 
18614         smul=\E[4m$<2/>, 
18615
18616 # From: Rick Thomas <ihnp4!btlunix!rbt>
18617 # (xtalk: I added <rmam>/<smam> based on the init string.
18618 xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
18619         am, mir, msgr, xon, 
18620         cols#80, it#8, lines#24, vt#3, xmc#1, 
18621         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
18622         bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
18623         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
18624         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
18625         cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>, 
18626         el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
18627         il1=\E[L$<99>, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
18628         kcuf1=\EOC, kcuu1=\EOA, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
18629         rmkx=\E[?1l\E>, rmso=\E[m\s, 
18630         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
18631         smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s, 
18632         tbc=\E[3g, use=vt100+fnkeys, 
18633
18634 # The official PC terminal emulator program of the AT&T Product Centers.
18635 # Note - insert mode commented out - doesn't seem to work on AT&T PC.
18636 simterm|attpc running simterm, 
18637         am, 
18638         cols#80, lines#24, 
18639         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
18640         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER, 
18641         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE, 
18642         rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB, 
18643
18644 #### Daisy wheel printers
18645 #
18646 # This section collects Diablo, DTC, Xerox, Qume, and other daisy
18647 # wheel terminals.  These are now largely obsolete.
18648 #
18649
18650 # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
18651 diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
18652         hc, os, 
18653         cols#132, it#8, 
18654         cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c, 
18655         ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2, 
18656 diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
18657         cols#124, 
18658         is2=\r        \E9, use=diablo1620, 
18659 # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
18660 diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
18661         bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, 
18662         use=diablo1620, 
18663 # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
18664 # file -- esr)
18665 diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
18666         cols#124, 
18667         rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620, 
18668 diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
18669         use=diablo1640-lm, 
18670 # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
18671 # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
18672 # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
18673 # If no tab is set or the terminal's in a bad mood, it glitches the screen
18674 # around all of memory.  Note that return puts a blank ("a return character")
18675 # in the space the cursor was at, so we use ^P return (and thus ^P newline for
18676 # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
18677 # curses won't work (some old BSD versions) because it doesn't clear this bit,
18678 # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
18679 # I have been unable to get tabs set in all 96 lines - it always leaves at
18680 # least one line with no tabs in it, and once you tab through that line,
18681 # it completely weirds out.
18682 # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
18683 dtc382|DTC 382, 
18684         am, da, db, xhp, 
18685         cols#80, lines#24, lm#96, 
18686         bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H, 
18687         cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
18688         dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
18689         home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
18690         rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
18691 dtc300s|DTC 300s, 
18692         hc, os, 
18693         cols#132, 
18694         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
18695         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
18696 gsi|mystery gsi terminal, 
18697         hc, os, 
18698         cols#132, 
18699         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH, 
18700         ind=^J, 
18701 aj830|aj832|aj|anderson jacobson, 
18702         hc, os, 
18703         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
18704         ind=^J, 
18705 # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
18706 aj510|Anderson-Jacobson model 510, 
18707         am, mir, 
18708         cols#80, lines#24, 
18709         clear=^L, cub1=^H, cuf1=\EX, 
18710         cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
18711         dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=, 
18712         il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ, 
18713         kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J, 
18714         rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I, 
18715         smul=\E"U, 
18716 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
18717 # This is incomplete, but it's a start.
18718 nec5520|nec|spinwriter|nec 5520, 
18719         hc, os, 
18720         cols#132, it#8, 
18721         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
18722         hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J, 
18723         kbs=^H, tbc=\E3, 
18724 qume5|qume|Qume Sprint 5, 
18725         hc, os, 
18726         cols#80, it#8, 
18727         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
18728         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
18729 # I suspect the xerox 1720 is the same as the diablo 1620.
18730 xerox1720|x1720|x1750|xerox 1720, 
18731         hc, os, 
18732         cols#132, it#8, 
18733         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J, 
18734         tbc=\E2, 
18735
18736 #### Miscellaneous obsolete terminals, manufacturers unknown
18737 #
18738 # If you have any information about these (like, a manufacturer's name, 
18739 # and a date on the serial-number plate) please send it!
18740
18741 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
18742         OTbs, am, 
18743         cols#73, lines#36, 
18744         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
18745 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
18746         OTbs, am, 
18747         cols#85, lines#39, 
18748         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3, 
18749         kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7, 
18750         kf4=\E8, rmso=\Em^C, smso=\Em^L, 
18751 cops10|cops|cops-10|cops 10, 
18752         am, bw, 
18753         cols#80, lines#24, 
18754         bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
18755         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V, 
18756         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
18757         khome=^Y, 
18758 # (d132: removed duplicate :ic=\E5:,
18759 # merged in capabilities from a BRL entry -- esr)
18760 d132|datagraphix|datagraphix 132a, 
18761         da, db, in, 
18762         cols#80, lines#30, 
18763         bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, 
18764         cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, 
18765         dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, 
18766         kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew, 
18767 # The d800 was an early portable terminal from c.1984-85 that looked a lot
18768 # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
18769 # mode (which is what this entry looks like) and several other lesser-known
18770 # emulations.
18771 d800|Direct 800/A, 
18772         OTbs, am, da, db, msgr, xhp, 
18773         cols#80, it#8, lines#24, 
18774         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
18775         bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H, 
18776         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
18777         cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D, 
18778         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
18779         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
18780         ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
18781         smacs=\E[1m, smso=\E[7m, smul=\E[4m, 
18782 digilog|digilog 333, 
18783         OTbs, 
18784         cols#80, lines#16, 
18785         bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X, 
18786         home=^N, ind=^J, 
18787 # The DWK was a terminal manufactured in the Soviet Union c.1986
18788 dwk|dwk-vt|dwk terminal, 
18789         am, 
18790         cols#80, it#8, lines#24, 
18791         acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_, 
18792         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
18793         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
18794         ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
18795         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
18796         kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
18797         kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh, 
18798         kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX, 
18799         sgr0=\EX, smacs=\EF, smso=\ET, 
18800 env230|envision230|envision 230 graphics terminal, 
18801         xenl@, 
18802         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
18803         sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>, 
18804         use=vt100, 
18805 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
18806 # coupler attached, the whole rig fitting in a suitcase and more or less
18807 # portable.  Hot stuff for c.1977 :-) -- esr
18808 ep48|ep4080|execuport 4080, 
18809         OTbs, am, os, 
18810         cols#80, 
18811         bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J, 
18812 ep40|ep4000|execuport 4000, 
18813         cols#136, use=ep4080, 
18814 # Adam Thompson <athompso@pangea.ca> tells us:
18815 # Informer series - these are all portable units, resembling older
18816 # automatic bread-baking machines.  The terminal looks like a `clamshell'
18817 # design, but isn't.  The structure is similar to the Direct terminals,
18818 # but only half the width.  The entire unit is only about 10" wide.
18819 # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
18820 # keyboard.  All the keys are crammed together, much like some laptop
18821 # PCs today, but perhaps less well organized...all these units have a
18822 # bewildering array of plugs on the back, including a built-in modem.
18823 # The 305 was a color version of the 304; the 306 and 307 were mono and
18824 # color terminals built for IBM bisync protocols.
18825 # From: Paul Leondis <unllab@amber.berkeley.edu>
18826 ifmr|Informer D304, 
18827         OTbs, am, 
18828         cols#80, lines#24, 
18829         clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
18830         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\, 
18831         ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK, 
18832         smso=\EJ, 
18833 # Entry largely based on wy60 and has the features of wy60ak.
18834 opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
18835         am, bw, hs, km, mir, msgr, ul, xon, 
18836         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
18837         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
18838         cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M, 
18839         cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, 
18840         dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, 
18841         ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
18842         hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J, 
18843         ip=$<3>, 
18844         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, 
18845         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
18846         kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY, 
18847         kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
18848         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
18849         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
18850         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
18851         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
18852         mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
18853         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
18854         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
18855         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
18856         rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
18857         rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
18858         rs3=\EwG\Ee($<150>, 
18859         sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
18860         sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
18861         smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
18862         smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
18863         uc=\EG8\EG0, use=adm+sgr, 
18864 teletec|Teletec Datascreen, 
18865         OTbs, am, 
18866         cols#80, lines#24, 
18867         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
18868         home=^^, ind=^J, 
18869 # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
18870 # This description is for the LANPAR Technologies VISION 3220
18871 # terminal from 1984/85.  The function key definitions k0-k5 represent the
18872 # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
18873 # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
18874 #
18875 # Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
18876 # I had a couple of scopes (3221) like this once where I used to work, around
18877 # the 1987 time frame if memory serves me correctly.  These scopes were made  
18878 # by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
18879 # compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
18880 # was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
18881 # was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
18882 # (3221) cost about $1500 each, and one was always broken -- had to be sent
18883 # back to the shop for repairs.
18884 # The only real advantage these scopes had over the VT-240's were:
18885 # 1) They were faster in the Regis display, or at least the ones I did
18886 # 2) They had a handy debugging feature where you could split-screen the
18887 # scope, the graphics would appear on the top, and the REGIS commands would
18888 # appear on the bottom.  I don't remember the VT-240s being able to do that.
18889 # I would swear that LANPAR Technologies was in MA someplace, but since I
18890 # don't work at the same place anymore, and those terminals and manuals were
18891 # long since junked, I cannot be any more sure than that.
18892 #
18893 # (v3220: removed obsolete ":kn#10:",
18894 # I added <rmam>/<smam> based on the init string -- esr)
18895 v3220|LANPAR Vision II model 3220/3221/3222, 
18896         OTbs, am, mir, xenl, 
18897         cols#80, it#8, lines#24, 
18898         clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
18899         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
18900         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
18901         is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B, 
18902         kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, 
18903         kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, 
18904         kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
18905         rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
18906         smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
18907 ######## ICH/ICH1 VERSUS RMIR/SMIR
18908 #
18909 # Some non-curses applications get confused if both ich/ich1 and rmir/smir
18910 # are present; the symptom is doubled characters in an update using insert.
18911 # These applications are technically correct; in both 4.3BSD termcap and
18912 # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
18913 # unless the terminal needs both.  To my knowledge, no terminal still in this
18914 # file requires both other than the very obsolete dm2500.
18915 #
18916 # For ncurses-based applications this is not a problem, as ncurses uses
18917 # one or the other as appropriate but never mixes the two.  Therefore we
18918 # have not corrected entries like `linux' and `xterm' that specify both.
18919 # If you see doubled characters from these, use the linux-nic and xterm-nic
18920 # entries that suppress ich/ich1.  And upgrade to ncurses!
18921 #
18922
18923 ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
18924 #
18925 # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
18926 # ECMA-48 standards are said to be almost identical, but are not the same
18927 # as X3.64 (though for practical purposes they are close supersets of it).
18928 #
18929 # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
18930 # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
18931 # Coded Character Sets"), include your snail-mail address, and you should
18932 # receive the document in due course.  Don't expect an email acknowledgement.
18933 #
18934 # Related standards include "X3.4-1977: American National Standard Code for
18935 # Information Interchange" (the ASCII standard) and "X3.41.1974: 
18936 # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
18937 # American National Standard for Information Interchange."  I believe (but
18938 # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
18939 # respectively. 
18940 #
18941
18942 #### VT100/ANSI/ECMA-48
18943 #
18944 # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
18945 # and ECMA-48 Control Functions for Coded Character Sets.
18946
18947 # Much of the content of this comment is adapted from a table prepared by
18948 # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
18949 # discussion of some terminfo-related issues, and updates to capture ECMA-48
18950 # have been added.  Control functions described in ECMA-48 only are tagged
18951 # with * after their names.
18952 #
18953 # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
18954 # sequences.  In the main table, \E stands for an escape (\033) character,
18955 # SPC for space.  Pn stands for a single numeric parameter to be inserted
18956 # in decimal ASCII.  Ps stands for a list of such parameters separated by
18957 # semicolons.  Parameter meanings for most parametrized sequences are
18958 # decribed in the notes.
18959 #
18960 # Sequence     Sequence                             Parameter   or
18961 # Mnemonic     Name              Sequence           Value      Mode   terminfo
18962 # -----------------------------------------------------------------------------
18963 # APC  Applicatn Program Command \E _                -         Delim  -
18964 # BEL  Bell *                    ^G                  -         -      bel
18965 # BPH  Break Permitted Here *    \E B                -         *      -
18966 # BS   Backpace *                ^H                  -         EF     -
18967 # CAN  Cancel *                  ^X                  -         -      -   (A)
18968 # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
18969 # CCH  Cancel Previous Character \E T                -         -      -
18970 # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
18971 # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
18972 # CMD  Coding Method Delimiter * \E
18973 # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
18974 # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
18975 # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
18976 # CSI  Control Sequence Intro    \E [                -         Intro  -
18977 # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
18978 # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
18979 # CUD  Cursor Down               \E [ Pn B           1         eF     cud
18980 # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
18981 # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
18982 # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
18983 # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
18984 # DA   Device Attributes         \E [ Pn c           0         -      -
18985 # DAQ  Define Area Qualification \E [ Ps o           0         -      -
18986 # DCH  Delete Character          \E [ Pn P           1         eF     dch
18987 # DCS  Device Control String     \E P                -         Delim  -
18988 # DL   Delete Line               \E [ Pn M           1         eF     dl
18989 # DLE  Data Link Escape *        ^P                  -         -      -
18990 # DMI  Disable Manual Input      \E \                -         Fs     -
18991 # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
18992 # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
18993 # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
18994 # ECH  Erase Character           \E [ Pn X           1         eF     ech
18995 # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
18996 # EF   Erase in Field            \E [ Ps N           0         eF     -
18997 # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
18998 # EM   End of Medium *           ^Y                  -         -      -
18999 # EMI  Enable Manual Input       \E b                          Fs     -
19000 # ENQ  Enquire                   ^E                  -         -      -
19001 # EOT  End Of Transmission       ^D                  -         *      -
19002 # EPA  End of Protected Area     \E W                -         -      -   (K)
19003 # ESA  End of Selected Area      \E G                -         -      -
19004 # ESC  Escape                    ^[                  -         -      -
19005 # ETB  End Transmission Block    ^W                  -         -      -
19006 # ETX  End of Text               ^C                  -         -      -
19007 # FF   Form Feed                 ^L                  -         -      -
19008 # FNK  Function Key *            \E [ Pn SPC W       -         -      -
19009 # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
19010 # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
19011 # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
19012 # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
19013 # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
19014 # HPB  Char Position Backward    \E [ j              1         FE     -
19015 # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
19016 # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
19017 # HTJ  Horz Tab w/Justification  \E I                -         FE     -
19018 # HTS  Horizontal Tab Set        \E H                -         FE     hts
19019 # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
19020 # ICH  Insert Character          \E [ Pn @           1         eF     ich
19021 # IDCS ID Device Control String  \E [ SPC O          -         *      -
19022 # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
19023 # IL   Insert Line               \E [ Pn L           1         eF     il
19024 # IND  Index                     \E D                -         FE     -
19025 # INT  Interrupt                 \E a                -         Fs     -
19026 # JFY  Justify                   \E [ Ps SPC F       0         FE     -
19027 # IS1  Info Separator #1 *       ^_                  -         *      -
19028 # IS2  Info Separator #1 *       ^^                  -         *      -
19029 # IS3  Info Separator #1 *       ^]                  -         *      -
19030 # IS4  Info Separator #1 *       ^\                  -         *      -
19031 # LF   Line Feed                 ^J                  -         -      -
19032 # LS1R Locking Shift Right 1 *   \E ~                -         -      -
19033 # LS2  Locking Shift 2 *         \E n                -         -      -
19034 # LS2R Locking Shift Right 2 *   \E }                -         -      -
19035 # LS3  Locking Shift 3 *         \E o                -         -      -
19036 # LS3R Locking Shift Right 3 *   \E |                -         -      -
19037 # MC   Media Copy                \E [ Ps i           0         -      -   (S)
19038 # MW   Message Waiting           \E U                -         -      -
19039 # NAK  Negative Acknowledge *    ^U                  -         *      -
19040 # NBH  No Break Here *           \E C                -         -      -
19041 # NEL  Next Line                 \E E                -         FE     nel (D)
19042 # NP   Next Page                 \E [ Pn U           1         eF     -
19043 # NUL  Null *                    ^@                  -         -      -
19044 # OSC  Operating System Command  \E ]                -         Delim  -
19045 # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
19046 # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
19047 # PLD  Partial Line Down         \E K                -         FE     -   (T)
19048 # PLU  Partial Line Up           \E L                -         FE     -   (U)
19049 # PM   Privacy Message           \E ^                -         Delim  -
19050 # PP   Preceding Page            \E [ Pn V           1         eF     -
19051 # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
19052 # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
19053 # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
19054 # PTX  Parallel Texts *          \E [ \              -         -      -
19055 # PU1  Private Use 1             \E Q                -         -      -
19056 # PU2  Private Use 2             \E R                -         -      -
19057 # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
19058 # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
19059 # RI   Reverse Index             \E M                -         FE     -   (V)
19060 # RIS  Reset to Initial State    \E c                -         Fs     -
19061 # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
19062 # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
19063 # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
19064 # SCI  Single-Char Introducer    \E Z                -         -      -
19065 # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
19066 # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
19067 # SD   Scroll Down               \E [ Pn T           1         eF     rin
19068 # SDS  Start Directed String *   \E [ Pn ]           1         -      -
19069 # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
19070 # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
19071 # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
19072 # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
19073 # SI   Shift In                  ^O                  -         -      -   (P)
19074 # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
19075 # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
19076 # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
19077 # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
19078 # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
19079 # SM   Select Mode               \E [ Ps h           none      -      -   (W)
19080 # SO   Shift Out                 ^N                  -         -      -   (Q)
19081 # SOH  Start Of Heading *        ^A                  -         -      -
19082 # SOS  Start of String *         \E X                -         -      -
19083 # SPA  Start of Protected Area   \E V                -         -      -   (Z)
19084 # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
19085 # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
19086 # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
19087 # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
19088 # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
19089 # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
19090 # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
19091 # SRS  Start Reversed String *   \E [ Ps [           0         -      -
19092 # SSA  Start of Selected Area    \E F                -         -      -
19093 # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
19094 # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
19095 # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
19096 # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
19097 # ST   String Terminator         \E \                -         Delim  -
19098 # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
19099 # STS  Set Transmit State        \E S                -         -      -
19100 # STX  Start pf Text *           ^B                  -         -      -
19101 # SU   Scroll Up                 \E [ Pn S           1         eF     indn
19102 # SUB  Substitute *              ^Z                  -         -      -
19103 # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
19104 # SYN  Synchronous Idle *        ^F                  -         -      -
19105 # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
19106 # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
19107 # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
19108 # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
19109 # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
19110 # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
19111 # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
19112 # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
19113 # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
19114 # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
19115 # VT   Vertical Tabulation *     ^K                  -         FE     -
19116 # VTS  Vertical Tabulation Set   \E J                -         FE     -
19117
19118 # ---------------------------------------------------------------------------
19119 #
19120 # Notes:
19121 #
19122 # Some control characters are listed in the ECMA-48 standard without 
19123 # being assigned functions relevant to terminal control there (they 
19124 # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
19125 # here anyway for completeness.
19126 #
19127 # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
19128 #
19129 # (B) There seems to be some confusion abroad between CHA and HPA.  Most
19130 # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
19131 # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
19132 # preserved the CHA abbreviation.
19133 #
19134 # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
19135 # Occasionally (as on, for example, certain HP terminals) this has the HTJ
19136 # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
19137 # CHT abbreviation.
19138 #
19139 # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
19140 #
19141 # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
19142 # abbreviation.
19143
19144 # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
19145 # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
19146 # 5 = clear all char tabs, 6 = clear all line tabs.
19147 #
19148 # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
19149 # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
19150 # Position Absolute" but retains the HVP abbreviation.
19151 #
19152 # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
19153 # abbreviation.
19154 #
19155 # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
19156 # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
19157 # DSR, 6 = request CPR response.
19158 #
19159 # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
19160 # 1 = clear from beginning, 2 = clear.
19161
19162 # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
19163 #
19164 # (L) The GSM parameters are vertical and horizontal parameters to scale by.
19165 #
19166 # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
19167 # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
19168 # Position Relative" but retains the HPR abbreviation.
19169 #
19170 # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
19171 # abbreviation.
19172 #
19173 # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
19174 # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
19175 # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
19176 # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
19177 # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
19178 # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
19179 # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
19180 # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
19181 # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
19182 # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
19183 # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
19184 # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
19185 # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
19186 # 61-65 = variable highlights for ideograms.
19187 #
19188 # (P) SI is also called LSO, Locking Shift Zero.
19189 #
19190 # (Q) SI is also called LS1, Locking Shift One.
19191 #
19192 # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
19193 # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
19194 # Absolute' but retains the VPA abbreviation.
19195 #
19196 # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
19197 # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
19198 # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
19199 # start relay to primary aux device, 6 = stop relay to secondary aux device,
19200 # 7 = start relay to secondary aux device.
19201 #
19202 # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
19203 # abbreviation.
19204 #
19205 # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLU
19206 # abbreviation.
19207 #
19208 # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
19209 #
19210 # (W) RM/SM modes are as follows: 1 = Guarded Area Transfer Mode (GATM), 
19211 # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
19212 # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
19213 # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
19214 # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
19215 # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
19216 # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
19217 # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
19218 # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
19219 # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
19220 # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
19221 # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
19222 # from ECMA-48's 5th edition but are listed here for reference.
19223 #
19224 # (X) Select Alternate Presentation Variants is used only for non-Latin
19225 # alphabets.
19226 #
19227 # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
19228 #
19229 # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
19230 # abbreviation.
19231 #
19232 # ---------------------------------------------------------------------------
19233
19234 # Abbreviations:
19235 #
19236 # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
19237 #        X3.64 Control Sequence Introducer is the two characters "Escape ["
19238
19239 # Delim  a Delimiter
19240
19241 # x/y    identifies a character by position in the ASCII table (column/row)
19242
19243 # eF     editor function (see explanation)
19244
19245 # FE     format effector (see explanation)
19246 #
19247 # F      is a Final character in
19248 #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
19249 #             a control sequence (F from 4/0 to 7/14)
19250
19251 # Gs     is a graphic character appearing in strings (Gs ranges from
19252 #        2/0 to 7/14) in the ASCII table
19253
19254 # Ce     is a control represented as a single bit combination in the C1 set
19255 #        of controls in an 8-bit character set
19256
19257 # C0     the familiar set of 7-bit ASCII control characters
19258
19259 # C1     roughly, the set of control chars available only in 8-bit systems.
19260 #        This is too complicated to explain fully here, so read Jim Fleming's
19261 #        article in the February 1983 BYTE, especially pages 214 through 224.
19262
19263 # Fe     is a Final character of a 2-character Escape sequence that has an
19264 #        equivalent representation in an 8-bit environment as a Ce-type
19265 #        (Fe ranges from 4/0 to 5/15)
19266
19267 # Fs     is a Final character of a 2-character Escape sequence that is
19268 #        standardized internationally with identical representation in 7-bit
19269 #        and 8-bit environments and is independent of the currently
19270 #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
19271
19272 # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
19273 #        ASCII table
19274
19275 # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
19276 #        table
19277
19278 # Pn     is a numeric parameter in a control sequence, a string of zero or
19279 #        more characters ranging from 3/0 to 3/9 in the ASCII table
19280
19281 # Ps     is a variable number of selective parameters in a control sequence
19282 #        with each selective parameter separated from the other by the code
19283 #        3/11 (which usually represents a semicolon); Ps ranges from
19284 #        3/0 to 3/9 and includes 3/11
19285 #
19286 # *      Not relevant to terminal control, listed for completeness only.
19287
19288 # Format Effectors versus Editor Functions
19289
19290 # A format effector specifies how following output is to be displayed.
19291 # An editor function allows you to modify the display.  Informally
19292 # format effectors may be destructive; format effectors should not be.
19293
19294 # For instance, a format effector that moves the "active position" (the 
19295 # cursor or equivalent) one space to the left would be useful when you want to
19296 # create an overstrike, a compound character made of two standard characters
19297 # overlaid. Control-H, the Backspace character, is actually supposed to be a
19298 # format effector, so you can do this. But many systems use it in a
19299 # nonstandard fashion, as an editor function, deleting the character to the
19300 # left of the cursor and moving the cursor left. When Control-H is assumed to
19301 # be an editor function, you cannot predict whether its use will create an
19302 # overstrike unless you also know whether the output device is in an "insert
19303 # mode" or an "overwrite mode". When Control-H is used as a format effector,
19304 # its effect can always be predicted. The familiar characters carriage
19305 # return, linefeed, formfeed, etc., are defined as format effectors.
19306 #
19307 # NOTES ON THE DEC VT100 IMPLEMENTATION
19308
19309 # Control sequences implemented in the VT100 are as follows:
19310
19311 #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
19312 #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
19313
19314 # plus several private DEC commands.
19315
19316 # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
19317
19318 #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
19319 #      Erase from beginning of line to cursor     Esc [ 1 K
19320 #      Erase line containing cursor               Esc [ 2 K
19321 #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
19322 #      Erase from beginning of screen to cursor   Esc [ 1 J
19323 #      Erase entire screen                        Esc [ 2 J
19324 #
19325 # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
19326 # Esc [ 2 J, but this is wrong; the default is 0.
19327
19328 # The VT100 responds to receiving the DA (Device Attributes) control
19329
19330 #      Esc [ c    (or Esc [ 0 c)
19331
19332 # by transmitting the sequence
19333
19334 #      Esc [ ? l ; Ps c
19335
19336 # where Ps is a character that describes installed options.
19337
19338 # The VT100's cursor location can be read with the DSR (Device Status
19339 # Report) control
19340
19341 #      Esc [ 6 n
19342
19343 # The VT100 reports by transmitting the CPR sequence
19344
19345 #      Esc [ Pl ; Pc R
19346
19347 # where Pl is the line number and Pc is the column number (in decimal).
19348
19349 # The specification for the DEC VT100 is document EK-VT100-UG-003.
19350
19351 #### ANSI.SYS
19352
19353 # Here is a description of the color and attribute controls supported in the
19354 # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
19355 # terminal emulators for Intel boxes obey these.  They are a proper subset
19356 # of the ECMA-48 escapes.
19357 #
19358 # 0     all attributes off
19359 # 1     foreground bright
19360 # 4     underscore on
19361 # 5     blink on/background bright (not reliable with brown)
19362 # 7     reverse-video
19363 # 8     set blank (non-display)
19364 # 10    set primary font
19365 # 11    set first alternate font (on PCs, display ROM characters 1-31)
19366 # 12    set second alternate font (on PCs, display IBM high-half chars)
19367 #
19368 #                       Color attribute sets
19369 # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
19370 # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
19371 # Bright black becomes gray.  Bright brown becomes yellow,
19372 # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
19373 #
19374 # * If the 5 attribute is on and you set a background color (40-47) it is
19375 #   supposed to enable bright background.
19376 #
19377 # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
19378 #   when you try to set a "bright brown" (yellow) background with attribute
19379 #   5 (you get a blinking yellow foreground instead).  A few displays
19380 #   (including the System V console) support an attribute 6 that undoes this
19381 #   braindamage (this is required by iBCS2).
19382 #
19383 # * Some older versions of ANSI.SYS have a bug that causes thems to require
19384 #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
19385 #   compatible.)
19386
19387 #### Intel Binary Compatibility Standard
19388 #
19389 # For comparison, here are the capabilities implied by the Intel Binary 
19390 # Compatibility Standard for UNIX systems (Intel order number 468366-001).
19391 # These recommendations are optional.  IBCS2 allows the leading escape to
19392 # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
19393 # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
19394 # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
19395 # terminfo entry are followed with the corresponding capability in parens:
19396 #
19397 #       CSI <n>k                disable (n=0) or enable (n=1) keyclick
19398 #       CSI 2h                  lock keyboard
19399 #       CSI 2i                  send screen as input
19400 #       CSI 2l                  unlock keyboard
19401 #       CSI 6m                  enable background color intensity
19402 #       CSI <0-2>c              reserved
19403 #       CSI <0-59>m             select graphic rendition
19404 #       CSI <n>;<m>H    (cup)   cursor to line n and column m
19405 #       CSI <n>;<m>f            cursor to line n and column m
19406 #       CSI <n>@        (ich)   insert characters
19407 #       CSI <n>A        (cuu)   cursor up n lines
19408 #       CSI <n>B        (cud)   cursor down n lines
19409 #       CSI <n>C        (cuu)   cursor right n characters
19410 #       CSI <n>D        (cud)   cursor left n characters
19411 #       CSI <n>E                cursor down n lines and in first column
19412 #       CSI <n>F                cursor up n lines and in first column
19413 #       CSI <n>G        (hpa)   position cursor at column n-1
19414 #       CSI <n>J        (ed)    erase in display
19415 #       CSI <n>K        (el)    erase in line
19416 #       CSI <n>L        (il)    insert line(s)
19417 #       CSI <n>P        (dch)   delete characters
19418 #       CSI <n>S        (indn)  scroll up n lines
19419 #       CSI <n>T        (rin)   scroll down n lines
19420 #       CSI <n>X        (ech)   erase characters
19421 #       CSI <n>Z        (cbt)   back up n tab stops
19422 #       CSI <n>`                cursor to column n on line
19423 #       CSI <n>a        (cuu)   cursor right n characters
19424 #       CSI <n>d        (vpa)   cursor to line n
19425 #       CSI <n>e                cursor down n lines and in first column
19426 #       CSI <n>g        (cbt)   clear all tabs
19427 #       CSI <n>z                make virtual terminal n active
19428 #       CSI ?7h         (smam)  turn automargin on
19429 #       CSI ?7l         (rmam)  turn automargin off
19430 #       CSI s                   save cursor position
19431 #       CSI u                   restore cursor position to saved value
19432 #       CSI =<c>A               set overscan color
19433 #       CSI =<c>F               set normal foreground color
19434 #       CSI =<c>G               set normal background color
19435 #       CSI =<c>H               set reverse foreground color
19436 #       CSI =<c>I               set reverse foreground color
19437 #       CSI =<c>J               set graphic foreground color
19438 #       CSI =<c>K               set graphic foreground color
19439 #       CSI =<n>g       (dispc) display n from alternate graphics character set
19440 #       CSI =<p>;<d>B           set bell parameters
19441 #       CSI =<s>;<e>C           set cursor parameters
19442 #       CSI =<x>D               enable/disable intensity of background color
19443 #       CSI =<x>E               set/clear blink vs. bold background
19444 #       CSI 7           (sc)    (sc) save cursor position
19445 #       CSI 8           (rc)    (rc) restore cursor position to saved value
19446 #       CSI H           (hts)   (hts) set tab stop
19447 #       CSI Q<n><string>        define function key string
19448 #                               (string must begin and end with delimiter char)
19449 #       CSI c           (clear) clear screen
19450 #
19451 # The lack of any specification for attributes in SGR (among other things)
19452 # makes this a wretchedly weak standard. The table above is literally 
19453 # everything iBSC2 has to say about terminal escape sequences; there is
19454 # no further discussion of their meaning or how to set the parameters
19455 # in these sequences at all.
19456 #
19457
19458 ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
19459 #
19460 # The historical termcap file entries were written primarily in 4.4BSD termcap.
19461 # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
19462 # with the extension names chosen for compatibility with the termcap names
19463 # assigned in System V terminfo.  There are some variant extension sets out
19464 # there.  We try to describe them here.
19465 #
19466 # XENIX extensions:
19467 #
19468 # The XENIX extensions include a set of function-key capabilities as follows:
19469 #
19470 #       code    XENIX variable name     terminfo name   name clashes?
19471 #       ----    -------------------     -------------   -----------------------
19472 #       CL      key_char_left
19473 #       CR      key_char_right
19474 #       CW      key_change_window                       create_window
19475 #       EN      key_end                 kend
19476 #       HM      key_home                khome
19477 #       HP      ??
19478 #       LD      key_delete_line         kdl1
19479 #       LF      key_linefeed                            label_off
19480 #       NU      key_next_unlocked_cell
19481 #       PD      key_page_down           knp
19482 #       PL      ??
19483 #       PN      start_print             mc5
19484 #       PR      ??
19485 #       PS      stop_print              mc4
19486 #       PU      key_page_up             kpp             pulse
19487 #       RC      key_recalc                              remove_clock
19488 #       RF      key_toggle_ref                          req_for_input
19489 #       RT      key_return              kent
19490 #       UP      key_up_arrow            kcuu1           parm_up_cursor
19491 #       WL      key_word_left
19492 #       WR      key_word_right
19493 #
19494 # The XENIX extensions also include the following character-set and highlight
19495 # capabilities:
19496 #
19497 #       XENIX   terminfo        function
19498 #       -----   --------        ------------------------------
19499 #       GS      smacs           start alternate character set
19500 #       GE      rmacs           end alternate character set
19501 #       GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
19502 #       bo      blink           begin blink (not used in /etc/termcap)
19503 #       be                      end blink (not used in /etc/termcap)
19504 #       bb                      blink glitch  (not used in /etc/termcap)
19505 #       it      dim             begin dim (not used in /etc/termcap)
19506 #       ie                      end dim (not used in /etc/termcap)
19507 #       ig                      dim glitch  (not used in /etc/termcap)
19508 #
19509 # Finally, XENIX also used the following forms-drawing capabilities:
19510 #
19511 #       single  double  type             ASCII approximation 
19512 #       ------  ------  -------------    -------------------
19513 #       GV      Gv      vertical line             |
19514 #       GH      Gv      horizontal line       -   _
19515 #       G1      G5      top right corner       _   |
19516 #       G2      G6      top left corner       | 
19517 #       G3      G7      bottom left corner         |_
19518 #       G4      G8      bottom right corner   _|
19519 #       GD      Gd      down-tick character        T
19520 #       GL      Gl      left-tick character   -|
19521 #       GR      Gr      right-tick character       |-
19522 #       GC      Gc      middle intersection   -|-
19523 #       GU      Gu      up-tick character          _|_
19524 #
19525 # These were invented to take advantage of the IBM PC ROM character set.  One
19526 # can compose an acsc string from the single-width characters as follows
19527 #       "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
19528 # When translating a termcap file, ncurses tic will do this automatically.
19529 # The double forms characters don't fit the SVr4 terminfo model.
19530 #
19531 # AT&T Extensions:
19532 #
19533 # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
19534 # nonstandard capabilities.  Its signature is the KM capability, used to name
19535 # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
19536 # set.  Comments in the original, and a little cross-checking with other AT&T
19537 # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
19538 # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
19539 # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
19540 # cursor invisible), and CV=:ve: (make cursor normal).
19541 #
19542 # HP Extensions
19543 #
19544 # The HP library (as of mid-1995, their term.h file version 70.1) appears to
19545 # have the System V capabilities up to SVr1 level.  After that, it supports
19546 # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
19547 # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
19548 # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
19549 # HP binary format incompatible with SVr4's.
19550 #
19551 # IBM Extensions
19552 #
19553 # There is a set of nonstandard terminfos used by IBM's AIX operating system.
19554 # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
19555 # capabilities following prtr_non with the following special capabilties:
19556 # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
19557 # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
19558 # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
19559 # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
19560 # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
19561 # renamed (to kcbt and kslt).  The places in the box[12] capabilities
19562 # correspond to acsc chars, here is the mapping:
19563 #
19564 #       box1[0]  = ACS_ULCORNER
19565 #       box1[1]  = ACS_HLINE    
19566 #       box1[2]  = ACS_URCORNER
19567 #       box1[3]  = ACS_VLINE
19568 #       box1[4]  = ACS_LRCORNER
19569 #       box1[5]  = ACS_LLCORNER
19570 #       box1[6]  = ACS_TTEE
19571 #       box1[7]  = ACS_RTEE
19572 #       box1[8]  = ACS_BTEE
19573 #       box1[9]  = ACS_LTEE
19574 #       box1[10] = ACS_PLUS
19575 #
19576 # The box2 characters are the double-line versions of these forms graphics.
19577 # The AIX binary terminfo format is incompatible with SVr4's.
19578 #
19579 # Iris console extensions:
19580 #
19581 # HS is half-intensity start; HE is half-intensity end
19582 # CT is color terminal type (for Curses & rogue)
19583 # CP is color change escape sequence
19584 # CZ are color names (for Curses & rogue)
19585 #
19586 # The ncurses tic utility recognizes HS as an alias for mh <dim>.
19587 #
19588 # TC Extensions:
19589 #
19590 # There is a set of extended termcaps associated with something
19591 # called the "Terminal Control" or TC package created by MainStream Systems,
19592 # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
19593 # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
19594 # that flags color terminals.
19595 #
19596 ######## CHANGE HISTORY
19597 #
19598 # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
19599 # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
19600 # project.
19601 #
19602 # This file contains all the capability information present in John Kunze's
19603 # last version of the termcap master file, except as noted in the change 
19604 # comments at end of file.  Some information about very ancient obsolete
19605 # capabilities has been moved to comments.  Some all-numeric names of older
19606 # terminals have been retired.
19607 #
19608 # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
19609 # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
19610 # used by BSD curses.
19611 #
19612 # The 9.1.0 version of this file was translated from my lightly-edited copy of
19613 # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
19614 # the purpose.  Unless the ncurses tic implementation and the Lisp code were
19615 # making perfectly synchronized mistakes which I then failed to catch by
19616 # eyeball, the translation was correct and perfectly information-preserving.
19617 #
19618 # Major version number bumps correspond to major version changes in ncurses.
19619 #
19620 # Here is a log of the changes since then:
19621 #
19622 # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
19623 #       * First terminfo master translated from 8.3.
19624 # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
19625 #       * Replaced Wyse entries with updated entries supplied by vendor.
19626 #
19627 # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
19628 #       * Added contact & status info from G. Clark Brown <clark@sssi.com>.
19629 # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
19630 #       * Better XENIX keycap translation.  Describe TC termcaps.
19631 #       * Contact and history info supplied by Qume.
19632 # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
19633 #       * Raided the Shuford FTP site for recent termcaps/terminfos.
19634 #       * Added information on X3.64 and VT100 standard escape sequences.
19635 # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
19636 #       * Added a correct X11R6 xterm entry.
19637 #       * Fixed terminfo translations of padding.
19638 # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
19639 #       * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
19640 #       * Added u6/u7/u8/u9 capabilities.
19641 #       * Added PCVT entry.
19642 # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
19643 #       * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
19644 #         to use reverse-video standout so Emacs will look right.
19645 #       * Added el1 capability to ansi.
19646 #       * Added smacs/rmacs to ansi.sys.
19647 #
19648 # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
19649 #       * New mt70 entry.
19650 #       * Added COPYRIGHTS AND OTHER DELUSIONS.
19651 #       * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
19652 #         smartvid & smarterm, ampex 175 & 219 & 232,
19653 #         env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
19654 #         ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
19655 #         screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
19656 #         adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
19657 #       * Replaced the Perkin-Elmer entries with vendor's official ones.
19658 #       * Restored the old minimal-ansi entry, luna needs it.
19659 #       * Fixed some incorrect ip and proportional-padding translations.
19660 # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
19661 #       * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
19662 #       * Make the xterm entry 65 lines again; create xterm25 and xterm24
19663 #         to force a particular height.
19664 #       * Added beehive4 and reorganized other Harris entries.
19665 # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
19666 #       * Merged in DEC's official entries for its terminals.  The only old
19667 #         entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
19668 #       * Replaced the translated BBN Bitgraph entries with purpose-built
19669 #         ones from AT&T's SVr3.
19670 #       * Replaced the AT&T entries with AT&T's official terminfos.
19671 #       * Added teleray 16, vc415, cops10. 
19672 #       * Merged in many individual capabilities from SCO terminfo files.
19673 # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
19674 #       * Typo fixes.
19675 #       * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
19676 # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
19677 #       * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
19678 #         pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
19679 #         simterm, citoh and variants.
19680 #       * Replaced sol entry with sol1 and sol2.
19681 #       * Replaced Qume QVT and Freedom-series entries with purpose-built
19682 #         terminfo entries.
19683 #       * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
19684 #         and dg200 entries using caps from from SCO.
19685 #       * Added the usual set of function-key mappings to ANSI entry.
19686 #       * Corrected xterm's function-key capabilities.
19687 # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
19688 #       * Fix in xterm entry, cub and cud are not reliable under X11R6.
19689 # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
19690 #       * Fix in xterm entry, get the arrow keys right.
19691 #       * Change some \0 escapes to \200.
19692 # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
19693 #       * Added apple (Videx card), adm1a, oadm31.
19694 #       * Fixed malformed ampex csr.
19695 #       * Fixed act4, cyb110; they had old-style prefix padding left in. 
19696 #       * Changed mandatory to advisory padding in many entries.
19697 #       * Replaced HP entries up to hpsub with purpose-built ones.
19698 #       * Blank rmir/smir/rmdc/smdc capabilities removed.
19699 #       * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
19700 # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
19701 #       * Replaced the Ann Arbor entries with SCO's, the init strings are
19702 #         more efficient (but the entries otherwise identical).
19703 #       * Added dg211 from Shuford archive.
19704 #       * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
19705 #         adm42-nl, pc52, gs6300, xerox820, uts30.
19706 #       * Pull SCO's padding into vi200 entry.
19707 #       * Improved capabilities for tvi4107 and other Televideo and Viewpoint
19708 #         entries merged in from SCO's descriptions.
19709 #       * Fixed old-style prefix padding on zen50, h1500.
19710 #       * Moved old superbee entry to superbee-xsb, pulled in new superbee
19711 #         entry from SCO's description.
19712 #       * Reorganized the special entries.
19713 #       * Added lm#0 to cbunix and virtual entries.
19714 #
19715 # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
19716 #       * Restored cdc456tst.
19717 #       * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
19718 #       * Added megatek, beacon, microkit.
19719 #       * Freeze for ncurses-1.9 release.
19720 # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
19721 #       * Added historical data for TAB.
19722 #       * Comment fixes from David MacKenzie.
19723 #       * Added the new BSDI pc3 entry.
19724 # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
19725 #       * A change in the tic -C logic now ensures that all entries in 
19726 #         the termcap translation will fit in < 1024 bytes.
19727 #       * Added `bobcat' and `gator' HP consoles and the Nu machine entries
19728 #         from GNU termcap file.  This merges in all their local information.
19729 # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
19730 #       * Changed tic -C logic to dump all capabilities used by GNU termcap.
19731 #       * Added warnings about entries with long translations (restoring
19732 #         all the GNU termcaps pushes a few over the edge).
19733 # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
19734 #       * Yet another tic change, and a couple of entry tweaks, to reduce the
19735 #         number of long (> 1024) termcap translations back to 0.
19736 #
19737 # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
19738 #       * Added kf13-kf20 to Linux entry.
19739 #       * Regularize Prime terminal names.
19740 #       * Historical data on Synertek.
19741 #       * Freeze for ncurses-1.9.1.
19742 # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
19743 #       * Added true xterm-color entry, renamed djm's pseudo-color entry.
19744 #       * Eliminate whitespace in short name fields, this tanks some scripts.
19745 #       * Name field changes to shorten some long entries.
19746 #       * Termcap translation now automatically generates empty rmir/smir
19747 #         when ich1/ich is present (copes with an ancient vi bug).
19748 #       * Added `screen' entries from FSF's screen-3.6.2.
19749 #       * Added linux-nic and xterm-nic entries.
19750 # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
19751 #       * Change linux entry to use smacs=\E[11m and have an explicit acsc,
19752 #         eliminating some special-case code in ncurses.
19753 #
19754 # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
19755 #       * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
19756 #         that captures everything unique from it.
19757 #       * Added reorder script generator.
19758 #       * Freeze for ncurses 1.9.2 release.
19759 # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
19760 #       * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
19761 #       * Added Olaf Siebert's corrections for adm12.
19762 #       * ansi-pc-color now includes the colors and pairs caps, so that
19763 #         entries which use it will inherit them automatically.
19764 #       * The linux entry can now recognize the center (keypad 5) key.
19765 #       * Removed some junk that found its way into Linux acsc.
19766 #
19767 # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
19768 #       * Add 50% cut mark as a desperate hack to reduce tic's core usage.
19769 #       * xterm doesn't try to use application keypad mode any more.
19770 #       * Freeze for ncurses-1.9.3 release.
19771 # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
19772 #       * Added corrected sun entry from vendor.
19773 #       * Added csr capability to linux entry.
19774 #       * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
19775 #       * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
19776 #       * Some commented-out caps in long entries come back in, my code 
19777 #         for computing string-table lengths had a bug in it.
19778 #       * pcansi series modified to fit comm-program reality better.
19779 # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
19780 #       * BSD/OS actually ships the ibmpc3 bold entry as its console.
19781 #       * Correct some bad aliases in the pcansi series
19782 #       * Added entry for QNX console.
19783 #       * Clean up duplicate long names for use with 4.4 library.
19784 #       * Change vt100 standout to be normal reverse vide, not bright reverse;
19785 #         this makes the Emacs status line look better.
19786 # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
19787 #       * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
19788 #       * Minor surgery, mostly on name strings, to shorten termcap version.
19789 #
19790 # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
19791 #       * Added dec-vt100 for use with the EWAN emulator.
19792 #       * Added kmous to xterm for use with xterm's mouse-tracking facility.
19793 #       * Freeze for 1.9.5 alpha release.
19794 # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
19795 #       * Changed xterm lines to 24, the X11R6 default.
19796 # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
19797 #       * Added 7 newly discovered, undocumented acsc characters to linux
19798 #         entry (the pryz{|} characters).
19799 #       * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
19800 #       * Correct two typos in the xterm entries introduced in 9.9.1.
19801 #       * I finally figured out how to translate ko capabilities.  Done.
19802 #       * Added tvi921 entries from Tim Theisen.
19803 #       * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
19804 #       * Removed mystery tec entry, it was neither interesting nor useful.
19805 #       * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
19806 #         vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
19807 #         trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
19808 #         by making them relative to use capabilities
19809 #       * Added cuf1=^L to tvi925 from deleted variant tvi925a.
19810 #       * fixed cup in adm22 entry and parametrized strings in vt320-k3.
19811 #       * added it#8 to entries that used to have :pt: -- tvi912, vi200,
19812 #         ampex80,
19813 #       * Translate all home=\E[;H capabilities to home=\E[H, they're 
19814 #         equivalent.
19815 #       * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
19816 #         vt100 and ANSI-like terminals.
19817 # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
19818 #       * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
19819 #         does this now, too.
19820 #       * fviewpoint is gone, it duplicated screwpoint.
19821 #       * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
19822 #         ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
19823 #         versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
19824 #         The UW vi50 replaces the old one, which becomes vi50adm,
19825 #       * No more embedded commas in name fields.
19826 #
19827 # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
19828 #       * XENIX forms characters in fos, trs16, scoansi become acsc strings,
19829 #       * Introduced klone+* entries for describing Intel-console behavior.
19830 #       * Linux kbs is default-mapped to delete for some brain-dead reason.
19831 #       * -nsl -> -ns.  The -pp syntax is obsolete.
19832 #       * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
19833 #       * Make xterm entry do application-keypad mode again.  I got complaints
19834 #         that it was messing up someone's 3270 emulator.
19835 #       * Added some longname fields in order to avoid warning messages from
19836 #         older tic implementations.
19837 #       * According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
19838 #         it! (This gives us pi, greater than, less than, and a few more.)
19839 #       * Freeze for ncurses-1.9.6 release.
19840 # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
19841 #       * Add xon to a number of console entries, they're memory-mapped and
19842 #         don't need padding.
19843 #       * Correct the use dependencies in the ansi series.
19844 #       * Hand-translate more XENIX capabilities.
19845 #       * Added hpterm entry for HP's X terminal emulator.
19846 #       * Added aixterm entries.
19847 #       * Shortened four names so everything fits in 14 chars.  
19848 #
19849 # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
19850 #       * Added ibcs2 entry and info on iBCS2 standard.
19851 #       * Corrected hpa/vpa in linux entry.  They still fail the worm test.
19852 #       * We can handle the HP meml/memu capability now.
19853 #       * Added smacs to klone entries, just as documentation.
19854 #       * Carrected ansi.sys and cit-500 entries.
19855 #       * Added z39, vt320-k311, v220c, and avatar entries.
19856 #       * Make pcansi use the ansi.sys invis capability.
19857 #       * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
19858 #         tvi925, tvi950, dt80, ncr7900i, h19.
19859 #       * X3.64 has been withdrawn, change some references.
19860 #       * Removed function keys from ansi-m entry.
19861 #       * Corrected ansi.sys entry.
19862 #       * Freeze for ncurses-1.9.7 release.
19863 # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
19864 #       * Added rmam/smam capabilities to many entries based on init strings.
19865 #       * Added correct hpa/vpa to linux.
19866 #       * Reduced several entries relative to vt52.
19867 # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
19868 #       * Exiled some utterly unidentifiable custom and homebrew types to the
19869 #         UFO file; also, obsolete small-screen hardware; also, entries which
19870 #         look flat-out incorrect, garbled, or redundant.  These include the
19871 #         following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
19872 #         tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
19873 #         apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
19874 #         fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
19875 #         yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
19876 #         vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
19877 #         trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
19878 #         att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
19879 #         tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
19880 #         c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
19881 #         regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
19882 #         vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
19883 #         vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
19884 #       * Corrected pcvt25h as suggested by Brian C. Grayson
19885 #         <bgrayson@pine.ece.utexas.edu>.
19886 # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
19887 #       * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
19888 #       * Added kent=\EOM to xterm entry.
19889 #
19890 # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
19891 #       * Corrected gigi entry.
19892 #       * Restored cuf/cud1 to xterm, their apparent bugginess was due to
19893 #         bad hpa/vpa capabilities.
19894 #       * Corrected flash strings to have a uniform delay of .2 sec.  No
19895 #         more speed-dependent NUL-padding!
19896 #       * terminfo capabilities in comments bracketed with <>.
19897 # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
19898 #       * Replaced pcvt with the 3.31 pcvt entries.
19899 #       * Freeze for 1.9.7a.
19900 # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
19901 #       * Added emu entry from the X11R6 contrib tape sources.
19902 #
19903 # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
19904 #       * Improved iris-ansi and sun entries.
19905 #       * More flash string improvements.
19906 #       * Corrected wy160 & wy160 as suggested by Robert Dunn
19907 #       * Added dim to at386.  
19908 #       * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
19909 #         he's ready to start using the termcap generated from this one.
19910 #       * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
19911 #         ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
19912 #       * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
19913 #         att610, att620, att630, 
19914 #       * Changed hazeltine name prefix from h to hz.
19915 #       * Sent t500 to the UFI file.
19916 #       * I think we've sucked all the juice out of BSDI's termcap file now.
19917 #       * Freeze for ncurses 1.9.8 release
19918 # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
19919 #       * Unfreeze, linux kbs needed to be fixed.
19920 #       * Tim Theisen pinned down a bug in the DMD firmware.
19921 # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
19922 #       * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
19923 #         (The broken ones had been shadowed by sgr.)
19924 # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
19925 #       * Added documentation on ECMA-48 standard.
19926 #       * New Amiga entry.
19927 # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
19928 #       * More ECMA-48 stuff
19929 #       * Corrected typo in minix entry, added pc-minix.
19930 #       * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
19931 #       * Added rxvt entry.
19932 #       * Added 1.3.x color-change capabilities to linux entry.
19933 # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
19934 #       * Corrected rxvt entry khome/kend.
19935 #       * Corrected linux color change capabilities.
19936 #       * NeXT entries from Dave Wetzel.
19937 #       * Cleaned up if and rf file names (all in /usr/share now).
19938 #       * Changed linux op capability to avoid screwing up a background color
19939 #         pair set by setterm.
19940 # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
19941 #       * Added xterm-sun.
19942 # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
19943 #       * Added visa50.
19944 #
19945 # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
19946 #       * Another sweep through the Shuford archive looking for new info.
19947 #       * Added dg100 alias to dg6053 based on a comp.terminals posting.
19948 #       * Added st52 from Per Persson.
19949 #       * Added eterm from the GNU Emacs 19.30 distribution.
19950 #       * Freeze for 1.9.9.
19951 # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
19952 #       * FreeBSD console entries from Andrew Chernov.
19953 #       * Removed duplicate Atari st52 name.
19954 # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
19955 #       * xterm doesn't actually have ACS_BLOCK.
19956 #       * Change klone+color setf/setb to simpler forms that can be
19957 #         translated into termcap.
19958 #       * Added xterm1.
19959 #       * Removed mechanically-generated junk capabilities from cons* entries.
19960 #       * Added color support to bsdos.
19961 # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
19962 #       * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
19963 #       * Created ecma+color, linux can use it.  Also added ech to linux.
19964 #       * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
19965 #       * Add descriptions to FreeBSD console entries.  Also shorten
19966 #         some aliases to <= 14 chars for portability.
19967 #       * Added x68k console
19968 #       * Added OTbs to several VT-series entries.
19969 # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
19970 #       * screen entry update for 3.7.1 from Michael Alan Dorfman.
19971 # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
19972 #       * kterm correction due to Kenji Rikitake.
19973 #       * ACS correction in vt320-kll due to Phillippe De Muyter.
19974 # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
19975 #       * Sun console entry correction from J.T. Conklin.
19976 #       * Changed all DEC VT300 and up terminals to use VT300 tab set
19977 # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
19978 #       * Added smul to linux entry (we never noticed it was missing 
19979 #         because of sgr!).
19980 #       * Added rmln to hp+labels (deduced from other HP entries).
19981 #       * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
19982 #         pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
19983 #       * Corrected vt220 acsc.
19984 #       * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
19985 #         this corresponds to reality and helps prevent some tic warnings.
19986 #       * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
19987 #         hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
19988 #         adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
19989 #         qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
19990 #         wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
19991 #         adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
19992 #         f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
19993 #         owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
19994 #         lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
19995 #         dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
19996 #         ifmr, v3220, wy100q, tandem653, ibmaed.
19997 #       * Added DWK terminal description.
19998 # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
19999 #       * Many entries now have highlights inherited from adm+sgr.
20000 #       * xterm entry now corresponds to XFree86 3.1.2E, with color.
20001 #       * xtitle and xtitle-twm enable access to the X status line.
20002 #       * Added linux-1.3.6 color palette caps in conventional format.
20003 #       * Added adm1178 terminal.
20004 #       * Move fos and apollo terminals to obsolete category.
20005 #       * Aha! The BRL terminals file told us what the Iris extensions mean.
20006 #       * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
20007 #         commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
20008 #         cit500, adm11. 
20009 # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
20010 #       * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
20011 #         aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
20012 #       * Corrected, from BRL termcap file: vi50.
20013 #       * Better rxvt entry & corrected xterm entries from Thomas Dickey.
20014 # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
20015 #       * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
20016 #         att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
20017 #         (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
20018 #         tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
20019 #         apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
20020 #       * Paired-attribute fixes to various terminals.
20021 #       * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
20022 #       * xterm entry corrections from Thomas Dickey.
20023 # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
20024 #       * Added t916 entry, translated from a termcap in SCO's support area.
20025 #       * New qnx entry from Michael Hunter.
20026 # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
20027 #       * Added hpex2 from Ville Sulko.
20028 #       * Fixed a bug that ran the qnx and pcvtXX together.
20029 # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
20030 #       * Added dtterm entry from Solaris CDE.
20031 # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
20032 #       * corrected pairs#8 typo in dtterm entry.
20033 #       * added tvi9065.
20034 # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
20035 #       * updated xterm entry to cover 3.1.2E's new features.  
20036 # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
20037 #       * Added new minix entry
20038 #       * Removed aliases of the form ^[0-9]* for obsolete terminals.
20039 #       * Commented out linux-old, nobody's using pre-1.2 kernels now.
20040 # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
20041 #       * Added Prism entries and kt7ix.
20042 #       * Caution notes about EWAN and tabset files.
20043 #       * Changed /usr/lib/tabset -> /usr/share/tabset.
20044 #       * Added acsc/rmacs/smacs to vt52.
20045 # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
20046 #       * Merged in Thomas Dickey's reorganization of the xterm entries;
20047 #         added technical corrections to avoid warning messages.
20048 # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
20049 #       * Added rmso=\E[27m in Linux entry.
20050 #       * Added koi8-r support for Linux console.
20051 #       * Replace xterm entries with canonical ones from XFree86 3.2.
20052 # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
20053 #       * Added color_xterm from Jacob Mandelson
20054 # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
20055 #       * Back off the xterm entry to use r6 as a base.
20056 # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
20057 #       * Added dec-vt220 at Adrian Garside's request.
20058 # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
20059 #       * Replaced minitel-2 entry.
20060 #       * Added MGR, ansi-nt.
20061 #       * Minor corrections to xterm entries.
20062 #       * Replaced EWAN telnet entry.
20063 #       * Dropped the reorder script generator.  It was a fossil.
20064 # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
20065 #       * Thorsten Lockert added termcap `bs' to a lot of types, working from
20066 #         the 4.4BSD Lite2 file.
20067 # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
20068 #       * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
20069 #       * Updated iris-ansi; corrected vt102-w.
20070 #       * Switch base xterm entry to 3.3 level.
20071 # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
20072 #       * Added basic4.
20073 #       * Removed rmir/smir from tv92B.
20074 #
20075 # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
20076 #       * add hds200 description (Walter Skorski)
20077 #       * add beterm entry (Fred Fish)
20078 #       * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
20079 #         iris-color entries.
20080 #       * add emx entries.
20081 #       * Replaced unixpc entry with Benjamin Sittler's corrected version.
20082 #       * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
20083 #         versions.
20084 #       * remove sgr string from qnx based on report by Xiaodan Tang
20085 #       * Added u8/u9, removed rmul/smul from sun-il.
20086 #       * 4.2 tic displays \0 rather than \200.
20087 #       * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
20088 #         apparently based on cp-866).
20089 #       * Merged in Pavel Roskin's acsc for linux-koi8
20090 #       * Corrected some erroneous \\'s to \.
20091 #       * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
20092 #       * II -> ii in pcvtXX, screen, xterm.
20093 #       * Removed \n chars following ANSI escapes in sgr & friends.
20094 #       * Updated Wyse entries.
20095 #       * h19 corrections from Tim Pierce.
20096 #       * Noted that the dm2500 has both ich and smir.
20097 #       * added pccons for the Alpha under OSF/1.
20098 #       * Added Sony NEWS workstation entries and cit101e-rv.
20099 #       * Reverted `amiga'; to Kent Polk's version, as I'm told
20100 #         the Verkuil entry messes up with Amiga Telnet.
20101 # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
20102 #       * Corrected attributions in 10.2.0 release notes.
20103 #       * Scanned the Shuford archive for new terminfos and information.
20104 #       * Removed sgr from qnx entry (Thomas Dickey).
20105 #       * Added entries for ICL and Kokusai Data Systems terminals.
20106 #       * Incorporated NCR terminfos from the Boundless Technology FTP site.
20107 #       * Incorporated att700 from the Boundless Technology FTP site.
20108 #       * Miscellaneous contact-address and Web-page updates.
20109 #
20110 # 1998/5/9
20111 #       * add nxterm and xterm-color terminfo description (request by Cristian
20112 #         Gafton <gafton@redhat.com>).
20113 #       * modify rxvt terminfo description to clear alternate screen before
20114 #         switching back to normal screen, for compatibility with applications
20115 #         which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
20116 #       * modify linux terminfo description to reset color palette (reported
20117 #         by Telford Tendys <telford@eng.uts.edu.au>).
20118 #
20119 # 1998/7/4
20120 #       * merge changes from current XFree86 xterm terminfo descriptions.
20121 #
20122 # 1998/7/25
20123 #       * Added minitel1 entries from Alexander Montaron.
20124 #       * Added qnxt2 from Federico Bianchi.
20125 #       * Added arm100 terminfo entries from Dave Millen.
20126 #
20127 # 1998/8/6
20128 #       * Added ncsa telnet entries from Francesco Potorti
20129 #
20130 # 1998/8/15
20131 #       * modify ncsa telnet entry to reflect color, other capabilities based on
20132 #         examination of the source code - T.Dickey.
20133 #
20134 # 1998/8/22
20135 #       * Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
20136 #
20137 # 1998/8/29
20138 #       * Added Francesco Potorti's tuned Wyse 99 entries.
20139 #       * dtterm enacs correction from Alexander V. Lukyanov.
20140 #       * Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
20141 #       * correct a typo in icl6404 entry.
20142 #       * add xtermm and xtermc
20143 #
20144 # 1998/9/26
20145 #       * format most %'char' sequences to %{number}
20146 #       * adapt IBM AIX 3.2.5 terminfo - T.Dickey
20147 #       * merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
20148 #
20149 # 1998/10/10
20150 #       * update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
20151 #       * correct initialization string in xterm-r5, add misc other features
20152 #         to correspond with xterm patch 84 - TD
20153 #
20154 # 1998/12/19
20155 #       * update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
20156 #       * add Mathew Vernon's mach console entries
20157 #       * corrections for ncsa function-keys (report by Larry Virden)
20158 #
20159 # 1998/12/19
20160 #       * change linux to use ncv#2, since underline does not work with color - TD
20161 #
20162 # 1999/1/9
20163 #       * add kbt to iris-ansi, document other shift/control functionkeys - TD
20164 #       * correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
20165 #         application modes, change kent to use the correct keypad code - TD
20166 #
20167 # 1999/1/10
20168 #       * add entry for Tera Term - TD
20169 #
20170 # 1999/1/23
20171 #       * minor improvements for teraterm entry - TD
20172 #       * rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
20173 #         and bsdos-bold to bsdos-pc (Jeffrey C Honig)
20174 #
20175 # 1999/2/20
20176 #       * resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
20177 #         xterm and ncsa entries by removing the unneeded ones.  Note that
20178 #         some entries will return kend & khome versus kslt and kfnd, for
20179 #         PC-style keyboards versus strict vt220 compatiblity - TD
20180 #
20181 # 1999/3/13
20182 #       * adjust xterm-xfree86 khome/kend to match default PC-style keyboard
20183 #         tables - TD
20184 #       * add 'crt' entry - TD
20185 #       * correct typos in 'linux-c' entry - TD
20186 #
20187 # 1999/3/14
20188 #       * update entries for BSD/OS console to use klone+sgr and klone+color
20189 #         (Jeffrey C Honig)
20190 #
20191 # 1999/3/27
20192 #       * adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
20193 #
20194 # 1999/4/10
20195 #       * add linux-lat, from RedHat patches to ncurses 4.2
20196 #
20197 # 1999/4/17
20198 #       * add complete set of default function-key definitions for scoansi - TD.
20199 #
20200 # 1999/7/3
20201 #       * add cnorm, cvvis for Linux 2.2 kernels
20202 #
20203 # 1999/7/24
20204 #       * add kmous to xterm-r5 -TD
20205 #       * correct entries xterm+sl and xterm+sl-twm, which were missing the
20206 #         parent "use" clause -TD
20207 #
20208 # 1999/7/31
20209 #       * corrected cnorm, added el1 in 'screen' description -TD
20210 #
20211 # 1999/8/14
20212 #       * add ms-vt100 -TD
20213 #
20214 # 1999/8/21
20215 #       * corrections to beterm entry -TD
20216 #
20217 # 1999/8/28
20218 #       * add cygwin entry -TD
20219 #
20220 # 1999/9/4
20221 #       * minor corrections for beterm entry -TD
20222 #
20223 # 1999/9/18
20224 #       * add acsc string to HP 70092 terminfo entry -Joerg Wunsch
20225 #
20226 # 1999/9/25
20227 #       * add amiga-8bit entry
20228 #       * add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
20229 #         rcons-color, based on
20230 #         ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
20231 #       * add alias for iris-ansi-net
20232 #
20233 # 1999/10/2
20234 #       * corrected scoansi entry's acsc, some function keys, add color -TD
20235 #
20236 # 1999/10/23
20237 #       * add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
20238 #       * reorder ncsa entries to make ncsa-vt220 use the alternate function
20239 #         key mapping, leaving Potorti's entries more like he named them -TD
20240 #       * remove enter/exit am-mode from cygwin -TD
20241 #
20242 # 1999/10/30
20243 #       * correct typos in several entries (missing '[' from CSI):
20244 #         mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
20245 #         strings for avt-ns -TD
20246 #       * add 'dim' to ncv mask for linux (report by Klaus Weide).
20247 #
20248 # 1999/11/27
20249 #       * correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
20250 #       * add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
20251 #       * add xterm-88color and xterm-256color -TD
20252 #
20253 # 1999/12/4
20254 #       * add "obsolete" termcap strings -TD
20255 #       * add kvt and gnome entries -TD
20256 #
20257 # 1999/12/11
20258 #       * correct cup string for regent100 -TD
20259 #
20260 # 2000/1/1
20261 #       * update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
20262 #       * add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
20263 #       * change OTrs capabilities to rs2 -TD
20264 #       * add obsolete and extended capabilities to 'screen' -TD
20265 #
20266 # 2000/1/5
20267 #       * remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
20268 #         with kf10 -TD
20269 #       * updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
20270 #         and adding kcbt -TD
20271 #
20272 # 2000/1/12
20273 #       * remove incorrect khome/kend from xterm-xf86-v333, which was based on
20274 #         nonstandard resource settings -TD
20275 #
20276 # 2000/2/26
20277 #       * minor fixes for xterm-*, based on Debian #58530 -TD
20278 #
20279 # 2000/3/4
20280 #       * add several terminal types from esr's "11.0", as well as comments.
20281 #         bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
20282 #         vt220-8bit, vt220-old, wy85-8bit
20283 #
20284 # 2000/3/18
20285 #       * add several terminal types from esr's "11.0.1" (ansi-*).
20286 #       * update OTxx capabilities for changes on 2000/3/4.
20287 #       * revert part of vt220 change (request by Todd C Miller for OpenBSD)
20288 #
20289 # 2000/3/26
20290 #       * move screen's AX extension to ecma+color, modify several entries to
20291 #         use that, adjusting ncv as needed -TD
20292 #
20293 # 2000/4/8
20294 #       * add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
20295 #       * correct spelling error in entry name: bq300-rv was given as bg300-rv
20296 #         in esr's version.
20297 #
20298 # 2000/4/15
20299 #       * add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
20300 #       * correct color definition for ibm3164, make minor changes to other
20301 #         IBM terminal definitions based on recent terminfo descriptions -TD
20302 #
20303 # 2000/4/22
20304 #       * add mgterm, from NetBSD -TD
20305 #       * add alias sun-cgsix for sun-ss5 as per NetBSD
20306 #       * change cons25w to use rs2 for reset rather than rs1 -TD
20307 #       * add rc/sc to aixterm based on manpage -TD
20308 #
20309 # 2000/5/13
20310 #       * remove ncv from xterm-16color, xterm-256 color
20311 #
20312 # 2000/6/10
20313 #       * add kmous capability to linux to use Joerg Schoen's gpm patch.
20314 #
20315 # 2000/7/1
20316 #       * add Eterm (Michael Jennings)
20317 #
20318 # 2000-07-18
20319 #       * add amiga-vnc entry.
20320 #
20321 # 2000-08-12
20322 #       * correct description of Top Gun Telnet.
20323 #       * add kterm-color
20324 #
20325 # 2000-08-26
20326 #       * add qansi* entries from QNX ftp site.
20327 #
20328 # 2000-09-16
20329 #       * add Matrix Orbital entries by Eric Z. Ayers).
20330 #       * add xterm-basic, xterm-sco entries, update related entries to XFree86
20331 #         4.0.1c -TD
20332 #
20333 # 2000-09-17
20334 #       * add S0, E0 extensions to screen's entry -TD
20335 #
20336 # 2000-09-23
20337 #       * several corrections based on tic's new parameter-checking code -TD
20338 #       * modify xterm-r6 and similar rs2 sequences which had \E7...\E8
20339 #         bracketing sequences that reset video attributes (\E8 would restore
20340 #         them) -TD
20341 #
20342 # 2000-11-11
20343 #       * rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
20344 #
20345 # 2000-12-16
20346 #       * improved scoansi, based on SCO man-page, and testing console,
20347 #         scoterm with tack -TD
20348 #
20349 # 2001-01-27
20350 #       * modify kterm to use acsc via SCS controls.
20351 #
20352 # 2001-02-10
20353 #       * screen 3.9.8 allows xterm mouse controls to pass-through
20354 #
20355 # 2001-03-11
20356 #       * remove spurious "%|" from some xterm entries.
20357 #
20358 # 2001-03-31
20359 #       * modify 'screen' khome/kend to match screen 3.09.08
20360 #       * add examples of 'screen' customization (screen.xterm-xfree86,
20361 #         screen.xterm-r6, screen.teraterm) -TD
20362 #
20363 # 2001-04-14
20364 #       * correct definitions of shifted editing keys for xterm-xfree86 -TD
20365 #       * add "Apple_Terminal" entries -Benjamin Sittler
20366 #       * remove time-delays from "Apple_Terminal" entries -TD
20367 #       * make sgr entries time-delays consistent with individual caps -TD
20368 #
20369 # 2001-05-05
20370 #       * corrected/updated screen.xterm-xfree86
20371 #
20372 # 2001-05-19
20373 #       * ELKS descriptions, from Federico Bianchi
20374 #       * add u6 (CSR) to Eterm (Michael Jennings).
20375 #
20376 # 2001-07-21
20377 #       * renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
20378 #         tic which handles names no longer than 14 characters.  Add
20379 #         corresponding descriptions for the Darwin PowerPC console named
20380 #         "xnuppc" -Benjamin Sittler
20381 #
20382 # 2001-09-01
20383 #       * change kbs in mach entries to ^? (Marcus Brinkmann).
20384 #
20385 # 2001-11-17
20386 #       * add "putty" entry -TD
20387 #       * updated "Apple_Terminal" entries -Benjamin Sittler
20388 #
20389 # 2001-11-24
20390 #       * add ms-vt100-color entry -TD
20391 #       * add "konsole" entries -TD
20392 #
20393 # 2001-12-08
20394 #       * update gnome entry to Redhat 7.2 -TD
20395 #
20396 # 2002-05-25
20397 #       * add kf13-kf48 strings to cons25w -TD
20398 #       * add pcvt25-color entry -TD
20399 #       * changed a few /usr/lib/tabset -> /usr/share/tabset.
20400 #       * improve some features of scoansi entry based on SCO's version -TD
20401 #       * add scoansi-new entry corresponding to OpenServer 5.0.6
20402 #
20403 # 2002-06-15
20404 #       * add kcbt to screen entry -TD
20405 #
20406 # 2002-06-22
20407 #       * add rxvt-16color, ibm+16color, mvterm entries -TD
20408 #
20409 # 2002-09-28
20410 #       * split out linux-basic entry, making linux-c inherit from that, and
20411 #         in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
20412 #         the history of this console type -TD
20413 #       * scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
20414 #         r/g/b parameters of initc are in the range 0 to 1000 -TD
20415 #
20416 # 2002-10-05
20417 #       * minor fix for scale-factor of linux-c and linux-c-nc -TD
20418 #
20419 # 2002-11-09
20420 #       * split-out vt100+keypad and vt220+keypad, fix interchanged ka3/kb2
20421 #         in the latter -TD
20422 #
20423 # 2002-11-16
20424 #       * add entries for mterm (mterm, mterm-ansi, decansi) -TD
20425 #       * ncr260wy350pp has only 16 color pairs -TD
20426 #       * add sun-type4 from NetBSD -TD
20427 #       * update xterm-xfree86 to current (patch 170) -TD
20428 #       * add screen-bce, screen-s entries -TD
20429 #       * add xterm-1002, xterm-1003 entries -TD
20430 #
20431 # 2003-01-11
20432 #       * update homepage for Top Gun Telnet/SSH
20433 #
20434 # 2003-01-25
20435 #       * reduce duplication in emx entries, added emx-base -TD
20436 #
20437 # 2003-05-24
20438 #       * corrected acs for screen.teraterm -TD
20439 #       * add tkterm entry -TD
20440 #
20441 # 2003-07-15
20442 #       * cygwin changes from Charles Wilson:
20443 #         misc/terminfo.src (nxterm|xterm-color): make xterm-color
20444 #         primary instead of nxterm, to match XFree86's xterm.terminfo
20445 #         usage and to prevent circular links.
20446 #         (rxvt): add additional codes from rxvt.org.
20447 #         (rxvt-color): new alias
20448 #         (rxvt-xpm): new alias
20449 #         (rxvt-cygwin): like rxvt, but with special acsc codes.
20450 #         (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
20451 #         with a "native" MSWin GUI.  Each takes different acsc codes,
20452 #         which are both different from the "normal" rxvt's acsc.
20453 #         (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
20454 #         (cygwinDBG): ditto.
20455 #
20456 # 2003-09-27
20457 #       * update gnome terminal entries -TD
20458 #
20459 # 2003-10-04
20460 #       * add entries for djgpp 2.03 and 2.04 -TD
20461 #
20462 # 2003-10-25
20463 #       * add alias for vtnt -TD
20464 #       * update xterm-xfree86 for XFree86 4.4 -TD
20465 #
20466 # 2003-11-22
20467 #       * add linux-vt (Andrey V Lukyanov)
20468 #
20469 # 2003-12-20
20470 #       * add screen.linux -TD
20471 #
20472 # 2004-01-10
20473 #       * revised/improved entries for tvi912b, tvi920b (Benjamin Sittler)
20474 #
20475 # 2004-01-17
20476 #       * add OpenNT/Interix/SFU entries (Federico Bianchi)
20477 #       * add vt100+ and vt-utf8 entries -TD
20478 #       * add uwin entry -TD
20479 #
20480 # The following sets edit modes for GNU EMACS.
20481 # Local Variables:
20482 # fill-prefix:"\t"
20483 # fill-column:75
20484 # comment-column:0
20485 # comment-start-skip:"^#+"
20486 # comment-start:"# "
20487 # compile-command:"tic -c terminfo.master"
20488 # End:
20489 ######## SHANTIH!  SHANTIH!  SHANTIH!