]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/ncurses/misc/terminfo.src
This commit was generated by cvs2svn to compensate for changes in r51292,
[FreeBSD/FreeBSD.git] / contrib / ncurses / misc / terminfo.src
1 ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
2 #
3 # This version of terminfo.src is distributed with ncurses.
4 #
5 #       Version 10.2.1
6 #       $Date: 1999/08/22 00:05:28 $
7 #       terminfo syntax
8 #
9 #       Eric S. Raymond         (current maintainer)
10 #       John Kunze, Berkeley
11 #       Craig Leres, Berkeley
12 #
13 # Please e-mail changes to terminfo@ccil.org; the old termcap@berkeley.edu
14 # address is no longer valid.  The latest version can always be found at
15 # <http://earthspace.net/terminfo>.
16 #
17 # PURPOSE OF THIS FILE:
18 #
19 # This file describes the capabilities of various character-cell terminals,
20 # as needed by software such as screen-oriented editors.
21 #
22 # Other terminfo and termcap files exist, supported by various OS vendors
23 # or as relics of various older versions of UNIX.  This one is the longest
24 # and most comprehensive one in existence.  It subsumes not only the entirety
25 # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
26 # termcap file, but also large numbers of vendor-maintained termcap and
27 # terminfo entries more complete and carefully tested than those in historical
28 # termcap/terminfo versions.
29 #
30 # Pointers to related resources (including the ncurses distribution) may
31 # be found at <http://earthspace.net/terminfo>.
32 #
33 # INTERNATIONALIZATION:
34 #
35 # This file uses only the US-ASCII character set (no ISO8859 characters).
36 #
37 # This file assumes a US-ASCII character set. If you need to fix this, start
38 # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
39 # for your character set.  \E(A and \E)A enables the British character set
40 # with the pound sign at position 2/3.  
41 #
42 # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
43 # C1 characters are considered the first-byte set of the Japanese encodings,
44 # so \E)0 should be avoided in <enacs> and initialization strings.
45 #
46 # FILE FORMAT:
47 #
48 # The version you are looking at may be in any of three formats: master
49 # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
50 # which by the format given in the header above.
51 #
52 # The master format is accepted and generated by the terminfo tools in the
53 # ncurses suite; it differs from stock (System V-compatible) terminfo only
54 # in that it admits a group of capabilities (prefixed `OT') equivalent to
55 # various obsolete termcap capabilities.  You can, thus, convert from master
56 # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
57 # you have ncurses `tic -I' is nicer (among other things, it automatically
58 # outputs entries in a canonical form).
59 #
60 # The termcap version is generated automatically from the master version
61 # using tic -C.  This filtering leaves in the OT capabilities under their
62 # original termcap names.  All translated entries fit within the 1023-byte
63 # string-table limit of archaic termcap libraries except where explicitly
64 # noted below.  Note that the termcap translation assumes that your termcap
65 # library can handle multiple tc capabilities in an entry. 4.4BSD has this
66 # capability.  Older versions of GNU termcap, through 1.3, do not. 
67 #
68 # For details on these formats, see terminfo(5) in the ncurses distribution,
69 # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
70 # curses has been declared obsolete by the caretakers of the 4.4BSD sources
71 # as of June 1995; they are encouraging everyone to migrate to ncurses.
72 #
73 # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
74 # no entry in this file has embedded comments.  This is so source translation
75 # to termcap only has to carry over leading comments.  Also, no name field
76 # contains embedded whitespace (such whitespace confuses rdist).
77 #
78 # Further note: older versions of this file were often installed with an editor
79 # script (reorder) that moved the most common terminal types to the front of
80 # the file.  This should no longer be necessary, as the file is now ordered
81 # roughly by type frequency with ANSI/VT100 and other common types up front.
82 #
83 # Some information has been merged in from terminfo files distributed by
84 # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
85 # comes from vendors who maintain official terminfos for their hardware
86 # (notably DEC and Wyse).
87 #
88 # A detailed change history is included at the end of this file.
89 #
90 # FILE ORGANIZATION:
91 #
92 # Comments in this file begin with # - they cannot appear in the middle
93 # of a terminfo/termcap entry (this feature had to be sacrificed in order
94 # to allow standard terminfo and termcap syntax to be generated cleanly from
95 # the master format).  Individual capabilities are commented out by
96 # placing a period between the colon and the capability name.
97 #
98 # The file is divided up into major sections (headed by lines beginning with 
99 # the string "########") and minor sections (beginning with "####"); do
100 #
101 #       grep "^####" <file> | more
102 #
103 # to see a listing of section headings.  The intent of the divisions is
104 # (a) to make it easier to find things, and (b) to order the database so
105 # that important and frequently-encountered terminal types are near the
106 # front (so that you'll get reasonable search efficiency from a linear
107 # search of the termcap form even if you don't use reorder).  Minor sections
108 # usually correspond to manufacturers or standard terminal classes. 
109 # Parenthesized words following manufacturer names are type prefixes or
110 # product line names used by that manufacturers.
111 #
112 # HOW TO READ THE ENTRIES:
113 #
114 # The first name in an entry is the canonical name for the model or
115 # type, last entry is a verbose description.  Others are mnemonic synonyms for
116 # the terminal.
117 #
118 # Terminal names look like <manufacturer> <model> - <modes/options>
119 # The part to the left of the dash, if a dash is present, describes the
120 # particular hardware of the terminal.  The part to the right may be used
121 # for flags indicating special ROMs, extra memory, particular terminal modes,
122 # or user preferences.
123 #
124 # All names should be in lower case, for consistency in typing.
125 #
126 # The following are conventionally used suffixes:
127 #       -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
128 #       -am     Enable auto-margin.
129 #       -m      Monochrome.  Suppress color support
130 #       -mc     Magic-cookie.  Some terminals (notably older Wyses) can
131 #               only support one attribute without magic-cookie lossage.
132 #               Their base entry is usually paired with another that
133 #               uses magic cookies to support multiple attributes.
134 #       -nam    No auto-margin - suppress <am> capability
135 #       -nl     No labels - suppress soft labels
136 #       -ns     No status line - suppress status line
137 #       -rv     Terminal in reverse video mode (black on white)
138 #       -s      Enable status line.
139 #       -vb     Use visible bell (<flash>) rather than <bel>.
140 #       -w      Wide - in 132 column mode.
141 # If a name has multiple suffixes and one is a line height, that one should 
142 # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.  
143
144 # Entries with embedded plus signs are designed to be included through use/tc
145 # capabilities, not used as standalone entries. 
146 #
147 # To avoid search clashes, some older all-numeric names for terminals have
148 # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
149 # All primary names of terminals now have alphanumeric prefixes.
150 #
151 # Comments marked "esr" are mostly results of applying the termcap-compiler
152 # code packaged with ncurses and contemplating the resulting error messages. 
153 # In many cases, these indicated obvious fixes to syntax garbled by the
154 # composers.  In a few cases, I was able to deduce corrected forms for garbled
155 # capabilities by looking at context.  All the information in the original
156 # entries is preserved in the comments.
157 #
158 # In the comments, terminfo capability names are bracketed with <> (angle
159 # brackets).  Termcap capability names are bracketed with :: (colons).
160 #
161 # INTERPRETATION OF USER CAPABILITIES
162 #
163 # The System V Release 4 and XPG4 terminfo format defines ten string
164 # capabilities for use by applications, <u0>...<u9>.   In this file, we use
165 # certain of these capabilities to describe functions which are not covered
166 # by terminfo.  The mapping is as follows:
167 #
168 #       u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
169 #       u8      terminal answerback description
170 #       u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
171 #       u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
172 #
173 # The terminal enquire string <u9> should elicit an answerback response
174 # from the terminal.  Common values for <u9> will be ^E (on older ASCII
175 # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
176 #
177 # The cursor position request (<u7>) string should elicit a cursor position
178 # report.  A typical value (for VT100 terminals) is \E[6n.
179 #
180 # The terminal answerback description (u8) must consist of an expected
181 # answerback string.  The string may contain the following scanf(3)-like
182 # escapes:
183 #
184 #       %c      Accept any character
185 #       %[...]  Accept any number of characters in the given set
186 #
187 # The cursor position report (<u6>) string must contain two scanf(3)-style 
188 # %d format elements.  The first of these must correspond to the Y coordinate
189 # and the second to the %d.  If the string contains the sequence %i, it is
190 # taken as an instruction to decrement each value after reading it (this is
191 # the inverse sense from the cup string).  The typical CPR value is
192 # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
193 #
194 # These capabilities are used by tac(1m), the terminfo action checker soon
195 # to be distributed with ncurses.
196 #
197 # TABSET FILES
198 #
199 # All the entries in this file have been edited to assume that the tabset
200 # files directory is /usr/share/tabset, in conformance with the File Hierarchy
201 # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
202 # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
203 #
204 # No curses package we know of actually uses these files.  If their location
205 # is an issue, you will have to hand-patch the file locations before compiling
206 # this file.
207
208 # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
209 #
210 # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
211 # character-cell terminals are increasingly replaced by X displays, much of
212 # this file is becoming a historical document (this is part of the reason for
213 # the new organization, which puts ANSI types, xterm, free-Unix consoles,
214 # and vt100 up front in confidence that this will catch 95% of new hardware).
215 #
216 # For the terminal types still alive, I'd like to have manufacturer's
217 # contact data (Internet address and/or snail-mail + phone).
218 #
219 # I'm also interested in enriching the comments so that the latter portions of
220 # the file do in fact become a potted history of VDT technology as seen by
221 # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
222 # include its live/dead/out-of-the-business status, and for as many
223 # terminal types as possible to be tagged with information like years
224 # of heaviest use, popularity, and interesting features.
225 #
226 # I'm especially interested in identifying the obscure entries listed under
227 # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
228 # wisdom about them gets lost.  If you know a lot about obscure old terminals,
229 # please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
230 # eyeball it for things you can identify and describe. 
231 #
232 # If you have been around long enough to contribute, please read the file
233 # with this in mind and send me your annotations.
234 #
235 # COPYRIGHTS AND OTHER DELUSIONS
236 #
237 # The BSD ancestor of this file had a standard Regents of the University of
238 # California copyright with dates from 1980 to 1993.
239 #
240 # Some information has been merged in from a terminfo file SCO distributes.
241 # It has an obnoxious boilerplate copyright which I'm ignoring because they 
242 # took so much of the content from the ancestral BSD versions of this file
243 # and didn't attribute it, thereby violating the BSD Regents' copyright.
244 #
245 # Not that anyone should care.  However many valid functions copyrights may
246 # serve, putting one on a termcap/terminfo file with hundreds of anonymous
247 # contributors makes about as much sense as copyrighting a wall-full of
248 # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
249 #
250 # This file deliberately has no copyright.  It belongs to no one and everyone.
251 # If you claim you own it, you will merely succeed in looking like a fool. 
252 # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
253 # There are no guarantees anywhere.  Svaha!
254 #
255
256 ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
257 #
258 # This section describes terminal classes and maker brands that are still
259 # quite common.
260 #
261
262 #### Specials
263 #
264 # Special "terminals".  These are used to label tty lines when you don't
265 # know what kind of terminal is on it.  The characteristics of an unknown
266 # terminal are the lowest common denominator - they look about like a ti 700.
267 #
268
269 dumb|80-column dumb tty, 
270         am, 
271         cols#80, 
272         bel=^G, cr=^M, cud1=^J, ind=^J, 
273 unknown|unknown terminal type, 
274         gn, use=dumb, 
275 lpr|printer|line printer, 
276         hc, os, 
277         cols#132, lines#66, 
278         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
279 glasstty|classic glass tty interpreting ASCII control characters, 
280         am, 
281         cols#80, 
282         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, 
283         kcub1=^H, kcud1=^J, nel=^M^J, 
284
285 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
286 #
287 # See the end-of-file comment for more on these.
288 #
289
290 # The IBM PC alternate character set.  Plug this into any Intel console entry.
291 # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
292 # ROM graphics for control characters such as the diamond, up- and down-arrow.
293 # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
294 # will work with any Intel console, they all seem to have inherited \E[11m
295 # from the ANSI.SYS de-facto standard.
296 klone+acs|alternate character set for ansi.sys displays, 
297         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, 
298         rmacs=\E[10m, smacs=\E[11m, 
299
300 # Highlight controls corresponding to the ANSI.SYS standard.  Most 
301 # console drivers for Intel boxes obey these.  Makes the same assumption
302 # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
303 # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
304 klone+sgr|attribute control for ansi.sys displays, 
305         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
306         rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
307         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, 
308         sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
309         use=klone+acs, 
310
311 # Highlight controls corresponding to the ANSI.SYS standard.  *All*
312 # console drivers for Intel boxes obey these.  Does not assume \E[11m will
313 # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
314 # diamond and arrow characters under curses.
315 klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
316         blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, 
317         rmul=\E[m, 
318         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, 
319         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
320         use=klone+acs, 
321
322 # KOI8-R (RFC1489) acs (alternate character set)
323 # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
324 klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
325         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, 
326         rmacs=\E[10m, smacs=\E[11m, 
327
328 # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
329 # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
330 # but equivalent strings that don't rely on that coincidence:
331 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
332 # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
333 # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
334 # They match a subset of ECMA-48.
335 klone+color|color control for ansi.sys and ISO6429-compatible displays, 
336         colors#8, ncv#3, pairs#64, 
337         op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
338
339 # This is better than klone+color, it doesn't assume white-on-black as the
340 # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
341 ecma+color|color control for ECMA-48-compatible terminals, 
342         colors#8, ncv#3, pairs#64, 
343         op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
344
345 # Attribute control for ECMA-48-compatible terminals
346 ecma+sgr|attribute capabilities for true ECMA-48 terminals, 
347         rmso=\E[27m, rmul=\E[24m, 
348         use=klone+sgr, 
349
350 # For comparison, here are all the capabilities implied by the Intel
351 # Binary Compatibility Standard (level 2) that fit within terminfo.
352 # For more detail on this rather pathetic standard, see the comments
353 # near the end of this file.
354 ibcs2|Intel Binary Compatibility Standard prescriptions, 
355         cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
356         cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
357         dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX, 
358         hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
359         indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
360         smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
361
362 #### ANSI/ECMA-48 terminals and terminal emulators
363 #
364 # See near the end of this file for details on ANSI conformance.
365 # Don't mess with these entries!  Lots of other entries depend on them!
366 #
367 # This section lists entries in a least-capable to most-capable order.
368 # if you're in doubt about what `ANSI' matches yours, try them in that
369 # order and back off from the first that breaks.
370
371 ansi-mini|any ansi terminal with pessimistic assumptions, 
372         am, 
373         cols#80, it#8, lines#24, 
374         clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
375         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
376         ht=^I, 
377
378 # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
379 #
380 # The following is an entry for the full ANSI 3.64 (1977).  It lacks
381 # padding, but most terminals using the standard are "fast" enough
382 # not to require any -- even at 9600 bps.  If you encounter problems,
383 # try including the padding specifications.
384 #
385 # Note: the :as: and :ae: specifications are not implemented here, for
386 # the available termcap documentation does not make clear WHICH alternate
387 # character set to specify.  ANSI 3.64 seems to make allowances for several.
388 # Please make the appropriate adjustments to fit your needs -- that is
389 # if you will be using alternate character sets.
390 #
391 # There are very few terminals running the full ANSI 3.64 standard,
392 # so I could only test this entry on one verified terminal (Visual 102).
393 # I would appreciate the results on other terminals sent to me.
394 #
395 # Please report comments, changes, and problems to:
396 #
397 # U.S. MAIL:   Hugh Hansard
398 #              Box: 22830
399 #              Emory University
400 #              Atlanta, GA. 30322.
401 #
402 # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
403 #
404 ansi77|ansi 3.64 standard 1977 version, 
405         am, mir, 
406         cols#80, it#8, lines#24, 
407         bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
408         cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
409         cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K, 
410         home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 
411         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
412         kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM, 
413         rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m, 
414         smul=\E[4m, 
415
416 # Procomm and some other ANSI emulations don't recognize all of the ANSI-
417 # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
418 # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
419 # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
420 # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
421 # to confuse many emulators.  On the other hand, we can count on these programs
422 # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured 
423 # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
424 # ANSI.SYS influence.
425 # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
426 pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
427         am, mir, msgr, 
428         cols#80, it#8, lines#24, 
429         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
430         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
431         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
432         hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
433         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, 
434         use=klone+sgr-dumb, 
435 pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
436         lines#25, use=pcansi-m, 
437 pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
438         lines#33, use=pcansi-m, 
439 pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
440         lines#43, use=pcansi-m, 
441 # The color versions.  All PC emulators do color...
442 pcansi|ibm-pc terminal programs claiming to be ansi, 
443         use=klone+color, use=pcansi-m, 
444 pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
445         lines#25, use=pcansi, 
446 pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
447         lines#33, use=pcansi, 
448 pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
449         lines#43, use=pcansi, 
450
451 # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
452 # If you want pound signs rather than dollars, replace `B' with `A'
453 # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
454 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
455 ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
456         mc5i, 
457         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
458         cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
459         ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
460         ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H, 
461         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
462         kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, 
463         rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B, 
464         s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g, 
465         vpa=\E[%i%p1%dd, use=pcansi-m, 
466
467 # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
468 # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
469 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
470 ansi|ansi/pc-term compatible with color, 
471         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
472         u9=\E[c, 
473         use=ecma+color, use=klone+sgr, use=ansi-m, 
474
475 #### DOS ANSI.SYS variants
476 #
477 # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
478 # documentation (except for the keyboard key reassignment feature, which
479 # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
480 # though undocumented.  The <pfkey> capability is untested but should work for
481 # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
482 # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
483 ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
484         am, mir, msgr, xon, 
485         cols#80, lines#25, 
486         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
487         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, 
488         is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
489         khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
490         rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
491         u7=\E[6n, 
492         use=klone+color, use=klone+sgr, 
493 ansi.sys|ANSI.SYS 3.1 and later versions, 
494         el=\E[K, use=ansi.sys-old, 
495
496 #
497 # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
498 # This should only be used when the terminal emulator cannot redefine the keys.
499 # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
500 # definitions must be restored.  If the terminal emulator is quit while in vi
501 # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
502 # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
503 # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
504 # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
505 # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
506 # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
507 # Consequently the End keypad key could not be set (it is relatively safe and
508 # actually useful because it sends ^@ O, which beeps and opens a line above).
509 ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
510         is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
511         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, 
512         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, 
513         use=ansi.sys, 
514 #
515 # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
516 nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
517         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
518         is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys, 
519 #
520 # See ansi.sysk and nansi.sys above.
521 nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
522         dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
523         is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
524         use=ansi.sysk, 
525
526 #### ANSI console types
527 #
528
529 #### BeOS
530 #
531 # BeOS entry for Terminal program Seems to be almost ANSI
532 beterm|BeOS Terminal, 
533         am, eo, mir, msgr, xenl, xon, 
534         colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
535         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
536         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
537         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
538         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
539         el=\E[K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
540         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
541         il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G, 
542         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
543         kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~, 
544         kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
545         kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~, 
546         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
547         nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
548         rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm, 
549         setaf=\E[3%p1%dm, setb=\E[%p1%{40}%+%cm, 
550         setf=\E[%p1%{30}%+%cm, sgr0=\E[0;10m, smir=\E[4h, 
551         smso=\E[7m, smul=\E[4m, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, 
552         u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
553
554 #### Linux consoles
555 #
556
557 # This entry is good for the 1.2.13 or later version of the Linux console.
558 #
559 # ***************************************************************************
560 # *                                                                         *
561 # *                           WARNING:                                      *
562 # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
563 # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
564 # * character. Here are the keymap replacement lines that will set this up: *
565 # *                                                                         *
566 #       keycode  15 = Tab             Tab
567 #               alt     keycode  15 = Meta_Tab
568 #               shift   keycode  15 = F26
569 #       string F26 ="\033[Z"
570 # *                                                                         *
571 # * This has to use a key slot which is unfortunate (any unused one will    *
572 # * do, F26 is the higher-numbered one).  The change ought to be built      *
573 # * into the kernel tables.                                                 *
574 # *                                                                         *
575 # ***************************************************************************
576 #
577 # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
578 # and it matters, turn off <ccc>.  The %02x escape used to implement this is
579 # not back-portable to SV curses and not supported in ncurses versions before
580 # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
581 # themselves; this entry assumes that capability.
582 #
583 # The 2.2.x kernels add a private mode that sets the cursor type; use that to
584 # get a block cursor for cvvis.
585 # reported by Frank Heckenbach <frank@g-n-u.de>.
586 linux|linux console, 
587         am, bce, eo, mir, msgr, xenl, xon, 
588         it#8, ncv#2, 
589         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, 
590         bel=^G, civis=\E[?25l\E[?1c, clear=\E[H\E[J, 
591         cnorm=\E[?25h\E[?0c, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
592         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
593         cuu1=\E[A, cvvis=\E[?25h\E[?8c, dch=\E[%p1%dP, dch1=\E[P, 
594         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, 
595         el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
596         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
597         il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, 
598         kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
599         kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
600         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
601         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
602         kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
603         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
604         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
605         nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, 
606         rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
607         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, 
608         smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
609         u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
610         use=klone+sgr, use=ecma+color, 
611 linux-m|Linux console no color, 
612         colors@, pairs@, 
613         setab@, setaf@, setb@, setf@, use=linux, 
614 linux-c-nc|linux console 1.3.x hack for ncurses only, 
615         ccc, 
616         initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x, 
617         oc=\E]R, 
618         use=linux, 
619 # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
620 linux-c|linux console 1.3.6+ with private palette for each virtual console, 
621         ccc, 
622         colors#8, pairs#64, 
623         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%;, 
624         oc=\E]R, 
625         use=linux, 
626
627 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
628 linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
629         ich@, ich1@, 
630         use=linux, 
631
632 # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
633 # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
634 linux-koi8|linux with koi8 alternate character set, 
635         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, 
636         use=linux, use=klone+koi8acs, 
637
638 # Another entry for KOI8-r with Qing Long's acsc.
639 # (which one better complies with the standard?)
640 linux-koi8r|linux with koi8-r alternate character set, 
641         kbs=^H, kcub1=^H, kcud1=^J, 
642         use=linux, use=klone+koi8acs, 
643
644 # From:  Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
645 mach|Mach Console, 
646         am, km, 
647         cols#80, it#8, lines#25, 
648         bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
649         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
650         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
651         cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
652         el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, 
653         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
654         kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ, 
655         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
656         kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U, 
657         kpp=\E[V, nel=^M^J, rev=\E[7m, rmso=\E[0m, sgr0=\E[0m, 
658         smso=\E[7m, 
659 mach-bold|Mach Console with bold instead of underline, 
660         rmul=\E[0m, smul=\E[1m, 
661         use=mach, 
662
663 # Entry for the latin1 and latin2 fonts
664 linux-lat|linux with latin1 or latin2 alternate character set, 
665         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, 
666         use=linux, 
667
668 # SCO console and SOS-Syscons console for 386bsd
669 # (scoansi: had unknown capabilities
670 #       :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
671 #       :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
672 #       :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
673 #       :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
674 #       :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
675 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
676 # on the <smacs>=\E[12m  -- esr)
677 #
678 # In this description based on SCO's keyboard(HW) manpage list of default function key
679 # values:
680 #       F13-F24 are shifted F1-F12
681 #       F25-F36 are control F1-F12
682 #       F37-F48 are shift+control F1-F12
683 scoansi|SCO Extended ANSI standard crt, 
684         am, eo, xon, 
685         cols#80, it#8, lines#25, 
686         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
687         cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
688         cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
689         ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, 
690         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M, 
691         kf10=\E[V, kf12=\E[W, kf13=\E[Y, kf14=\E[Z, kf15=\E[a, 
692         kf16=\E[b, kf17=\E[c, kf18=\E[d, kf19=\E[e, kf2=\E[N, 
693         kf20=\E[f, kf21=\E[g, kf22=\E[h, kf23=\E[i, kf24=\E[j, 
694         kf25=\E[k, kf26=\E[l, kf27=\E[m, kf28=\E[n, kf29=\E[o, 
695         kf3=\E[O, kf30=\E[p, kf31=\E[q, kf32=\E[r, kf33=\E[s, 
696         kf34=\E[t, kf35=\E[u, kf36=\E[v, kf37=\E[w, kf38=\E[x, 
697         kf39=\E[y, kf4=\E[P, kf40=\E[z, kf41=\E[@, kf42=\E[[, 
698         kf43=\E[\\, kf44=\E[], kf45=\E[\014kf46=\E[_, kf47=\E[`, 
699         kf48=\E[{, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, 
700         khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, krdo=\E[F, 
701         ri=\E[T, 
702         use=klone+sgr-dumb, 
703
704 # This actually describes the generic SVr4 display driver for Intel boxes.
705 # The <dim=\E[2m> isn't documented and therefore may not be reliable.
706 # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
707 att6386|at386|386at|AT&T WGS 6386 console, 
708         am, bw, eo, xon, 
709         cols#80, it#8, lines#25, 
710         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
711         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 
712         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 
713         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
714         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
715         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
716         dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
717         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
718         ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 
719         indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 
720         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
721         kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 
722         kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
723         kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 
724         knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
725         ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
726         sc=\E7, 
727         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, 
728         sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
729         tbc=\E[2g, vpa=\E[%i%p1%dd, 
730         use=klone+color, 
731 # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
732 pc6300plus|AT&T 6300 plus, 
733         am, xon, 
734         cols#80, lines#24, 
735         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
736         clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 
737         cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
738         dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 
739         home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 
740         invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
741         kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 
742         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 
743         nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
744         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
745
746 # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
747 #
748 # I have a UNIX PC which I use as a terminal attached to my Linux PC.
749 # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
750 # is broken. All the special key sequences are broken, making it unusable
751 # with Emacs. The problem stems from the following:
752
753 # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
754 # keypad!), loadable fonts, and strange highlighting modes ("dithered"
755 # half-intensity, "smeared" bold, and real strike-out, for example.) It also
756 # uses resizable terminal windows, but the bundled terminal program always
757 # uses an 80x24 window (and doesn't support seem to support a 132-column
758 # mode.) 
759
760 # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
761 # library which was a superset of SVr3.5 curses (called tam, for "terminal
762 # access method".) tam includes support for real, overlapping windows,
763 # onscreen function key labels, and bitmap graphics. But since the primary
764 # user interface on the UNIX PC was a GUI program (ua, for "user
765 # assistant",) and remote administration was considered important for the
766 # machine, tam also supported VT100-compatible terminals attached to the
767 # serial port or used across the StarLan network. To simulate the extra keys
768 # not present on a VT100, users could press ESC and a two-letter sequence,
769 # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
770 # however, were not the same as those sent by the actual Undo key. The
771 # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
772 # (If you're interested in adding some of the tam calls to ncurses, btw, I
773 # have the full documentation and several programs which use tam. It also
774 # used an extended terminfo format to describe key sequences, special
775 # highlighting modes, etc.) 
776
777 # KEYS: This means that ncurses would quite painful on the UNIX PC, since
778 # there are two sequences for every key-modifier combination (local keyboard
779 # sequence and remote "VT100" sequence.) But I doubt many people are trying
780 # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
781 # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
782 # seem to have been built from the manual describing the VT100 sequences. 
783 # This means it doesn't work for a real live UNIX PC. 
784
785 # FONTS: The UNIX PC also has a strange interpretation of "alternate
786 # character set". Rather than the VT100 graphics you might expect, it allows
787 # up to 8 custom fonts to be loaded at any given time. This means that
788 # programs expecting VT100 graphics will usually be disappointed. For this
789 # reason I have disabled the smacs/rmacs sequences, but they could easily be
790 # re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
791 # manpage), should you wish to do so: 
792
793 # SGR10 - Select font 0 - ESC [ 10 m or SO
794 # SGR11 - Select font 1 - ESC [ 11 m or SI
795 # SGR12 - Select font 2 - ESC [ 12 m
796 # ... (etc.)
797 # SGR17 - Select font 7 - ESC [ 17 m
798
799 # Graphics for line drawing are not reliably found at *any* character
800 # location because the UNIX PC has dynamically reloadable fonts. I use font
801 # 0 for regular text and font 1 for italics, but this is by no means
802 # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
803
804 # MISC: The cursor visible/cursor invisible sequences were swapped in the
805 # distributed terminfo.
806
807 # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
808 # the UNIX PC terminfo entry. The modified version works great with Lynx,
809 # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
810 # attached by serial cable. In Emacs, even the Undo key works, and many
811 # applications can now use the F1-F8 keys. 
812
813 # esr's notes:
814 #       Terminfo entry for the AT&T Unix PC 7300
815 #       from escape(7) in Unix PC 7300 Manual.
816 #       Somewhat similar to a vt100-am (but different enough
817 #       to redo this from scratch.)
818 #
819 #       /***************************************************************
820 #       *
821 #       *           FONT LOADING PROGRAM FOR THE UNIX PC
822 #       *
823 #       *     This routine loads a font defined in the file ALTFONT
824 #       *     into font memory slot #1.  Once the font has been loaded,
825 #       *     it can be used as an alternative character set.
826 #       *
827 #       *     The call to ioctl with the argument WIOCLFONT is the key 
828 #       *     to this routine.  For more information, see window(7) in 
829 #       *     the PC 7300 documentation.
830 #       ***************************************************************/
831 #       #include <string.h>             /* needed for strcpy call */
832 #       #include <sys/window.h>         /* needed for ioctl call */
833 #       #define FNSIZE  60              /* font name size */
834 #       #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
835 #       /*
836 #       *     The file /usr/lib/wfont/special.8.ft comes with the
837 #       *     standard PC software.  It defines a graphics character set
838 #       *     similar to that of the Teletype 5425 terminal.  To view
839 #       *     this or other fonts in /usr/lib/wfont, use the command
840 #       *     cfont <filename>.  For further information on fonts see
841 #       *     cfont(1) in the PC 7300 documentation.
842 #       */
843 #       
844 #       struct altfdata         /* structure for alt font data */
845 #       {
846 #       short   altf_slot;              /* memory slot number */
847 #       char    altf_name[FNSIZE];      /* font name (file name) */
848 #       };
849 #       ldfont()
850 #       {
851 #               int wd;         /* window in which altfont will be */
852 #               struct altfdata altf;
853 #               altf.altf_slot=1;
854 #               strcpy(altf.altf_name,ALTFONT);
855 #               for (wd =1; wd < 12; wd++) {
856 #                    ioctl(wd, WIOCLFONT,&altf);
857 #               }
858 #       }
859 #
860 # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
861 # they're confirmed by the man page for the System V display---esr)
862 #
863 att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
864         am, xon, 
865         cols#80, it#8, lines#24, 
866         bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 
867         clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, 
868         cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
869         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
870         cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
871         ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 
872         il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 
873         kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 
874         kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 
875         kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 
876         kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 
877         kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 
878         kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
879         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 
880         ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 
881         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
882         kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 
883         kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 
884         kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 
885         kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 
886         ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 
887         rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
888         smul=\E[4m, 
889
890 # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
891 # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
892 # for the application keypad mode.  We have added iris-ansi-ap rather than
893 # change the original to keypad mode.
894 #
895 # (iris-ansi: added rmam/smam based on init string -- esr)
896 #
897 # This entry, and those derived from it, is used in xwsh (also known as
898 # winterm).  Some capabilities that do not fit into the terminfo model
899 # include the shift- and control-functionkeys:
900 #
901 # F1-F12 generate different codes when shift or control modifiers are used.
902 # For example:
903 #       F1              \E[001q
904 #       shift F1        \E[013q
905 #       control-F1      \E[025q
906 #
907 # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
908 # \EOP to \EOS.  The shifted and control modifiers still do the same thing.
909 #
910 # The cursor keys also have different codes:
911 #       control-up      \E[162q
912 #       control-down    \E[165q
913 #       control-left    \E[159q
914 #       control-right   \E[168q
915 #
916 #       shift-up        \E[161q
917 #       shift-down      \E[164q
918 #       shift-left      \E[158q
919 #       shift-right     \E[167q
920 #
921 #       control-tab     \[072q
922 #
923 iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100), 
924         am, 
925         cols#80, it#8, lines#40, 
926         bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
927         cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
928         cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
929         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
930         cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
931         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
932         home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
933         is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P, 
934         kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
935         kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
936         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
937         kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q, 
938         kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q, 
939         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
940         kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
941         knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, 
942         kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, 
943         rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
944         sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
945         tbc=\E[3g, 
946 iris-ansi-ap|IRIS ANSI in application-keypad mode, 
947         is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q, 
948         kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, 
949         use=iris-ansi, 
950
951 # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
952 # (T.Dickey 98/1/24)
953 iris-color|xwsh|IRIX ANSI with color, 
954         ncv#33, 
955         csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m, 
956         ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m, 
957         rmul=\E[24m, rs1=\Ec, 
958         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
959         sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
960         use=klone+color, use=iris-ansi-ap, 
961
962 # The following is a version of the ibm-pc entry distributed with PC/IX,
963 # (Interactive Systems' System 3 for the Big Blue), modified by Richard
964 # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
965 # (the former is untrue, and the latter failed under UCB/man); standout and
966 # underline modes have been added.  Note: this entry describes the "native"
967 # capabilities of the PC monochrome display, without ANY emulation; most
968 # communications packages (but NOT PC/IX connect) do some kind of emulation.
969 pcix|PC/IX console, 
970         am, bw, eo, 
971         cols#80, lines#24, 
972         clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
973         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
974         home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
975         smul=\E[4m, 
976
977 # (ibmpcx: this entry used to be known as ibmx.
978 # It formerly included the following extension capabilities:
979 #       :GC=b:GL=v:GR=t:RT=^J:\
980 #       :GH=\E[196g:GV=\E[179g:\
981 #       :GU=\E[193g:GD=\E[194g:\
982 #       :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
983 #       :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
984 #       :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
985 # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
986 # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
987 # what was there before. -- esr)
988 ibmpcx|xenix|ibmx|IBM PC xenix console display, 
989         am, msgr, 
990         cols#80, lines#25, 
991         clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
992         cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
993         ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H, 
994         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, 
995         kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
996         kpp=\E[Z, 
997         use=klone+acs, use=klone+sgr, 
998
999
1000 # QNX 4.0 Console
1001 # Michael's original version of this entry had <am@>, <smcup=\Ei>,
1002 # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
1003 # right corner without triggering a scroll.  The ncurses terminfo library can
1004 # handle this case with the <ich1> capability, and prefers <am> for better
1005 # optimization.  Bug: The <op> capability resets attributes.
1006 # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
1007 # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
1008 qnx|qnx4|qnx console, 
1009         daisy, km, mir, msgr, xhpa, xt, 
1010         colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
1011         acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263, 
1012         bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
1013         cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
1014         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2, 
1015         dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
1016         il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
1017         kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
1018         kDL=\377\366, kEND=\377\301, kEOL=\377\311, 
1019         kEXT=\377\367, kFND=\377\370, kHLP=\377\371, 
1020         kHOM=\377\260, kIC=\377\340, kLFT=\377\264, 
1021         kMOV=\377\306, kMSG=\377\304, kNXT=\377\272, 
1022         kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
1023         kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
1024         kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
1025         kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0, 
1026         kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
1027         kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
1028         kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
1029         kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
1030         ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320, 
1031         kext=\377\270, kf1=\377\201, kf10=\377\212, 
1032         kf11=\377\256, kf12=\377\257, kf13=\377\213, 
1033         kf14=\377\214, kf15=\377\215, kf16=\377\216, 
1034         kf17=\377\217, kf18=\377\220, kf19=\377\221, 
1035         kf2=\377\202, kf20=\377\222, kf21=\377\223, 
1036         kf22=\377\224, kf23=\377\333, kf24=\377\334, 
1037         kf25=\377\225, kf26=\377\226, kf27=\377\227, 
1038         kf28=\377\230, kf29=\377\231, kf3=\377\203, 
1039         kf30=\377\232, kf31=\377\233, kf32=\377\234, 
1040         kf33=\377\235, kf34=\377\236, kf35=\377\276, 
1041         kf36=\377\277, kf37=\377\321, kf38=\377\322, 
1042         kf39=\377\323, kf4=\377\204, kf40=\377\324, 
1043         kf41=\377\325, kf42=\377\326, kf43=\377\327, 
1044         kf44=\377\330, kf45=\377\331, kf46=\377\332, 
1045         kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206, 
1046         kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
1047         khlp=\377\350, khome=\377\240, khts=\377\342, 
1048         kich1=\377\253, kil1=\377\273, kind=\377\261, 
1049         kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
1050         knp=\377\252, knxt=\377\312, kopn=\377\357, 
1051         kopt=\377\353, kpp=\377\242, kprt=\377\255, 
1052         kprv=\377\302, krdo=\377\336, kref=\377\354, 
1053         kres=\377\360, krfr=\377\347, kri=\377\271, 
1054         krmir=\377\313, krpl=\377\362, krst=\377\352, 
1055         ksav=\377\361, kslt=\377\247, kspd=\377\335, 
1056         ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
1057         rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
1058         rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
1059         setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei, 
1060         smso=\E(, smul=\E[, 
1061
1062 # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
1063 # (esr: commented out <scp> and <rmcup> to avoid warnings.)
1064 # (TD: derive from original qnx4 entry)
1065 qnxt2|qnx 2.15 serial terminal, 
1066         am, 
1067         civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@, 
1068         rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, 
1069         use=qnx4, 
1070
1071 #### NetBSD consoles
1072 #
1073 # pcvt termcap database entries (corresponding to release 3.31)
1074 # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
1075 #
1076 # (For the terminfo master file, I translated these into terminfo syntax.
1077 # Then I dropped all the pseudo-HP entries. we don't want and can't use
1078 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
1079 # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
1080
1081 # NOTE: <ich1> has been taken out of this entry. for reference, it should
1082 # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
1083 # (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
1084 pcvtXX|pcvt vt200 emulator (DEC VT220), 
1085         am, km, mir, msgr, xenl, 
1086         it#8, vt#3, 
1087         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
1088         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1089         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
1090         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1091         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
1092         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1093         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
1094         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
1095         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
1096         is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
1097         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1098         kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
1099         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
1100         khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
1101         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
1102         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1103         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
1104         rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1105         sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1106         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1107
1108 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1109 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1110 #       50 lines entries; 80 columns
1111 pcvt25|dec vt220 emulation with 25 lines, 
1112         cols#80, lines#25, 
1113         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1114 pcvt28|dec vt220 emulation with 28 lines, 
1115         cols#80, lines#28, 
1116         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1117 pcvt35|dec vt220 emulation with 35 lines, 
1118         cols#80, lines#35, 
1119         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1120 pcvt40|dec vt220 emulation with 40 lines, 
1121         cols#80, lines#40, 
1122         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1123 pcvt43|dec vt220 emulation with 43 lines, 
1124         cols#80, lines#43, 
1125         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1126 pcvt50|dec vt220 emulation with 50 lines, 
1127         cols#80, lines#50, 
1128         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1129
1130 #       NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1131 #       termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1132 #       50 lines entries; 132 columns
1133 pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
1134         cols#132, lines#25, 
1135         is2=\E[1;25r\E[25;1H, use=pcvtXX, 
1136 pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
1137         cols#132, lines#28, 
1138         is2=\E[1;28r\E[28;1H, use=pcvtXX, 
1139 pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
1140         cols#132, lines#35, 
1141         is2=\E[1;35r\E[35;1H, use=pcvtXX, 
1142 pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
1143         cols#132, lines#40, 
1144         is2=\E[1;40r\E[40;1H, use=pcvtXX, 
1145 pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
1146         cols#132, lines#43, 
1147         is2=\E[1;43r\E[43;1H, use=pcvtXX, 
1148 pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
1149         cols#132, lines#50, 
1150         is2=\E[1;50r\E[50;1H, use=pcvtXX, 
1151
1152 # Terminfo entries to enable the use of the ncurses library in colour on a
1153 # NetBSD-arm32 console (only tested on a RiscPC).
1154 # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
1155 # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
1156 # typo in invis - TD
1157 arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480), 
1158         am, bce, msgr, xenl, xon, 
1159         cols#80, it#8, lines#30, 
1160         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1161         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1162         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1163         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1164         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1165         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1166         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1167         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, 
1168         invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H, 
1169         kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1170         kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x, 
1171         kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v, 
1172         kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[6m$<2>, ri=\EM$<5>, 
1173         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
1174         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1175         sc=\E7, 
1176         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1177         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1178         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
1179         use=ecma+sgr, use=klone+color, 
1180
1181 arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768), 
1182         cols#132, lines#50, use=arm100, 
1183
1184 # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
1185 # manufactured by Sharp for the Japenese market.
1186 # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1187 x68k|x68k-ite|NetBSD/x68k ITE, 
1188         cols#96, lines#32, 
1189         kclr=\E[9~, khlp=\E[28~, use=vt220, 
1190
1191 #### FreeBSD console entries
1192 #
1193 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
1194 # Andrey Chernov maintains the FreeBSD termcap distributions.
1195 #
1196 # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1197 # or comment out the :cb: capability in the console entry.
1198 #
1199 # Alexander Lukyanov reports:
1200 # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
1201 # Now el1 clears not only to the line beginning, but also a large chunk
1202 # of previous line. But there is another bug - ech does not work at all.
1203 #
1204
1205 # for syscons
1206 # common entry without semigraphics
1207 # Bug: The <op> capability resets attributes.
1208 # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
1209 # instance el1 does if the cursor is moved to the right margin first.  Removed
1210 # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
1211 #
1212 # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
1213 # Note that this disables standout with color.
1214 cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
1215         am, bce, bw, eo, msgr, npc, 
1216         colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
1217         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
1218         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
1219         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1220         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
1221         dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
1222         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, 
1223         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
1224         indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
1225         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, 
1226         kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, 
1227         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
1228         kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, 
1229         nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
1230         rmso=\E[m, rs1=\E[x\E[m\Ec, setab=\E[4%p1%dm, 
1231         setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
1232 cons25|ansis|ansi80x25|freebsd console (25-line ansi mode), 
1233         acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371, 
1234         use=cons25w, 
1235 cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
1236         colors@, pairs@, 
1237         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25, 
1238 cons30|ansi80x30|freebsd console (30-line ansi mode), 
1239         lines#30, use=cons25, 
1240 cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode), 
1241         lines#30, use=cons25-m, 
1242 cons43|ansi80x43|freebsd console (43-line ansi mode), 
1243         lines#43, use=cons25, 
1244 cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode), 
1245         lines#43, use=cons25-m, 
1246 cons50|ansil|ansi80x50|freebsd console (50-line ansi mode), 
1247         lines#50, use=cons25, 
1248 cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode), 
1249         lines#50, use=cons25-m, 
1250 cons60|ansi80x60|freebsd console (60-line ansi mode), 
1251         lines#60, use=cons25, 
1252 cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
1253         lines#60, use=cons25-m, 
1254 cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
1255         acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225, 
1256         use=cons25w, 
1257 cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
1258         colors@, pairs@, 
1259         op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r, 
1260 cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines), 
1261         lines#50, use=cons25r, 
1262 cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono), 
1263         lines#50, use=cons25r-m, 
1264 cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines), 
1265         lines#60, use=cons25r, 
1266 cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono), 
1267         lines#60, use=cons25r-m, 
1268 # ISO 8859-1 FreeBSD console
1269 cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
1270         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, 
1271         use=cons25w, 
1272 cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
1273         colors@, pairs@, 
1274         bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1, 
1275 cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines), 
1276         lines#50, use=cons25l1, 
1277 cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono), 
1278         lines#50, use=cons25l1-m, 
1279 cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines), 
1280         lines#60, use=cons25l1, 
1281 cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono), 
1282         lines#60, use=cons25l1-m, 
1283
1284 #### 386BSD and BSD/OS Consoles
1285 #
1286
1287 # This was the original 386BSD console entry (I think).  
1288 # Some places it's named oldpc3|oldibmpc3.
1289 # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1290 origpc3|origibmpc3|IBM PC 386BSD Console, 
1291         am, bw, eo, xon, 
1292         cols#80, lines#25, 
1293         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
1294         bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1295         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
1296         home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
1297         kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x, 
1298         rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x, 
1299         smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x, 
1300
1301 # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1302 oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
1303         km, 
1304         lines#25, 
1305         bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M, 
1306         ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1307         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, 
1308         knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
1309
1310 # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
1311 # Note, the emulator supports many of the additional console features
1312 # listed in the iBCS2 (e.g. character-set selection) though not all
1313 # are described here.  This entry really ought to be upgraded.
1314 # Also note, the console will also work with fewer lines after doing
1315 # "stty rows NN", e.g. to use 24 lines.
1316 # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
1317 # Bug: The <op> capability resets attributes.
1318 bsdos-pc-nobold|BSD/OS PC console w/o bold, 
1319         am, eo, km, xon, 
1320         cols#80, it#8, lines#25, 
1321         bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H, 
1322         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1323         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1324         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
1325         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
1326         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, 
1327         kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7, 
1328         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%;, 
1329         use=klone+sgr, use=klone+color, 
1330 bsdos-pc|IBM PC BSD/OS Console, 
1331         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, use=bsdos-pc-nobold, 
1332
1333 # Old names for BSD/OS PC console used in releases before 4.1. 
1334 pc3|BSD/OS on the PC Console, 
1335         use=bsdos-pc-nobold, 
1336 ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline, 
1337         use=bsdos-pc, 
1338  
1339 # BSD/OS on the SPARC 
1340 bsdos-sparc|Sun SPARC BSD/OS Console, 
1341         use=sun, 
1342          
1343 # BSD/OS on the PowerPC 
1344 bsdos-ppc|PowerPC BSD/OS Console, 
1345         use=bsdos-pc, 
1346
1347 #### DEC VT100 and compatibles
1348 #
1349 # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
1350 # the basis of some emulations) are collected here. Older DEC terminals and
1351 # micro consoles can be found in the `obsolete' section.  More details on
1352 # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
1353 # found near the end of this file.
1354 #
1355 # Except where noted, these entries are DEC's official terminfos.
1356 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1357 # Engineering for more information.  Updated terminfos and termcaps 
1358 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1359 #
1360 # In October 1995 DEC sold its terminals business, including the VT and Dorio
1361 # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
1362 # its name to Boundless Technologies; see http://www.boundless.com.
1363 #
1364
1365 # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
1366 vt52|dec vt52, 
1367         cols#80, it#8, lines#24, 
1368         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1369         bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
1370         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
1371         el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
1372         kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
1373
1374 # NOTE:  Any VT100 emulation, whether in hardware or software, almost
1375 # certainly includes what DEC called the `Level 1 editing extension' codes;
1376 # only the very oldest VT100s lacked these and there probably aren't any of
1377 # those left alive.  To capture these, use one of the VT102 entries.
1378 #
1379 # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
1380 # since the cursor is left in a different position while in the
1381 # weird state (concept at beginning of next line, vt100 at end
1382 # of this line) so all versions of vi before 3.7 don't handle
1383 # <xenl> right on vt100. The correct way to handle <xenl> is when
1384 # you output the char in column 80, immediately output CR LF
1385 # and then assume you are in column 1 of the next line. If <xenl>
1386 # is on, am should be on too.
1387
1388 # I assume you have smooth scroll off or are at a slow enough baud
1389 # rate that it doesn't matter (1200? or less). Also this assumes
1390 # that you set auto-nl to "on", if you set it off use vt100-nam 
1391 # below.
1392
1393 # The padding requirements listed here are guesses. It is strongly
1394 # recommended that xon/xoff be enabled, as this is assumed here.
1395
1396 # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
1397 # tab settings are in non-volatile memory and don't need to be 
1398 # reset upon login. Also setting the number of columns glitches 
1399 # the screen annoyingly. You can type "reset" to get them set.
1400 #
1401 # Here's a diagram of the VT100 keypad keys with their bindings.
1402 # The top line is the name of the key (some DEC keyboards have the keys
1403 # labelled somewhat differently, like GOLD instead of PF1, but this is
1404 # the most "official" name).  The second line is the escape sequence it
1405 # generates in Application Keypad mode (where "$" means the ESC
1406 # character).  The third line contains two items, first the mapping of
1407 # the key in terminfo, and then in termcap.
1408 #   _______________________________________
1409 #  |   PF1   |   PF2   |   PF3   |   PF4   |
1410 #  |   $OP   |   $OQ   |   $OR   |   $OS   |
1411 #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1412 #  |    7         8         9         -    |
1413 #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1414 #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1415 #  |    4    |    5    |    6    |    ,    |
1416 #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1417 #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1418 #  |    1    |    2    |    3    |         |
1419 #  |   $Oq   |   $Or   |   $Os   |  enter  |
1420 #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1421 #  |         0         |   .     |         |
1422 #  |        $Op        |  $On    |         |
1423 #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1424 #
1425 # And here, for those of you with orphaned VT100s lacking documentation, is
1426 # a description of the soft switches invoked when you do `Set Up'.
1427
1428 #  Scroll 0-Jump               Shifted 3   0-#
1429 #  |      1-Smooth             |           1-British pound sign
1430 #  | Autorepeat 0-Off          | Wrap Around 0-Off
1431 #  | |          1-On           | |           1-On
1432 #  | | Screen 0-Dark Bkg       | | New Line 0-Off
1433 #  | | |      1-Light Bkg      | | |        1-On
1434 #  | | | Cursor 0-Underline    | | | Interlace 0-Off
1435 #  | | | |      1-Block        | | | |         1-On
1436 #  | | | |                     | | | |
1437 #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1438 #                | | | |                     | | | |
1439 #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1440 #                | | |               1-On    | | |       1-50 Hz
1441 #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
1442 #                | |           1-ANSI        | |                1-8 Bits
1443 #                | Keyclick 0-Off            | Parity 0-Off
1444 #                |          1-On             |        1-On
1445 #                Margin Bell 0-Off           Parity Sense 0-Odd
1446 #                            1-On                         1-Even
1447 #
1448 # The following SET-UP modes are assumed for normal operation:
1449 #       ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
1450 #       WRAP_AROUND_ON  JUMP_SCROLL_OFF
1451 # Other SET-UP modes may be set for operator convenience or communication
1452 # requirements; I recommend
1453 #       AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
1454 # Unless you have a graphics add-on such as Digital Engineering's VT640
1455 # (and even then, whenever it can be arranged!) you should set
1456 #       INTERLACE_OFF
1457 #
1458 # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
1459 vt100|vt100-am|dec vt100 (w/advanced video), 
1460         am, msgr, xenl, xon, 
1461         cols#80, it#8, lines#24, vt#3, 
1462         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1463         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1464         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1465         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1466         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
1467         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
1468         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
1469         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
1470         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
1471         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
1472         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
1473         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
1474         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
1475         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
1476         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1477         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
1478         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
1479         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
1480 vt100nam|vt100-nam|vt100 no automargins, 
1481         am@, xenl@, use=vt100-am, 
1482 vt100-vb|dec vt100 (w/advanced video) & no beep, 
1483         bel@, flash=\E[?5h\E[?5l, use=vt100, 
1484
1485 # Ordinary vt100 in 132 column ("wide") mode.
1486 vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
1487         cols#132, lines#24, 
1488         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, 
1489 vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
1490         cols#132, lines#14, vt@, 
1491         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, 
1492
1493 # vt100 with no advanced video.
1494 vt100-nav|vt100 without advanced video option, 
1495         xmc#1, 
1496         blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, 
1497         smul@, 
1498         use=vt100, 
1499 vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
1500         cols#132, lines#14, use=vt100-nav, 
1501
1502 # vt100 with one of the 24 lines used as a status line.
1503 # We put the status line on the top.
1504 vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
1505         eslok, hs, 
1506         lines#23, 
1507         clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
1508         cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8, 
1509         fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8, 
1510         tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am, 
1511
1512 # Status line at bottom. 
1513 # Clearing the screen will clobber status line.
1514 vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
1515         eslok, hs, 
1516         lines#23, 
1517         dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
1518         tsl=\E7\E[24;%p1%dH\E[1K, 
1519         use=vt100-am, 
1520
1521 # Most of the `vt100' emulators out there actually emulate a vt102
1522 # This entry (or vt102-nsgr) is probably the right thing to use for
1523 # these.  
1524 vt102|dec vt102, 
1525         mir, 
1526         dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100, 
1527 vt102-w|dec vt102 in wide mode, 
1528         cols#132, 
1529         rs3=\E[?3h, use=vt102, 
1530
1531 # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1532 # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
1533 # string in the canonical vt100 entry above leaves the screen littered
1534 # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
1535 # after highlight turnoffs.  This entry should fix that, and even leave
1536 # ACS support working, at the cost of making multiple-highlight changes 
1537 # slightly more expensive.
1538 # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1539 vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
1540         sgr@, sgr0=\E[m, 
1541         use=vt102, 
1542
1543 # VT125 Graphics CRT.  Clear screen also erases graphics
1544 vt125|vt125 graphics terminal, 
1545         clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100, 
1546
1547 # This isn't a DEC entry, it came from University of Wisconsin.
1548 # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
1549 vt131|dec vt131, 
1550         am, xenl, 
1551         cols#80, it#8, lines#24, vt#3, 
1552         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
1553         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1554         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
1555         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
1556         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
1557         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
1558         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
1559         kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, 
1560         rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>, 
1561         rmul=\E[m$<2/>, 
1562         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1563         sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=, 
1564         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
1565
1566 # vt132 - like vt100 but slower and has ins/del line and such.
1567 # I'm told that <smir>/<rmir> are backwards in the terminal from the
1568 # manual and from the ANSI standard, this describes the actual 
1569 # terminal. I've never actually used a vt132 myself, so this 
1570 # is untested.
1571 #
1572 vt132|DEC vt132, 
1573         xenl, 
1574         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
1575         ip=$<7>, rmir=\E[4h, smir=\E[4l, 
1576         use=vt100, 
1577
1578 # vt220:
1579 # This vt220 description maps F5--F9 to the second block of function keys
1580 # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
1581 # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
1582 # PF1--PF4 are used as F1--F4.
1583 #
1584 vt220|vt200|DEC VT220 in vt100 emulation mode, 
1585         am, mir, xenl, xon, 
1586         cols#80, lines#24, vt#3, 
1587         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1588         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
1589         clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
1590         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
1591         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1592         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1593         if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, 
1594         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
1595         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
1596         kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
1597         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
1598         khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8, 
1599         rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
1600         ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1601         rmso=\E[27m, rmul=\E[24m, 
1602         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
1603         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1604         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1605         smso=\E[7m, smul=\E[4m, 
1606 vt220-w|vt200-w|DEC vt220 in wide mode, 
1607         cols#132, 
1608         rs3=\E[?3h, use=vt220, 
1609
1610 #
1611 # vt220d:
1612 # This vt220 description regards F6--F10 as the second block of function keys
1613 # at the top of the keyboard.  This mapping follows the description given
1614 # in the VT220 Programmer Reference Manual and agrees with the labeling
1615 # on some terminals that emulate the vt220.  There is no support for an F5.
1616 # See vt220 for an alternate mapping. 
1617 #
1618 vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
1619         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
1620         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
1621         kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~, 
1622         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1623         use=vt220, 
1624
1625 vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
1626         am@, 
1627         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1628
1629 # This is misnamed (see xterm-8bit for an example of 8-bit controls)
1630 vt220-8|dec vt220 8 bit terminal, 
1631         am, mc5i, mir, msgr, xenl, xon, 
1632         cols#80, it#8, lines#24, 
1633         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1634         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
1635         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1636         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1637         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1638         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1639         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
1640         flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
1641         ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
1642         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1643         is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
1644         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
1645         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1646         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
1647         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
1648         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
1649         khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
1650         kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, 
1651         mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
1652         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
1653         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
1654         smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1655
1656 # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
1657 # (not an official DEC entry!)
1658 # The problem with real vt220 terminals is they don't send escapes when in
1659 # in vt220 mode.  This can be gotten around two ways.  1> don't send
1660 # escapes or 2> put the vt220 into vt100 mode and use all the nifty
1661 # features of vt100 advanced video which it then has.
1662 #
1663 # This entry takes the view of putting a vt220 into vt100 mode so
1664 # you can use the escape key in emacs and everything else which needs it.
1665 #
1666 # You probably don't want to use this on a VMS machine since VMS will think
1667 # it has a vt220 and will get fouled up coming out of emacs
1668 #
1669 # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
1670 vt200-js|vt220-js|dec vt200 series with jump scroll, 
1671         am, 
1672         cols#80, 
1673         bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1674         cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
1675         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
1676         il1=\E[L, ind=\ED, 
1677         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, 
1678         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1679         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, 
1680         rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l, 
1681         rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m, 
1682         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smdc=, 
1683         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m, 
1684  
1685 # This was DEC's vt320.  Use the purpose-built one below instead 
1686 #vt320|DEC VT320 in vt100 emulation mode,
1687 #       use=vt220,
1688
1689 #
1690 # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
1691 #
1692 vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
1693         am@, 
1694         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
1695
1696 # These entries are not DEC's official ones, they were purpose-built for the 
1697 # VT320.  Here are the designer's notes:
1698 # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
1699 # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1700 # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1701 # Things that use <knxt> usually use tab anyways... and things that don't use
1702 # tab usually use <knxt> instead...
1703 # kprv is same as tab - Backtab is useless...
1704 # I left out <sgr> because of its RIDICULOUS complexity,
1705 # and the resulting fact that it causes the termcap translation of the entry
1706 # to SMASH the 1k-barrier...
1707 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1708 # (vt320: uncommented <fsl> --esr) 
1709 vt320|vt300|dec vt320 7 bit terminal, 
1710         am, eslok, hs, mir, msgr, xenl, 
1711         cols#80, lines#24, wsl#80, 
1712         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1713         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1714         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
1715         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1716         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1717         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1718         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1719         ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, 
1720         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
1721         il1=\E[L, ind=\ED, 
1722         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1723         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, 
1724         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1725         kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
1726         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
1727         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
1728         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
1729         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1730         khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~, 
1731         kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, 
1732         nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300, 
1733         ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
1734         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
1735         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1736         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
1737         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1738         tsl=\E[1$}\E[H\E[K, 
1739 vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
1740         am@, 
1741         is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1742         rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1743         use=vt320, 
1744 # We have to init 132-col mode, not 80-col mode.
1745 vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
1746         cols#132, wsl#132, 
1747         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1748         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1749         use=vt320, 
1750 vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
1751         am@, 
1752         is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1753         rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
1754         use=vt320-w, 
1755
1756 # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
1757 #   which are pretty much a superset of the VT320.  They have the
1758 #   host writable status line, yet another different DRCS matrix size,
1759 #   and such, but they add the DEC Technical character set, Multiple text
1760 #   pages, selectable length pages, and the like.  The difference between
1761 #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
1762 #   monitor, the former has 4 planes and a color monitor.  These terminals
1763 #   support VT131 and ANSI block mode, but as with much of these things,
1764 #   termcap/terminfo doesn't deal with these features.
1765 #
1766 # Note that this entry is are set up in what was the standard way for GNU
1767 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1768 # keys were switched into application mode at the same time the numeric pad
1769 # is switched into application mode.  This changes the definitions of the
1770 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1771 # your termcap or terminfo entry,
1772 #
1773 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1774 # (vt340: string capability "sb=\E[M" corrected to "sr";
1775 # also, added <rmam>/<smam> based on the init string -- esr)
1776 vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
1777         am, eslok, hs, mir, msgr, xenl, xon, 
1778         cols#80, it#8, lines#24, vt#3, 
1779         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1780         blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
1781         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1782         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
1783         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
1784         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
1785         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
1786         dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
1787         flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I, 
1788         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1789         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1790         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1791         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
1792         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
1793         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
1794         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
1795         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
1796         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
1797         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
1798         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
1799
1800 # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
1801 # (originally written with vt420 as its primary name, and usable for it).
1802
1803 # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
1804 #    text pages and long text pages with selectable length of the vt340, along
1805 #    with left and right margins, rectangular area text copy, fill, and erase
1806 #    operations, selected region character attribute change operations,
1807 #    page memory and rectangle checksums, insert/delete column, reception
1808 #    macros, and other features too numerous to remember right now.  TERMCAP
1809 #    can only take advantage of a few of these added features.
1810 #
1811 # Note that this entry is are set up in what was the standard way for GNU
1812 # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
1813 # keys were switched into application mode at the same time the numeric pad
1814 # is switched into application mode.  This changes the definitions of the
1815 # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
1816 # your termcap entry,
1817 #
1818 # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
1819 # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
1820 # also, added <rmam>/<smam> based on the init string -- esr)
1821 vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
1822         am, eslok, hs, mir, msgr, xenl, xon, 
1823         cols#80, it#8, lines#24, vt#3, 
1824         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1825         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
1826         clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
1827         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
1828         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
1829         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
1830         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
1831         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
1832         el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
1833         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
1834         il=\E[%p1%dL, il1=\E[L, ind=\ED, 
1835         is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
1836         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
1837         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
1838         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
1839         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
1840         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
1841         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
1842         rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
1843         smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
1844         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
1845         tsl=\E[2$~\E[1$}\E[1;%dH, 
1846
1847 # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
1848 # a missing <sc> -- esr)
1849 vt420|DEC VT420, 
1850         am, mir, xenl, xon, 
1851         cols#80, lines#24, vt#3, 
1852         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1853         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1854         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1855         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1856         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1857         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1858         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1859         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1860         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1861         kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
1862         kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
1863         kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
1864         kslt=\E[4~, rc=\E8, rev=\E[7m$<2>, 
1865         rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>, 
1866         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
1867         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1868         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1869         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1870         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1871         smkx=\E=, smso=\E[7m, smul=\E[4m, 
1872
1873 #
1874 # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
1875 # takes two parameters, the key and the string.  Translating the key is
1876 # straightforward (keys 1-5 are not defined on real terminals, though some
1877 # emulators define these):
1878 #
1879 #               if (key < 16) then  value = key;
1880 #               else if (key < 21) then value = key + 1; 
1881 #               else if (key < 25) then value = key + 2;
1882 #               else if (key < 27) then value = key + 3;
1883 #               else if (key < 30) then value = key + 4;
1884 #               else value = key + 5;
1885 #
1886 # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
1887 # There's no provision in terminfo for emitting a string in this format, so the
1888 # application has to know it.
1889 #
1890 vt420pc|DEC VT420 w/PC keyboard, 
1891         kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
1892         kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
1893         kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~, 
1894         kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, 
1895         kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, 
1896         kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, 
1897         kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, 
1898         kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, 
1899         kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
1900         kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~, 
1901         kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~, 
1902         kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, 
1903         kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
1904         kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
1905         pctrm=USR_TERM\:vt420pcdos\:, 
1906         pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, use=vt420, 
1907
1908 vt420pcdos|DEC VT420 w/PC for DOS Merge, 
1909         lines#25, 
1910         dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;, 
1911         pctrm@, 
1912         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@, 
1913         sgr0=\E[m, smsc=\E[?1;2r\E[34h, 
1914         use=vt420pc, 
1915
1916 vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
1917         kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
1918         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
1919         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
1920         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
1921         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
1922         khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS, 
1923         use=vt420, 
1924
1925 vt510|DEC VT510, 
1926         use=vt420, 
1927 vt510pc|DEC VT510 w/PC keyboard, 
1928         use=vt420pc, 
1929 vt510pcdos|DEC VT510 w/PC for DOS Merge, 
1930         use=vt420pcdos, 
1931
1932 # VT520/VT525
1933 #
1934 # The VT520 is a monochrome text terminal capable of managing up to
1935 # four independent sessions in the terminal.  It has multiple ANSI
1936 # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
1937 # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
1938 # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
1939 #
1940 # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
1941 # [Alt]/[Print Screen] depending upon which keyboard and which
1942 # terminal mode is being used.  If Set-Up has been disabled or
1943 # assigned to an unknown key, Set-Up may be entered by pressing
1944 # [F3] as the first key after power up, regardless of keyboard type.
1945 # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
1946 vt520|DEC VT520, 
1947         am, mir, xenl, xon, 
1948         cols#80, lines#24, vt#3, 
1949         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1950         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1951         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1952         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1953         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1954         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1955         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1956         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1957         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1958         kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
1959         kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
1960         kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
1961         kpp=\E[5~, kslt=\E[4~, 
1962         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\\, 
1963         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
1964         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1965         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1966         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1967         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1968         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1969         smso=\E[7m, smul=\E[4m, 
1970
1971 # (vt525: I added <rmam>/<smam> based on the init string;
1972 # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
1973 vt525|DEC VT525, 
1974         am, mir, xenl, xon, 
1975         cols#80, lines#24, vt#3, 
1976         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
1977         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
1978         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
1979         cub1=^H, cud1=\E[B, cuf1=\E[C, 
1980         cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
1981         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
1982         if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
1983         is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
1984         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
1985         kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
1986         kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
1987         kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
1988         kpp=\E[5~, kslt=\E[4~, 
1989         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\\, 
1990         rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
1991         ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
1992         rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
1993         rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
1994         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
1995         sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
1996         smso=\E[7m, smul=\E[4m, 
1997
1998 #### VT100 emulations
1999 #
2000
2001 # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
2002 # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
2003 # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
2004 # that this works best with a stock vt100 entry.
2005 dec-vt100|EWAN telnet's vt100 emulation, 
2006         use=vt100, 
2007
2008 # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
2009 dec-vt220|DOS tnvt200 terminal emulator, 
2010         am@, use=vt220, 
2011
2012 # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
2013 # anyone who needs PC VT340 emulation. (or anything below that level, for
2014 # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
2015 # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
2016 # I can send the address if requested.
2017 # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
2018 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
2019 z340|zstem vt340 terminal emulator 132col 42line, 
2020         lines#42, 
2021         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
2022         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
2023         use=vt320-w, 
2024 z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins), 
2025         am@, 
2026         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
2027         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
2028         use=z340, 
2029
2030 # CRT is shareware.  It implements some xterm features, including mouse.
2031 crt|crt-vt220|CRT 2.3 emulating VT220, 
2032         bce, msgr, 
2033         colors#8, pairs#64, 
2034         hts=\EH, op=\E[39;49m, setab=\E[4%p1%dm, 
2035         setaf=\E[3%p1%dm, setb=\E[4%p1%dm, setf=\E[3%p1%dm, 
2036         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2037         use=vt220, 
2038
2039 # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
2040 # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
2041 # (communication program) which supports:
2042 #
2043 #       - Serial port connections.
2044 #       - TCP/IP (telnet) connections.
2045 #       - VT100 emulation, and selected VT200/300 emulation.
2046 #       - TEK4010 emulation.
2047 #       - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
2048 #         Quick-VAN).
2049 #       - Scripts using the "Tera Term Language".
2050 #       - Japanese and Russian character sets.
2051 #
2052 # The program does not come with terminfo or termcap entries.  However, the
2053 # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
2054 # vt52 or doublesize character support; blinking is done with color).  Besides
2055 # the HPA, VPA extensions it also implements CPL and CNL.
2056 #
2057 # All of the function keys can be remapped.  This description shows the default
2058 # mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
2059 # are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
2060 # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
2061 #       kfnd    Insert
2062 #       kslt    Delete
2063 #       kich1   Home
2064 #       kdch1   PageUp
2065 #       kpp     End
2066 #       knp     PageDown
2067 #
2068 # ANSI colors are implemented, but cannot be combined with video attributes
2069 # except for reverse.
2070 #
2071 # No fonts are supplied with the program, so the acsc string is chosen to
2072 # correspond with the default Microsoft terminal font.
2073 #
2074 # Tera Term recognizes some xterm sequences, including those for setting and
2075 # retrieving the window title, and for setting the window size (i.e., using
2076 # "resize -s"), though it does not pass SIGWINCH to the application if the
2077 # user resizes the window with the mouse.
2078 teraterm|Tera Term Pro, 
2079         km, xon@, 
2080         ncv#43, vt@, 
2081         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, 
2082         blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
2083         cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2084         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2085         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2086         flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG, 
2087         il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~, 
2088         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
2089         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
2090         kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, 
2091         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2092         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
2093         kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM, 
2094         rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m, 
2095         smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2096         vpa=\E[%i%p1%dd, 
2097         use=klone+color, use=vt100, 
2098
2099 # Tested with WinNT 4.0, the telnet application assumes the screensize is
2100 # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
2101 ms-vt100|MS telnet imitating dec vt100, 
2102         lines#25, 
2103         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, 
2104         tbc@, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, 
2105         use=vt100, 
2106
2107 #### X terminal emulators
2108 #
2109 # You can add the following line to your .Xdefaults to change the terminal type
2110 # set by the xterms you start up to my-xterm:
2111 #
2112 # *termName:  my-xterm
2113 #
2114 # System administrators can change the default entry for xterm instances
2115 # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
2116 # case, xterm will detect and reject an invalid terminal type, falling back
2117 # to the default of xterm.
2118 #
2119
2120 # X10/6.6       11/7/86, minus alternate screen, plus (csr)
2121 # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
2122 # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
2123 # as these seem not to work -- esr)
2124 x10term|vs100-x10|xterm terminal emulator (X10 window system), 
2125         am, km, mir, msgr, xenl, xon, 
2126         cols#80, it#8, lines#65, 
2127         bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
2128         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
2129         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2130         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
2131         il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, 
2132         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
2133         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
2134         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
2135         sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
2136         smso=\E[7m, smul=\E[4m, 
2137 # Compatible with the R5 xterm 
2138 # (from the XFree86 3.2 distribution, <blink=@> removed)
2139 # added khome/kend, rmir/smir, rmul/smul based on the R5 xterm code - TD
2140 # corrected typos in rs2 string - TD
2141 xterm-r5|xterm R5 version, 
2142         am, km, msgr, xenl, 
2143         cols#80, it#8, lines#24, 
2144         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2145         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2146         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2147         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2148         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2149         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2150         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
2151         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
2152         kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~, 
2153         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
2154         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2155         kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
2156         kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, 
2157         rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
2158         rmul=\E[m, 
2159         rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H, 
2160         sc=\E7, 
2161         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
2162         sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
2163         smul=\E[4m, tbc=\E[3g, 
2164 # Compatible with the R6 xterm
2165 # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
2166 # added khome/kend - TD
2167 xterm-r6|xterm-old|xterm X11R6 version, 
2168         am, km, mir, msgr, xenl, 
2169         cols#80, it#8, lines#24, 
2170         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2171         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2172         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2173         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2174         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2175         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2176         el=\E[K, enacs=\E)0, home=\E[H, ht=^I, il=\E[%p1%dL, 
2177         il1=\E[L, ind=^J, 
2178         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
2179         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2180         kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
2181         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
2182         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
2183         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, 
2184         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
2185         kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, 
2186         meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
2187         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
2188         rmso=\E[m, rmul=\E[m, 
2189         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
2190         sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
2191         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
2192         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2193 # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
2194 # The name has been changed and some aliases have been removed.
2195 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
2196         am, bce, km, mir, msgr, xenl, 
2197         colors#8, cols#80, it#8, lines#24, pairs#64, 
2198         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2199         bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2200         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2201         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2202         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2203         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2204         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2205         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
2206         enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, 
2207         hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2208         il=\E[%p1%dL, il1=\E[L, ind=^J, 
2209         is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
2210         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
2211         kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
2212         kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
2213         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2214         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2215         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2216         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2217         kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
2218         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
2219         memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
2220         rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
2221         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O, 
2222         rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
2223         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2224         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2225         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2226         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2227         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
2228         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2229         tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2230         vpa=\E[%i%p1%dd, 
2231
2232 # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
2233 # codes for F1-F4 except while in VT220 mode.
2234 xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
2235         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
2236         use=xterm-xf86-v32, 
2237
2238 # This version was released in XFree86 3.3.3 (November 1998).
2239 # Besides providing printer support, it exploits a new feature that allows
2240 # xterm to use terminfo-based descriptions with the titeInhibit resource.
2241 xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System), 
2242         mc5i, 
2243         blink=\E[5m, ich1@, invis=\E[8m, 
2244         is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kend=\E[4~, 
2245         kfnd@, khome=\E[1~, kslt@, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, 
2246         rmcup=\E[?1047l\E[?1048l, rs1=\Ec, 
2247         rs2=\E[!p\E[?3;4l\E[4l\E>, 
2248         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%;, 
2249         smcup=\E[?1048h\E[?1047h, 
2250         use=xterm-xf86-v33, 
2251
2252 # This beta version will probably be released in XFree86 4.0.
2253 xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
2254         ka1=\EOH, ka3=\E[5~, kb2=\EOE, kc1=\EOF, kc3=\E[6~, 
2255         kdch1=\177, kend=\EOF, khome=\EOH, rmcup=\E[?1049l, 
2256         smcup=\E[?1049h, 
2257         use=xterm-xf86-v333, 
2258
2259 xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System), 
2260         use=xterm-xf86-v40, 
2261
2262 # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
2263 xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
2264         rmso=\E[m, rmul=\E[m, 
2265         use=xterm-xf86-v33, 
2266
2267 # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
2268 xterm-16color|xterm with 16 colors like aixterm, 
2269         colors#16, ncv#32, pairs#256, 
2270         setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm, 
2271         setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm, 
2272         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, 
2273         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, 
2274         use=xterm-xf86-v40, 
2275
2276 # This is another variant, for XFree86 4.0 xterm (T.Dickey)
2277 # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
2278 # To use it, your decTerminalID resource must be set to 200 or above.
2279 #
2280 #       HTS     \E H    \210
2281 #       RI      \E M    \215
2282 #       SS3     \E O    \217
2283 #       CSI     \E [    \233
2284 #
2285 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
2286         am, bce, km, mc5i, mir, msgr, xenl, 
2287         colors#8, cols#80, it#8, lines#24, pairs#64, 
2288         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2289         bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z, 
2290         civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
2291         csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
2292         cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
2293         cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
2294         cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P, 
2295         dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J, 
2296         el=\233K, el1=\2331K, enacs=\E(B\E)0, 
2297         flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG, 
2298         ht=^I, hts=\210, ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, 
2299         ind=^J, invis=\2338m, 
2300         is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2301         ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
2302         kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B, 
2303         kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~, 
2304         kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
2305         kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
2306         kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
2307         kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
2308         kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
2309         kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M, 
2310         knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i, 
2311         meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m, 
2312         ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l, 
2313         rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
2314         rs1=\Ec, 
2315         rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
2316         sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
2317         setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2318         setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2319         sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
2320         sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h, 
2321         smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
2322         tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c, 
2323         u9=\E[c, vpa=\233%i%p1%dd, 
2324
2325 xterm-24|vs100|xterms|xterm terminal emulator (X Window System), 
2326         lines#24, use=xterm, 
2327
2328 # This is xterm for ncurses.
2329 xterm|xterm terminal emulator (X Window System), 
2330         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2331         kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
2332         use=xterm-r6, 
2333
2334 # These entries allow access to the X titlebar and icon name as a status line. 
2335 # Note that twm (and possibly window managers descended from it such as tvtwm, 
2336 # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
2337 # with it.
2338 xterm+sl|access X title line and icon name, 
2339         hs, 
2340         wsl#40, 
2341         dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm, 
2342 xterm+sl-twm|access X title line (pacify twm-descended window managers), 
2343         hs, 
2344         wsl#40, 
2345         dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm, 
2346
2347 #
2348 # The following xterm variants don't depend on your base version
2349 #
2350 # xterm with bold instead of underline
2351 xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
2352         smso=\E[7m, smul=\E[1m, 
2353         use=xterm, 
2354 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
2355 # (kterm should not invoke DEC Graphics as the alternate character set
2356 #  -- Kenji Rikitake)
2357 kterm|kterm kanji terminal emulator (X window system), 
2358         eslok, hs, 
2359         acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F, 
2360         kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@, 
2361         tsl=\E[?E\E[?%i%dT, 
2362         use=xterm-r6, use=klone+color, 
2363 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
2364 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
2365         ich@, ich1@, 
2366         use=xterm, 
2367 # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
2368 xterm1|xterm terminal emulator ignoring the alternate screen buffer, 
2369         rmcup@, smcup@, 
2370         use=xterm, 
2371
2372 # This describes the capabilities of color_xterm, an xterm variant from
2373 # before ECMA-64 color support was folded into the main-line xterm release.
2374 # This entry is straight from color_xterm's maintainer.
2375 # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
2376 # The README's with the distribution also say that it supports SGR 21, 24, 25
2377 # and 27, but they are not present in the terminfo or termcap.
2378 color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
2379         am, km, mir, msgr, xenl, 
2380         colors#8, cols#80, it#8, lines#65, pairs#64, 
2381         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2382         bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2383         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2384         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2385         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2386         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2387         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
2388         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2389         is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy, 
2390         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB, 
2391         kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
2392         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
2393         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
2394         kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, 
2395         kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8, 
2396         rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
2397         rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
2398         rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
2399         sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2400         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2401         sgr0=\E[m, smacs=^N, smam=\E[?7h, 
2402         smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
2403         smul=\E[4m, 
2404
2405 # The 'nxterm' distributed with Redhat Linux is a slight rehack of
2406 # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
2407 # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
2408 # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
2409 # that each of those implements the home, end, delete keys differently.
2410 nxterm|xterm-color|generic color xterm, 
2411         ncv@, 
2412         op=\E[m, use=xterm-r6, use=klone+color, 
2413
2414 # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
2415 # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
2416 # Notes:
2417 # rxvt 2.21b uses
2418 #       smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
2419 # but some applications don't work with that.
2420 # It also has an AIX extension
2421 #       box2=lqkxjmwuvtn,
2422 # and
2423 #       ech=\E[%p1%dX,
2424 # but the latter does not work correctly.
2425 #
2426 # The distributed terminfo says it implements hpa and vpa, but they are not
2427 # implemented correctly, using relative rather than absolute positioning.
2428 #
2429 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
2430 # Since rxvt is not really compatible with xterm, it should be configured as
2431 # "rxvt" (monochrome) and "rxvt-color". 
2432 rxvt-basic|rxvt terminal base (X Window System), 
2433         am, bce, eo, km, mir, msgr, xenl, xon, 
2434         cols#80, it#8, lines#24, 
2435         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2436         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2437         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2438         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2439         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2440         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2441         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2442         dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
2443         flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH, 
2444         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2445         is1=\E[?47l\E=\E[?1l, 
2446         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
2447         kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
2448         kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, 
2449         kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
2450         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, 
2451         kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, 
2452         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2453         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2454         kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
2455         kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2456         kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, 
2457         kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, 
2458         rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, 
2459         rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
2460         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
2461         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
2462         s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
2463         smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
2464         smul=\E[4m, tbc=\E[3g, 
2465 rxvt|rxvt terminal emulator (X Window System), 
2466         colors#8, pairs#64, 
2467         op=\E[39;49m, setab=\E[%p1%{40}%+%dm, 
2468         setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic, 
2469
2470 # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
2471 # variant of xterm which is apparently no longer supported, but are interesting
2472 # because they illustrate SVr4 curses mouse controls - T.Dickey
2473 xtermm|xterm terminal emulator (monocrome), 
2474         am, km, mir, msgr, xenl, 
2475         btns#3, cols#80, it#8, lines#24, 
2476         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2477         bel=^G, blink=@, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2478         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D, 
2479         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2480         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2481         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2482         el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY, 
2483         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
2484         il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, 
2485         kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, 
2486         kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy, 
2487         kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, 
2488         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
2489         kf9=\EOX, khome=\E[H, kmous=\E[^_, knp=\E[U, kpp=\E[V, 
2490         rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, rmacs=^O, 
2491         rmcup=\E@0\E[?4r, rmso=\E[m, 
2492         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
2493         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
2494         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
2495         sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1, 
2496         smso=\E[7m, tbc=\E[3g, 
2497
2498 xtermc|xterm terminal emulator (color), 
2499         colors#8, ncv#7, pairs#64, 
2500         op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
2501         setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2502         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
2503         use=xtermm, 
2504
2505 # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
2506 # Here's a termcap entry I've been using for xterm_color, which comes
2507 # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
2508 # color stuff, I also have a status line defined as the window manager
2509 # title bar. [I have translated it to terminfo -- ESR]
2510 xterm-pcolor|xterm with color used for highlights and status line, 
2511         bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
2512         smul=\E[4m\E[42m, 
2513         use=xterm+sl, use=xterm-r6, 
2514
2515 # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
2516 # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
2517 hpterm|X-hpterm|hp X11 terminal emulator, 
2518         am, da, db, mir, xhp, 
2519         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
2520         acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
2521         cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
2522         cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
2523         hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, 
2524         kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2525         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
2526         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
2527         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
2528         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El, 
2529         memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
2530         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
2531         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
2532         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
2533         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
2534         rmul=\E&d@, 
2535         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%;, 
2536         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
2537         smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
2538
2539 # This entry describes an xterm with Sun-style function keys enabled
2540 # via the X resource setting "xterm*sunFunctionKeys:true"
2541 # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
2542 # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
2543 # because we want it to be seen as <kcpy>. 
2544 # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
2545 # with their Sun keyboard labels instead.
2546 # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
2547 xterm-sun|xterm with sunFunctionKeys true, 
2548         kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z, 
2549         kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z, 
2550         kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
2551         kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z, 
2552         kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z, 
2553         kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
2554         kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z, 
2555         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2556         kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z, 
2557         knp=\E[222z, kpp=\E[216z, kund=\E[195z, 
2558         use=xterm, 
2559 xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
2560         cols#80, lines#24, use=xterm-sun, 
2561
2562 # This is for the extensible terminal emulator on the X11R6 contrib tape.
2563 emu|emu native mode, 
2564         mir, msgr, xon, 
2565         colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
2566         acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
2567         bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
2568         clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
2569         cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
2570         cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
2571         cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;, 
2572         dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, 
2573         el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh, 
2574         il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
2575         kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
2576         kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
2577         kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
2578         kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02, 
2579         kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
2580         kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
2581         knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
2582         rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES, 
2583         rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;, 
2584         setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY, 
2585         smso=\ES\ET, smul=\ES\EV, tbc=\Ej, 
2586
2587 #### MGR
2588 #
2589 # MGR is a Bell Labs window system lighter-weight than X.
2590 # These entries describe MGR's xterm-equivalent. 
2591 # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
2592 #
2593
2594 mgr|Bellcore MGR (non X) window system terminal emulation, 
2595         am, km, 
2596         bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M, 
2597         csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er, 
2598         cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h, 
2599         dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>, 
2600         dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u, 
2601         ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>, 
2602         il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
2603         kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S, 
2604         rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n, 
2605         smul=\E4n, 
2606 mgr-sun|Mgr window with Sun keyboard, 
2607         ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, 
2608         kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z, 
2609         kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, 
2610         kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, 
2611         kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
2612         kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z, 
2613         kopn=\E[198z, kpp=\E[216z, kund=\E[195z, 
2614         use=mgr, 
2615 mgr-linux|Mgr window with Linux keyboard, 
2616         ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, 
2617         kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~, 
2618         kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, 
2619         kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
2620         khome=\E[1~, knp=\E[6~, kpp=\E[5~, 
2621         use=mgr, 
2622
2623 ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
2624 #
2625
2626 # Columbus UNIX virtual terminal. This terminal also appears in 
2627 # UNIX 4.0 and successors as line discipline 1 (?), but is 
2628 # undocumented and does not really work quite right.
2629 cbunix|cb unix virtual terminal, 
2630         am, da, db, 
2631         cols#80, lines#24, lm#0, 
2632         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
2633         cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL, 
2634         el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB, 
2635         kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A, 
2636         smso=\Ea^D, smul=\Ea^A, 
2637 # (vremote: removed obsolete ":nl@:" -- esr)
2638 vremote|virtual remote terminal, 
2639         am@, 
2640         cols#79, use=cbunix, 
2641
2642 pty|4bsd pseudo teletype, 
2643         cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
2644         smso=\Ea$, smul=\Ea!, 
2645         use=cbunix, 
2646
2647 # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
2648 eterm|gnu emacs term.el terminal emulation, 
2649         am, mir, xenl, 
2650         cols#80, lines#24, 
2651         bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
2652         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2653         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2654         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2655         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2656         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
2657         il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m, 
2658         rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
2659         sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, 
2660         smul=\E[4m, 
2661
2662 # Entries for use by the FSF's `screen' program.  The screen and
2663 # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
2664 # come from University of Wisconsin and may be older.
2665 # (screen: added <cnorm> on ANSI model -- esr)
2666
2667 screen|VT 100/ANSI X3.64 virtual terminal, 
2668         am, km, mir, msgr, xenl, 
2669         colors#8, cols#80, it#8, lines#24, pairs#64, 
2670         acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2671         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
2672         clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, 
2673         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2674         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2675         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
2676         cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
2677         dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
2678         flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
2679         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
2680         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, 
2681         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, 
2682         kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
2683         kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, 
2684         kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
2685         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, 
2686         rs2=\Ec, sc=\E7, sgr0=\E[m, smacs=^N, smir=\E[4h, 
2687         smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
2688         use=ecma+color, 
2689
2690 screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
2691         cols#132, use=screen, 
2692
2693 screen2|old VT 100/ANSI X3.64 virtual terminal, 
2694         cols#80, it#8, lines#24, 
2695         cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
2696         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
2697         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2698         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2699         el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, 
2700         il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
2701         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
2702         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
2703         nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, 
2704         rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
2705         smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
2706 # (screen3: removed unknown ":xv:LP:G0:" -- esr)
2707 screen3|older VT 100/ANSI X3.64 virtual terminal, 
2708         km, mir, msgr, 
2709         cols#80, it#8, lines#24, 
2710         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
2711         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2712         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2713         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
2714         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
2715         el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
2716         il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
2717         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
2718         kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
2719         rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
2720         sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
2721         smul=\E[4m, tbc=\E[3g, 
2722
2723 # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
2724 # NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
2725 # been maintained until recently by the National Center for Supercomputer
2726 # Applications, and it is feature rich, stable and free.  It can be downloaded
2727 # from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
2728 # xterm+sl, and the docs at NCSA.  It works well.
2729 #
2730 # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
2731 # The terminal options should be set as follows:
2732 #         Xterm sequences ON
2733 #         use VT wrap mode ON
2734 #         use Emacs arrow keys OFF
2735 #         CTRL-COMND is Emacs meta ON
2736 #         8 bit mode ON
2737 #         answerback string: "ncsa-vt220-8"
2738 #         setup keys: all disabled
2739 #
2740 # Application mode is not used.  The documented function-key mapping refers to
2741 # the Apple Extended Keyboard (e.g., NCSA Telnet's F1 corresponds to a VT220
2742 # F6).  We use the VT220-style codes, however, since the numeric keypad (VT100)
2743 # PF1-PF4 are available on some keyboards and many applications require these
2744 # as F1-F4.
2745 #
2746 # Other special mappings:
2747 #       Apple           VT220
2748 #       HELP            Find
2749 #       HOME            Insert here
2750 #       PAGEUP          Remove
2751 #       DEL             Select
2752 #       END             Prev Screen
2753 #       PAGEDOWN        Next Screen
2754 #
2755 # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
2756 # text.
2757 #
2758 # The status-line manipulation is a mapping of the xterm-compatible control
2759 # sequences for setting the window-title.  So you must use tsl and fsl in
2760 # pairs, since the latter ends the string that is loaded to the window-title.
2761 ncsa-m|ncsa-vt220|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
2762         am, hs, km, mir, msgr, xenl, 
2763         acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
2764         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
2765         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
2766         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
2767         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
2768         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
2769         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
2770         dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
2771         flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH, 
2772         ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
2773         il=\E[%p1%dL, il1=\E[L, ind=^J, 
2774         is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H, 
2775         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2776         kdch1=\E[4~, kend=\E[5~, kf1=\EOP, kf10=\E[21~, 
2777         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
2778         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
2779         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
2780         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khlp=\E[1~, 
2781         khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i, 
2782         rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM, 
2783         rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l, 
2784         rmso=\E[27m, rmul=\E[24m, 
2785         rs2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, sc=\E7, 
2786         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
2787         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7, 
2788         smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;, 
2789         u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c, 
2790 ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
2791         use=ncsa-m, use=klone+color, 
2792 ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
2793         hs@, 
2794         dsl@, fsl@, tsl@, use=ncsa, 
2795 ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
2796         hs@, 
2797         dsl@, fsl@, tsl@, use=ncsa-m, 
2798
2799 #### Pilot Pro Palm-Top
2800 #
2801 # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
2802 pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional, 
2803         am, xenl, 
2804         cols#39, lines#16, 
2805         bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J, 
2806         cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I, 
2807         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
2808         rmso=\EB, smso=\Eb, 
2809
2810 ######## COMMERCIAL WORKSTATION CONSOLES
2811 #
2812
2813 #### Alpha consoles
2814 #
2815
2816 # This is from the OSF/1 Release 1.0 termcap file
2817 pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation, 
2818         am, xon, 
2819         cols#80, lines#25, 
2820         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2821         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
2822         el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H, 
2823         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
2824         nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
2825
2826 #### Sun consoles
2827 #
2828
2829 # :is1: resets scrolling region in case a previous user had used "tset vt100"
2830 oldsun|Sun Microsystems Workstation console, 
2831         am, km, mir, msgr, 
2832         cols#80, it#8, lines#34, 
2833         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
2834         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
2835         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
2836         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2837         is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
2838         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
2839         rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
2840 # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
2841 # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
2842 # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
2843 sun-il|Sun Microsystems console with working insert-line, 
2844         am, km, msgr, 
2845         cols#80, lines#34, 
2846         bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2847         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
2848         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
2849         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
2850         kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
2851         kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z, 
2852         kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 
2853         kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, 
2854         kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
2855         knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z, 
2856         kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s, 
2857         sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
2858         sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t, 
2859 # On a SparcStation 5, <il1>/<il> flake out on the last line.
2860 # Unfortunately, without them the terminal has no way to scroll.
2861 sun-ss5|Sun SparcStation 5 console, 
2862         il@, il1@, use=sun-il, 
2863 # If you are using an SS5, change the sun definition to use sun-ss5.
2864 sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
2865         use=sun-il, 
2866
2867 # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
2868 sun-s|Sun Microsystems Workstation window with status line, 
2869         hs, 
2870         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun, 
2871 sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
2872         hs, 
2873         dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e, 
2874 sun-48|Sun 48-line window, 
2875         cols#80, lines#48, use=sun, 
2876 sun-34|Sun 34-line window, 
2877         cols#80, lines#34, use=sun, 
2878 sun-24|Sun 24-line window, 
2879         cols#80, lines#24, use=sun, 
2880 sun-17|Sun 17-line window, 
2881         cols#80, lines#17, use=sun, 
2882 sun-12|Sun 12-line window, 
2883         cols#80, lines#12, use=sun, 
2884 sun-1|Sun 1-line window for sysline, 
2885         eslok, hs, 
2886         cols#80, lines#1, 
2887         dsl=^L, fsl=\E[K, tsl=^M, use=sun, 
2888 sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
2889         ich1@, rmir@, smir@, 
2890         use=sun, 
2891 sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
2892         lines#35, 
2893         rmcup=\E[>4h, smcup=\E[>4l, use=sun, 
2894
2895 #### Iris consoles
2896 #
2897
2898 # (wsiris: this had extension capabilities
2899 #       :HS=\E7F2:HE=\E7F7:\
2900 #       :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
2901 # See the note on Iris extensions near the end of this file.  
2902 # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> & 
2903 # <flash> from BRL -- esr)
2904 wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
2905         am, 
2906         cols#80, it#8, lines#40, 
2907         bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, cuf1=\EC, 
2908         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;, 
2909         dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, 
2910         flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL, 
2911         ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB, 
2912         kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, 
2913         kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI, 
2914         rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P, 
2915         smul=\E7R2\E9P, 
2916
2917 #### NeWS consoles
2918 #
2919 # Console terminal windows under the NeWS (Sun's Display Postscript windowing
2920 # environment).   Note: these have nothing to do with Sony's News workstation
2921 # line.
2922 #
2923
2924 # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
2925 # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
2926 psterm|psterm-basic|NeWS psterm-80x34, 
2927         am, hs, km, ul, 
2928         cols#80, it#8, lines#34, 
2929         blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;, 
2930         cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY, 
2931         dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, 
2932         home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
2933         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr, 
2934         ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^], 
2935         sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu, 
2936         tsl=\EOl, 
2937 psterm-96x48|NeWS psterm 96x48, 
2938         cols#96, lines#48, use=psterm, 
2939 psterm-90x28|NeWS psterm 90x28, 
2940         cols#90, lines#28, use=psterm, 
2941 psterm-80x24|NeWS psterm 80x24, 
2942         cols#80, lines#24, use=psterm, 
2943 # This is a faster termcap for psterm.  Warning:  if you use this termcap,
2944 # some control characters you type will do strange things to the screen.
2945 # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
2946 psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
2947         am, hs, km, ul, 
2948         cols#80, it#8, lines#34, 
2949         blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;, 
2950         cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y, 
2951         dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
2952         il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
2953         kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni, 
2954         rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
2955         smso=^Oo, smul=^Ou, tsl=^Ol, 
2956
2957 #### NeXT consoles
2958 #
2959 # Use `glasstty' for the Workspace application
2960 #
2961
2962 # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
2963 next|NeXT console, 
2964         am, xt, 
2965         cols#80, it#8, lines#24, 
2966         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
2967         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
2968         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
2969         rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m, 
2970 nextshell|NeXT Shell application, 
2971         am, 
2972         cols#80, 
2973         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
2974         kcud1=^J, nel=^M^J, 
2975
2976 #### Sony NEWS workstations
2977 #
2978
2979 # (news-unk: this had :KB=news: -- esr)
2980 news-unk|SONY NEWS vt100 emulator common entry, 
2981         am, xenl, 
2982         cols#80, 
2983         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
2984         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
2985         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
2986         ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
2987         if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
2988         is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD, 
2989         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP, 
2990         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
2991         kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM, 
2992         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
2993         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
2994 #
2995 # (news-29: this had :TY=ascii: --esr)
2996 news-29, 
2997         lines#29, use=news-unk, 
2998 # (news-29-euc: this had :TY=euc: --esr)
2999 news-29-euc, 
3000         use=news-29, 
3001 # (news-29-sjis: this had :TY=sjis: --esr)
3002 news-29-sjis, 
3003         use=news-29, 
3004 #
3005 # (news-33: this had :TY=ascii: --esr)
3006 news-33, 
3007         lines#33, use=news-unk, 
3008 # (news-33-euc: this had :TY=euc: --esr)
3009 news-33-euc, 
3010         use=news-33, 
3011 # (news-33-sjis: this had :TY=sjis: --esr)
3012 news-33-sjis, 
3013         use=news-33, 
3014 #
3015 # (news-42: this had :TY=ascii: --esr)
3016 news-42, 
3017         lines#42, use=news-unk, 
3018 # (news-42-euc: this had :TY=euc: --esr)
3019 news-42-euc, 
3020         use=news-42, 
3021 # (news-42-sjis: this had :TY=sjis: --esr)
3022 news-42-sjis, 
3023         use=news-42, 
3024 #
3025 #       NEWS-OS old termcap entry 
3026 #
3027 # (news-old-unk: this had :KB=news:TY=sjis: --esr)
3028 news-old-unk|SONY NEWS vt100 emulator common entry, 
3029         am, xenl, 
3030         cols#80, vt#3, 
3031         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
3032         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
3033         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
3034         home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H, 
3035         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
3036         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM, 
3037         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
3038         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
3039 #
3040 # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
3041 nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines, 
3042         lines#40, 
3043         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
3044 #
3045 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
3046 nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
3047         lines#42, 
3048         is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk, 
3049 #
3050 # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
3051 nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines, 
3052         lines#40, 
3053         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
3054 #
3055 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
3056 nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines, 
3057         lines#31, 
3058         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
3059 #
3060 # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
3061 # also the alias vt100-bm.
3062 nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines, 
3063         lines#33, 
3064         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk, 
3065 #
3066 # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
3067 nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines, 
3068         lines#31, 
3069         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
3070 #
3071 # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
3072 news28|sony vt100 emulator 28 lines, 
3073         lines#28, 
3074         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk, 
3075 #
3076 # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
3077 news29|news28-a|sony vt100 emulator 29 lines, 
3078         lines#29, 
3079         is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk, 
3080 #
3081 # (news511: this had :TY=sjis: --esr)
3082 nwp511|nwp-511|nwp-511 vt100, 
3083         am, xenl, 
3084         cols#80, lines#24, 
3085         clear=\E[;H\E[2J$<20/>, cuf1=\E[C, 
3086         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M, 
3087         ed=\E[J$<30/>, el=\E[K$<3/>, 
3088         flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
3089         il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D, 
3090         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
3091         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H, 
3092         ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
3093         smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
3094 # (news517: this had :TY=sjis:. --esr)
3095 nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows, 
3096         eslok, hs, 
3097         cols#80, lines#30, 
3098         dsl=\E[1$~, fsl=\E[0$}, 
3099         is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
3100         tsl=\E[1$}\E[;%df, 
3101         use=vt200, 
3102 # (news517-w: this had :TY=sjis:. --esr)
3103 nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows, 
3104         eslok, hs, 
3105         cols#132, lines#50, 
3106         dsl=\E[1$~, fsl=\E[0$}, 
3107         is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
3108         tsl=\E[1$}\E[;%df, 
3109         use=vt200, 
3110
3111 #### Common Desktop Environment
3112 #
3113
3114 # This ships with Sun's CDE in Solaris 2.5
3115 # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
3116 dtterm|CDE desktop terminal, 
3117         am, mir, msgr, xenl, xon, 
3118         colors#8, cols#80, it#8, lines#24, lm#0, pairs#64, 
3119         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
3120         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3121         clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
3122         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
3123         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
3124         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
3125         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
3126         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
3127         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H, 
3128         ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
3129         ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, 
3130         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
3131         kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
3132         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
3133         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
3134         kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
3135         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
3136         kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
3137         kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, 
3138         rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, 
3139         rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm, 
3140         setaf=\E[%p1%{30}%+%dm, 
3141         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%;, 
3142         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
3143         smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
3144
3145 #### Non-Unix Consoles
3146 #
3147
3148 # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
3149 # a Unix-style environment used on OS/2.  (Note that the suffix makes some
3150 # names longer than 14 characters, the nominal maximum).
3151 #
3152 # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
3153 ansi-emx|ANSI.SYS color, 
3154         am, bce, eo, mir, msgr, xenl, xon, 
3155         colors#16, cols#80, it#8, lines#25, pairs#64, 
3156         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3157         clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3158         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3159         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3160         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3161         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3162         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3163         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3164         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m, 
3165         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m, 
3166         rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm, 
3167         setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h, 
3168         smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m, 
3169         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3170 ansi-color-2-emx|ANSI.SYS color 2, 
3171         am, bce, eo, mir, msgr, xenl, xon, 
3172         colors#16, cols#80, it#8, lines#25, pairs#64, 
3173         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3174         clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3175         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3176         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3177         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3178         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3179         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3180         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3181         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
3182         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m, 
3183         rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm, 
3184         setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h, 
3185         smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m, 
3186         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3187 ansi-color-3-emx|ANSI.SYS color 3, 
3188         am, bce, eo, mir, msgr, xenl, xon, 
3189         colors#16, cols#80, it#8, lines#25, pairs#64, 
3190         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
3191         clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
3192         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
3193         dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
3194         home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
3195         kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
3196         kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
3197         kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
3198         knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
3199         rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m, 
3200         rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm, 
3201         setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h, 
3202         smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m, 
3203         tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
3204 mono-emx|stupid monochrome ansi terminal with only one kind of emphasis, 
3205         am, 
3206         cols#80, it#8, lines#24, 
3207         clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
3208         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
3209         ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, 
3210         kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, 
3211         kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, 
3212         kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
3213         sgr0=\E[0m, 
3214
3215 # This entry fits the Windows NT console when the _POSIX_TERM environment
3216 # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
3217 # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
3218 # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
3219 # systems is not, and (surprise!) they match very well.
3220 #
3221 # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
3222 # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
3223 # are the installation instructions a pile of mind-numbing bureaucratese,
3224 # but the termcap entry is actually broken and unusable as given; the :do:
3225 # capability is misspelled "d".
3226 #
3227 # To use this, you need to a bunch of environment variables: 
3228 #
3229 # SET _POSIX_TERM=on
3230 # SET TERM=ansi
3231 # SET TERMCAP=location of termcap file in POSIX file format
3232 # which is case-sensitive.
3233 # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
3234 # SET TMP=//C/TEMP
3235 #
3236 # Important note: setting the TMP environment variable in POSIX style renders
3237 # it incompatible with a lot of other applications, including Visual C++. So
3238 # you should have a separate command window just for vi. All the other
3239 # variables may be permanently set in the Control Panel\System applet. 
3240 #
3241 # You can find out more about the restrictions of this facility at
3242 # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
3243 #
3244 # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
3245 ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode, 
3246         am, bw, msgr, 
3247         cols#80, it#8, lines#25, 
3248         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
3249         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
3250         home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V, 
3251         kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m, 
3252         ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m, 
3253
3254 ######## COMMON TERMINAL TYPES
3255 #
3256 # This section describes terminal classes and maker brands that are still
3257 # quite common, but have proprietary command sets not blessed by ANSI.
3258 #
3259
3260 #### Altos
3261 #
3262 # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
3263 # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
3264 # Acer has a web site at http://www.acer.com.
3265 #
3266 # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
3267 # His comments suggest they were shipped with the system.
3268 #
3269
3270 # (altos2: had extension capabilities
3271 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3272 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3273 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3274 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3275 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
3276 #       :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
3277 #       :HL=^AP\r:SP=\E[i:\
3278 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
3279 #       :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
3280 # Comparison with the k* capabilities makes it obvious that the c* things are
3281 # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
3282 # :sr: was given as a boolean-- esr)
3283 altos2|alt2|altos-2|altos II, 
3284         cols#80, it#8, lines#24, xmc#0, 
3285         clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C, 
3286         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M, 
3287         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
3288         if=/usr/share/tabset/vt100, il1=\E[L, ind=^J, 
3289         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
3290         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D, 
3291         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r, 
3292         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
3293         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
3294         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
3295         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
3296         kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r, 
3297         nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
3298         smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
3299 # (altos3: had extension capabilities
3300 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3301 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3302 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3303 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3304 #       :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
3305 #       :HL=^AP\r:SP=\E[i:\
3306 #       :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
3307 altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
3308         blink=\E[5p, ri=\EM, sgr0=\E[p, 
3309         use=altos2, 
3310 altos4|alt4|altos-4|altos IV, 
3311         use=wy50, 
3312 # (altos7: had extension capabilities:
3313 #       :GG#0:GI=\EH8:GF=\EH7:\
3314 #       :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
3315 #       :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
3316 #       :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
3317 #       :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
3318 # Comparison with the k* capabilities makes it obvious that the c* things are
3319 # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
3320 # also made this entry relative to adm12 in order to give it an <sgr>. The
3321 # <invis> imported by use=adm+sgr may work, let me know. -- esr)
3322 altos7|alt7|altos VII, 
3323         am, mir, 
3324         cols#80, lines#24, xmc#0, 
3325         acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt, 
3326         clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
3327         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3328         dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
3329         ind=^J, invis=\EG1, 
3330         is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r, 
3331         kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H, 
3332         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r, 
3333         kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
3334         kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
3335         kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
3336         kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
3337         kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r, 
3338         knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej, 
3339         rmir=\Er, smir=\Eq, 
3340         use=adm+sgr, 
3341 altos7pc|alt7pc|altos PC VII, 
3342         kend=\ET, use=altos7, 
3343
3344 #### Hewlett-Packard (hp)
3345 #
3346 #       Hewlett-Packard
3347 #       8000 Foothills Blvd 
3348 #       Roseville, CA 95747
3349 #       Vox: 1-(916)-785-4363   (Technical response line for VDTs)
3350 #            1-(800)-633-3600   (General customer support)
3351 #
3352
3353 # Generic HP terminal - this should (hopefully) work on any HP terminal.
3354 hpgeneric|hp|hewlett-packard generic terminal, 
3355         am, da, db, mir, xhp, 
3356         cols#80, lines#24, lm#0, vt#6, 
3357         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3358         cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM, 
3359         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
3360         ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
3361         sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
3362         vpa=\E&a%p1%dY, 
3363
3364 hp110|hewlett-packard model 110 portable, 
3365         lines#16, use=hpgeneric, 
3366
3367 hp+pfk+cr|hp function keys with CR, 
3368         kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
3369         kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
3370
3371 hp+pfk-cr|hp function keys w/o CR, 
3372         kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
3373         kf8=\Ew, 
3374
3375 # The hp2621s use the same keys for the arrows and function keys, 
3376 # but not separate escape sequences. These definitions allow the 
3377 # user to use those keys as arrow keys rather than as function 
3378 # keys.
3379 hp+pfk+arrows|hp alternate arrow definitions, 
3380         kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@, 
3381         kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r, 
3382         kll=\Eq\r, kri=\Es\r, 
3383
3384 hp+arrows|hp arrow definitions, 
3385         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3386         kind=\ES, kll=\EF, kri=\ET, 
3387
3388 # Generic stuff from the HP 262x series
3389 #
3390 hp262x|HP 262x terminals, 
3391         xhp, 
3392         blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES, 
3393         invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3394         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
3395         kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
3396         krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
3397         sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c, 
3398         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
3399
3400 # Note: no <home> on HPs since that homes to top of memory, not screen.
3401 # Due to severe 2621 braindamage, the only way to get the arrow keys to
3402 # transmit anything at all is to turn on the function key labels
3403 # with <smkx>, and even then the user has to hold down shift!
3404 # The default 2621 turns off the labels except when it has to to 
3405 # enable the function keys. If your installation prefers labels 
3406 # on all the time, or off all the time (at the "expense" of the 
3407 # function keys), use 2621-nl or 2621-wl.
3408
3409 # Note: there are newer ROMs for 2621's that allow you to set 
3410 # strap A so the regular arrow keys xmit \EA, etc, as with the 
3411 # 2645. However, even with this strap set, the terminal stops 
3412 # xmitting if you reset it, until you unset and reset the strap!
3413 # Since there is no way to set/unset the strap with an escape 
3414 # sequence, we don't use it in the default.
3415 # If you like, you can use 2621-ba (brain-damaged arrow keys).
3416 hp2621-ba|2621 w/new rom and strap A set, 
3417         rmkx@, smkx@, use=hp+arrows, 
3418         use=hp2621, 
3419
3420 # hp2621 with function labels. Most of the time they are off,
3421 # but inside vi, the function key labels appear. You have to
3422 # hold down shift to get them to xmit.
3423 hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
3424         is2=\E&jA\r, rmkx=\E&jA, 
3425         use=hp2621-fl, 
3426 hp2621-fl|hp 2621, 
3427         xhp@, xon, 
3428         pb#19200, 
3429         cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>, 
3430         ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@, 
3431         sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD, 
3432         use=hp+pfk+cr, use=hpgeneric, 
3433
3434 # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
3435 hp2621p|hp 2621 with printer, 
3436         mc4=\E&p13C, mc5=\E&p11C, use=hp2621, 
3437
3438 hp2621p-a|hp2621p with fn as arrows, 
3439         use=hp+pfk+arrows, use=hp2621p, 
3440
3441 # hp2621 with k45 keyboard
3442 hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard, 
3443         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
3444         khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, 
3445         use=hp2621, 
3446
3447 # 2621 using all 48 lines of memory, only 24 visible at any time.  
3448 hp2621-48|48 line 2621, 
3449         lines#48, 
3450         cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621, 
3451
3452 # 2621 with no labels ever. Also prevents vi delays on escape.
3453 hp2621-nl|hp 2621 with no labels, 
3454         kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl, 
3455
3456 # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
3457 # (wrong).
3458 #
3459 hp2621-nt|hp 2621 w/no tabs, 
3460         ht@, use=hp2621, 
3461
3462 # Hp 2624 B with 4 or 10 pages of memory.
3463
3464 # Some assumptions are made with this entry. These settings are 
3465 # NOT set up by the initialization strings.
3466
3467 # Port Configuration
3468 #       RecvPace=Xon/Xoff
3469 #       XmitPace=Xon/Xoff
3470 #       StripNulDel=Yes
3471
3472 # Terminal Configuration
3473 #       InhHndShk=Yes
3474 #       InhDC2=Yes
3475 #       XmitFnctn(A)=No
3476 #       InhEolWrp=No
3477
3478 # Note: the 2624 DOES have a true <home>, believe it or not!
3479
3480 # The 2624 has an "error line" to which messages can be sent. 
3481 # This is CLOSE to what is expected for a "status line". However,
3482 # after a message is sent to the "error line", the next carriage 
3483 # return is EATEN and the "error line" is turned back off again! 
3484 # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
3485
3486 # This entry supports emacs (and any other program that uses raw 
3487 # mode) at 4800 baud and less. I couldn't get the padding right 
3488 # for 9600.
3489 #
3490 # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
3491 hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B, 
3492         da, db, 
3493         lm#96, 
3494         flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp, 
3495
3496 # This hp2626 entry does not use any of the fancy windowing stuff 
3497 # of the 2626.
3498
3499 # Indeed, terminfo does not yet handle such stuff. Since changing 
3500 # any window clears memory, it is probably not possible to use 
3501 # this for screen opt.
3502
3503 # ed is incredibly slow most of the time - I am guessing at the 
3504 # exact padding. Since the terminal uses xoff/xon this is intended 
3505 # only for cost computation, so that the terminal will prefer el 
3506 # or even dl1 which is probably faster!
3507
3508 # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
3509 # extra slow on the last line of the window. 
3510
3511 # The padding probably should be changed.
3512 #
3513 hp2626|hp2626a|hp2626p|hp 2626, 
3514         da, db, 
3515         lm#0, pb#19200, 
3516         ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
3517         is2=\E&j@\r, rin=\E&r%p1%dU, 
3518         use=hp+pfk+cr, use=hp+labels, use=scrhp, 
3519
3520 # This entry is for sysline. It allocates a 23 line window with 
3521 # a 115 line workspace for regular use, and a 1 line window for 
3522 # the status line.
3523
3524 # This assumes port 2 is being used.
3525 # Turn off horizontal line, Create ws #1 with 115 lines,
3526 # Create ws #2 with 1 line, Create window #1 lines 1-23,
3527 # Create window #2 lines 24-24, Attach cursor to workspace #1.
3528 # Note that this clears the tabs so it must be done by tset before
3529 # it sets the tabs.
3530 #
3531 hp2626-s|hp 2626 using only 23 lines, 
3532         eslok, hs, 
3533         lines#23, 
3534         fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
3535         is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
3536         tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, 
3537         use=hp2626, 
3538 # Force terminal back to 24 lines after being 23.
3539 hp2626-ns|hp 2626 using all 24 lines, 
3540         is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626, 
3541 # Various entries useful for small windows on 2626.
3542 hp2626-12|hewlett-packard 2626 12 lines, 
3543         lines#12, use=hp2626, 
3544 hp2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
3545         cols#40, lines#12, use=hp2626, 
3546 hp2626-x40|hewlett-packard 2626 40 columns, 
3547         cols#40, use=hp2626, 
3548 hp2626-12-s|hewlett-packard 2626 11 lines plus status, 
3549         lines#11, use=hp2626-s, 
3550
3551 #
3552 # hp2627 color tubes from University of Wisconsin
3553 #
3554 hp2627a-rev|hp 2627 with reverse video colors, 
3555         cr=^M, cud1=^J, ht=^I, ind=^J, 
3556         is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
3557         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@, 
3558         smul=\E&dD\E&v1S, 
3559         use=hp2621-nl, 
3560 hp2627a|hp 2627 color terminal with no labels, 
3561         cr=^M, cud1=^J, ht=^I, ind=^J, 
3562         is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
3563         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
3564         rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, 
3565         use=hp2621-nl, 
3566 hp2627c|hp 2627 color (cyan) terminal with no labels, 
3567         cr=^M, cud1=^J, ht=^I, ind=^J, 
3568         is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
3569         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3570         use=hp2627a, 
3571
3572 # hp2640a doesn't have the Y cursor addressing feature, and C is 
3573 # memory relative instead of screen relative, as we need.
3574 #
3575 hp2640a|hp 2640a, 
3576         cup@, rmkx@, smkx@, use=hp2645, 
3577
3578 hp2640b|hp2644a|hp 264x series, 
3579         rmkx@, smkx@, use=hp2645, 
3580
3581 # (hp2641a: removed unknown :gu: -- esr)
3582 hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry, 
3583         am, da, db, mir, xhp, 
3584         cols#80, lines#24, 
3585         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3586         cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM, 
3587         ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I, 
3588         if=/usr/share/tabset/std, il1=\EL, ind=^J, 
3589         is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3590         rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB, 
3591         vpa=\E&a%p1%2dY, 
3592
3593 # This terminal should be used at 4800 baud or less. It needs padding for
3594 # plain characters at 9600, I guessed at an appropriate cr delay.  It really
3595 # wants ^E/^F handshaking, but that doesn't work well even if you write
3596 # software to support it.
3597 hp2645|hp45|HP 2645 series, 
3598         pb#9600, 
3599         blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED, 
3600         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3601         ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
3602         kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
3603         rmkx=\E&s0A, 
3604         sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c, 
3605         sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, 
3606         use=hpgeneric, 
3607 # You should use this terminal at 4800 baud or less.
3608 hp2648|hp2648a|HP 2648a graphics terminal, 
3609         clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
3610         dch1=\EP$<7>, ip=$<5>, 
3611         use=hp2645, 
3612
3613 # The HP 150 terminal is a fairly vanilla HP terminal, with the 
3614 # clreol standout problem. It also has graphics capabilities and 
3615 # a touch screen, which we don't describe here.
3616 hp150|hewlett packard Model 150, 
3617         use=hp2622, 
3618
3619 # HP 2382a terminals, "the little ones." They don't have any 
3620 # alternate character set support and sending out ^N/^O will 
3621 # leave the screen blank.
3622 hp2382a|hp2382|hewlett packard 2382a, 
3623         da, db, 
3624         lh#1, lm#48, 
3625         acsc@, 
3626         pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
3627         rmacs@, 
3628         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, 
3629         sgr0=\E&d@, smacs@, 
3630         use=hp+labels, use=scrhp, 
3631
3632 hp2621-a|hp2621a-a|hp2621 with fn as arrows, 
3633         use=hp+pfk+arrows, use=hp2621-fl, 
3634
3635 # newer hewlett packard terminals
3636
3637 newhpkeyboard|generic entry for HP extended keyboard, 
3638         kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3639         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
3640         kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV, 
3641         kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A, 
3642         use=hp+pfk-cr, 
3643
3644 newhp|generic entry for new hewlett packard terminals, 
3645         am, bw, mir, xhp, xon, 
3646         cols#80, lines#24, pb#4800, 
3647         acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x., 
3648         bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
3649         cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
3650         dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
3651         invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J, 
3652         pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
3653         pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
3654         pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
3655         rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
3656         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%;, 
3657         sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
3658         tbc=\E3, 
3659         use=newhpkeyboard, 
3660
3661 memhp|memory relative addressing for new HP ttys, 
3662         vt#6, 
3663         clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, 
3664         cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, 
3665         home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r, 
3666         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp, 
3667
3668 scrhp|screen relative addressing for new HP ttys, 
3669         clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
3670         cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
3671         cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
3672         home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
3673         mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp, 
3674
3675 # (hp+labels: added label values from a BRL termcap -- esr)
3676 hp+labels|"standard" label info for new HP ttys, 
3677         lh#2, lw#8, nlab#8, 
3678         lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
3679         pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
3680         rmln=\E&j@, smln=\E&jB, 
3681
3682 hp+printer|"standard" printer info for HP ttys, 
3683         ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C, 
3684
3685
3686 # The new hp2621b is kind of a cross between the old 2621 and the
3687 # new 262x series of machines. It has dip-switched options. 
3688 # The firmware has a bug in it such that if you give it a null 
3689 # length label, the following character is eaten!
3690 hp2621b|hp 2621b with old style keyboard, 
3691         lh#1, lm#48, lw#8, nlab#8, 
3692         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3693         kind=\ET, kll=\EF, kri=\ES, 
3694         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, 
3695         smln=\E&jB, 
3696         use=hp2621, 
3697
3698 hp2621b-p|hp 2621b with printer, 
3699         use=hp+printer, use=hp2621b, 
3700
3701 # hp2621b - new 2621b with new extended keyboard
3702 # these are closer to the new 26xx series than the other 2621b
3703 hp2621b-kx|hp 2621b with extended keyboard, 
3704         use=newhpkeyboard, use=hp2621b, 
3705
3706 hp2621b-kx-p|hp 2621b with new keyboard & printer, 
3707         use=hp+printer, use=hp2621b-kx, 
3708
3709 # Some assumptions are made in the following entries.
3710 # These settings are NOT set up by the initialization strings.
3711
3712 #    Port Configuration
3713 # RecvPace=Xon/Xoff     XmitPace=Xon/Xoff       StripNulDel=Yes
3714
3715 #    Terminal Configuration
3716 # InhHndShk(G)=Yes      InhDC2(H)=Yes
3717 # XmitFnctn(A)=No               InhEolWrp=No
3718 #
3719
3720 # Hp 2622a & hp2623a display and graphics terminals
3721 #
3722 hp2622|hp2622a|hp 2622, 
3723         da, db, 
3724         lm#0, pb#19200, 
3725         is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp, 
3726
3727 # The 2623 is a 2622 with extra graphics hardware.
3728 hp2623|hp2623a|hp 2623, 
3729         use=hp2622, 
3730
3731 hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
3732         use=hp+printer, use=hp2624, 
3733
3734 # The hewlett packard B can have an optional extra 6 pages of memory.
3735 hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
3736         lm#240, use=hp2624, 
3737
3738 hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
3739         lm#240, use=hp2624b-p, 
3740
3741 # Color manipulations for HP terminals
3742 hp+color|hp with colors, 
3743         ccc, 
3744         colors#16, ncv#17, pairs#7, 
3745         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, 
3746         oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
3747         op=\E&v0S, scp=\E&v%p1%dS, 
3748
3749 # <is2> sets the screen to be 80 columns wide
3750 hp2397a|hp2397|hewlett packard 2397A color terminal, 
3751         is2=\E&w6f80X, 
3752         use=memhp, use=hp+labels, use=hp+color, 
3753
3754 #  HP 700/44 Setup parameters:  
3755 # Terminal Mode         HP-PCterm
3756 # Inhibit Auto Wrap     NO
3757 # Status Line           Host Writable
3758 # PC Character Set      YES
3759 # Twenty-Five Line Mode YES
3760 # XON/XOFF              @128 or 64 (sc)
3761 # Keycode Mode          NO   or YES (sc)
3762 # Backspace Key         BS or BS/DEL
3763 #
3764 # <is2>         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
3765 # \E\\? does not turn off keycode mode
3766 # <smsc>        sets alternate start/stop; keycode on
3767 hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
3768         am, eo, xenl, xon, 
3769         cols#80, lines#25, 
3770         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
3771         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
3772         cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
3773         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
3774         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
3775         ind=^J, 
3776         is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
3777         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
3778         kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
3779         kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, 
3780         kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~, 
3781         kpp=\E[5~, rmam=\E[?7l, 
3782         rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m, 
3783         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
3784         smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
3785         smul=\E[4m, xoffc=g, xonc=e, 
3786 #
3787 # (hp2392: copied <rmir> here from hpex -- esr)
3788 hp2392|239x series, 
3789         cols#80, 
3790         cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r, 
3791         kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, 
3792         kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, 
3793         rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, 
3794         use=hpsub, 
3795
3796 hpsub|hp terminals -- capability subset, 
3797         am, da, db, mir, xhp, xon, 
3798         lines#24, 
3799         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3800         cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
3801         ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
3802         is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
3803         kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@, 
3804         sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, 
3805
3806 # hpex:
3807 #       May be used for most 24 x 80 hp terminals,
3808 # but has no padding added, so may allow runover in some terminals at high 
3809 # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
3810 # hp98x5 terminal emulators or hp98x6 consoles.  
3811 #       Adds xy-cursor addressing, vertical cursor addressing, home, 
3812 # last line, and underline capabilities.
3813 #
3814 # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
3815 # moved <rmir> here from hpsub -- esr)
3816 hpex|hp extended capabilites, 
3817         cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H, 
3818         kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ, 
3819         smul=\E&dD, vpa=\E&a%p1%dY, 
3820         use=hpsub, 
3821
3822 # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
3823 hp2|hpex2|hewlett-packard extended capabilities newer version, 
3824         am, da, db, mir, xhp, 
3825         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0, 
3826         bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
3827         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3828         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3829         il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
3830         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3831         ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
3832         kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
3833         kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
3834         krmir=\ER, ktbc=\E3, meml=\El, memu=\Em, 
3835         pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
3836         pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
3837         pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
3838         pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
3839         rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
3840         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%;, 
3841         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
3842         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
3843
3844 # HP 236 console
3845 # From: <ddavis@ic.berkeley.edu>
3846 hp236|hp236 internal terminal emulator, 
3847         am, 
3848         cols#80, lines#24, 
3849         clear=\EF, cnorm=\EDE, cub1=^H, 
3850         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB, 
3851         dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI, 
3852         sgr0=\ECI, smso=\EBI, 
3853
3854 # This works on a hp300 console running Utah 4.3 BSD
3855 # From: Craig Leres <leres@okeeffe.berkeley.edu>
3856 hp300h|HP Catseye console, 
3857         am, da, db, mir, xhp, 
3858         cols#128, lines#51, lm#0, xmc#0, 
3859         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
3860         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3861         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
3862         if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H, 
3863         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
3864         rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, 
3865         smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
3866         vpa=\E&a%p1%dY, 
3867 # From: Greg Couch <gregc@ernie.berkeley.edu>
3868 hp9837|hp98720|hp98721|HP 9000/300 workstations, 
3869         am, da, db, mir, xhp, 
3870         cols#128, it#8, lines#46, lm#0, 
3871         bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB, 
3872         cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
3873         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3874         il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED, 
3875         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
3876         ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU, 
3877         kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, 
3878         sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
3879         tbc=\E3, vpa=\E&a%p1%dY, 
3880 # HP 9845 desktop computer from BRL
3881 # (hp9845: removed unknown capability :gu: -- esr)
3882 hp9845|HP 9845, 
3883         am, da, db, eo, mir, xhp, 
3884         cols#80, lines#21, 
3885         clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, 
3886         dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, 
3887         if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@, 
3888         smir=\EQ, smso=\E&dB, 
3889 # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
3890 # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
3891 # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3892 hp98550|hp98550a|HP 9000 Series 300 color console, 
3893         am, da, db, mir, xhp, 
3894         cols#128, it#8, lines#49, lm#0, 
3895         acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR, 
3896         clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
3897         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
3898         dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
3899         if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds, 
3900         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3901         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
3902         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
3903         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
3904         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, 
3905         rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
3906         sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ, 
3907         smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
3908 # From: Victor Duchovni <vic@fine.princeton.edu>
3909 # (hp700-wy: removed obsolete ":nl=^J:";
3910 # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
3911 hp700-wy|HP700/41 emulating wyse30, 
3912         am, bw, mir, msgr, 
3913         cols#80, it#8, lines#24, xmc#1, 
3914         cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
3915         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
3916         dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1, 
3917         if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>, 
3918         is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI, 
3919         kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY, 
3920         kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, 
3921         ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
3922         sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
3923         smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
3924 # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
3925 hp70092|hp70092a|hp70092A|HP 700/92, 
3926         am, da, db, xhp, 
3927         cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
3928         acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei, 
3929         clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3930         cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
3931         dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
3932         kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
3933         kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
3934         kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
3935         khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
3936         knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB, 
3937         ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, 
3938         rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ, 
3939         smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
3940         vpa=\E&a%p1%dY, 
3941
3942 bobcat|sbobcat|HP 9000 model 300 console, 
3943         am, da, db, mir, xhp, 
3944         cols#128, it#8, lines#47, xmc#0, 
3945         cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
3946         cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>, 
3947         ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>, 
3948         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
3949         khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, 
3950         rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB, 
3951         smul=\E&dD, vpa=\E&a%dY$<6/>, 
3952 gator-t|HP 9000 model 237 emulating extra-tall AAA, 
3953         lines#94, use=gator, 
3954 gator|HP 9000 model 237 emulating AAA, 
3955         bw, km, mir, ul, 
3956         cols#128, it#8, lines#47, 
3957         bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
3958         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, 
3959         dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>, 
3960         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, 
3961         ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
3962         il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
3963         rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
3964         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
3965 gator-52|HP 9000 model 237 emulating VT52, 
3966         cols#128, lines#47, use=vt52, 
3967 gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
3968         lines#94, use=gator-52, 
3969
3970 #### Honeywell-Bull
3971 #
3972 # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
3973 #
3974
3975 # Honeywell Bull terminal.  Its cursor and function keys send single
3976 # control characters and it has standout/underline glitch.  Most programs
3977 # do not like these features/bugs.  Visual bell is realized by flashing the
3978 # "keyboard locked" LED.
3979 dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
3980         cols#80, lines#25, 
3981         clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
3982         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
3983         flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y, 
3984         kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J, 
3985 dku7003|Honeywell Bull DKU 7003 all features described, 
3986         msgr, 
3987         xmc#1, 
3988         blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m, 
3989         rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
3990         use=dku7003-dumb, 
3991
3992 #### Lear-Siegler (adm)
3993 #
3994 # These guys are long since out of the terminals business, but
3995 # in 1995 many current terminals still have an adm type as one of their
3996 # emulations (usually their stupidest, and usually labeled adm3, though
3997 # these `adm3' emulations normally have adm3a+ capabilities).
3998 #
3999 # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
4000 # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
4001 # was being held to ground would trigger a send of the top line on the screen.
4002 # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
4003 # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
4004 # for clearing up this point.)
4005
4006 adm1a|adm1|lsi adm1a, 
4007         am, 
4008         cols#80, lines#24, 
4009         bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4010         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
4011         ind=^J, 
4012 adm2|lsi adm2, 
4013         am, 
4014         cols#80, lines#24, 
4015         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4016         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4017         dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
4018         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
4019 # (adm3: removed obsolete ":ma=^K^P:" -- esr)
4020 adm3|lsi adm3, 
4021         am, 
4022         cols#80, lines#24, 
4023         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
4024 # The following ADM-3A switch settings are assumed for normal operation:
4025 #       SPACE           U/L_DISP        CLR_SCRN        24_LINE
4026 #       CUR_CTL         LC_EN           AUTO_NL         FDX
4027 # Other switches may be set for operator convenience or communication
4028 # requirements.  I recommend
4029 #       DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
4030 #       ETX_OFF         EOT_OFF
4031 # Most of these terminals required an option ROM to support lower case display.
4032 # Open the case and look at the motherboard; if you see an open 24-pin DIP
4033 # socket, you may be out of luck.
4034 #
4035 # (adm3a: some capabilities merged in from BRl entry -- esr)
4036 adm3a|lsi adm3a, 
4037         am, 
4038         cols#80, lines#24, 
4039         bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4040         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
4041         ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rs1=^N, 
4042 adm3a+|adm3a plus, 
4043         kbs=^H, use=adm3a, 
4044 # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
4045 adm5|lsi adm5, 
4046         xmc#1, 
4047         bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^, 
4048         rmso=\EG, smso=\EG, 
4049         use=adm3a+, 
4050 # A lot of terminals other than adm11s use these.  Wherever you see
4051 # use=adm+sgr with some of its capabilities disabled, try the
4052 # disabled ones.  They may well work but not have been documented or
4053 # expressed in the using entry.  We'd like to cook up an <sgr> but the
4054 # <rmacs>/<smacs> sequences of the using entries vary too much.
4055 adm+sgr|adm style highlight capabilities, 
4056         invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
4057         smso=\EG4, smul=\EG8, 
4058 # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
4059 # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
4060 # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
4061 # be ^Z, according to his entry.
4062 # (adm11: <smul>=\EG4 was obviously erroneous because it also said
4063 # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
4064 adm11|LSI ADM-11, 
4065         am, hs, 
4066         cols#80, lines#24, 
4067         bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, cud1=^J, 
4068         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4069         dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, kbs=^H, 
4070         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf2=^AA\r, 
4071         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
4072         kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E), 
4073         use=adm+sgr, 
4074 # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
4075 # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
4076 # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
4077 # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
4078 # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
4079 # via BRL.  That entry asserted <xmc#1>, but I've left that out because 
4080 # neither earlier nor later ADMSs have it -- esr)
4081 #
4082 # You will need to get into the supervisor setup before you can set
4083 # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
4084 # see a lot more setup options.
4085
4086 # While in supervisor setup you can also use following codes:
4087
4088 # Ctrl-P Personality character selections (configure for example what
4089 #        arrow keys send, if I recall correctly)
4090 # Ctrl-T tabs 1-80   use left&right to move and up to set and
4091 # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
4092 # Ctrl-B Binary setup (probably not needed. I think that everything can
4093 #        be set using normal setup)
4094 # Ctrl-A Answerback mode (enter answerback message)
4095 # Ctrl-U User friendly mode (normal setup)
4096 # Ctrl-D Defaults entire setup and function keys from EPROM tables
4097 # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
4098 # Ctrl-R Reads both setup and functions keys from NVM.
4099 # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
4100
4101 # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
4102 # RTS/CTS used nowadays with virtually every modem and computer. 19200
4103 # bps works fine with hardware flow control.
4104
4105 # The following null-modem cable should fix this and enable you to use
4106 # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
4107 # set ADM-12+ for DTR handshaking from supervisor setup.
4108
4109 # PC Serial   ADM-12+
4110 #  --------   -------
4111 #         2 - 3
4112 #         3 - 2
4113 #         4 - 5
4114 #         5 - 20
4115 #       6,8 - 4
4116 #         7 - 7
4117 #        20 - 6,8
4118 #
4119 adm12|lsi adm12, 
4120         am, mir, 
4121         cols#80, it#8, lines#24, 
4122         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4123         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4124         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
4125         is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1, 
4126         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
4127         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
4128         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0, 
4129         use=adm+sgr, 
4130 # (adm20: removed obsolete ":kn#7:" -- esr)
4131 adm20|lear siegler adm20, 
4132         am, 
4133         cols#80, it#8, lines#24, 
4134         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
4135         cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW, 
4136         dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
4137         kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, 
4138         sgr0=\E(, smso=\E), 
4139 adm21|lear siegler adm21, 
4140         xmc#1, 
4141         bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET, 
4142         ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H, 
4143         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
4144         use=adm+sgr, use=adm3a, 
4145 # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
4146 # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
4147 # removed bogus-looking \200 from before <cup>. -- esr)
4148 adm22|lsi adm22, 
4149         am, 
4150         cols#80, lines#24, 
4151         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4152         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4153         dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
4154         is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0, 
4155         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
4156         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4157         kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
4158         lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E), 
4159 # ADM 31 DIP Switches
4160 #
4161 # This information comes from two versions of the manual for the
4162 # Lear-Siegler ADM 31.
4163 #
4164 # Main board:
4165 #                  rear of case
4166 #   +-||||-------------------------------------+
4167 #   + S1S2                              ||S    +
4168 #   +                                   ||3    +
4169 #   +                                          +
4170 #   +                                ||S       +
4171 #   +                                ||4       +
4172 #   +                                          +
4173 #   +                                          +
4174 #   +                                          +
4175 #   +                                          +
4176 #   +                                          +
4177 # +-+                                          +-+
4178 # +                                              +
4179 # +                               S5 S6 S7       +   
4180 # +                               == == ==       +
4181 # +----------------------------------------------+
4182 #            front of case (keyboard)
4183 #
4184 #  S1 - Data Rate - Modem
4185 #  S2 - Data Rate - Printer
4186 # ------------------------
4187 # Data Rate   Setting
4188 # -------------------
4189 # 50          0 0 0 0
4190 # 75          1 0 0 0
4191 # 110         0 1 0 0
4192 # 134.5       1 1 0 0
4193 # 150         0 0 1 0
4194 # 300         1 0 1 0
4195 # 600         0 1 1 0
4196 # 1200        1 1 1 0
4197 # 1800        0 0 0 1
4198 # 2000        1 0 0 1
4199 # 2400        0 1 0 1
4200 # 3600        1 1 0 1
4201 # 4800        0 0 1 1
4202 # 7200        1 0 1 1
4203 # 9600        0 1 1 1
4204 # x           1 1 1 1
4205 #
4206 # S3 - Interface/Printer/Attributes
4207 # ---------------------------------
4208 # Printer Busy Control
4209 # sw1   sw2   sw3
4210 # ---------------
4211 # off   off   off   Busy not active, CD disabled
4212 # off   off   on    Busy not active, CD enabled
4213 # off   on    off   Busy active on J5-20, CD disabled
4214 # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
4215 # on    off   on    Busy active on J5-19, CD enabled
4216 #
4217 # sw4   Used in conjuction with S4 for comm interface control - Fact 0
4218 #
4219 # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
4220 #
4221 # sw6   ON enables printer BUSY active LOW - Factory Setting
4222 #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
4223 #
4224 # sw7   ON - steady cursor - Factory Setting
4225 #       OFF - blinking cursor
4226 #
4227 # sw8   ON causes selected attribute character to be displayed
4228 #       OFF causes SPACE to be displayed instead - Factory Setting
4229 #
4230 # S4 - Interface
4231 # --------------
4232 # Modem Interface
4233 # S3    S4    S4    S4    S4
4234 # sw4   sw1   sw2   sw3   sw4
4235 # ---------------------------
4236 # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
4237 #                               Current Loop disabled - Factory Setting
4238 # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
4239 #                               disabled
4240 # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
4241 #                               Current Loop Disabled
4242 #
4243 # sw5   ON disables dot stretching mode - Factory Setting
4244 #       OFF enables dot stretching mode
4245 # sw6   ON enables blanking function
4246 #       OFF enables underline function - Factory Setting
4247 # sw7   ON causes NULLS to be displayed as NULLS
4248 #       OFF causes NULLS to be displayed as SPACES - Factory Setting
4249 #
4250 # S5 - Word Structure
4251 # -------------------
4252 # sw1   ON enables BREAK key - Factory Setting
4253 #       OFF disables BREAK key
4254 # sw2   ON selects 50Hz monitor refresh rate
4255 #       OFF selects 60Hz monitor refresh rate - Factory Setting
4256 #
4257 # Modem Port Selection
4258 # sw3   sw4   sw5
4259 # ---------------
4260 # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
4261 # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
4262 # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
4263 # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
4264 # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
4265 # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
4266 # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
4267 # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
4268 #
4269 # sw6   ON  sends bit 8 a 1 (mark)
4270 #       OFF sends bit 8 as 0 (space) - Factory Setting
4271 # sw7   ON  selects Block Mode
4272 #       OFF selects Conversation Mode - Factory Setting
4273 # sw8   ON  selects Full Duplex operation
4274 #       OFF selects Half Duplex operation - Factory Setting
4275 #
4276 # S6 - Printer
4277 # ------------
4278 # sw1, sw2, sw6, sw7   Reserved - Factory 0
4279 #
4280 # Printer Port Selection
4281 # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
4282 #
4283 # sw8   ON   enables Printer Port
4284 #       OFF disables Printer Port - Factory Setting
4285 #
4286 # S7 - Polling Address
4287 # --------------------
4288 # sw1-7 Establish ASCII character which designates terminal polling address
4289 #       ON  = logic 0
4290 #       OFF = logic 1 - Factory Setting
4291 # sw8   ON   enables Polling Option
4292 #       OFF disables Polling Option - Factory Setting
4293 #
4294 #
4295 # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
4296 #
4297 # This adm31 entry uses underline as the standout mode.
4298 # If the adm31 gives you trouble with standout mode, check the DIP switch in
4299 # position 6, bank @c11, 25% from back end of the circuit board.  Should be
4300 # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
4301 # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
4302 adm31|lsi adm31 with sw6 set for underline mode, 
4303         am, mir, 
4304         cols#80, lines#24, 
4305         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4306         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4307         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0, 
4308         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
4309         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
4310         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0, 
4311         rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1, 
4312 adm31-old|o31|old adm31, 
4313         rmul@, smso=\EG4, smul@, use=adm31, 
4314 # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
4315 adm36|LSI ADM36, 
4316         if=/usr/lib/tabset/vt100, 
4317         is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, use=vt100, 
4318 # (adm42: removed obsolete ":ma=^K^P:" -- esr)
4319 adm42|lsi adm42, 
4320         am, 
4321         cols#80, lines#24, 
4322         bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4323         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4324         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I, 
4325         il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J, 
4326         kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@, 
4327         smir=\Eq, smul@, 
4328         use=adm+sgr, 
4329 # The following termcap for the Lear Siegler ADM-42 leaves the 
4330 # "system line" at the bottom of the screen blank (for those who 
4331 # find it distracting otherwise)
4332 adm42-ns|lsi adm-42 with no system line, 
4333         cbt=\EI\EF \011, clear=\E;\EF \011, 
4334         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
4335         dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
4336         el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
4337         smir=\Eq\EF \011, 
4338         use=adm42, 
4339 # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
4340 # The insert mode of this terminal is commented out because it's broken for our
4341 # purposes in that it will shift the position of every character on the page,
4342 # not just the cursor line!
4343 # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
4344 adm1178|1178|lsi adm1178, 
4345         am, 
4346         cols#80, lines#24, xmc#1, 
4347         bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
4348         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4349         cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, 
4350         home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H, 
4351         kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0, 
4352         sgr0=\E), smso=\EG4, smul=\EG1, 
4353
4354 #### Prime
4355 #
4356 # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
4357 # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
4358 # Prime merged with ComputerVision in the late 1980s; you can reach them at:
4359 #
4360 #       ComputerVision Services
4361 #       500 Old Connecticut Path
4362 #       Framingham, Mass.
4363 #
4364
4365 # Standout mode is dim reverse-video.
4366 pt100|pt200|wren|fenix|prime pt100/pt200, 
4367         am, bw, mir, msgr, 
4368         cols#80, it#8, lines#24, 
4369         cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
4370         cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
4371         cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA, 
4372         cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, 
4373         ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P, 
4374         home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, 
4375         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, 
4376         rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, 
4377         sgr0=\E[m, 
4378         smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
4379         smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
4380 pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
4381         cols#132, 
4382         cup=\E[%i%p1%d;%p2%dH, use=pt100, 
4383 pt250|Prime PT250, 
4384         rmso@, smso@, use=pt100, 
4385 pt250w|Prime PT250 in 132-column mode, 
4386         rmso@, smso@, use=pt100w, 
4387
4388 #### Qume (qvt)
4389 #
4390 #       Qume, Inc.
4391 #       3475-A North 1st Street
4392 #       San Jose CA 95134
4393 #       Vox: (800)-457-4447
4394 #       Fax: (408)-473-1510
4395 #       Net: josed@techsupp.wyse.com (Jose D'Oliveira)
4396 #
4397 # Qume was bought by Wyse, but still (as of early 1995) has its own support
4398 # group and production division.
4399 #
4400 # Discontinued Qume models:
4401 #
4402 # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
4403 # built to replace them, and a qvt119+ which was a 101+ with available wide
4404 # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
4405 # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
4406 # ANSI-compatible terminals with the qvt323 and qvt61.
4407 #
4408 # Current Qume models (as of February 1995):
4409 #
4410 # All current Qume terminals have ANSI-compatible operation modes.
4411 # Qume is still producing the qvt62, which features emulations for other
4412 # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
4413 # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
4414 # with many emulations including Wyse370, Wyse 325, etc.  Their newest
4415 # model is the qvt520, which is vt420-compatible.
4416 #
4417 # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
4418 #
4419 # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
4420 # setup mode.  Shift-s should be a configuration save to NVRAM.
4421
4422 qvt101|qvt108|qume qvt 101 and QVT 108, 
4423         xmc#1, use=qvt101+, 
4424
4425 # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
4426 # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
4427 # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
4428 # What seems to be going on here is that this entry was designed so that
4429 # the normal highlight is bold and standout is dim plus something else
4430 # (reverse-video maybe?  But then, are there two <rev> sequences?)  
4431 qvt101+|qvt101p|qume qvt 101 PLUS product, 
4432         am, bw, hs, ul, 
4433         cols#80, lines#24, xmc#0, 
4434         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J, 
4435         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4436         dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
4437         flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
4438         ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H, 
4439         kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET, 
4440         kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
4441         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
4442         khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(, 
4443         smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, 
4444         use=adm+sgr, 
4445 qvt102|qume qvt 102, 
4446         cnorm=\E., use=qvt101, 
4447 # (qvt103: added <rmam>/<smam> based on init string -- esr)
4448 qvt103|qume qvt 103, 
4449         am, xenl, xon, 
4450         cols#80, it#8, lines#24, vt#3, 
4451         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
4452         clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
4453         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
4454         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
4455         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
4456         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
4457         hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
4458         kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
4459         rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
4460         rmso=\E[m$<2>, rmul=\E[m$<2>, 
4461         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
4462         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
4463         sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
4464         smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
4465 qvt103-w|qume qvt103 132 cols, 
4466         cols#132, lines#24, 
4467         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103, 
4468 qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
4469         am, hs, mir, msgr, 
4470         cols#80, lines#24, xmc#0, 
4471         bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H, 
4472         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
4473         cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, 
4474         el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I, 
4475         hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX, 
4476         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
4477         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
4478         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4479         mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8, 
4480         tbc=\E3, tsl=\Eg\Ef, 
4481         use=adm+sgr, 
4482 qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
4483         lines#25, use=qvt119+, 
4484 qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
4485         cols#132, 
4486         is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+, 
4487 qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
4488         lines#25, use=qvt119+, 
4489 qvt203|qvt203+|qume qvt 203 Plus, 
4490         dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
4491         ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
4492         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
4493         kf9=\E[28~, rmir=\E[4l, smir=\E[4h, 
4494         use=qvt103, 
4495 qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
4496         cols#132, lines#24, 
4497         rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203, 
4498 #
4499 #       Since a command is present for enabling 25 data lines,
4500 #       a specific terminfo entry may be generated for the 203.
4501 #       If one is desired for the QVT 119 PLUS then 25 lines must
4502 #       be selected in the status line (setup line 9).
4503 #
4504 qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
4505         cols#80, lines#25, 
4506         is2=\E[=40h\E[?3l, use=qvt203, 
4507 qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
4508         cols#132, lines#25, 
4509         rs2=\E[?3h\E[=40h, use=qvt203, 
4510
4511 #### Televideo (tvi)
4512 #
4513 #       TeleVideo
4514 #       550 East Brokaw Road
4515 #       PO Box 49048    95161
4516 #       San Jose CA 95112
4517 #       Vox: (408)-954-8333
4518 #       Fax: (408)-954-0623
4519 #
4520 #
4521 # There are some tvi terminals that require incredible amounts of padding and
4522 # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
4523 # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
4524 #
4525 # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
4526 # Televideo terminals are ANSI and PC-ANSI compatible.
4527
4528 tvi803|televideo 803, 
4529         clear=\E*$<10>, use=tvi950, 
4530
4531 # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
4532 # Switch settings are:
4533
4534 # S1  1 2 3 4
4535 #     D D D D  9600
4536 #     D D D U    50
4537 #     D D U D    75
4538 #     D D U U   110
4539 #     D U D D   135
4540 #     D U D U   150
4541 #     D U U D   300
4542 #     D U U U   600
4543 #     U D D D  1200
4544 #     U D D U  1800
4545 #     U D U D  2400
4546 #     U D U U  3600
4547 #     U U D D  4800
4548 #     U U D U  7200
4549 #     U U U D  9600
4550 #     U U U U 19200
4551
4552 # S1  5 6 7 8
4553 #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
4554 #     U D X U  7N2
4555 #     U U D D  7O1
4556 #     U U D U  7O2
4557 #     U U U D  7E1
4558 #     U U U U  7E2
4559 #     D D X D  8N1
4560 #     D D X U  8N2
4561 #     D U D D  8O1
4562 #     D U U U  8E2
4563
4564 # S1  9  Autowrap
4565 #     U  on
4566 #     D  off
4567
4568 # S1 10  CR/LF
4569 #     U  do CR/LF when CR received
4570 #     D  do CR when CR received
4571
4572 # S2  1  Mode
4573 #     U  block
4574 #     D  conversational
4575
4576 # S2  2  Duplex
4577 #     U  half
4578 #     D  full
4579
4580 # S2  3  Hertz
4581 #     U  50
4582 #     D  60
4583
4584 # S2  4  Edit mode
4585 #     U  local
4586 #     D  duplex
4587
4588 # S2  5  Cursor type
4589 #     U  underline
4590 #     D  block
4591
4592 # S2  6  Cursor down key
4593 #     U  send ^J
4594 #     D  send ^V
4595
4596 # S2  7  Screen colour
4597 #     U  green on black
4598 #     D  black on green
4599
4600 # S2  8  DSR status (pin 6)
4601 #     U  disconnected
4602 #     D  connected
4603
4604 # S2  9  DCD status (pin 8)
4605 #     U  disconnected
4606 #     D  duplex
4607
4608 # S2 10  DTR status (pin 20)
4609 #     U  disconnected
4610 #     D  duplex
4611 # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
4612 # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
4613 tvi910|televideo model 910, 
4614         am, msgr, 
4615         cols#80, it#8, lines#24, xmc#1, 
4616         bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4617         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
4618         home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I, 
4619         if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H, 
4620         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
4621         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4622         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
4623         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
4624 # From: Alan R. Rogers <rogers%albany@csnet-relay>
4625 # as subsequently hacked over by someone at SCO
4626 # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
4627 #
4628 # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
4629 #
4630 # S1  1 2 3 4:
4631 #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
4632 #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
4633 #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
4634 #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
4635 #
4636 # S1  5 6 7 8:
4637 #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
4638 #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
4639 #     D U D D  8O1     D U U U  8E2
4640
4641 # S1  9  Autowrap            (U = on, D = off)
4642 # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
4643 # S2  1  Mode                (U = block, D = conversational)
4644 # S2  2  Duplex              (U =  half, D = full)
4645 # S2  3  Hertz               (U = 50, D = 60)
4646 # S2  4  Edit mode           (U = local, D = duplex)
4647 # S2  5  Cursor type         (U = underline, D = block)
4648 # S2  6  Cursor down key     (U = send ^J, D = send ^V)
4649 # S2  7  Screen colour       (U = green on black, D = black on green)
4650 # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
4651 # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
4652 # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
4653 #
4654 tvi910+|televideo 910+, 
4655         dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>, 
4656         kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
4657         kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, 
4658         ll=\E=7\s, 
4659         use=tvi910, 
4660
4661 # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
4662 # <khome> from BRL entry -- esr)
4663 tvi912|tvi914|tvi920|old televideo 912/914/920, 
4664         am, msgr, 
4665         cols#80, it#8, lines#24, xmc#1, 
4666         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
4667         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
4668         dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^, 
4669         ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
4670         il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
4671         kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
4672         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
4673         kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
4674         tbc=\E3, 
4675 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
4676 # The 920 has this plus real function keys that xmit different things.
4677 # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
4678 tvi912c|tvi912b|new televideo 912, 
4679         dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912, 
4680 # set to page 1 when entering curses application (\E-17 )
4681 # reset to page 0 when exiting curses application (\E-07 )
4682 tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages, 
4683         rmcup=\E-07\s, smcup=\E-17\s, use=tvi912, 
4684 # We got some new tvi912c terminals that act really weird on the regular 
4685 # termcap, so one of our gurus worked this up. Seems that cursor 
4686 # addressing is broken.
4687 tvi912cc|tvi912 at cowell college, 
4688         cup@, use=tvi912c, 
4689
4690 # Here are the switch settings for the tvi920c:
4691 #
4692 # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
4693 # 2: 9600       3: 4800         4: 2400         5: 1200
4694 # 6:  600       7:  300         8:  150         9:   75
4695 # 10: 110
4696 #
4697 # S2 UART/Terminal options:
4698 #               Up                      Down
4699 # 1:            Not used                Not allowed
4700 # 2:    Alternate character set   Standard character set
4701 # 3:        Full duplex             Half duplex
4702 # 4:        50 Hz refresh           60 Hz refresh
4703 # 5:          No parity              Send parity
4704 # 6:         2 stop bits             1 stop bit
4705 # 7:         8 data bits             7 data bits
4706 # 8:            Not used                Not allowed on Rev E or lower
4707 # 9:         Even parity             Odd parity
4708 # 10:       Steady cursor           Blinking cursor
4709 #       (On Rev E or lower, use W25 instead of switch 10.)
4710
4711 # S5 UART/Terminal options:
4712 #               Open                    Closed
4713 # 1:    P3-6 Not connected      DSR received on P3-6
4714 # 2:    P3-8 Not connected      DCD received on P3-8
4715 #
4716 # 3 Open, 4 Open:               P3-20 Not connected
4717 # 3 Open, 4 Closed:     DTR on when terminal is on
4718 # 3 Closed, 4 Open:     DTR is connected to RTS
4719 # 3 Closed, 4 Closed:   Not allowed
4720 #
4721 # 5 Closed:     HDX printer (hardware control) Rev. K with extension port off,
4722 #               all data transmitted out of the modem port (P3) will also be
4723 #               transmitted out of the printer port (P4).
4724 #
4725 # 6 Open, 7 Open:               Not allowed
4726 # 6 Open, 7 Closed:     20ma current loop input
4727 # 6 Closed, 7 Open:     RS232 input
4728 # 6 Closed, 7 Closed:   Not allowed
4729 #
4730 # Jumper options:
4731 # If the jumper is installed, the effect will occur (the next time the terminal
4732 # is switched on).
4733 #
4734 # S4/W31:       Enables automatic LF upon receipt of CR from
4735 #               remote or keyboard.
4736 # S4/W32:       Enables transmission of EOT at the end of Send.  If not 
4737 #               installed, a carriage return is sent.
4738 # S4/W33:       Disables automatic carriage return in column 80.
4739 # S4/W34:       Selects Page Print Mode as initial condition.  If not 
4740 #               installed, Extension Mode is selected.
4741 #
4742 tvi920b|tvi920c|new televideo 920, 
4743         dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r, 
4744         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
4745         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
4746         use=tvi912, 
4747
4748 # Televideo 921 and variants
4749 # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
4750 # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
4751 # also added empty <acsc> to suppress tic warning -- esr)
4752 tvi921|televideo model 921 with sysline same as page & real vi function, 
4753         am, hs, xenl, xhp, 
4754         cols#80, lines#24, xmc#0, 
4755         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
4756         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
4757         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
4758         el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
4759         if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@, 
4760         is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H, 
4761         kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, 
4762         ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%, 
4763         rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, 
4764         use=adm+sgr, 
4765 # without the beeper
4766 # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
4767 # also added empty <acsc> to suppress tic warning -- esr)
4768 tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper, 
4769         am, hs, xenl, xhp, 
4770         cols#80, lines#24, xmc#0, 
4771         acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
4772         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
4773         cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
4774         el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I, 
4775         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
4776         invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
4777         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
4778         kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
4779         nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0, 
4780         use=adm+sgr, 
4781 # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
4782 tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
4783         dl1=\ER$<2*/>, il1=\EE$<2*/>, 
4784         is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
4785         kil1=\EE$<2*/>, 
4786         use=tvi92B, 
4787
4788 # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
4789 # in from a BSD termcap file because it looks like they do something the
4790 # old ones skip -- esr)
4791 tvi924|televideo tvi924, 
4792         am, bw, hs, in, mir, msgr, xenl, xon, 
4793         cols#80, it#8, lines#24, wsl#80, xmc#0, 
4794         bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0, 
4795         cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c, 
4796         cub1=^H, cud1=^V, cuf1=^L, 
4797         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1, 
4798         dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et, 
4799         flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1, 
4800         ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
4801         invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, 
4802         kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
4803         kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r, 
4804         kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r, 
4805         kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, 
4806         kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
4807         kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
4808         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
4809         pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr, 
4810
4811 # TVI925 DIP switches.  In each of these, D = Down and U = Up,
4812 #
4813 # Here are the settings for the external (baud) switches (S1):
4814 #
4815 #             Position          Baud
4816 # 7     8       9       10              [Printer]
4817 # 1     2       3       4               [Main RS232]
4818 # -----------------------------------------------------
4819 # D     D       D       D       9600
4820 # D     D       D       U         50
4821 # D     D       U       D         75
4822 # D     D       U       U        110
4823 # D     U       D       D        135
4824 # D     U       D       U        150
4825 # D     U       U       D        300
4826 # D     U       U       U        600
4827 # U     D       D       D       1200
4828 # U     D       D       U       1800
4829 # U     D       U       D       2400
4830 # U     D       U       U       3600
4831 # U     U       D       D       4800
4832 # U     U       D       U       7200
4833 # U     U       U       D       9600
4834 # U     U       U       U       19200
4835
4836
4837 # Settings for word length and stop-bits (S1)
4838 #
4839 #  Position     Description
4840 # 5     6       
4841 # ---------------------------
4842 # U     -       7-bit word
4843 # D     -       8-bit word
4844 # -     U       2 stop bits
4845 # -     D       1 stop bit
4846
4847
4848 # S2 (external) settings
4849 #
4850 # Position      Up      Dn      Description
4851 # --------------------------------------------
4852 # 1             X               Local edit
4853 #                       X       Duplex edit (transmit editing keys)
4854 # --------------------------------------------
4855 # 2             X               912/920 emulation
4856 #                       X       925
4857 # --------------------------------------------
4858 # 3                     X
4859 # 4                     X       No parity
4860 # 5                     X       
4861 # --------------------------------------------
4862 # 3                     X
4863 # 4                     X       Odd parity
4864 # 5             X       
4865 # --------------------------------------------
4866 # 3                     X
4867 # 4             X               Even parity
4868 # 5             X       
4869 # --------------------------------------------
4870 # 3             X       
4871 # 4                     X       Mark parity
4872 # 5             X               
4873 # --------------------------------------------
4874 # 3             X
4875 # 4             X               Space parity
4876 # 5             X
4877 # --------------------------------------------
4878 # 6             X               White on black display
4879 #                       X       Black on white display
4880 # --------------------------------------------
4881 # 7                     X       Half Duplex
4882 # 8                     X
4883 # --------------------------------------------
4884 # 7             X               Full Duplex
4885 # 8                     X       
4886 # --------------------------------------------
4887 # 7                     X       Block mode
4888 # 8             X       
4889 # --------------------------------------------
4890 # 9                     X       50 Hz
4891 #               X               60 Hz
4892 # --------------------------------------------
4893 # 10            X               CR/LF (Auto LF)
4894 #                       X       CR only
4895
4896 # S3 (internal switch) settings:
4897
4898 # Position      Up      Dn      Description
4899 # --------------------------------------------
4900 # 1             X               Keyclick off 
4901 #                       X       Keyclick on
4902 # --------------------------------------------
4903 # 2                     X       English
4904 # 3                     X       
4905 # --------------------------------------------
4906 # 2                     X       German
4907 # 3             X               
4908 # --------------------------------------------
4909 # 2             X               French
4910 # 3                     X       
4911 # --------------------------------------------
4912 # 2             X               Spanish
4913 # 3             X       
4914 # --------------------------------------------
4915 # 4                     X       Blinking block cursor
4916 # 5                     X       
4917 # --------------------------------------------
4918 # 4                     X       Blinking underline cursor
4919 # 5             X               
4920 # --------------------------------------------
4921 # 4             X               Steady block cursor
4922 # 5                     X       
4923 # --------------------------------------------
4924 # 4             X               Steady underline cursor
4925 # 5             X       
4926 # --------------------------------------------
4927 # 6             X               Screen blanking timer (ON)
4928 #                       X       Screen blanking timer (OFF)
4929 # --------------------------------------------
4930 # 7             X               Page attributes
4931 #                       X       Line attributes
4932 # --------------------------------------------
4933 # 8             X               DCD disconnected
4934 #                       X       DCD connected
4935 # --------------------------------------------
4936 # 9             X               DSR disconnected
4937 #                       X       DSR connected
4938 # --------------------------------------------
4939 # 10            X               DTR Disconnected
4940 #                       X       DTR connected
4941 # --------------------------------------------
4942 #
4943 # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
4944 tvi925|televideo 925, 
4945         am, bw, hs, ul, 
4946         cols#80, lines#24, xmc#1, 
4947         bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V, 
4948         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
4949         cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET, 
4950         flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1, 
4951         ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z, 
4952         kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
4953         ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
4954         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
4955         kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3, 
4956         tsl=\Eh\Ef, 
4957         use=adm+sgr, 
4958 # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
4959 # to avoid "magic cookie" standout glitch:
4960 tvi925-hi|TeleVideo Model 925 with half intensity standout mode, 
4961         xmc@, 
4962         kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925, 
4963
4964 # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
4965 # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
4966 # for additional capabilities, 
4967 # The following tvi descriptions from B:pjphar and virus!mike
4968 # is for all 950s.  It sets the following attributes:
4969 # full duplex (\EDF)            write protect off (\E()
4970 # conversation mode (\EC)       graphics mode off (\E%)
4971 # white on black (\Ed)          auto page flip off (\Ew)
4972 # turn off status line (\Eg)    clear status line (\Ef\r)
4973 # normal video (\E0)            monitor mode off (\EX or \Eu)
4974 # edit mode (\Er)               load blank char to space (\Ee\040)
4975 # line edit mode (\EO)          enable buffer control (^O)
4976 # protect mode off (\E\047)     duplex edit keys (\El)
4977 # program unshifted send key to send line all (\E016)
4978 # program shifted send key to send line unprotected (\E004)
4979 # set the following to nulls:
4980 #       field delimiter (\Ex0\200\200)
4981 #       line delimiter (\Ex1\200\200)
4982 #       start-protected field delimiter (\Ex2\200\200)
4983 #       end-protected field delimiter (\Ex3\200\200)
4984 # set end of text delimiter to carriage return/null (\Ex4\r\200)
4985
4986 #                     TVI 950 Switch Setting Reference Charts
4987
4988 #                                     TABLE 1:
4989
4990 #      S1     1     2     3     4     5     6     7     8     9    10
4991 #          +-----------------------+-----+-----+-----------------------+
4992 #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
4993 #          |                       |Bits |Bits |                       |
4994 #   +------+-----------------------+-----+-----+-----------------------+
4995 #   |  Up  |        See            |  7  |  2  |        See            |
4996 #   +------+-----------------------+-----+-----+-----------------------+
4997 #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
4998 #   +------+-----------------------+-----+-----+-----------------------+
4999
5000
5001 #      S2     1     2     3     4     5     6     7     8     9    10
5002 #          +-----+-----+-----------------+-----+-----------+-----+-----+
5003 #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
5004 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5005 #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
5006 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5007 #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
5008 #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
5009 #  
5010 #                                    TABLE 2:
5011
5012 #             +-----------+-----+-----+-----+-----+-----------+
5013 #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
5014 #             +-----------+-----+-----+-----+-----+           |
5015 #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
5016 #             +-----------+-----+-----+-----+-----+-----------+
5017 #                         |  D  |  D  |  D  |  D  |   9600    |
5018 #                         |  U  |  D  |  D  |  D  |     50    |
5019 #                         |  D  |  U  |  D  |  D  |     75    |
5020 #                         |  U  |  U  |  D  |  D  |    110    |
5021 #                         |  D  |  D  |  U  |  D  |    135    |
5022 #                         |  U  |  D  |  U  |  D  |    150    |
5023 #                         |  D  |  U  |  U  |  D  |    300    |
5024 #                         |  U  |  U  |  U  |  D  |    600    |
5025 #                         |  D  |  D  |  D  |  U  |   1200    |
5026 #                         |  U  |  D  |  D  |  U  |   1800    |
5027 #                         |  D  |  U  |  D  |  U  |   2400    |
5028 #                         |  U  |  U  |  D  |  U  |   3600    |
5029 #                         |  D  |  D  |  U  |  U  |   4800    |
5030 #                         |  U  |  D  |  U  |  U  |   7200    |
5031 #                         |  D  |  U  |  U  |  U  |   9600    |
5032 #                         |  U  |  U  |  U  |  U  |  19200    |
5033 #                         +-----+-----+-----+-----+-----------+
5034
5035 #                                    TABLE 3:
5036 #                         +-----+-----+-----+-----------+
5037 #                         |  3  |  4  |  5  |   Parity  |
5038 #                         +-----+-----+-----+-----------+
5039 #                         |  X  |  X  |  D  |    None   |
5040 #                         |  D  |  D  |  U  |     Odd   |
5041 #                         |  D  |  U  |  U  |    Even   |
5042 #                         |  U  |  D  |  U  |    Mark   |
5043 #                         |  U  |  U  |  U  |   Space   |
5044 #                         +-----+-----+-----+-----------+
5045 #                                 X = don't care
5046
5047 #                                     CHART:
5048 #                         +-----+-----+-----------------+
5049 #                         |  7  |  8  | Communication   |
5050 #                         +-----+-----+-----------------+
5051 #                         |  D  |  D  |  Half Duplex    |
5052 #                         |  D  |  U  |  Full Duplex    |
5053 #                         |  U  |  D  |     Block       |
5054 #                         |  U  |  U  |     Local       |
5055 #                         +-----+-----+-----------------+
5056
5057 # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
5058 # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
5059 # should be present and all tvi native modes use the same string for this.
5060 # Finally, note that BSD has cud1=^V. -- esr) 
5061 tvi950|televideo 950, 
5062         am, hs, mir, msgr, xenl, xon, 
5063         cols#80, it#8, lines#24, xmc#1, 
5064         acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*, 
5065         cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5066         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5067         dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
5068         fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
5069         invis@, 
5070         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, 
5071         kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
5072         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
5073         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5074         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5075         kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X, 
5076         rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
5077         use=adm+sgr, 
5078 #
5079 # is for 950 with two pages adds the following:
5080 #       set 48 line page (\E\\2)
5081 #       place cursor at page 0, line 24, column 1 (\E-07 )
5082 #       set local (no send) edit keys (\Ek)
5083 #
5084 # two page 950 adds the following:
5085 #       when entering ex, set 24 line page (\E\\1)
5086 #       when exiting ex, reset 48 line page (\E\\2)
5087 #                        place cursor at 0,24,1 (\E-07 )
5088 #       set duplex (send) edit keys (\El) when entering vi
5089 #       set local (no send) edit keys (\Ek) when exiting vi
5090 #
5091 tvi950-2p|televideo950 w/2 pages, 
5092         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, 
5093         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5094         smkx=\El, 
5095         use=tvi950, 
5096 #
5097 # is for 950 with four pages adds the following:
5098 #       set 96 line page (\E\\3)
5099 #       place cursor at page 0, line 24, column 1 (\E-07 )
5100 #
5101 # four page 950 adds the following:
5102 #       when entering ex, set 24 line page (\E\\1)
5103 #       when exiting ex, reset 96 line page (\E\\3)
5104 #                        place cursor at 0,24,1 (\E-07 )
5105 #
5106 tvi950-4p|televideo950 w/4 pages, 
5107         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, 
5108         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5109         smkx=\El, 
5110         use=tvi950, 
5111 #
5112 # <is2> for reverse video 950 changes the following:
5113 #       set reverse video (\Ed)
5114 #
5115 # set vb accordingly (\Ed ...delay... \Eb)
5116 #
5117 tvi950-rv|televideo950 rev video, 
5118         flash=\Ed$<200/>\Eb, 
5119         is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, use=tvi950, 
5120
5121 # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
5122 tvi950-rv-2p|televideo950 rev video w/2 pages, 
5123         flash=\Ed$<200/>\Eb, 
5124         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, 
5125         rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5126         smkx=\El, 
5127         use=tvi950, 
5128
5129 # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
5130 tvi950-rv-4p|televideo950 rev video w/4 pages, 
5131         flash=\Ed$<200/>\Eb, 
5132         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, 
5133         rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
5134         smkx=\El, 
5135         use=tvi950, 
5136 # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
5137 # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
5138 # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
5139 # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
5140 # the :ko: string had :cl: in it, which means that one of the original
5141 # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
5142 # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
5143 # ko implies -- esr)
5144 # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
5145 # also work.
5146 tvi955|televideo 955, 
5147         mc5i, msgr@, 
5148         it#8, xmc@, 
5149         acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
5150         civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH, 
5151         cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1, 
5152         is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
5153         knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%, 
5154         rmam=\E[=7l, rmxon=^N, 
5155         rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r, 
5156         sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
5157         use=tvi950, 
5158 tvi955-w|955-w|televideo955 w/132 cols, 
5159         cols#132, 
5160         is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955, 
5161 # use half-intensity as normal mode, full intensity as <bold>
5162 tvi955-hb|955-hb|televideo955 half-bright, 
5163         bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, 
5164         sgr0=\EG0\E[=5h, 
5165         use=tvi955, 
5166 # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
5167 # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
5168 # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
5169 # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
5170 # it does to the function keys.  I deduced <rmam>/<smam>.
5171 # also added empty <acsc> to suppress tic warning,  -- esr)
5172 tvi970|televideo 970, 
5173         am, da, db, mir, msgr, 
5174         cols#80, it#8, lines#24, 
5175         acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
5176         cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
5177         cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
5178         ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H, 
5179         hpa=\E[%i%p1%dG, ht=^I, il1=\E[L, 
5180         is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
5181         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
5182         kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, 
5183         kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, 
5184         rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
5185         sgr0=\E[m, smacs=\E(B, smam=\E[?7l, 
5186         smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
5187         smul=\E[4m, vpa=\E[%i%p1%dd, 
5188 tvi970-vb|televideo 970 with visual bell, 
5189         flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, use=tvi970, 
5190 tvi970-2p|televideo 970 with using 2 pages of memory, 
5191         rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
5192         use=tvi970, 
5193 # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
5194 # per line (rather than 40), Esc K chooses the normal character set.  Not sure
5195 # padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
5196 # <smul> strings are klutzy, but at least use no screen space.
5197 # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
5198 # its absence means <smam>=\Ev isn't safe to use. -- esr)
5199 # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
5200 # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
5201 # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
5202 tvipt|televideo personal terminal, 
5203         am, 
5204         cols#80, lines#24, 
5205         cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
5206         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>, 
5207         ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt, 
5208         il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
5209         kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R, 
5210         rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH, 
5211 # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
5212 tvi9065|televideo 9065, 
5213         am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
5214         cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
5215         wnum#0, wsl#30, 
5216         acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G, 
5217         blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
5218         cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
5219         cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
5220         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA, 
5221         cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
5222         dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
5223         el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
5224         ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
5225         il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1, 
5226         ip=$<3>, 
5227         is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er, 
5228         is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s, 
5229         kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
5230         kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
5231         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5232         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
5233         mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
5234         pfkey=\E|%p1%{48}%+%c3%p2%s\031, 
5235         pfloc=\E|%p1%{48}%+%c2%p2%s\031, 
5236         pfx=\E|%p1%{48}%+%c1%p2%s\031, 
5237         pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&, 
5238         rep=\E[%p2%db%p1%c, rev=\EG4, 
5239         rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
5240         rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
5241         rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
5242         rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
5243         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, 
5244         rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0, 
5245         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%%%;, 
5246         sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
5247         smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
5248         tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 
5249
5250 #### Visual (vi)
5251 #
5252 # In September 1993, Visual Technology of Westboro, Massachusetts,
5253 # merged with White Pine Software of Nashua, New Hampshire.
5254 #
5255 # White Pine Software may be contacted at +1 603/886-9050.
5256 # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
5257 #
5258
5259 # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
5260 # Recently I hacked together the following termcap for Visual
5261 # Technology's Visual 50 terminal. It's a slight modification of
5262 # the vt52 termcap. 
5263 # It's intended to run when the Visual 50 is in vt52 emulation mode
5264 # (I know what you're thinking; if it's emulating a vt52, then why
5265 # another termcap? Well, it turns out that the Visual 50 can handle
5266 # <dl1> and db(?) among other things, which the vt52 can't)
5267 # The termcap works OK for the most part. The only problem is on
5268 # character inserts. The whole line gets painfully redrawn for each
5269 # character typed. Any suggestions?
5270 # Beau's entry is combined with the vi50 entry from University of Wisconsin.
5271 # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
5272 # disguise; <kf7>-<kf9> are really l1-l3.
5273 vi50|visual 50, 
5274         am, da, db, msgr, 
5275         cols#80, it#8, lines#24, 
5276         bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, 
5277         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
5278         dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, ht=^I, 
5279         il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
5280         kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE, 
5281         kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, nel=^M^J, 
5282         ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES, 
5283 # this one was BSD & SCO's vi50
5284 vi50adm|visual 50 in adm3a mode, 
5285         am, msgr, 
5286         cols#80, it#8, lines#24, 
5287         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5288         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
5289         ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
5290         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, 
5291         rmso=\ET, smso=\EU, 
5292 # From: Jeff Siegal <jbs@athena.mit.edu>
5293 vi55|Visual 55, 
5294         am, mir, msgr, 
5295         cols#80, it#8, lines#24, 
5296         clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H, 
5297         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
5298         cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
5299         il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
5300         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET, 
5301         smir=\Ea, smso=\EU, 
5302
5303 # Visual 200 from BRL
5304 # The following switch settings are assumed for normal operation:
5305 #       FULL_DUPLEX             SCROLL                  CR
5306 #       AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
5307 # Other switches may be set for operator convenience or communication
5308 # requirements.
5309 # Character insertion is kludged in order to get around the "beep" misfeature.
5310 # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
5311 # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
5312 # and <dl1> strings, but we seem to get along fine without them.
5313 vi200|visual 200, 
5314         am, mir, msgr, 
5315         cols#80, it#8, lines#24, 
5316         acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
5317         cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
5318         cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey, 
5319         el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea, 
5320         kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
5321         kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p, 
5322         kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
5323         kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
5324         kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
5325         rmacs=\EG, rmkx=\E>, rmso=\E3, 
5326         rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF, 
5327         smkx=\E=, smso=\E4, tbc=\Eg, 
5328 # The older Visuals didn't come with function keys. This entry uses
5329 # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
5330 # If your version of vi doesn't support function keys you may want
5331 # to use vi200-f.
5332 vi200-f|visual 200 no function keys, 
5333         is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
5334         kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, 
5335         kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@, 
5336         use=vi200, 
5337 vi200-rv|visual 200 reverse video, 
5338         cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200, 
5339
5340 # the function keys are programmable but we don't reprogram them to their
5341 # default values with <is2> because programming them is very verbose. maybe
5342 # an initialization file should be made for the 300 and they could be stuck
5343 # in it.
5344 # (vi300: added <rmam>/<smam> based on init string -- esr)
5345 vi300|visual 300 ansi x3.64, 
5346         am, bw, mir, xenl, 
5347         cols#80, lines#24, 
5348         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
5349         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
5350         dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
5351         il1=\E[L, ind=^J, 
5352         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
5353         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
5354         kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, 
5355         kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, 
5356         kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
5357         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
5358         smso=\E[1m, smul=\E[4m, 
5359 # some of the vi300s have older firmware that has the command
5360 # sequence for setting editing extent reversed.
5361 vi300-old|visual 300 with old firmware (set edit extent reversed), 
5362         is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, 
5363         use=vi300, 
5364
5365 # Visual 500 prototype entry from University of Wisconsin.
5366 # The best place to look for the escape sequences is page A1-1 of the
5367 # Visual 500 manual.  The initialization sequence given here may be
5368 # overkill, but it does leave out some of the initializations which can
5369 # be done with the menus in set-up mode.
5370 # The :xp: line below is so that emacs can understand the padding requirements
5371 # of this slow terminal.  :xp: is 10 time the padding factor.
5372 # (vi500: removed unknown :xp#4: termcap;
5373 # also added empty <acsc> to suppress tic warning -- esr)
5374 vi500|visual 500, 
5375         am, mir, msgr, 
5376         cols#80, it#8, lines#33, 
5377         acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
5378         csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
5379         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
5380         dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>, 
5381         el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>, 
5382         ind=^J, 
5383         is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
5384         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
5385         khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
5386         rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D, 
5387
5388 # The visual 550 is a visual 300 with tektronix graphics,
5389 # and with 33 lines. clear screen is modified here to
5390 # also clear the graphics.
5391 vi550|visual 550 ansi x3.64, 
5392         lines#33, 
5393         clear=\030\E[H\E[2J, use=vi300, 
5394
5395 vi603|visual603|visual 603, 
5396         hs, mir, 
5397         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
5398         csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
5399         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
5400         dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L, 
5401         ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, 
5402         rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
5403         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~, 
5404         use=vt100, 
5405
5406 #### Wyse (wy)
5407 #
5408 #       Wyse Technology
5409 #       3471 North First Street
5410 #       San Jose, CA 95134
5411 #       Vox: (408)-473-1200
5412 #       Fax: (408) 473-1222
5413 #       Web: http://www.wyse.com
5414 #
5415 # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
5416 # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
5417 # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
5418 # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
5419 #
5420 # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
5421 # They now own the Qume and Amdek brands, too.  So these are the people to
5422 # talk with about all Link, Qume, and Amdek terminals.
5423 #
5424 # These entries include a few small fixes.
5425 # I canceled the bel capacities in the vb entries.
5426 # I made two trivial syntax fixes in the wyse30 entry.
5427 # I made some entries relative to adm+sgr.
5428 #
5429 #
5430 # Note: The wyse75, wyse85, and wyse99 have been discontinued.
5431
5432 #          Although the Wyse 30 can support more than one attribute
5433 #       it requires magic cookies to do so.  Many applications do not
5434 #       function well with magic cookies.  The following terminfo uses
5435 #       the protect mode to support one attribute (dim) without cookies.
5436 #       If more than one attribute is needed then the wy30-mc terminfo
5437 #       should be used.
5438 #
5439 wy30|wyse30|Wyse 30, 
5440         am, bw, hs, mc5i, mir, msgr, xon, 
5441         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
5442         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
5443         civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H, 
5444         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5445         cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, 
5446         dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, 
5447         fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
5448         ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
5449         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
5450         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
5451         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5452         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
5453         kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
5454         mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5455         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
5456         rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
5457         sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5458         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
5459         smso=\E`7\E), tbc=\E0, tsl=\EF, 
5460 #
5461 #       This terminal description uses the non-hidden attribute mode
5462 #       (with magic cookie).
5463 #
5464 # (wy30-mc: added <smcup> to suppress tic warning --esr)
5465 wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
5466         msgr@, 
5467         ma@, xmc#1, 
5468         blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
5469         rmcup=\EG0, rmso=\EG0, 
5470         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%;, 
5471         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
5472         smso=\EG4, use=wy30, 
5473         use=adm+sgr, 
5474 #       The mandatory pause used by <flash> does not work with
5475 #       older versions of terminfo.  If you see this effect then
5476 #       unset xon and delete the / from the delay.
5477 #       i.e. change $<100/> to $<100>
5478 wy30-vb|wyse30-vb|wyse 30 visible bell, 
5479         bel@, use=wy30, 
5480 #
5481 #          The Wyse 50 can support one attribute (e.g. Dim, Inverse,
5482 #       Normal) without magic cookies by using the protect mode.
5483 #       The following description uses this feature, but when more
5484 #       than one attribute is put on the screen at once, all attributes
5485 #       will be changed to be the same as the last attribute given.
5486 #          The Wyse 50 can support more attributes when used with magic
5487 #       cookies.  The wy50-mc terminal description uses magic cookies
5488 #       to correctly handle multiple attributes on a screen.
5489 #
5490 wy50|wyse50|Wyse 50, 
5491         am, bw, hs, mc5i, mir, msgr, xon, 
5492         cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
5493         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
5494         civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H, 
5495         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
5496         cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
5497         ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
5498         home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>, 
5499         is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H, 
5500         kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
5501         kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
5502         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
5503         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5504         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5505         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
5506         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
5507         pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5508         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
5509         ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
5510         sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
5511         sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
5512         smso=\E`6\E), tbc=\E0, tsl=\EF, 
5513 #
5514 #       This terminal description uses the non-hidden attribute mode
5515 #       (with magic cookie).
5516 #
5517 #       The mandatory pause used by flash does not work with some
5518 #       older versions of terminfo.  If you see this effect then
5519 #       unset <xon> and delete the / from the delay.
5520 #       i.e. change $<100/> to $<100>
5521 # (wy50-mc: added <smcup> to suppress tic warning --esr)
5522 wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
5523         msgr@, 
5524         ma@, xmc#1, 
5525         blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4, 
5526         rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
5527         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%;, 
5528         sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
5529         smso=\EGt, use=wy50, 
5530         use=adm+sgr, 
5531 wy50-vb|wyse50-vb|wyse 50 visible bell, 
5532         bel@, use=wy50, 
5533 wy50-w|wyse50-w|wyse 50 132-column, 
5534         cols#132, lw#7, nlab#16, wsl#97, 
5535         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50, 
5536 wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
5537         bel@, 
5538         use=wy50-w, 
5539
5540 #
5541 #       The Wyse 350 is a Wyse 50 with color.
5542 #       Unfortunately this means that it has magic cookies.
5543 #       The color attributes are designed to overlap the reverse, dim and
5544 #       underline attributes.  This is nice for monochrome applications
5545 #       because you can make underline stuff green (or any other color)
5546 #       but for true color applications it's not so hot because you cannot
5547 #       mix color with reverse, dim or underline.
5548 #           To further complicate things one of the attributes must be
5549 #       black (either the foreground or the background).  In reverse video
5550 #       the background changes color with black letters.  In normal video
5551 #       the foreground changes colors on a black background.  
5552 #           This terminfo uses some of the more advanced features of curses
5553 #       to display both color and blink.  In the final analysis I am not
5554 #       sure that the wy350 runs better with this terminfo than it does
5555 #       with the wy50 terminfo (with user adjusted colors).
5556 #
5557 #       The mandatory pause used by flash does not work with
5558 #       older versions of terminfo.  If you see this effect then
5559 #       unset xon and delete the / from the delay.
5560 #       i.e. change $<100/> to $<100>
5561 #
5562 # Bug: The <op> capability resets attributes.
5563 wy350|wyse350|Wyse 350, 
5564         am, bw, hs, mc5i, mir, xon, 
5565         colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8, 
5566         wsl#45, xmc#1, 
5567         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
5568         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
5569         cub1=^H, cud1=^J, cuf1=^L, 
5570         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>, 
5571         dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET, 
5572         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
5573         il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>, 
5574         is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI, 
5575         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
5576         ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
5577         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
5578         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
5579         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
5580         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
5581         ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
5582         pfx=\Ez%p1%{63}%+%c%p2%s\177, 
5583         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
5584         rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
5585         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, 
5586         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%;, 
5587         sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
5588         smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, 
5589         use=adm+sgr, 
5590 wy350-vb|wyse350-vb|wyse 350 visible bell, 
5591         bel@, use=wy350, 
5592 wy350-w|wyse350-w|wyse 350 132-column, 
5593         cols#132, lw#7, nlab#16, wsl#97, 
5594         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350, 
5595 wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
5596         bel@, 
5597         use=wy350-w, 
5598 #
5599 #       This terminfo description is untested.
5600 #       The wyse100 emulates an adm31, so the adm31 entry should work.
5601 #
5602 wy100|wyse 100, 
5603         hs, mir, 
5604         cols#80, lines#24, xmc#1, 
5605         bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5606         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
5607         dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J, 
5608         invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
5609         kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
5610         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
5611         rmir=\Er, smir=\Eq, tsl=\EF, 
5612         use=adm+sgr, 
5613 #
5614 #       The Wyse 120/150 has most of the features of the Wyse 60.
5615 #       This terminal does not need padding up to 9600 baud!
5616 #       <msgr> should be set but the clear screen fails when in
5617 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
5618 #       then set <msgr>.
5619 #
5620 wy120|wyse120|wy150|wyse150|Wyse 120/150, 
5621         am, bw, hs, km, mc5i, mir, msgr, xon, 
5622         cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
5623         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5624         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
5625         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5626         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
5627         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
5628         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>, 
5629         hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
5630         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5631         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5632         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5633         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5634         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5635         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5636         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
5637         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
5638         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
5639         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
5640         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
5641         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
5642         rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
5643         rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
5644         rs3=\EwG\Ee($<100>, 
5645         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, 
5646         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5647         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
5648         tbc=\E0, tsl=\EF, 
5649         use=adm+sgr, 
5650 #
5651 wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
5652         cols#132, lw#7, nlab#16, wsl#97, 
5653         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
5654         rs2=\E`;$<70>, use=wy120, 
5655 #
5656 wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
5657         lh@, lines#25, lw@, nlab@, 
5658         pln@, rs3=\EwG\Ee)$<100>, use=wy120, 
5659 #
5660 wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
5661         lh@, lines#25, lw@, nlab@, 
5662         pln@, rs3=\EwG\Ee)$<100>, use=wy120-w, 
5663 #
5664 wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
5665         bel@, 
5666         use=wy120, 
5667 #
5668 wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
5669         bel@, 
5670         use=wy120-w, 
5671 #
5672 #       The Wyse 60 is like the Wyse 50 but with more padding.
5673 #       The reset strings are slow and the pad times very depending
5674 #       on other parameters such as font loading.  I have tried
5675 #       to follow the following outline:
5676 #
5677 #               <rs1> -> set personality
5678 #               <rs2> -> set number of columns
5679 #               <rs3> -> set number of lines
5680 #               <is1> -> select the proper font
5681 #               <is2> -> do the initialization
5682 #               <is3> -> set up display memory (2 pages)
5683 #
5684 #       The Wyse 60's that have vt100 emulation are slower than the
5685 #       older Wyse 60's.  This change happened mid-1987.
5686 #       The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
5687 #
5688 #       The meta key is only half right.  This terminal will return the
5689 #       high order bit set when you hit CTRL-function_key
5690 #
5691 #       It may be useful to assign two function keys with the
5692 #       values  \E=(\s  look at old data in page 1
5693 #               \E=W,   look at bottom of page 1
5694 #       where \s is a space ( ).
5695 #
5696 #       Note:
5697 #          The Wyse 60 runs faster when the XON/XOFF
5698 #          handshake is turned off.
5699 #
5700 # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
5701 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
5702 wy60|wyse60|Wyse 60, 
5703         am, bw, hs, km, mc5i, mir, msgr, 
5704         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
5705         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5706         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
5707         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5708         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5709         dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r, 
5710         ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
5711         home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
5712         ip=$<3>, is1=\EcB0\EcC1, 
5713         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5714         is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5715         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5716         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5717         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5718         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5719         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
5720         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
5721         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
5722         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
5723         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
5724         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
5725         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
5726         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
5727         rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
5728         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, 
5729         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5730         smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
5731         tbc=\E0, tsl=\EF, 
5732         use=adm+sgr, 
5733 #
5734 wy60-w|wyse60-w|wyse 60 132-column, 
5735         cols#132, lw#7, nlab#16, wsl#97, 
5736         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
5737         rs2=\EeF$<150>\E`;$<150>, use=wy60, 
5738 #
5739 wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
5740         lh@, lines#25, lw@, nlab@, 
5741         pln@, rs3=\EwG\Ee)$<200>, use=wy60, 
5742 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
5743         lh@, lines#25, lw@, nlab@, 
5744         pln@, rs3=\EwG\Ee)$<200>, use=wy60-w, 
5745 #
5746 wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
5747         lines#42, 
5748         clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, 
5749         dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
5750         ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
5751         ri=\Ej$<10>, rs3=\Ee*$<150>, 
5752         use=wy60, 
5753 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
5754         cols#132, lw#7, nlab#16, wsl#97, 
5755         clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
5756         dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>, 
5757         nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, 
5758         use=wy60-42, 
5759 #
5760 wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
5761         lh@, lines#43, lw@, nlab@, 
5762         pln@, rs3=\Ee+$<150>, use=wy60-42, 
5763 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
5764         lh@, lines#43, lw@, nlab@, 
5765         pln@, rs3=\Ee+$<150>, use=wy60-42-w, 
5766 #
5767 wy60-vb|wyse60-vb|Wyse 60 visible bell, 
5768         bel@, use=wy60, 
5769 wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
5770         bel@, 
5771         use=wy60-w, 
5772
5773 #       The Wyse-99GT looks at lot like the Wyse 60 except that it
5774 #       does not have the 42/43 line mode.  In the Wyse-60 the "lines"
5775 #       setup parameter controls the number of lines on the screen.
5776 #       For the Wyse 99GT the "lines" setup parameter controls the
5777 #       number of lines in a page.  The screen can display 25 lines max.
5778 #           The Wyse-99GT also has personalities for the VT220 and
5779 #       Tektronix 4014.  But this has no bearing on the native mode.
5780 #
5781 #       (msgr) should be set but the clear screen fails when in
5782 #       alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
5783 #       then set msgr, else use msgr@.
5784 #
5785 #       u0 -> enter Tektronix mode
5786 #       u1 -> exit Tektronix mode
5787 #
5788 wy99gt|wyse99gt|Wyse 99gt, 
5789         msgr@, 
5790         clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>, 
5791         el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>, 
5792         il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@, 
5793         ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1, 
5794         u0=\E~>\E8, u1=\E[42h, 
5795         use=wy60, 
5796 #
5797 wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
5798         cols#132, lw#7, nlab#16, wsl#97, 
5799         clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
5800         dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt, 
5801 #
5802 wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
5803         lh@, lines#25, lw@, nlab@, 
5804         pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt, 
5805 #
5806 wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
5807         lh@, lines#25, lw@, nlab@, 
5808         pln@, rs2=\E`;$<150>, use=wy99gt-w, 
5809 #
5810 wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
5811         bel@, use=wy99gt, 
5812 #
5813 wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
5814         bel@, 
5815         use=wy99gt-w, 
5816
5817 # Can't set tabs! Other bugs (ANSI mode only):
5818 # - can't redefine function keys (anyway, key redefinition in ANSI mode
5819 #   is too much complex to be described);
5820 # - meta key can't be described (the terminal forgets it when reset);
5821 # The xon-xoff handshaking can't be disabled while in ansi personality, so
5822 # emacs can't work at speed greater than 9600 baud.  No padding is needed at
5823 # this speed.
5824 #   dch1 has been commented out because it causes annoying glittering when
5825 # vi deletes one character at the beginning of a line with tabs in it.
5826 #   dch makes sysgen(1M) have a horrible behaviour when deleting
5827 # a screen and makes screen(1) behave badly, so it is disabled too. The nice
5828 # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
5829 # not, so smir and rmir are commented out as well.
5830 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5831 wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard), 
5832         am, km, mc5i, mir, msgr, xenl, 
5833         cols#80, it#8, lines#25, vt#3, 
5834         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~, 
5835         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
5836         clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M, 
5837         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>, 
5838         cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED, 
5839         cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>, 
5840         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
5841         cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
5842         ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>, 
5843         enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H, 
5844         hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, 
5845         il1=\E[L, ind=\n$<1>, invis=\E[8m, 
5846         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, 
5847         kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
5848         kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
5849         kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ, 
5850         kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~, 
5851         kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~, 
5852         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h, 
5853         mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8, 
5854         rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
5855         rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m, 
5856         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, 
5857         sc=\E7, 
5858         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%;, 
5859         sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h, 
5860         smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, 
5861
5862 #   This is the american terminal. Here tabs work fine.
5863 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5864 wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard), 
5865         hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, 
5866         use=wy99-ansi, 
5867
5868 # This terminal (firmware version 02) has a lot of bugs:
5869 # - can't set tabs;
5870 # - other bugs in ANSI modes (see above).
5871 # This description disables handshaking when using cup. This is because
5872 # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
5873 # cannot be used at speeds greater than 9600 baud, because at greater
5874 # speeds handshaking is needed even for character sending. If you use
5875 # DTR handshaking, you can use even greater speeds.
5876 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5877 wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard), 
5878         am, bw, hs, km, mc5i, mir, msgr, xon, 
5879         cols#80, it#8, lines#25, wsl#46, 
5880         acsc='x+y.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G, 
5881         blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032, 
5882         cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L, 
5883         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
5884         cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r, 
5885         ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>, 
5886         flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE, 
5887         ind=^J, invis=\EG3, 
5888         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, 
5889         ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, 
5890         kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, 
5891         kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r, 
5892         kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r, 
5893         kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r, 
5894         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
5895         kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#, 
5896         nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed., 
5897         rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30, 
5898         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, 
5899         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%;, 
5900         sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30, 
5901         smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF, 
5902
5903 # This is the american terminal. Here tabs work.
5904 # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
5905 wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard), 
5906         hts=\E1, tbc=\E0, 
5907         use=wy99f, 
5908
5909 #
5910 #       The Wyse 160 is combination of the WY-60 and the WY-99gt.
5911 #       The reset strings are slow and the pad times very depending
5912 #       on other parameters such as font loading.  I have tried
5913 #       to follow the following outline:
5914 #
5915 #               <rs1> -> set personality
5916 #               <rs2> -> set number of columns
5917 #               <rs3> -> set number of lines
5918 #               <is1> -> select the proper font
5919 #               <is2> -> do the initialization
5920 #               <is3> -> set up display memory (2 pages)
5921 #
5922 #       The display memory may be used for either text or graphics.
5923 #       When "Display Memory = Shared" the terminal will have more pages
5924 #       but garbage may be left on the screen when you switch from
5925 #       graphics to text.  If "Display Memory = Unshared" then the
5926 #       text area will be only one page long.
5927 #
5928 # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
5929 # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
5930 wy160|wyse160|Wyse 160, 
5931         am, bw, hs, km, mc5i, mir, msgr, 
5932         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
5933         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
5934         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
5935         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
5936         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
5937         dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, 
5938         el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
5939         hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1, 
5940         is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
5941         is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
5942         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
5943         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
5944         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
5945         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
5946         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
5947         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
5948         mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
5949         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
5950         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
5951         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
5952         rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
5953         rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
5954         rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
5955         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, 
5956         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
5957         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
5958         tbc=\E0, tsl=\EF, 
5959         use=adm+sgr, 
5960 #
5961 wy160-w|wyse160-w|wyse 160 132-column, 
5962         cols#132, lw#7, nlab#16, wsl#90, 
5963         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
5964         rs2=\EeF$<150>\E`;$<150>, use=wy160, 
5965 #
5966 wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
5967         lh@, lines#25, lw@, nlab@, 
5968         pln@, rs3=\EwG\Ee)$<200>, use=wy160, 
5969 wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
5970         lh@, lines#25, lw@, nlab@, 
5971         pln@, rs3=\EwG\Ee)$<200>, use=wy160-w, 
5972 #
5973 wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
5974         lines#42, 
5975         clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>, 
5976         ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>, 
5977         rs3=\Ee*$<150>, 
5978         use=wy160, 
5979 wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
5980         cols#132, lw#7, nlab#16, wsl#90, 
5981         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
5982         rs2=\EeF$<150>\E`;$<150>, 
5983         use=wy160-42, 
5984 #
5985 wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
5986         lh@, lines#43, lw@, nlab@, 
5987         pln@, rs3=\Ee+$<150>, use=wy160-42, 
5988 wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
5989         lh@, lines#43, lw@, nlab@, 
5990         pln@, rs3=\Ee+$<150>, use=wy160-42-w, 
5991 #
5992 wy160-vb|wyse160-vb|Wyse 160 visible bell, 
5993         bel@, use=wy160, 
5994 wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
5995         bel@, 
5996         use=wy160-w, 
5997 #
5998 #       The Wyse 75 is a vt100 lookalike without advanced video.
5999 #
6000 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
6001 #       Underline) without magic cookies.  The following description
6002 #       uses this capability, but when more than one attribute is
6003 #       put on the screen at once, all attributes will be changed
6004 #       to be the same as the last attribute given.
6005 #          The Wyse 75 can support more attributes when used with magic
6006 #       cookies.  The wy75-mc terminal description uses magic cookies
6007 #       to correctly handle multiple attributes on a screen.
6008 #
6009 wy75|wyse75|wyse 75, 
6010         am, hs, mc5i, mir, msgr, xenl, xon, 
6011         cols#80, lines#24, ma#1, pb#1201, wsl#78, 
6012         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6013         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>, 
6014         cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>, 
6015         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
6016         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
6017         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
6018         dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
6019         dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001, 
6020         ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
6021         enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A, 
6022         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
6023         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
6024         ind=\n$<2>, ip=$<1>, 
6025         is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
6026         is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy, 
6027         kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
6028         kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM, 
6029         kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
6030         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
6031         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i, 
6032         kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M, 
6033         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6034         khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~, 
6035         kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i, 
6036         mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, 
6037         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
6038         rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l, 
6039         sc=\E7, 
6040         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%;, 
6041         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6042         smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
6043         tbc=\E[3g, tsl=\E[>\,\001, 
6044 #
6045 #       This terminal description uses the non-hidden attribute mode
6046 #       (with magic cookie).
6047 #
6048 wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
6049         msgr@, 
6050         ma@, xmc#1, 
6051         blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
6052         rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p, 
6053         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%;, 
6054         sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p, 
6055         use=wy75, 
6056 wy75-vb|wyse75-vb|wyse 75 with visible bell, 
6057         pb@, 
6058         bel@, use=wy75, 
6059 wy75-w|wyse75-w|wyse 75 in 132 column mode, 
6060         cols#132, wsl#130, 
6061         rs2=\E[35h\E[?3h$<80>, use=wy75, 
6062 wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
6063         pb@, 
6064         bel@, use=wy75-w, 
6065 #
6066 #       Wyse 85 emulating a vt220 7 bit mode.
6067 #               24 line screen with status line.
6068 #
6069 #       The vt220 mode permits more function keys but it wipes out
6070 #       the escape key.  I strongly recommend that <f11> be set to
6071 #       escape (esc).
6072 #       The terminal may have to be set for 8 data bits and 2 stop
6073 #       bits for the arrow keys to work.
6074 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
6075 #       <dch> and <ich> work best when XON/XOFF is set.  <ich> and
6076 #       <dch> leave trash on the screen when used without XON/XOFF.
6077 #
6078 wy85|wyse85|wyse 85, 
6079         am, hs, mc5i, mir, msgr, xenl, xon, 
6080         cols#80, it#8, lines#24, wsl#80, 
6081         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6082         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6083         clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
6084         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6085         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6086         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
6087         dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
6088         dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
6089         ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
6090         enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
6091         fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
6092         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
6093         ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
6094         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
6095         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
6096         kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
6097         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP, 
6098         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
6099         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
6100         kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
6101         kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
6102         kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
6103         knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, 
6104         lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
6105         ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
6106         rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p, 
6107         rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7, 
6108         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%;, 
6109         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
6110         smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6111         tsl=\E[40h\E7\E[25;%i%p1%dH, 
6112 #
6113 #       Wyse 85 with visual bell.
6114 wy85-vb|wyse85-vb|wyse 85 with visible bell, 
6115         bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85, 
6116 #
6117 #       Wyse 85 in 132-column mode.
6118 wy85-w|wyse85-w|wyse 85 in 132-column mode, 
6119         cols#132, wsl#132, 
6120         rs2=\E[35h\E[?3h$<70>, use=wy85, 
6121 #
6122 #       Wyse 85 in 132-column mode with visual bell.
6123 wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
6124         bel@, 
6125         use=wy85-w, 
6126 #
6127 #       Wyse 185 emulating a vt320 7 bit mode.
6128 #
6129 #       This terminal always displays 25 lines.  These lines may be used
6130 #       as 24 data lines and a terminal status line (top or bottom) or
6131 #       25 data lines.  The 48 and 50 line modes change the page size
6132 #       and not the number of lines on the screen.
6133 #
6134 #       The Compose Character key can be used as a meta key if changed
6135 #       by set-up.
6136 #
6137 wy185|wyse185|wyse 185, 
6138         am, hs, km, mc5i, mir, msgr, xenl, xon, 
6139         cols#80, it#8, lines#24, wsl#80, 
6140         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6141         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6142         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6143         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
6144         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6145         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6146         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>, 
6147         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
6148         dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
6149         el=\E[K, el1=\E[1K, enacs=\E)0, 
6150         flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8, 
6151         home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
6152         ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
6153         ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
6154         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
6155         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
6156         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
6157         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, 
6158         kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
6159         kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
6160         kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
6161         kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
6162         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
6163         khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
6164         kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
6165         mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>, 
6166         rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>, 
6167         rmso=\E[27m, rmul=\E[24m, 
6168         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
6169         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
6170         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%;, 
6171         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
6172         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
6173         tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
6174 #
6175 #       Wyse 185 with 24 data lines and top status (terminal status)
6176 wy185-24|wyse185-24|wyse 185 with 24 data lines, 
6177         hs@, 
6178         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185, 
6179 #
6180 #       Wyse 185 with visual bell.
6181 wy185-vb|wyse185-vb|wyse 185+flash, 
6182         bel@, use=wy185, 
6183 #
6184 #       Wyse 185 in 132-column mode.
6185 wy185-w|wyse185-w|wyse 185 in 132-column mode, 
6186         cols#132, wsl#132, 
6187         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6188         ip=$<7>, rs2=\E[35h\E[?3h, 
6189         use=wy185, 
6190 #
6191 #       Wyse 185 in 132-column mode with visual bell.
6192 wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
6193         bel@, use=wy185-w, 
6194
6195 # wy325 terminfo entries
6196 # Done by Joe H. Davis        3-9-92
6197
6198 # lines 25  columns 80
6199 #
6200 wy325|wyse325|Wyse epc, 
6201         am, bw, hs, mc5i, mir, 
6202         cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
6203         acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
6204         bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
6205         cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
6206         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
6207         dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
6208         flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
6209         il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
6210         is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
6211         is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
6212         kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
6213         kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
6214         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
6215         kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
6216         kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
6217         kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
6218         mc0=\EP, mc4=^T, mc5=\Ed#, 
6219         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
6220         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
6221         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
6222         rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
6223         rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
6224         rs3=\EwG\Ee($<100>, 
6225         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, 
6226         sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
6227         smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
6228         tsl=\EF, 
6229         use=adm+sgr, 
6230
6231 #
6232 # lines 24  columns 80  vb 
6233 #
6234 wy325-vb|wyse325-vb|wyse-325 with visual bell, 
6235         bel@, use=wy325, 
6236
6237 #
6238 # lines 24  columns 132
6239 #
6240 wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
6241         cols#132, lw#7, nlab#16, wsl#97, 
6242         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
6243         rs2=\E`;$<70>, use=wy325, 
6244 #
6245 # lines 25  columns 80
6246 #
6247 wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
6248         lh@, lines#25, lw@, nlab@, 
6249         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
6250 #
6251 # lines 25  columns 132
6252 #
6253 wy325-25w|wyse325-25w|wy325 132 columns, 
6254         lh@, lines#25, lw@, nlab@, 
6255         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6256 #
6257 # lines 25  columns 132  vb 
6258 #
6259 wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
6260         bel@, 
6261         use=wy325-w, 
6262
6263 #
6264 # lines 42  columns 80
6265 #
6266 wy325-42|wyse325-42|wyse-325 42 lines, 
6267         lh@, lines#42, lw@, nlab@, 
6268         pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
6269 #
6270 # lines 42  columns 132
6271 #
6272 wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
6273         lh@, lines#42, lw@, nlab@, 
6274         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6275 #
6276 # lines 42  columns 132  vb 
6277 #
6278 wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
6279         bel@, 
6280         use=wy325-w, 
6281 #
6282 # lines 43  columns 80
6283 #
6284 wy325-43|wyse325-43|wyse-325 43 lines, 
6285         lh@, lines#43, lw@, nlab@, 
6286         pln@, use=wy325, 
6287 #
6288 # lines 43  columns 132
6289 #
6290 wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
6291         lh@, lines#43, lw@, nlab@, 
6292         pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
6293 #
6294 # lines 43  columns 132  vb 
6295 #
6296 wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
6297         bel@, 
6298         use=wy325-w, 
6299
6300 #       Wyse 370 -- 24 line screen with status line.
6301 #
6302 #       The terminal may have to be set for 8 data bits and 2 stop
6303 #       bits for the arrow keys to work.
6304 #
6305 #       If you change keyboards the terminal will send different
6306 #       escape sequences.
6307 #       The following definition is for the basic terminal without
6308 #       function keys.
6309 #
6310 #       <u0> -> enter Tektronix 4010/4014 mode
6311 #       <u1> -> exit  Tektronix 4010/4014 mode
6312 #       <u2> -> enter ASCII mode (from any ANSI mode)
6313 #       <u3> -> exit  ASCII mode (goto native ANSI mode)
6314 #       <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
6315 #       <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
6316 #
6317 # Bug: The <op> capability resets attributes.
6318 wy370-nk|wyse 370 without function keys, 
6319         am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
6320         colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80, 
6321         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6322         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6323         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6324         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6325         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6326         cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
6327         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>, 
6328         dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
6329         dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
6330         el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
6331         flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8, 
6332         home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
6333         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
6334         ind=\n$<2>, 
6335         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, 
6336         invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
6337         is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
6338         is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
6339         mc5=\E[5i, 
6340         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, 
6341         op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
6342         rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
6343         rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
6344         rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
6345         rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw, 
6346         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%;, 
6347         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
6348         smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
6349         tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
6350         u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B, 
6351         u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd, 
6352 #
6353 #       Function key set for the ASCII (wy-50 compatible) keyboard
6354 #       This is the default 370.
6355 #
6356 wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
6357         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6358         kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i, 
6359         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
6360         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i, 
6361         kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
6362         kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
6363         knp=\E[U, kpp=\E[V, 
6364         use=wy370-nk, 
6365 #
6366 #       Function key set for the VT-320 (and wy85) compatible keyboard
6367 #
6368 wy370-105k|Wyse 370 with 105 key keyboard, 
6369         ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, 
6370         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
6371         kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
6372         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
6373         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
6374         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6375         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6376         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
6377         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
6378         use=wy370-nk, 
6379 #
6380 #       Function key set for the PC compatible keyboard
6381 #
6382 wy370-EPC|Wyse 370 with 102 key keyboard, 
6383         kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6384         kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
6385         kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
6386         kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
6387         khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, 
6388         use=wy370-nk, 
6389 #
6390 #       Wyse 370 with visual bell.
6391 wy370-vb|Wyse 370 with visible bell, 
6392         bel@, use=wy370, 
6393 #
6394 #       Wyse 370 in 132-column mode.
6395 wy370-w|Wyse 370 in 132-column mode, 
6396         cols#132, wsl#132, 
6397         rs2=\E[35h\E[?3h$<70>, use=wy370, 
6398 #
6399 #       Wyse 370 in 132-column mode with visual bell.
6400 wy370-wvb|Wyse 370 with visible bell 132-columns, 
6401         flash=\E[30h\E\,\E[30l$<300>, 
6402         use=wy370-w, 
6403 wy370-rv|Wyse 370 reverse video, 
6404         rs3=\E[32h\E[?5h, use=wy370, 
6405 #
6406 #       Wyse 99gt Tektronix 4010/4014 emulator,
6407 #
6408 wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
6409         am, os, 
6410         cols#74, lines#35, 
6411         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
6412         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, 
6413         cuu1=^K, ff=^L, 
6414         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
6415         home=^]7`x @\037, 
6416         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
6417         is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
6418 #
6419 #       Wyse 160 Tektronix 4010/4014 emulator,
6420 #
6421 wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
6422         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, 
6423         home=^]8`g @\037, 
6424         use=wy99gt-tek, 
6425 #
6426 #       Wyse 370 Tektronix 4010/4014 emulator,
6427 #
6428 wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
6429         am, os, 
6430         cols#80, lines#36, 
6431         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
6432         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, 
6433         cuu1=^K, ff=^L, 
6434         hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
6435         home=^]8g @\037, 
6436         hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
6437         is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K, 
6438         nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
6439
6440 # Vendor-supplied Wyse entries end here.
6441
6442 #
6443 #TITLE:  TERMINFO ENTRY WY520
6444 #DATE:   8/5/93
6445 # The WY520 terminfo is based on the WY285 entry published on the WYSE 
6446 # BBS with the addition of more function keys and special keys.
6447 #
6448 #               rs1 -> set personality
6449 #               rs2 -> set number of columns
6450 #               rs3 -> set number of lines
6451 #               is1 -> select the proper font
6452 #               is2 -> do the initialization
6453 #               is3 -> If this string is empty then rs3 gets sent.
6454 #
6455 #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
6456 #       - The BS key is programmed to generate BS in smcup since
6457 #         is2 doesn't seem to work.
6458 #       - Remove and shift/Remove: delete a character
6459 #       - Insert : enter insert mode
6460 #       - Find   : delete to end of file
6461 #       - Select : clear a line
6462 #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
6463 #       - F14 : Home key
6464 #       - Bottom status line (host writable line) is used.
6465 #       - smkx,rmkx are removed because this would put the numeric
6466 #         keypad in Dec application mode which doesn't seem to work
6467 #         with SCO applications.
6468 #
6469 wy520|wyse520|wyse 520, 
6470         am, hs, km, mc5i, mir, xenl, xon, 
6471         cols#80, it#8, lines#24, wsl#80, 
6472         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6473         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6474         clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
6475         csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
6476         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6477         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6478         cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>, 
6479         dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~, 
6480         ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
6481         enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
6482         hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
6483         il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
6484         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h, 
6485         is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy, 
6486         kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
6487         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~, 
6488         kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
6489         kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
6490         kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
6491         kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6492         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
6493         khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
6494         kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
6495         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
6496         ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, 
6497         rmso=\E[m, rmul=\E[24m, 
6498         rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
6499         rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
6500         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%;, 
6501         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, 
6502         smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
6503         tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`, 
6504         vpa=\E[%i%p1%dd, 
6505 #
6506 #       Wyse 520 with 24 data lines and status (terminal status)
6507 wy520-24|wyse520-24|wyse 520 with 24 data lines, 
6508         hs@, 
6509         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520, 
6510 #
6511 #       Wyse 520 with visual bell.
6512 wy520-vb|wyse520-vb|wyse 520 with visible bell, 
6513         flash=\E[30h\E\,\E[30l$<100>, use=wy520, 
6514 #
6515 #       Wyse 520 in 132-column mode.
6516 wy520-w|wyse520-w|wyse 520 in 132-column mode, 
6517         cols#132, wsl#132, 
6518         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6519         ip=$<7>, rs2=\E[35h\E[?3h, 
6520         use=wy520, 
6521 #
6522 #       Wyse 520 in 132-column mode with visual bell.
6523 wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
6524         flash=\E[30h\E\,\E[30l$<100>, 
6525         use=wy520-w, 
6526 #
6527 #
6528 #       Wyse 520 emulating a vt420 7 bit mode.
6529 #       The DEL key is programmed to generate BS in is2.
6530 #       With EPC keyboard.
6531 #       - 'End' key will clear till end of line on EPC keyboard
6532 #       - Shift/End : ignored.
6533 #       - Insert : enter insert mode.
6534 #       - Delete : delete a character (have to change interrupt character
6535 #                  to CTRL-C: stty intr '^c') for it to work since the
6536 #                  Delete key sends 7FH.
6537 wy520-epc|wyse520-epc|wyse 520 with EPC keyboard, 
6538         kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
6539         kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
6540         use=wy520, 
6541 #
6542 #       Wyse 520 with 24 data lines and status (terminal status)
6543 #       with EPC keyboard.
6544 wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines, 
6545         hs@, 
6546         dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc, 
6547 #
6548 #       Wyse 520 with visual bell.
6549 wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell, 
6550         flash=\E[30h\E\,\E[30l$<100>, 
6551         use=wy520-epc, 
6552 #
6553 #       Wyse 520 in 132-column mode.
6554 wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard, 
6555         cols#132, wsl#132, 
6556         dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
6557         ip=$<7>, rs2=\E[35h\E[?3h, 
6558         use=wy520-epc, 
6559 #
6560 #       Wyse 520 in 132-column mode with visual bell.
6561 wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns, 
6562         flash=\E[30h\E\,\E[30l$<100>, 
6563         use=wy520-epc-w, 
6564 #
6565 #       Wyse 520 in 80-column, 36 lines
6566 wy520-36|wyse520-36|wyse 520 with 36 data lines, 
6567         hs@, 
6568         lines#36, 
6569         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520, 
6570 #
6571 #       Wyse 520 in 80-column, 48 lines
6572 wy520-48|wyse520-48|wyse 520 with 48 data lines, 
6573         hs@, 
6574         lines#48, 
6575         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520, 
6576 #
6577 #       Wyse 520 in 132-column, 36 lines
6578 wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines, 
6579         cols#132, wsl#132, 
6580         rs2=\E[?3h, 
6581         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36, 
6582 #
6583 #       Wyse 520 in 132-column, 48 lines
6584 wy520-48w|wyse520-48w|wyse 520 with 48 data lines, 
6585         cols#132, wsl#132, 
6586         rs2=\E[?3h, 
6587         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48, 
6588 #
6589 #
6590 #       Wyse 520 in 80-column, 36 lines with EPC keyboard
6591 wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard, 
6592         hs@, 
6593         lines#36, 
6594         dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc, 
6595 #
6596 #       Wyse 520 in 80-column, 48 lines with EPC keyboard
6597 wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard, 
6598         hs@, 
6599         lines#48, 
6600         dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc, 
6601 #
6602 #       Wyse 520 in 132-column, 36 lines with EPC keyboard
6603 wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard, 
6604         cols#132, wsl#132, 
6605         rs2=\E[?3h, 
6606         rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc, 
6607 #
6608 #       Wyse 520 in 132-column, 48 lines with EPC keyboard
6609 wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines, 
6610         cols#132, wsl#132, 
6611         rs2=\E[?3h, 
6612         rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc, 
6613
6614 # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
6615 # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
6616 # file and we don't know what <hts> is -- esr)
6617 wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
6618         am, 
6619         cols#80, it#8, lines#24, 
6620         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
6621         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
6622         dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J, 
6623         is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, 
6624         kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O, 
6625         rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N, 
6626         smul=^N, 
6627
6628 wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
6629         is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
6630         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
6631         khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, 
6632         use=wy75, 
6633
6634 # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
6635 wy100q|Wyse 100 for Quotron, 
6636         cols#80, lines#24, xmc#1, 
6637         cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
6638         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
6639         dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
6640         is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
6641         kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, 
6642         use=adm+sgr, 
6643
6644 #### Kermit terminal emulations
6645 #
6646 # Obsolete Kermit versions may be listed in the section describing obsolete
6647 # non-ANSI terminal emulators later in the file.
6648 #
6649
6650 # KERMIT standard all versions.
6651 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
6652 # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
6653 # From: greg small <gts@populi.berkeley.edu> 9-25-84
6654 kermit|standard kermit, 
6655         cols#80, lines#24, 
6656         clear=\EE, cub1=^H, cuf1=\EC, 
6657         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
6658         el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n, 
6659         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
6660 kermit-am|standard kermit plus auto-margin, 
6661         am, 
6662         is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit, 
6663 # IBMPC Kermit 1.2.
6664 # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
6665 # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
6666 # line).
6667 # From: greg small <gts@populi.berkeley.edu> 8-30-84
6668 pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
6669         am, 
6670         lines#25, 
6671         clear=\EH\EJ, ed@, el@, 
6672         is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit, 
6673 # IBMPC Kermit 1.20
6674 # Cannot use line 25, now acts funny like ansi special scrolling region.
6675 # Initialization must escape from that region by cursor position to line 24.
6676 # Cannot use character insert because 1.20 goes crazy if insert at col 80.
6677 # Does not use :am: because autowrap is lost when kermit dropped and restarted.
6678 # From: greg small <gts@populi.berkeley.edu> 12-19-84
6679 pckermit120|UCB IBMPC Kermit 1.20, 
6680         it#8, lines#24, 
6681         cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I, 
6682         il1=\EL, 
6683         is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
6684         rmir@, rmso=\Eq, smir@, smso=\Ep, 
6685         use=kermit, 
6686 # MS-DOS Kermit 2.27 for the IBMPC
6687 # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
6688 # Cannot use line 25, now acts funny like ansi special scrolling region.
6689 # Initialization must escape from that region by cursor position to line 24.
6690 # Does not use am: because autowrap is lost when kermit dropped and restarted.
6691 # Reverse video for standout like H19.
6692 # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
6693 # From: greg small <gts@populi.berkeley.edu> 3-17-85
6694 msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
6695         am@, 
6696         cols#80, it#8, lines#24, 
6697         clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
6698         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
6699         cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK, 
6700         home=\EH, ht=^I, il1=\EL, 
6701         is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
6702         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek, 
6703         rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep, 
6704 # MS-DOS Kermit 2.27 with automatic margins
6705 # From: greg small <gts@populi.berkeley.edu> 3-17-85
6706 msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
6707         am, 
6708         cvvis=\EO\Eq\EG\EvK5, 
6709         is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227, 
6710 # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
6711 # Automatic margins now default.  Use ansi <sgr> for highlights.
6712 # Define function keys.
6713 # (msk22714: removed obsolete ":kn#10:" -- esr)
6714 # From: greg small <gts@populi.berkeley.edu> 3-17-85
6715 msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
6716         am, 
6717         bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
6718         is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
6719         kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, 
6720         kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
6721         sgr0=\E[m, smso=\E[1m, smul=\E[4m, 
6722         use=mskermit227, 
6723 # This was designed for a VT320 emulator, but it is probably a good start
6724 # at support for the VT320 itself.
6725 # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
6726 # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
6727 vt320-k3|MS-Kermit 3.00's vt320 emulation, 
6728         am, eslok, hs, km, mir, msgr, xenl, 
6729         cols#80, it#8, lines#49, pb#9600, vt#3, 
6730         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6731         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
6732         clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
6733         csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H, 
6734         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6735         cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6736         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
6737         dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
6738         flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
6739         fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
6740         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
6741         is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD, 
6742         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~, 
6743         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6744         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
6745         kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8, 
6746         rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l, 
6747         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
6748         rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E4i\E?4i\E[m\E[r\E[2$~, 
6749         sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
6750         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
6751         tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
6752 # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
6753 # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
6754 # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
6755 vt320-k311|dec vt320 series as defined by kermit 3.11, 
6756         am, eslok, hs, mir, msgr, xenl, xon, 
6757         cols#80, it#8, lines#24, vt#3, 
6758         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6759         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
6760         clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
6761         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
6762         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6763         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6764         cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
6765         dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
6766         flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH, 
6767         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED, 
6768         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
6769         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
6770         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
6771         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
6772         lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
6773         rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O, 
6774         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
6775         rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
6776         smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
6777         smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
6778
6779 ######## NON-ANSI TERMINAL EMULATIONS
6780 #
6781
6782 #### Avatar
6783 #
6784 # These entries attempt to describe Avatar, a terminal emulation used with
6785 # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
6786 # capabilities, but with cheaper (shorter) control sequences.  Messy design,
6787 # excessively dependent on PC idiosyncracies, but apparently rather popular
6788 # in the BBS world.
6789 #
6790 # No color support.  Avatar doesn't fit either of the Tektronix or HP color
6791 # models that terminfo knows about.  An Avatar color attribute is the
6792 # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
6793 #
6794 # I wrote these entries while looking at the Avatar spec.  I don't have
6795 # the facilities to test them.  Let me know if they work, or don't.
6796 #
6797 # Avatar escapes not used by these entries (because maybe you're smarter
6798 # and more motivated than I am and can figure out how to wrap terminfo
6799 # around some of them, and because they are weird enough to be funny):
6800 #                               level 0:
6801 # ^L            -- clear window/reset current attribute to default
6802 # ^V^A%p1%c     -- set current color attribute, parameter decodes as follows:
6803
6804 #      bit:         6   5   4   3   2   1   0
6805 #                   |       |   |   |       |
6806 #                   +---+---+   |   +---+---+
6807 #                       |       |       |
6808 #                       |       |  foreground color
6809 #                       |  foreground intensity
6810 #                  background color
6811 #                               level 0+:
6812 # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) up by p1 lines
6813 # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c -- scroll (p2,p3) to (p4,p5) down by p1 lines
6814 # ^V^L%p1%c%p2%c%p3%c           -- clear p2 lines and p3 cols w/attr %p1 
6815 # ^V^M%p1%c%p2%c%p3%c%p4%c      -- fill p3 lines & p4 cols w/char p2+attr %p1 
6816 # (^V^L and ^V^M set the current attribute as a side-effect.)
6817 # ^V ^Y <a> [...] <c>   -- repeat pattern. <a> specifies the number of bytes
6818 #                          in the pattern, <c> the number of times the pattern
6819 #                          should be repeated. If either value is 0, no-op.
6820 #                          The pattern can contain Avatar console codes,
6821 #                          including other ^V ^Y patterns.
6822 #                               level 1:
6823 # ^V^O          -- clockwise mode on; turn print direction right each time you
6824 #                  hit a window edge (yes, really).  Turned off by CR
6825 # ^V^P          -- no-op
6826 # ^V^Q%c        -- query the driver
6827 # ^V^R          -- driver reset
6828 # ^V^S          -- Sound tone (PC-specific)
6829 # ^V^T                  -- change highlight at current cursor poition to %c
6830 # ^V^U%p1%c%p2%c        -- highlight window <a> with attribute <b>
6831 # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
6832 #                       -- define window 
6833 #
6834 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6835 # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
6836 # tell ncurses that the corresponding highlights exist; it should use <sgr>,
6837 # which is the only method that will actually work for multiple highlights.)
6838 avatar0|avatar terminal emulator level 0, 
6839         am, bce, msgr, 
6840         cols#80, it#8, lines#25, 
6841         blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
6842         cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
6843         ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp, 
6844         rs2=^L, 
6845         sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
6846         sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, 
6847         use=klone+acs, 
6848 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6849 avatar0+|avatar terminal emulator level 0+, 
6850         dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0, 
6851 # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
6852 avatar|avatar1|avatar terminal emulator level 1, 
6853         civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
6854         rmam=^V", rmir=^V^P, smam=^V$, 
6855         use=avatar0+, 
6856
6857 #### RBcomm
6858 #
6859 # RBComm is a lean and mean terminal emulator written by the Interrupt List
6860 # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
6861 # '90s), especially in the BBS world, and still has some loyal users due to
6862 # its very small memory footprint and to a cute macro language.
6863 rbcomm|IBM PC with RBcomm and EMACS keybindings, 
6864         am, bw, mir, msgr, xenl, 
6865         cols#80, it#8, lines#25, 
6866         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
6867         clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
6868         cub1=^H, cud1=^C, cuf1=^B, 
6869         cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, 
6870         cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z, 
6871         ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K, 
6872         ind=\ED, invis=\E[8m, 
6873         is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H, 
6874         kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED, 
6875         rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=, 
6876         rmir=^], rmkx=\E>, rmso=^U, rmul=^U, 
6877         rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m, 
6878         smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T, 
6879 rbcomm-nam|IBM PC with RBcomm without autowrap, 
6880         am@, 
6881         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
6882         is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H, 
6883         kcub1=^H, kcud1=^J, nel=^M^J, 
6884         use=rbcomm, 
6885 rbcomm-w|IBM PC with RBcomm in 132 column mode, 
6886         cols#132, 
6887         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
6888         is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H, 
6889         kcub1=^H, kcud1=^J, nel=^M^J, 
6890         use=rbcomm, 
6891
6892 ######## OLDER TERMINAL TYPES
6893 #
6894 # This section is devoted to older commercial terminal brands that are now
6895 # discontinued, but known to be still in use or represented by emulations.
6896 #
6897
6898 #### AT&T (att, tty)
6899 #
6900 # This section also includes Teletype-branded VDTs.
6901 #
6902 # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
6903 # Boundless Technologies); for details, see the header comment on the ADDS
6904 # section.
6905 #
6906 # These are AT&T's official terminfo entries.  All-caps aliases have been
6907 # removed.
6908 #
6909 att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
6910         am, eo, mir, msgr, xon, 
6911         cols#80, it#8, lines#24, 
6912         bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
6913         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
6914         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
6915         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
6916         el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
6917         il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
6918         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
6919         kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
6920         kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
6921         kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r, 
6922         kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H, 
6923         kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
6924         rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
6925         smso=\E[7m, 
6926 att2350|AT&T 2350 Video Information Terminal 80 column mode, 
6927         mc0@, mc4@, mc5@, 
6928         use=att2300, 
6929
6930 # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
6931 # Seems upward compatible with vt100, plus ins/del line/char.
6932 # On sgr, the protection parameter is ignored.
6933 # No check is made to make sure that only 3 parameters are output.
6934 #       standout= reverse + half-intensity = 3 | 5.
6935 #       bold= reverse + underline = 2 | 3.
6936 # note that half-bright blinking doesn't look different from normal blinking.
6937 # NOTE:you must program the function keys first, label second!
6938 # (att4410: a BSD entry has been seen with the following capabilities: 
6939 # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
6940 # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
6941 att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
6942         am, hs, mir, msgr, xon, 
6943         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
6944         acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6945         bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
6946         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
6947         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
6948         dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I, 
6949         ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
6950         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, 
6951         kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
6952         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
6953         kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, 
6954         ll=\E[24H, nel=^M^J, 
6955         pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
6956         pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
6957         rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
6958         sc=\E7, 
6959         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%;, 
6960         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
6961         tsl=\E7\E[25;%p1%{1}%+%dH, 
6962
6963 att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
6964         cols#132, wsl#132, 
6965         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1, 
6966
6967 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
6968         pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, 
6969         use=att5410v1, 
6970
6971 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
6972         cols#132, wsl#132, 
6973         is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410, 
6974
6975 # 5410 in terms of a vt100
6976 # (v5410: added <rmam>/<smam> based on init string -- esr)
6977 v5410|att5410 in terms of a vt100, 
6978         am, mir, msgr, xon, 
6979         cols#80, it#8, lines#24, vt#3, 
6980         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
6981         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
6982         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
6983         cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
6984         cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P, 
6985         dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
6986         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@, 
6987         il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
6988         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
6989         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
6990         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
6991         kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
6992         rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
6993         rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
6994         sc=\E7, 
6995         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
6996         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
6997         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
6998
6999
7000 # Teletype Model 5420 -- A souped up 5410, with multiple windows,
7001 # even! the 5420 has three modes: scroll, window or page mode
7002 # this terminfo should work in scroll or window mode, but doesn't
7003 # take advantage of any of the differences between them.
7004 #
7005 # Has memory below (2 lines!)
7006 # 3 pages of memory (plus some spare)
7007 # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
7008 # <hpa>, <hts> would work for these, but these work in both scroll and window
7009 # mode... Unset insert character so insert mode works
7010 # <is1> sets 80 column mode,
7011 # <is2> escape sequence:
7012 # 1) turn off all fonts
7013 # 2) function keys off, keyboard lock off, control display off,
7014 #    insert mode off, erasure mode off,
7015 # 3) full duplex, monitor mode off, send graphics off, nl on lf off
7016 # 4) reset origin mode
7017 # 5) set line wraparound
7018 # 6) exit erasure mode, positional attribute mode, and erasure extent mode
7019 # 7) clear margins
7020 # 8) program ENTER to transmit ^J,
7021 # We use \212 to program the ^J because a bare ^J will get translated by
7022 # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
7023 #     1      2            3              4     5     6    7  8
7024 # <is3> set screen color to black,
7025 # No representation in terminfo for the delete word key: kdw1=\Ed
7026 # Key capabilities assume the power-up send sequence...
7027 # This <rmcup> is not strictly necessary, but it helps maximize 
7028 # memory usefulness: <rmcup=\Ez>,
7029 # Alternate sgr0:       <sgr0=\E[m\EW^O>,
7030 # 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%;>,
7031 # smkx programs the SYS PF keys to send a set sequence.
7032 # It also sets up labels f1, f2, ..., f8, and sends edit keys.
7033 # This string causes them to send the strings <kf1>-<kf8>
7034 # when pressed in SYS PF mode.
7035 # (att4415: I added <rmam>/<smam> based on the init string -- esr)
7036 att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
7037         db, mir, xon, 
7038         lh#2, lm#78, lw#8, nlab#8, wsl#55, 
7039         cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD, 
7040         cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx, 
7041         cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP, 
7042         dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD, 
7043         flash=\E[?5h$<200>\E[?5l, home=\E[x, 
7044         hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@, 
7045         il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>, 
7046         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, 
7047         is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, 
7048         kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd, 
7049         kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
7050         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
7051         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
7052         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, 
7053         mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
7054         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
7055         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 
7056         rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
7057         rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
7058         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%;, 
7059         sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
7060         smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
7061         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
7062         use=att4410, 
7063
7064 att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
7065         cols#132, lm#54, wsl#97, 
7066         is1=\E[?3h$<100>, use=att4415, 
7067
7068 att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
7069         flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, 
7070         use=att4415, 
7071
7072 att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
7073         cols#132, lm#54, wsl#97, 
7074         flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, use=att4415, 
7075
7076 # Note that this mode permits programming USER PF KEYS and labels
7077 # However, when you program user pf labels you have to reselect
7078 # user pf keys to make them appear! 
7079 att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
7080         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7081         pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
7082         pln=\E[%p1%d;0;0;1q%p2%:-16.16s, 
7083
7084 att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
7085         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7086         use=att4415+nl, use=att4415, 
7087
7088 att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
7089         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7090         use=att4415+nl, use=att4415-rv, 
7091
7092 att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
7093         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7094         use=att4415+nl, use=att4415-w, 
7095
7096 att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
7097         kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
7098         use=att4415+nl, use=att4415-w-rv, 
7099
7100 att5420_2|AT&T 5420 model 2 80 cols, 
7101         am, db, hs, mir, msgr, xon, 
7102         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
7103         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7104         blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j, 
7105         cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7106         cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C, 
7107         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j, 
7108         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
7109         dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
7110         el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
7111         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7112         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
7113         invis=\E[8m, 
7114         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, 
7115         kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
7116         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
7117         kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, 
7118         kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
7119         kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
7120         kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
7121         lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, 
7122         mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
7123         pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
7124         pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8, 
7125         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j, 
7126         rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
7127         sc=\E7, 
7128         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%;, 
7129         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
7130         smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
7131         tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
7132 att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
7133         cols#132, 
7134         is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, use=att5420_2, 
7135
7136 att4418|att5418|AT&T 5418 80 cols, 
7137         am, xon, 
7138         cols#80, lines#24, 
7139         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7140         bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
7141         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
7142         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
7143         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
7144         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
7145         ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
7146         is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@, 
7147         kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h, 
7148         kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I, 
7149         kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
7150         kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j, 
7151         kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8, 
7152         rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7, 
7153         sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
7154 att4418-w|att5418-w|AT&T 5418 132 cols, 
7155         cols#132, 
7156         is1=\E[?3h, use=att5418, 
7157
7158 att4420|tty4420|teletype 4420, 
7159         da, db, eo, msgr, ul, xon, 
7160         cols#80, lines#24, lm#72, 
7161         bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC, 
7162         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
7163         dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s, 
7164         kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
7165         kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH, 
7166         kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
7167         lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~, 
7168         rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
7169
7170 #  The following is a terminfo entry for the Teletype 4424
7171 #  asynchronous keyboard-display terminal.  It supports
7172 #  the vi editor.  The terminal must be set up as follows,
7173 #       
7174 #       HIGHLIGHT DEFINITION    3-TONE
7175 #       DISPLAY FUNCTION        GROUP III
7176 #       
7177 #  The second entry below provides limited (a la adm3a)
7178 #  operation under GROUP II.
7179 #       
7180 #  This must be used with DISPLAY FUNCTION GROUP I or III
7181 #       and HIGHLIGHT DEFINITION 3-TONE
7182 # The terminal has either bold or blink, depending on options
7183 #
7184 # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
7185 att4424|tty4424|teletype 4424, 
7186         am, xon, 
7187         cols#80, lines#24, 
7188         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7189         bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M, 
7190         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7191         cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC, 
7192         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA, 
7193         dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM, 
7194         ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7195         ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h, 
7196         kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7197         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
7198         khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, 
7199         rmul=\EZ, 
7200         sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
7201         sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\, 
7202         tbc=\EF, 
7203
7204 att4424-1|tty4424-1|teletype 4424 in display function group I, 
7205         kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@, 
7206         use=att4424, 
7207
7208 # This entry is not one of AT&T's official ones, it was translated from the
7209 # 4.4BSD termcap file.  The highlight strings are different from att4424.
7210 # I have no idea why this is -- older firmware version, maybe?
7211 # The following two lines are the comment originally attached to the entry:
7212 # This entry appears to avoid the top line - I have no idea why.
7213 # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
7214 att4424m|tty4424m|teletype 4424M, 
7215         am, da, db, mir, 
7216         cols#80, it#8, lines#23, 
7217         bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
7218         cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP, 
7219         dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>, 
7220         is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
7221         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
7222         kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m, 
7223         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
7224
7225 # The Teletype 5425 is really version 2 of the Teletype 5420. It 
7226 # is quite similar, except for some minor differences. No page 
7227 # mode, for example, so all of the <cup> sequences used above have 
7228 # to change back to what's being used for the 5410. Many of the 
7229 # option settings have changed their numbering as well.
7230
7231 # This has been tested on a preliminary model.
7232 #
7233 # (att5425: added <rmam>/<smam> based on the init string -- esr)
7234 att5425|tty5425|att4425|AT&T 4425/5425, 
7235         am, da, db, hs, mir, msgr, xenl, xon, 
7236         cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
7237         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7238         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7239         clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
7240         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7241         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7242         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7243         cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7244         dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, 
7245         el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
7246         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
7247         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7248         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
7249         invis=\E[8m, is1=\E<\E[?3l$<100>, 
7250         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, 
7251         is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
7252         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7253         kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, 
7254         kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
7255         kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T, 
7256         kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
7257         nel=^M^J, 
7258         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7259         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8, 
7260         rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 
7261         rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, 
7262         rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
7263         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%;, 
7264         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7265         smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 
7266         smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 
7267         vpa=\E[%p1%{1}%+%dd, 
7268
7269 att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
7270         smkx=\E[21;1j\E[25;4j\Eent, 
7271         use=att4425, 
7272
7273 att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
7274         cols#132, lm#54, wsl#97, 
7275         is1=\E[?3h$<100>, use=tty5425, 
7276
7277 # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
7278 # I also added <rmam>/<smam> -- esr)
7279 att4426|tty4426|teletype 4426S, 
7280         am, da, db, xon, 
7281         cols#80, lines#24, lm#48, 
7282         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7283         bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, 
7284         cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
7285         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7286         cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
7287         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H, 
7288         hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^, 
7289         il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS, 
7290         is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, 
7291         kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
7292         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
7293         kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
7294         nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT, 
7295         rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
7296         rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0, 
7297         smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g, 
7298         vpa=\E[%p1%dd, 
7299
7300 # Terminfo entry for the AT&T 510 A Personal Terminal
7301 # Function keys 9 - 16 are available only after the 
7302 # screen labeled (soft keys/action blocks) are labeled.  Function key
7303 # 9 corresponds to the leftmost touch target on the screen,
7304 # function key 16 corresponds to the rightmost.
7305 #
7306 # This entry is based on one done by Ernie Rice at Summit, NJ and
7307 # changed by Anne Gallup, Skokie, IL, ttrdc!anne
7308 att510a|bct510a|AT&T 510A Personal Terminal, 
7309         am, mir, msgr, xenl, xon, 
7310         cols#80, lh#2, lines#24, lw#7, nlab#8, 
7311         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7312         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7313         civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
7314         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
7315         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7316         cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, 
7317         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
7318         el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I, 
7319         hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l, 
7320         is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
7321         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, 
7322         kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, 
7323         kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, 
7324         kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
7325         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
7326         pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
7327         rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7, 
7328         sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
7329         sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
7330         smul=\E[4m, tbc=\E[3g, 
7331
7332 # Terminfo entry for the AT&T 510 D Personal Terminal
7333 # Function keys 9 through 16 are accessed by bringing up the
7334 # system blocks.
7335 # Function key 9 corresponds to the leftmost touch target on the screen,
7336 # function key 16 corresponds to the rightmost.
7337 #
7338 # There are problems with soft key labeling.  These are due to 
7339 # strangenesses in the native terminal that are impossible to
7340 # describe in a terminfo.  
7341 att510d|bct510d|AT&T 510D Personal Terminal, 
7342         am, da, db, mir, msgr, xenl, xon, 
7343         cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
7344         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7345         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7346         clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
7347         cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
7348         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
7349         cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
7350         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
7351         el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, 
7352         hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7353         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
7354         invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
7355         kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
7356         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd, 
7357         kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi, 
7358         kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
7359         kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, 
7360         mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE, 
7361         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
7362         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
7363         rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, 
7364         rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, 
7365         rs2=\E[5;0|, sc=\E7, 
7366         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%;, 
7367         sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, 
7368         smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m, 
7369         smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
7370
7371 # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
7372 att500|att513|AT&T 513 using page mode, 
7373         am, chts, mir, msgr, xenl, xon, 
7374         cols#80, lh#2, lines#24, lw#8, nlab#8, 
7375         acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
7376         bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
7377         clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
7378         csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7379         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
7380         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7381         cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m, 
7382         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7383         enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
7384         hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
7385         indn=\E[%p1%dE, invis=\E[8m, 
7386         is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
7387         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7388         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7389         kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, 
7390         kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
7391         kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY, 
7392         kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw, 
7393         kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, 
7394         kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7395         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent, 
7396         kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
7397         kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, 
7398         khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
7399         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
7400         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
7401         kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB, 
7402         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
7403         mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i, 
7404         nel=\EE, 
7405         pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
7406         pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
7407         pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
7408         pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
7409         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
7410         rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
7411         rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
7412         rmul=\E[m, 
7413         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, 
7414         rs2=\E[5;0|, sc=\E7, 
7415         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%;, 
7416         sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
7417         smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
7418         smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
7419
7420 # 01-07-88
7421 # printer must be set to EMUL ANSI to accept ESC codes
7422 # <cuu1> stops at top margin
7423 # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
7424 #       and alt font ascii,wrap on,tabs cleared
7425 # <is2> disables newline on LF,Emphasized off
7426 # The <u0> capability sets form length
7427 att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
7428         xhpa, xvpa, 
7429         bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10, 
7430         orhi#100, orl#12, orvi#72, 
7431         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%;, 
7432         cr=^M, 
7433         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%;, 
7434         cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM, 
7435         ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r, 
7436         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%;, 
7437         rshm=\E[m, 
7438         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(}%;, 
7439         smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
7440         smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m, 
7441         u0=\E[%p1%dt, vpa=\E[%p1%dd, 
7442
7443 # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
7444 # The following SET-UP modes are assumed for normal operation:
7445 #       CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
7446 # Other SET-UP modes may be set for operator convenience or communication
7447 # requirements.  This termcap description is for the Resident Terminal Mode.
7448 # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7449 # The BRL entry also said: UNSAFE :ll=\E[70H:
7450 att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs, 
7451         am, xon, 
7452         cols#88, it#8, lines#70, vt#3, 
7453         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
7454         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
7455         dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
7456         home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
7457         il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, 
7458         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
7459         kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT, 
7460         rs1=\Ec, sc=\E7, 
7461
7462 # 5620 terminfo  (2.0 or later ROMS with char attributes)
7463 # The following SET-UP modes are assumed for normal operation:
7464 #       DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
7465 # Other SET-UP modes may be set for operator convenience or communication
7466 # requirements.  This termcap description is for Resident Terminal Mode.  No
7467 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7468 # assumptions: <ind> (scroll forward one line) is only done at screen bottom
7469 # Be aware that older versions of the dmd have a firmware bug that affects
7470 # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
7471 # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
7472 # also has <ll>=\E[70H commented out and marked unsafe.
7473 # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
7474 att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
7475         am, msgr, npc, xon, 
7476         cols#88, it#8, lines#70, 
7477         bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
7478         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
7479         dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
7480         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
7481         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
7482         indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
7483         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J, 
7484         pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T, 
7485         rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7, 
7486         sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
7487 att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
7488         lines#24, use=att5620, 
7489 att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
7490         lines#34, use=att5620, 
7491 # 5620 layer running the "S" system's downloaded graphics handler:
7492 att5620-s|tty5620-s|layer|vitty|5620 S layer, 
7493         am, 
7494         cols#80, it#8, lines#72, 
7495         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
7496         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED, 
7497         el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J, 
7498         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
7499         kll=\E[70;1H, 
7500
7501 # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
7502 #
7503 # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
7504 # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
7505 att605|AT&T 605 80 column 102key keyboard, 
7506         am, eo, xon, 
7507         cols#80, lines#24, lw#8, nlab#8, wsl#80, 
7508         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7509         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
7510         cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
7511         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
7512         dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
7513         el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
7514         il1=\E[L, ind=^J, invis=\E[8m, 
7515         is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017, 
7516         kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
7517         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7518         kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
7519         kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, 
7520         kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
7521         kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, 
7522         kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
7523         kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, 
7524         kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
7525         kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, 
7526         kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, 
7527         kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
7528         kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, 
7529         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7530         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7531         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7532         rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
7533         rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016, 
7534         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
7535         tsl=\E7\E[25;%i%p1%dx, 
7536 att605-pc|ATT 605 in pc term mode, 
7537         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
7538         cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
7539         dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z, 
7540         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
7541         kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, 
7542         kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
7543         kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I, 
7544         rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g, 
7545         xonc=e, 
7546         use=att605, 
7547 att605-w|AT&T 605-w 132 column 102 key keyboard, 
7548         cols#132, wsl#132, 
7549         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605, 
7550 # (att610: I added <rmam>/<smam> based on the init string.  I also
7551 # added <indn> and <rin> because the BSD file says the att615s have them,
7552 # and the 615 is like a 610 with a big keyboard, and most of their other
7553 # smart terminals support the same sequence -- esr)
7554 att610|AT&T 610; 80 column; 98key keyboard, 
7555         am, eslok, hs, mir, msgr, xenl, xon, 
7556         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7557         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7558         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7559         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7560         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7561         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7562         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7563         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7564         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7565         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
7566         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
7567         indn=\E[%p1%dS, invis=\E[8m, 
7568         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
7569         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
7570         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7571         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7572         kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
7573         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7574         kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, 
7575         nel=\EE, 
7576         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7577         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7578         ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
7579         rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
7580         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%;, 
7581         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7582         smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx, 
7583 att610-w|AT&T 610; 132 column; 98key keyboard, 
7584         cols#132, wsl#132, 
7585         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610, 
7586
7587 att610-103k|AT&T 610; 80 column; 103key keyboard, 
7588         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7589         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7590         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
7591         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
7592         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
7593         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
7594         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
7595         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
7596         khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl, 
7597         knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
7598         kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq, 
7599         krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
7600         kslt=\ENI, kspd=\EOp, kund=\EOs, 
7601         use=att610, 
7602 att610-103k-w|AT&T 610; 132 column; 103key keyboard, 
7603         cols#132, wsl#132, 
7604         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k, 
7605 att615|AT&T 615; 80 column; 98key keyboard, 
7606         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7607         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
7608         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
7609         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
7610         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
7611         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
7612         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
7613         use=att610, 
7614 att615-w|AT&T 615; 132 column; 98key keyboard, 
7615         kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7616         kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
7617         kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
7618         kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
7619         kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
7620         kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
7621         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
7622         use=att610-w, 
7623 att615-103k|AT&T 615; 80 column; 103key keyboard, 
7624         kLFT=\E[ A, kRIT=\E[ @, 
7625         use=att610-103k, 
7626 att615-103k-w|AT&T 615; 132 column; 103key keyboard, 
7627         kLFT=\E[ A, kRIT=\E[ @, 
7628         use=att610-103k-w, 
7629 # (att620: I added <rmam>/<smam> based on the init string and
7630 # <rin>/<indn> from a BSD termcap -- esr)
7631 att620|AT&T 620; 80 column; 98key keyboard, 
7632         am, eslok, hs, mir, msgr, xenl, xon, 
7633         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7634         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7635         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7636         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7637         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7638         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7639         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7640         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7641         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7642         flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
7643         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
7644         indn=\E[%p1%dS, invis=\E[8m, 
7645         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
7646         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
7647         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7648         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7649         kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
7650         kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, 
7651         kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
7652         kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, 
7653         kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
7654         kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, 
7655         kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
7656         kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
7657         kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
7658         mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7659         pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
7660         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
7661         ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 
7662         rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
7663         rs2=\Ec\E[?3l, sc=\E7, 
7664         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%;, 
7665         sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
7666         smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
7667         tsl=\E7\E[25;%i%p1%dx, 
7668 att620-w|AT&T 620; 132 column; 98key keyboard, 
7669         cols#132, wsl#132, 
7670         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620, 
7671 att620-103k|AT&T 620; 80 column; 103key keyboard, 
7672         kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
7673         kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
7674         kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
7675         kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
7676         kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
7677         kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
7678         kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
7679         kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
7680         kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@, 
7681         kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, 
7682         kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@, 
7683         kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
7684         kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
7685         kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
7686         kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, 
7687         ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, 
7688         use=att620, 
7689
7690 att620-103k-w|AT&T 620; 132 column; 103key keyboard, 
7691         cols#132, wsl#132, 
7692         is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k, 
7693
7694 # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
7695 # The following SETUP modes are assumed for normal operation:
7696 #       Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
7697 #       Font_Size=Large         Non-Layers_Window_Cols=80
7698 #                               Non-Layers_Window_Rows=60
7699 # Other SETUP modes may be set for operator convenience or communication
7700 # requirements.  Some capabilities assume a printer attached to the Aux EIA
7701 # port.  This termcap description is for the Fixed Non-Layers Window.  No
7702 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
7703 # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
7704 att630|AT&T 630 windowing terminal, 
7705         am, da, db, mir, msgr, npc, xon, 
7706         cols#80, it#8, lines#60, lm#0, 
7707         bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
7708         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
7709         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
7710         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
7711         dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
7712         el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
7713         il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
7714         kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
7715         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M, 
7716         kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, 
7717         kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
7718         kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
7719         kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i, 
7720         mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
7721         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
7722         rmul=\E[m, rs2=\Ec, sc=\E7, 
7723         sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
7724         sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
7725 att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
7726         lines#24, use=att630, 
7727
7728 # This is the att700 entry for 700 native emulation of the AT&T 700
7729 # terminal.  Comments are relative to changes from the 605V2 entry and
7730 # att730 on which the entry is based.  Comments show the terminfo
7731 # capability name, termcap name, and description.
7732 #
7733 # Here is what's going onm in the init string:
7734 #       ESC [ 50;4|     set 700 native mode (really is 605)
7735 # x     ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
7736 #       ESC [ 53;0|     set GenFlow to Xon/Xoff
7737 #       ESC [ 8 ;0|     set CR on NL 
7738 # x     ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
7739 #       ESC [ ? 4 l     jump scroll 
7740 #       ESC [ ? 5 l/h   video: normal (l); reverse (h)
7741 #       ESC [ ?13 l     Labels on
7742 #       ESC [ ?15 l     parity check = no
7743 #       ESC [ 13 l      monitor mode off
7744 #       ESC [ 20 l      LF on NL (not CRLF on NL)
7745 #       ESC [ ? 7 h     autowrap on
7746 #       ESC [ 12 h      local echo off
7747 #       ESC ( B         GO = ASCII
7748 #       ESC ) 0         G1 = Special Char & Line Drawing
7749 #       ESC [ ? 31 l    Set 7 bit controls
7750 #
7751 # Note: Most terminals, especially the 600 family use Reverse Video for
7752 # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
7753 # Assume we should stay with reverse video for 70..  However, the 605V2 exits
7754 # standout mode with \E[m (all normal attributes).  The 730 entry simply
7755 # exits reverse video which would leave other current attributes intact.  It
7756 # was assumed the 730 entry to be more correct so rmso has changed.  The
7757 # 605V2 has no sequences to turn individual attributes off, thus its setting
7758 # and the rmso/smso settings from the 730.
7759 #
7760 # Note: For the same reason as above in rmso I changed exit under-score mode
7761 # to specifically turn off underscore, rather than return to all normal 
7762 # attributes
7763 #
7764 # Note: The following pkey_xmit is taken from the 605V2 which contained the
7765 # capability as pfxl.  It was changed here to pfx since pfxl
7766 # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
7767 # allows strings to be parameters and label values must be programmed as
7768 # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
7769 # and strings to be parameters.  The 605V2 pfx entry should be examined later
7770 # in this regard. For reference the 730 pfxl entry is shown here for comparison
7771 # 730 pfx entry:
7772 #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
7773 # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
7774 #
7775 # (for 4.0 tic)
7776 #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
7777 #
7778 # (for <4.0 tic)
7779 #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
7780 #
7781 # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
7782 #
7783 # Port1 Interface
7784 #
7785 # modular 10 pin Connector
7786 # Left side       Right side
7787 # Pin 1 2 3 4 5 6 7 8 9 10
7788 #
7789 #        Key (notch) at bottom
7790 #
7791 # Pin    1 DSR
7792 #        3 DCD
7793 #        4 DTR
7794 #        5 Sig Ground
7795 #        6 RD
7796 #        7 SD
7797 #        8 CTS
7798 #        9 RTS
7799 #        10 Frame Ground
7800 #
7801 # The manual is 189 pages and is loaded with details about the escape codes,
7802 # etc..... Available from AT&T CIC 800-432-6600...
7803 # ask for Document number 999-300-660..
7804 #
7805 att700|AT&T 700 24x80 column display w/102key keyboard, 
7806         am, eslok, hs, mir, msgr, xenl, xon, 
7807         cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
7808         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7809         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7810         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7811         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7812         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7813         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7814         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7815         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7816         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4, 
7817         fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
7818         il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m, 
7819         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, 
7820         is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, 
7821         kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
7822         kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, 
7823         kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, 
7824         kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, 
7825         kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
7826         kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq, 
7827         kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu, 
7828         kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu, 
7829         kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
7830         kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, 
7831         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7832         kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H, 
7833         mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7834         pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s, 
7835         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
7836         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
7837         rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m, 
7838         rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7, 
7839         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%;, 
7840         sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m, 
7841         smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g, 
7842         tsl=\E7\E[99;%i%p1%dx, 
7843
7844 # This entry was modified 3/13/90 by JWE.
7845 # fixes include additions of <enacs>, correcting <rep>, and modification
7846 # of <kHOM>.  (See comments below)
7847 # att730 has status line of 80 chars
7848 # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
7849 # the <kf25> and up keys are used for shifted system Fkeys
7850 # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
7851 # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
7852 # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
7853 # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
7854 # 102, 102+1, or 122 key keyboards
7855 #       kHOM=\E[2J,
7856 # (att730: I added <rmam>/<smam> based on the init string -- esr)
7857 att730|AT&T 730 windowing terminal, 
7858         am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
7859         cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80, 
7860         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
7861         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
7862         clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
7863         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
7864         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
7865         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
7866         cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
7867         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
7868         enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
7869         home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
7870         ind=\ED, invis=\E[8m, 
7871         is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
7872         is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
7873         kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
7874         kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
7875         kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
7876         kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{, 
7877         kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD, 
7878         kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH, 
7879         kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
7880         kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf, 
7881         kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ, 
7882         kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg, 
7883         kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
7884         kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
7885         mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
7886         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, 
7887         pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s, 
7888         pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
7889         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
7890         rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m, 
7891         rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, 
7892         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%;, 
7893         sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
7894         smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h, 
7895         swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
7896 att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
7897         lines#41, use=att730, 
7898 att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
7899         lines#24, use=att730, 
7900 att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
7901         flash=\E[?5l$<200>\E[?5h, 
7902         is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730, 
7903 att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
7904         lines#41, use=att730r, 
7905 att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
7906         lines#24, use=att730r, 
7907
7908 # The following represents the screen layout along with the associated
7909 # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
7910 # not appear on the screen but are shown to reference the bezel buttons.
7911 # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
7912 # position relative to the screen.
7913 #
7914 #
7915 #
7916 #      +----------------------------------------------------------------+
7917 #      |                                                                |
7918 # XXXX | kf0                                                       kf24 | XXXX
7919 #      |                                                                |
7920 #      |                                                                |
7921 # XXXX | kf1                                                       kf23 | XXXX
7922 #      |                                                                |
7923 #      |                                                                |
7924 # XXXX | kf2                                                       kf22 | XXXX
7925 #      |                                                                |
7926 #      |                                                                |
7927 # XXXX | kf3                                                       kf21 | XXXX
7928 #      |                                                                |
7929 #      |                                                                |
7930 # XXXX | kf4                                                       kf20 | XXXX
7931 #      |                                                                |
7932 #      |                                                                |
7933 # XXXX | kf5                                                       kf19 | XXXX
7934 #      |                                                                |
7935 #      |                                                                |
7936 # XXXX | kf6                                                       kf18 | XXXX
7937 #      |                                                                |
7938 #      |                                                                |
7939 # XXXX |                                                                | XXXX
7940 #      |                                                                |
7941 #      |                                                                |
7942 #      +----------------------------------------------------------------+
7943 #
7944 #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
7945 #
7946 # Note: XXXX represents the screen buttons
7947 #                                                          CMD   REDRAW
7948 #
7949 #                                                          MAIL
7950 #
7951 # version 1 note: 
7952 #       The character string sent by key 'kf26' may be user programmable
7953 #       to send either \E[16s, or \E[26s.
7954 #       The character string sent by key 'krfr' may be user programmable
7955 #       to send either \E[17s, or \E[27s.
7956 #
7957 # Depression of the "CMD" key sends    \E!    (kcmd)
7958 # Depression of the "MAIL" key sends   \E[26s (kf26)
7959 # "REDRAW" same as "REFRESH" (krfr)
7960 #
7961 # "kf" functions adds carriage return to output string if terminal is in
7962 # 'new line' mode.
7963 #
7964 # The following are functions not covered in the table above:
7965 #
7966 #       Set keyboard character (SKC): \EPn1;Pn2w
7967 #                       Pn1= 0 Back Space key
7968 #                       Pn1= 1 Break key
7969 #                       Pn2=   Program char (hex)
7970 #
7971 #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
7972 #                       Pn1=     Window number (1-39)
7973 #                       Pn2-Pn5= Y;X;Y;X coordinates
7974 #
7975 #       Screen Selection (SSL): \E[Pnu
7976 #                       Pn= Window number
7977 #
7978 #       Set Terminal Modes (SM): \E[Pnh
7979 #                       Pn= 3 Graphics mode
7980 #                       Pn= > Cursor blink
7981 #                       Pn= < Enter new line mode
7982 #                       Pn= = Enter reverse insert/replace mode
7983 #                       Pn= ? Enter no scroll mode
7984 #
7985 #       Reset Terminal Mode (RM): \E[Pnl
7986 #                       Pn= 3 Exit graphics mode
7987 #                       Pn= > Exit cursor blink
7988 #                       Pn= < Exit new line mode
7989 #                       Pn= = Exit reverse insert/replace mode
7990 #                       Pn= ? Exit no scroll mode
7991 #
7992 #       Screen Status Report (SSR): \E[Pnp
7993 #                       Pn= 0 Request current window number
7994 #                       Pn= 1 Request current window dimensions
7995 #
7996 #       Device Status Report (DSR): \E[6n    Request cursor position
7997 #
7998 #       Call Status Report (CSR): \E[Pnv
7999 #                       Pn= 0 Call failed
8000 #                       Pn= 1 Call successful
8001 #
8002 #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
8003 #                       Pn1= Button number to be loaded
8004 #                       Pn2= Character count of "string"
8005 #                       Pn3= Key mode being loaded:
8006 #                               0= Unshifted
8007 #                               1= Shifted
8008 #                               2= Control
8009 #                       String= Text string (15 chars max)
8010 #
8011 #       Screen Number Report (SNR): \E[Pnp
8012 #                       Pn= Screen number
8013 #
8014 #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
8015 #                       Pn1= Number of rows available in window
8016 #                       Pn2= Number of columns available in window
8017 #
8018 #       Cursor Position Report (CPR): \E[Pn1;Pn2R
8019 #                       Pn1= "Y" Position of cursor
8020 #                       Pn2= "X" Position of cursor
8021 #
8022 #       Request Answer Back (RAB): \E[c
8023 #
8024 #       Answer Back Response (ABR): \E[?;*;30;VSV
8025 #                       *=  0 No printer available
8026 #                       *=  2 Printer available
8027 #                       V=  Software version number
8028 #                       SV= Software sub version number
8029 #       (printer-available field not documented in v1)
8030 #
8031 #       Screen Alignment Aid: \En
8032 #
8033 #       Bell (lower pitch): \E[x
8034 #
8035 #       Dial Phone Number: \EPdstring\
8036 #                       string= Phone number to be dialed
8037 #
8038 #       Set Phone Labels: \EPpstring\
8039 #                       string= Label for phone buttons
8040 #
8041 #       Set Clock: \EPchour;minute;second\
8042 #
8043 #       Position Clock: \EPsY;X\
8044 #                       Y= "Y" coordinate
8045 #                       X= "X" coordinate
8046 #
8047 #       Delete Clock: \Epr\
8048 #
8049 #       Programming The Function Buttons: \EPfPn;string\
8050 #                       Pn= Button number (00-06, 18-24)
8051 #                                         (kf00-kf06, kf18-kf24)
8052 #                       string= Text to sent on button depression
8053 #
8054 # The following in version 2 only:
8055 #
8056 #       Request For Local Directory Data: \EPp12;\
8057 #
8058 #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
8059 #
8060 #       Request for Local Directory Data in print format: \EPp13;\
8061 #
8062 #       Enable 'Prt on Line' mode: \022 (DC2)
8063 #
8064 #       Disable 'Prt on Line' mode: \024 (DC4)
8065 #
8066
8067 # 05-Aug-86:
8068 # The following Terminfo entry describes functions which are supported by
8069 # the AT&T 5430/pt505 terminal software version 2 and later.
8070 att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
8071         am, xon, 
8072         cols#80, it#8, lines#24, 
8073         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
8074         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
8075         cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
8076         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8077         cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8078         cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
8079         dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E2K, home=\E[H, ht=^I, 
8080         il=\E[%p1%dL, il1=\E[L, ind=^J, 
8081         is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
8082         kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
8083         kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s, 
8084         kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s, 
8085         kf22=\E[22s, kf23=\E[23s, kf24=\E24s, kf26=\E26s, 
8086         kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s, 
8087         krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
8088         rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m, 
8089         rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m, 
8090         smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m, 
8091
8092 # The following Terminfo entry describes functions which are supported by
8093 # the AT&T 5430/pt505 terminal software version 1.
8094 att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
8095         lines#24, 
8096         mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505, 
8097 tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
8098         lines#22, use=att505, 
8099 #
8100 #### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
8101 # This cut mark helps make life less painful for people running ncurses tic
8102 # on machines with relatively little RAM.  The file can be broken in half here
8103 # cleanly and compiled in sections -- no `use' references cross this cut
8104 # going forward.
8105 #
8106
8107 #### Ampex (Dialogue)
8108 #
8109 # Yes, these are the same people who are better-known for making audio- and
8110 # videotape.  I'm told they are located in Redwood City, CA.
8111 #
8112
8113 # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
8114 # (ampex80: some capabilities merged in from SCO's entry -- esr)
8115 ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
8116         am, bw, ul, 
8117         cols#80, it#8, lines#24, 
8118         bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, 
8119         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8120         dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, 
8121         ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em, 
8122         smso=\Ej, smul=\El, tbc=\E3, 
8123 # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
8124 ampex175|ampex d175, 
8125         am, 
8126         cols#80, lines#24, 
8127         bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
8128         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8129         dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
8130         is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
8131         kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, 
8132         rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
8133 # No backspace key in the main QWERTY cluster. Fortunately, it has a
8134 # NEWLINE/PAGE key just above RETURN that sends a strange single-character
8135 # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
8136 # mode), this key can be used as the erase key; I find I like this. Because
8137 # some people and some systems may not, there is another termcap ("ampex175")
8138 # that suppresses this little eccentricity by omitting the relevant capability.
8139 ampex175-b|ampex d175 using left arrow for erase, 
8140         kbs=^_, 
8141         use=ampex175, 
8142 # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
8143 # (ampex210: removed obsolete ":kn#10:" -- esr)
8144 ampex210|a210|ampex a210, 
8145         am, hs, xenl, 
8146         cols#80, it#8, lines#24, xmc#1, 
8147         cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
8148         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
8149         dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX, 
8150         fsl=\E.2, home=^^, ht=^I, ich1=\EQ, 
8151         if=/usr/share/tabset/std, il1=\EE, invis@, 
8152         is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H, 
8153         kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
8154         kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
8155         kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^, 
8156         tsl=\E.0\Eg\E}\Ef, use=adm+sgr, 
8157 # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
8158 # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
8159 # and moved the padding to be *after* the caps -- esr)
8160 ampex219|ampex-219|amp219|Ampex with Automargins, 
8161         hs, xenl, 
8162         cols#80, it#8, lines#24, 
8163         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z, 
8164         clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M, 
8165         csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
8166         cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
8167         cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>, 
8168         el=\E[K$<3>, home=\E[H, ht=^I, ind=^J, 
8169         is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
8170         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~, 
8171         kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~, 
8172         kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
8173         rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>, 
8174         rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h, 
8175         smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
8176 ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
8177         cols#132, lines#24, 
8178         bel=^G, cr=^M, cud1=^J, ind=^J, 
8179         is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219, 
8180 # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr) 
8181 ampex232|ampex-232|Ampex Model 232, 
8182         am, 
8183         cols#80, lines#24, xmc#1, 
8184         cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V, 
8185         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8186         dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET, 
8187         flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>, 
8188         invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, 
8189         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
8190         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
8191         kf9=^AI\r, khome=^^, 
8192         use=adm+sgr, 
8193 # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
8194 ampex232w|Ampex Model 232 / 132 columns, 
8195         cols#132, lines#24, 
8196         is2=\E\034Eg\El, use=ampex232, 
8197
8198 #### Ann Arbor (aa)
8199 #
8200 # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
8201 # numbers of function keys.  At least some used monitors in portrait mode,
8202 # allowing up to 76-character screen heights!  They were reachable at:
8203 #
8204 #       Ann Arbor Terminals
8205 #       6175 Jackson Road
8206 #       Ann Arbor, MI 48103
8207 #       (313)-663-8000
8208 #
8209 # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
8210 # can't be found on the Web; I fear they're long dead.  R.I.P.
8211 #
8212
8213
8214 # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
8215 # Highly modified 6/22 by Mike O'Brien.
8216 # split out into several for the various screen sizes by dave-yost@rand
8217 # Modifications made 3/82 by Mark Horton
8218 # Modified by Tom Quarles at UCB for greater efficiency and more diversity
8219 # status line moved to top of screen, <flash> removed 5/82
8220 # Some unknown person at SCO then hacked the init strings to make them more
8221 # efficient.
8222 #
8223 # assumes the following setup:
8224 #   A menu: 0000 1010  0001 0000
8225 #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
8226 #   C menu: 56   66   0    0    9600  0110 1100
8227 #   D menu: 0110 1001   1   0
8228 #
8229 #       Briefly, the settings are for the following modes:
8230 #          (values are for bit set/clear with * indicating our preference
8231 #           and the value used to test these termcaps)
8232 #       Note that many of these settings are irrelevent to the terminfo
8233 #       and are just set to the default mode of the terminal as shipped
8234 #       by the factory.
8235 #
8236 # A menu: 0000 1010  0001 0000
8237 #       Block/underline cursor*
8238 #       blinking/nonblinking cursor*
8239 #       key click/no key click*
8240 #       bell/no bell at column 72*
8241 #
8242 #       key pad is cursor control*/key pad is numeric
8243 #       return and line feed/return for <cr> key *
8244 #       repeat after .5 sec*/no repeat
8245 #       repeat at 25/15 chars per sec. *
8246 #
8247 #       hold data until pause pressed/process data unless pause pressed*
8248 #       slow scroll/no slow scroll*
8249 #       Hold in area/don't hold in area*
8250 #       functions keys have default*/function keys disabled on powerup
8251 #
8252 #       show/don't show position of cursor during page transmit*
8253 #       unused
8254 #       unused
8255 #       unused
8256 #
8257 # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
8258 #       Baud rate (9600*)
8259 #
8260 #       2 bits of parity - 00=odd,01=even*,10=space,11=mark
8261 #       1 stop bit*/2 stop bits
8262 #       parity error detection off*/on
8263 #
8264 #       keyboard local/on line*
8265 #       half/full duplex*
8266 #       disable/do not disable keyboard after data transmission*
8267 #
8268 #       transmit entire page/stop transmission at cursor*
8269 #       transfer/do not transfer protected characters*
8270 #       transmit all characters/transmit only selected characters*
8271 #       transmit all selected areas/transmit only 1 selected area*
8272 #
8273 #       transmit/do not transmit line separators to host*
8274 #       transmit/do not transmit page tab stops tabs to host*
8275 #       transmit/do not transmit column tab stop tabs to host*
8276 #       transmit/do not transmit graphics control (underline,inverse..)*
8277 #
8278 #       enable*/disable auto XON/XOFF control
8279 #       require/do not require receipt of a DC1 from host after each LF*
8280 #       pause key acts as a meta key/pause key is pause*
8281 #       unused
8282 #
8283 #       unused
8284 #       unused
8285 #       unused
8286 #       unused
8287 #
8288 #       XON character (17*)
8289 #       XOFF character (19*)
8290 #
8291 # C menu: 56   66   0    0    9600  0110 1100
8292 #       number of lines to print data on (printer) (56*)
8293 #
8294 #       number of lines on a sheet of paper (printer) (66*)
8295 #
8296 #       left margin (printer) (0*)
8297 #
8298 #       number of pad chars on new line to printer (0*)
8299 #
8300 #       printer baud rate (9600*)
8301 #
8302 #       printer parity: 00=odd,01=even*,10=space,11=mark
8303 #       printer stop bits: 2*/1
8304 #       print/do not print guarded areas*
8305 #
8306 #       new line is: 01=LF,10=CR,11=CRLF*
8307 #       unused
8308 #       unused
8309 #
8310 # D menu: 0110 1001   1   0
8311 #       LF is newline/LF is down one line, same column*
8312 #       wrap to preceding line if move left from col 1*/don't wrap
8313 #       wrap to next line if move right from col 80*/don't wrap
8314 #       backspace is/is not destructive*
8315 #
8316 #       display*/ignore DEL character
8317 #       display will not/will scroll*
8318 #       page/column tab stops*
8319 #       erase everything*/erase unprotected only
8320 #
8321 #       editing extent: 0=display,1=line*,2=field,3=area
8322 #
8323 #       unused
8324 #
8325
8326 annarbor4080|aa4080|ann arbor 4080, 
8327         am, 
8328         cols#80, lines#40, 
8329         bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
8330         cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c, 
8331         cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
8332         kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
8333
8334 # Strange Ann Arbor terminal from BRL
8335 aas1901|Ann Arbor K4080 w/S1901 mod, 
8336         am, 
8337         cols#80, lines#40, 
8338         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
8339         home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c, 
8340         nel=^M^J, 
8341
8342 # If you're using the GNU termcap library, add
8343 #       :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
8344 # to these capabilities.  This is the nonstandard GNU termcap scrolling
8345 # capability, arguments are:
8346 #   1. Total number of lines on the screen.
8347 #   2. Number of lines above desired scroll region.
8348 #   3. Number of lines below (outside of) desired scroll region.
8349 #   4. Total number of lines on the screen, the same as the first parameter.
8350 # The generic Ann Arbor entry is the only one that uses this.
8351 aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
8352         am, km, mc5i, mir, xon, 
8353         cols#80, it#8, 
8354         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
8355         clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
8356         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
8357         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8358         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
8359         el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
8360         hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
8361         il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8, 
8362         is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
8363         kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8364         kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK, 
8365         kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP, 
8366         kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
8367         kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC, 
8368         kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI, 
8369         khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i, 
8370         mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, 
8371         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
8372         rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
8373         rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
8374         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
8375         sgr0=\E[m, 
8376         smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
8377         smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
8378         vpa=\E[%p1%{1}%+%dd, 
8379
8380 aaa+rv|ann arbor ambassador in reverse video, 
8381         blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
8382         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
8383         rs1=\E[H\E[7m\E[J$<156>, 
8384         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
8385         sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
8386 # Ambassador with the DEC option, for partial vt100 compatibility.
8387 aaa+dec|ann arbor ambassador in dec vt100 mode, 
8388         acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
8389         csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
8390         sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
8391         smacs=^O, 
8392 aaa-18|ann arbor ambassador/18 lines, 
8393         lines#18, 
8394         is2=\E7\E[60;0;0;18p\E8, 
8395         rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, use=aaa+unk, 
8396 aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
8397         use=aaa+rv, use=aaa-18, 
8398 aaa-20|ann arbor ambassador/20 lines, 
8399         lines#20, 
8400         is2=\E7\E[60;0;0;20p\E8, 
8401         rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, use=aaa+unk, 
8402 aaa-22|ann arbor ambassador/22 lines, 
8403         lines#22, 
8404         is2=\E7\E[60;0;0;22p\E8, 
8405         rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, use=aaa+unk, 
8406 aaa-24|ann arbor ambassador/24 lines, 
8407         lines#24, 
8408         is2=\E7\E[60;0;0;24p\E8, 
8409         rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, use=aaa+unk, 
8410 aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
8411         use=aaa+rv, use=aaa-24, 
8412 aaa-26|ann arbor ambassador/26 lines, 
8413         lines#26, 
8414         is2=\E7\E[60;0;0;26p\E8, 
8415         rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
8416         smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk, 
8417 aaa-28|ann arbor ambassador/28 lines, 
8418         lines#28, 
8419         is2=\E7\E[60;0;0;28p\E8, 
8420         rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
8421         smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk, 
8422 aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
8423         eslok, hs, 
8424         lines#29, 
8425         dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
8426         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
8427         rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
8428         smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
8429         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
8430         use=aaa+unk, 
8431 aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
8432         use=aaa+rv, use=aaa-30-s, 
8433 aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
8434         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
8435         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
8436 aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video, 
8437         rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
8438         smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
8439 aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
8440         lines#30, 
8441         is2=\E7\E[60;0;0;30p\E8, 
8442         rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
8443         smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk, 
8444 aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
8445         use=aaa+rv, use=aaa-30, 
8446 aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
8447         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
8448         use=aaa-30, 
8449 aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
8450         rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
8451         use=aaa+rv, use=aaa-30, 
8452 aaa-36|ann arbor ambassador/36 lines, 
8453         lines#36, 
8454         is2=\E7\E[60;0;0;36p\E8, 
8455         rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
8456         smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk, 
8457 aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
8458         use=aaa+rv, use=aaa-36, 
8459 aaa-40|ann arbor ambassador/40 lines, 
8460         lines#40, 
8461         is2=\E7\E[60;0;0;40p\E8, 
8462         rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
8463         smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk, 
8464 aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
8465         use=aaa+rv, use=aaa-40, 
8466 aaa-48|ann arbor ambassador/48 lines, 
8467         lines#48, 
8468         is2=\E7\E[60;0;0;48p\E8, 
8469         rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
8470         smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk, 
8471 aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
8472         use=aaa+rv, use=aaa-48, 
8473 aaa-60-s|ann arbor ambassador/59 lines+status, 
8474         eslok, hs, 
8475         lines#59, 
8476         dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
8477         fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
8478         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
8479         use=aaa+unk, 
8480 aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
8481         use=aaa+rv, use=aaa-60-s, 
8482 aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
8483         use=aaa+dec, use=aaa+rv, use=aaa-60-s, 
8484 aaa-60|ann arbor ambassador/60 lines, 
8485         lines#60, 
8486         is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk, 
8487 aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
8488         use=aaa+rv, use=aaa-60, 
8489 aaa-db|ann arbor ambassador 30/destructive backspace, 
8490         cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, 
8491         use=aaa-30, 
8492
8493 guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
8494         lines#33, 
8495         flash=\E[>59h$<100>\E[>59l, 
8496         is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
8497         rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, 
8498         use=aaa+unk, 
8499 guru+rv|guru changes for reverse video, 
8500         flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
8501 guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
8502         use=guru+rv, use=guru-33, 
8503 guru+s|guru status line, 
8504         eslok, hs, 
8505         dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l, 
8506         rmcup=\E[255;1p\E[255;1H\E[K, smcup=, 
8507         tsl=\E[>51h\E[1;%p1%dH\E[2K, 
8508 guru-nctxt|guru with no saved context, 
8509         smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru, 
8510 guru-s|guru-33-s|ann arbor guru/33 lines+status, 
8511         lines#32, 
8512         is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
8513         smcup=\E[33;1p\E[255;1H\E[K, 
8514         use=guru+s, use=guru+unk, 
8515 guru-24|ann arbor guru 24 lines, 
8516         cols#80, lines#24, 
8517         is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk, 
8518 guru-44|ann arbor guru 44 lines, 
8519         cols#97, lines#44, 
8520         is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk, 
8521 guru-44-s|ann arbor guru/44 lines+status, 
8522         lines#43, 
8523         is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
8524         smcup=\E[44;1p\E[255;1H\E[K, 
8525         use=guru+s, use=guru+unk, 
8526 guru-76|guru with 76 lines by 89 cols, 
8527         cols#89, lines#76, 
8528         is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk, 
8529 guru-76-s|ann arbor guru/76 lines+status, 
8530         cols#89, lines#75, 
8531         is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
8532         smcup=\E[76;1p\E[255;1H\E[K, 
8533         use=guru+s, use=guru+unk, 
8534 guru-76-lp|guru-lp|guru with page bigger than line printer, 
8535         cols#134, lines#76, 
8536         is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk, 
8537 guru-76-w|guru 76 lines by 178 cols, 
8538         cols#178, lines#76, 
8539         is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk, 
8540 guru-76-w-s|ann arbor guru/76 lines+status+wide, 
8541         cols#178, lines#75, 
8542         is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
8543         smcup=\E[76;1p\E[255;1H\E[K, 
8544         use=guru+s, use=guru+unk, 
8545 guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
8546         cols#178, lines#76, 
8547         is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk, 
8548 aaa-rv-unk|ann arbor unknown type, 
8549         lh#0, lw#0, nlab#0, 
8550         blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 
8551         is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
8552         rs1=\E[H\E[7m\E[J, 
8553         sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
8554         sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
8555
8556 #### Applied Digital Data Systems (adds)
8557 #
8558 # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
8559 # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
8560 # terminals was merged again.  Then AT&T sold the terminal business to
8561 # SunRiver, which later changed its  name to Boundless Technologies.  The
8562 # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
8563 # as of early 1995) are at:
8564 #
8565 #       Boundless Technologies
8566 #       100 Marcus Boulevard
8567 #       Hauppauge, NY 11788-3762
8568 #       Vox: (800)-231-5445
8569 #       Fax: (516)-342-7378
8570 #       Web: http://boundless.com
8571 #
8572 # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
8573 # In 1995 Boundless acquired DEC's terminals business.  
8574 #
8575
8576 # Regent: lowest common denominator, works on all regents.
8577 # (regent: renamed ":bc:" to ":le:" -- esr)
8578 regent|Adds Regent Series, 
8579         am, 
8580         cols#80, lines#24, 
8581         bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z, 
8582         home=\EY\s\s, ind=^J, ll=^A, 
8583 # Regent 100 has a bug where if computer sends escape when user is holding
8584 # down shift key it gets confused, so we avoid escape.
8585 regent100|Adds Regent 100, 
8586         xmc#1, 
8587         bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c, 
8588         kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
8589         kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, 
8590         lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, 
8591         sgr0=\E0@, smso=\E0P, smul=\E0`, 
8592         use=regent, 
8593 regent20|Adds Regent 20, 
8594         bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent, 
8595 regent25|Adds Regent 25, 
8596         bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20, 
8597 regent40|Adds Regent 40, 
8598         xmc#1, 
8599         bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r, 
8600         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
8601         kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, 
8602         lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, 
8603         smul=\E0`, 
8604         use=regent25, 
8605 regent40+|Adds Regent 40+, 
8606         is2=\EB, use=regent40, 
8607 regent60|regent200|Adds Regent 60, 
8608         dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF, 
8609         rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, 
8610         use=regent40+, 
8611 # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
8612 # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
8613 viewpoint|addsviewpoint|adds viewpoint, 
8614         am, 
8615         cols#80, lines#24, 
8616         bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, 
8617         cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
8618         cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>, 
8619         ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
8620         kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
8621         rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N, 
8622 # Some viewpoints have bad ROMs that foo up on ^O
8623 screwpoint|adds viewpoint with ^O bug, 
8624         cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint, 
8625
8626 # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
8627 # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
8628 # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
8629 # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
8630 # invis=01000100 and %c is the logical or of desired attributes.
8631 # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
8632 vp3a+|viewpoint3a+|adds viewpoint 3a+, 
8633         am, bw, 
8634         cols#80, it#8, lines#24, 
8635         civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J, 
8636         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
8637         ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
8638         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
8639         sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
8640         sgr0=\E(, smso=\E0Q\E), 
8641 vp60|viewpoint60|addsvp60|adds viewpoint60, 
8642         use=regent40, 
8643 #
8644 # adds viewpoint 90 - from cornell
8645 # Note:  emacs sends ei occasionally to insure the terminal is out of
8646 #        insert mode. This unfortunately puts the viewpoint90 IN insert
8647 #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
8648 #   -    :ei=:im=: must be present in the termcap translation.)
8649 #   -    <xhp> indicates glitch that attributes stick to location
8650 #   -    <msgr> means it's safe to move in standout mode
8651 #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
8652 #               the status line
8653 # Function key and label capabilities merged in from SCO.
8654 vp90|viewpoint90|adds viewpoint 90, 
8655         bw, msgr, xhp, 
8656         cols#80, lines#24, 
8657         clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
8658         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
8659         dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I, 
8660         ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J, 
8661         kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, 
8662         kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
8663         kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2, 
8664         lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, 
8665         lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, 
8666         sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
8667 # Note: if return acts weird on a980, check internal switch #2
8668 # on the top chip on the CONTROL pc board.
8669 adds980|a980|adds consul 980, 
8670         am, 
8671         cols#80, lines#24, 
8672         bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
8673         cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d, 
8674         dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
8675         kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
8676         kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
8677
8678 #### C. Itoh Electronics
8679 #
8680 # As of 1995 these people no longer make terminals (they're still in the
8681 # printer business).  Their terminals were all clones of the DEC VT series.
8682 # They're located in Orange County, CA.
8683 #
8684
8685 # CIT 80  - vt-52 emulator, the termcap has been modified to remove
8686 #           the delay times and do an auto tab set rather than the indirect
8687 #           file used in vt100.
8688 cit80|cit-80|citoh 80, 
8689         am, 
8690         cols#80, lines#24, 
8691         clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
8692         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, 
8693         ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
8694         kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, 
8695 # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
8696 # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
8697 cit101|citc|C.itoh fast vt100, 
8698         am, xenl, 
8699         cols#80, lines#24, 
8700         bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C, 
8701         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U, 
8702         dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
8703         flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L, 
8704         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
8705         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
8706         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
8707         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
8708         smul=\E[4m, 
8709 # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
8710 # The following termcap entry was created from the Callan cd100 entry.  The
8711 # last two lines (with the capabilities in caps) are used by RM-cobol to allow
8712 # full selection of combinations of reverse video, underline, and blink.
8713 # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
8714 # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
8715 # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
8716 cit101e|C. Itoh CIT-101e, 
8717         am, mir, msgr, 
8718         cols#80, it#8, lines#24, 
8719         acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr, 
8720         cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
8721         cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J, 
8722         el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L, 
8723         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT, 
8724         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl, 
8725         kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
8726         rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
8727         smkx=\E=, smso=\E[7m, smul=\E[4m, 
8728 # From: David S. Lawyer, June 1997:
8729 # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
8730 # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
8731 # late 1980's CIT Terminals went out of business.
8732 # There is no need to use the initialization string is=... (by invoking
8733 # tset or setterm etc.) provided that the terminal has been manually set
8734 # up (and the setup saved with ^S) to be compatible with this termcap.  To be
8735 # compatible it should be in ANSI mode (not VT52).   A set-up that
8736 # works is to set all the manually setable stuff to factory defaults
8737 # by pressing ^D in set-up mode.  Then increse the brighness with the
8738 # up-arrow key since the factory default will likely be dim on an old
8739 # terminal.  Then change any options you want (provided that they are
8740 # compatible with the termcap).  For my terminal I set: Screen
8741 # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
8742 # on.  I also set up mine for parity (but you may not need it).  Then 
8743 # save the setup with ^S.
8744 # (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
8745 cit101e-rv|Citoh CIT-101e (sets reverse video), 
8746         am, eo, mir, msgr, xenl, xon, 
8747         cols#80, it#8, lines#24, 
8748         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v, 
8749         clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M, 
8750         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
8751         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8752         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8753         cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
8754         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>, 
8755         home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
8756         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
8757         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, 
8758         kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
8759         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
8760         rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l, 
8761         rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7, 
8762         sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, 
8763         smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, 
8764         u7=\E[6n, u8=\E[?6c, u9=\E[c, 
8765 cit101e-n|CIT-101e w/o am, 
8766         am@, 
8767         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8768 cit101e-132|CIT-101e with 132 cols, 
8769         cols#132, 
8770         kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8771 cit101e-n132|CIT-101e with 132 cols w/o am, 
8772         am@, 
8773         cols#132, 
8774         cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
8775 # CIE Terminals CIT-500 from BRL
8776 # The following SET-UP modes are assumed for normal operation:
8777 #       GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
8778 #       AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
8779 #       DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
8780 # Other SET-UP modes may be set for operator convenience or communication
8781 # requirements.
8782 # Hardware tabs are assumed to be set every 8 columns; they can be set up
8783 # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
8784 # "stty ixon -ixany" to enable DC3/DC1 flow control!
8785 # (cit500: I added <rmam>/<smam> based on the init string -- esr)
8786 cit500|CIE Terminals CIT-500, 
8787         mir, msgr, xon, 
8788         cols#80, it#8, lines#64, vt#3, 
8789         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
8790         clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
8791         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
8792         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
8793         cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
8794         ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
8795         il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD, 
8796         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M, 
8797         ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
8798         kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ, 
8799         khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1, 
8800         lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18, 
8801         lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m, 
8802         ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
8803         rmso=\E[m, rmul=\E[m, 
8804         rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>, 
8805         sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
8806         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
8807
8808 # C. Itoh printers begin here
8809 citoh|ci8510|8510|c.itoh 8510a, 
8810         cols#80, it#8, 
8811         bold=\E!, cub1@, 
8812         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073., 
8813         rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
8814         smul=\EX, 
8815         use=lpr, 
8816 citoh-pica|citoh in pica, 
8817         is1=\EN, use=citoh, 
8818 citoh-elite|citoh in elite, 
8819         cols#96, 
8820         is1=\EE, 
8821         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., use=citoh, 
8822 citoh-comp|citoh in compressed, 
8823         cols#136, 
8824         is1=\EQ, 
8825         is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., use=citoh, 
8826 # citoh has infinite cols because we don't want lp ever inserting \n\t**.
8827 citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
8828         cols#32767, 
8829         is1=\EP, use=citoh, 
8830 citoh-6lpi|citoh in 6 lines per inch mode, 
8831         is3=\EA, use=citoh, 
8832 citoh-8lpi|citoh in 8 lines per inch mode, 
8833         lines#88, 
8834         is3=\EB, use=citoh, 
8835
8836 #### Control Data (cdc)
8837 #
8838
8839 cdc456|cdc 456 terminal, 
8840         am, 
8841         cols#80, lines#24, 
8842         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
8843         cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X, 
8844         el=^V, home=^Y, il1=\EL, ind=^J, 
8845
8846 # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
8847 cdc721|CDC Viking, 
8848         am, 
8849         cols#80, lines#24, 
8850         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
8851         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
8852         kcuu1=^W, khome=^Y, 
8853 cdc721ll|CDC Vikingll, 
8854         am, 
8855         cols#132, lines#24, 
8856         clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
8857         cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
8858         kcuu1=^W, khome=^Y, 
8859 # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
8860 cdc752|CDC 752, 
8861         am, bw, xhp, 
8862         cols#80, lines#24, 
8863         bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
8864         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V, 
8865         home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017, 
8866 # CDC 756
8867 # The following switch/key settings are assumed for normal operation:
8868 #       96 chars        SCROLL          FULL duplex     not BLOCK
8869 # Other switches may be set according to communication requirements.
8870 # Insert/delete-character cannot be used, as the whole display is affected.
8871 # "so" & "se" are commented out until jove handles "sg" correctly.
8872 cdc756|CDC 756, 
8873         am, bw, 
8874         cols#80, lines#24, 
8875         bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
8876         cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, 
8877         dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J, 
8878         kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI, 
8879         kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, 
8880         kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y, 
8881         khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4, 
8882         lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z, 
8883         rs1=\031\030\002\003\017, 
8884 #
8885 # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
8886 #
8887 # Part of the long initialization string defines the "DOWN" key to the left
8888 # of the tab key to send an ESC.  The real ESC key is positioned way out 
8889 # in right field.
8890 #
8891 # The termcap won't work in 132 column mode due to the way it it moves the
8892 # cursor.  Termcap doesn't have the capability (as far as I could tell) to
8893 # handle the 721 in 132 column mode.
8894 #
8895 # (cdc721: changed :ri: to :sr: -- esr)
8896 cdc721-esc|Control Data 721, 
8897         am, bw, msgr, xon, 
8898         cols#80, it#8, lines#30, 
8899         bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z, 
8900         cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
8901         dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
8902         ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
8903         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, 
8904         kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
8905         kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
8906         kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
8907         ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^], 
8908         sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk, 
8909         smso=^^D, smul=^\, tbc=^^^RY, 
8910
8911 #### Getronics
8912 #
8913 # Getronics is a Dutch electronics company that at one time was called 
8914 # `Geveke' and made async terminals; but (according to the company itself!)
8915 # they've lost all their documentation on the command set.  The hardware
8916 # documentation suggests the terminals were actually manufactured by a
8917 # Taiwanese electronics company named Cal-Comp.  There are known
8918 # to have been at least two models, the 33 and the 50.
8919 #
8920
8921 # The 50 seems to be a top end vt220 clone, with the addition of a higher
8922 # screen resolution, a larger screen, at least 1 page of memory above and
8923 # below the screen, apparently pages of memory right and left of the screen
8924 # which can be panned, and about 75 function keys (15 function keys x normal,
8925 # shift, control, func A, func B). It also has more setup possibilities than
8926 # the vt220. The monitor case is dated November 1978 and the keyboard case is
8927 # May 1982.
8928 #
8929 # The vt100 emulation works as is.  The entry below describes the rather
8930 # non-conformant (but more featureful) ANSI mode.
8931 #
8932 # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
8933 visa50|geveke visa 50 terminal in ansi 80 character mode, 
8934         bw, mir, msgr, 
8935         cols#80, lines#25, 
8936         acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
8937         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
8938         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
8939         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
8940         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
8941         dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM, 
8942         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H, 
8943         hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
8944         il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
8945         is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
8946         ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS, 
8947         kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
8948         kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002, 
8949         kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
8950         kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char, 
8951         lf3=A insert line, lf4=A delete line, lf5=A clear, 
8952         lf6=A ce of/cf gn, lf7=A print, lf8=A on-line, 
8953         lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l, 
8954         rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, 
8955         rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, 
8956         smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
8957         vpa=\E[%i%p1%dd, 
8958
8959 #### Human Designed Systems (Concept)
8960 #
8961 #       Human Designed Systems
8962 #       400 Fehley Drive
8963 #       King of Prussia, PA 19406
8964 #       Vox: (610)-277-8300
8965 #       Fax: (610)-275-5739
8966 #       Net: support@hds.com
8967
8968 # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
8969 # the character-terminal business now (1995) and making X terminals.  In
8970 # particular, the whole `Concept' line described here was discontinued long
8971 # ago.
8972 #
8973
8974 # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
8975 # Extensive changes to c108 by arpavax:eric Feb 1982
8976 # Some unknown person at SCO then translated it to terminfo.
8977 #
8978 # There seem to be a number of different versions of the C108 PROMS
8979 # (with bug fixes in its Z-80 program).
8980
8981 # The first one that we had would lock out the keyboard of you
8982 # sent lots of short lines (like /usr/dict/words) at 9600 baud.
8983 # Try that on your C108 and see if it sends a ^S when you type it.
8984 # If so, you have an old version of the PROMs.
8985
8986 # You should configure the C108 to send ^S/^Q before running this.
8987 # It is much faster (at 9600 baud) than the c100 because the delays
8988 # are not fixed.
8989 # new status line display entries for c108-8p:
8990 # <is3> - init str #3 - setup term for status display - 
8991 # set programmer mode, select window 2, define window at last 
8992 # line of memory, set bkgnd stat mesg there, select window 0.
8993
8994 # <tsl> - to status line - select window 2, home cursor, erase to 
8995 # end-of-window, 1/2 bright on, goto(line#0, col#?)
8996
8997 # <fsl> - from status line - 1/2 bright off, select window 0
8998
8999 # <dsl> - disable status display - set bkgnd status mesg with 
9000 # illegal window #
9001
9002 # There are probably more function keys that should be added but 
9003 # I don't know what they are.
9004 #
9005 # No delays needed on c108 because of ^S/^Q handshaking
9006 #
9007 c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
9008         is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
9009         rmcup=\Ev  \001\177p\Ep\r\n, 
9010         use=c108-4p, 
9011 c108-4p|concept108-4p|concept 108 w/4 pages, 
9012         eslok, hs, xon, 
9013         pb@, 
9014         acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M, 
9015         cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
9016         cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
9017         ind=^J, is1=\EK\E!\E F, 
9018         is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
9019         rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
9020         smcup=\EU\Ev  8p\Ep\r\E\025, 
9021         tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100, 
9022 c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
9023         rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, 
9024         use=c108-rv-4p, 
9025 c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
9026         flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, 
9027         use=c108-4p, 
9028 c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
9029         cols#132, 
9030         is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
9031         smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p, 
9032
9033 # Concept 100:
9034 # These have only window relative cursor addressing, not screen 
9035 # relative. To get it to work right here, smcup/rmcup (which 
9036 # were invented for the concept) lock you into a one page 
9037 # window for screen style programs.
9038
9039 # To get out of the one page window, we use a clever trick:
9040 # we set the window size to zero ("\Ev    " in rmcup) which the 
9041 # terminal recognizes as an error and resets the window to all 
9042 # of memory.
9043
9044 # This trick works on c100 but does not on c108, sigh.
9045
9046 # Some tty drivers use cr3 for concept, others use nl3, hence 
9047 # the delays on cr and ind below. This padding is only needed at 
9048 # 9600 baud and up.  One or the other is commented out depending on 
9049 # local conventions.
9050
9051 # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
9052 # less than 6 but more than 2 will work.
9053
9054 # Note: can't use function keys f7-f10 because they are 
9055 # indistinguishable from arrow keys (!), also, del char and 
9056 # clear eol use xon/xoff so they probably won't work very well.
9057
9058 # Also note that we don't define insrt/del char/delline/eop/send 
9059 # because they don't transmit unless we reset them - I figured 
9060 # it was a bad idea to clobber their definitions.
9061
9062 # The <mc5> sequence changes the escape character to ^^ so that 
9063 # escapes will be passed through to the printer. Only trouble 
9064 # is that ^^ won't be - ^^ was chosen to be unlikely. 
9065 # Unfortunately, if you're sending raster bits through to be 
9066 # plotted, any character you choose will be likely, so we lose.
9067 #
9068 # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
9069 # cannot be # in is2 because it will hang a c100 with no printer 
9070 # if sent twice.
9071 c100|concept100|concept|c104|c100-4p|hds concept 100, 
9072         am, eo, mir, ul, xenl, 
9073         cols#80, lines#24, pb#9600, vt#8, 
9074         bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
9075         cub1=^H, cud1=^J, cuf1=\E=, 
9076         cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
9077         dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
9078         ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
9079         ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
9080         is1=\EK, 
9081         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, 
9082         is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
9083         kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
9084         kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
9085         kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
9086         khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
9087         kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027, 
9088         mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
9089         rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
9090         rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
9091         rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
9092         smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX, 
9093         smso=\ED, smul=\EG, 
9094 c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
9095         cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, 
9096         smso=\EE, 
9097         use=c100, 
9098 oc100|oconcept|c100-1p|old 1 page concept 100, 
9099         in, 
9100         is3@, use=c100, 
9101
9102 # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
9103 # Lots of notes, originally inline, but ncurses doesn't grok that.
9104 #
9105 # am:   not available in power on mode, but turned on with \E[=107;207h in
9106 #       is2=.  Also, \E=124l in is2= could have been used to prevent needing
9107 #       to specify xenl:, but that would have rendered the last space on the
9108 #       last line useless.
9109 # bw:   Not available in power on mode, but turned on with \E[=107;207h in
9110 #       is2=.
9111 # clear: Could be done with \E[2J alone, except that vi (and probably most
9112 #       other programs) assume that this also homes the cursor.
9113 # dsl:  Go to window 2, go to the beginning of the line, use a line feed to
9114 #       scroll the window, and go back to window 1.
9115 # is2:  the string may cause a warning to be issued by tic that it
9116 #       found a very long line and that it suspects that a comma is missing
9117 #       somewhere.  This warning can be ignored (unless it comes up more than
9118 #       once).  The initialization string contains the following commands:
9119 #
9120 #        [Setup mode items changed from factory defaults:]
9121 #               \E)0                    set alternate character set to
9122 #                                               graphics
9123 #               ^O                      set character set to default
9124 #        [In case it wasn't]
9125 #               \E[m                    turn off all attributes
9126 #        [In case they weren't off]
9127 #               \E[=107;                cursor wrap and
9128 #                       207h                    character wrap on
9129 #               \E[90;3u                set Fkey definitions to "transmit"
9130 #                                               defaults
9131 #               \E[92;3u                set cursor key definitions to
9132 #                                               "transmit" defaults
9133 #               \E[43;1u                set shift F13 to transmit...
9134 #               \177\E$P\177
9135 #               \E[44;1u                set shift F14 to transmit...
9136 #                       \177\E$Q\177
9137 #               \E[45;1u                set shift F15 to transmit...
9138 #                       \177\E$R\177
9139 #               \E[46;1u                set shift F16 to transmit...
9140 #                       \177\E$S\177
9141 #               \E[200;1u               set shift up to transmit...
9142 #                       \177\E$A\177
9143 #               \E[201;1u               set shift down to transmit...
9144 #                       \177\E$B\177
9145 #               \E[202;1u               set shift right to transmit...
9146 #                       \177\E$C\177
9147 #               \E[203;1u               set shift left to transmit...
9148 #                       \177\E$D\177
9149 #               \E[204;1u               set shift home to transmit...
9150 #                       \177\E$H\177
9151 #               \E[212;1u               set backtab to transmit...
9152 #                       \177\E$I\177
9153 #               \E[213;1u               set shift backspace to transmit...
9154 #                       \177\E$^H\177
9155 #               \E[214;1u               set shift del to transmit...
9156 #                       "\E$\177"
9157 #        [Necessary items not mentioned in setup mode:]
9158 #               \E[2!w                  move to window 2
9159 #               \E[25;25w               define window as line 25 of memory
9160 #               \E[!w                   move to window 1
9161 #               \E[2*w                  show current line of window 2 as
9162 #                                               status line
9163 #               \E[2+x                  set meta key to use high bit
9164 #               \E[;3+}                 move underline to bottom of character
9165 #
9166 #       All Fkeys are set to their default transmit definitions with \E[90;3u
9167 #       in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
9168 #       setting MUST be redefined or deactivated, because the default is
9169 #       contained in almost all of this terminal's Fkey strings!  If for some
9170 #       reason "quit" cannot be altered, the Fkeys can, but it would be
9171 #       necessary to change ^| to ^] in all of these definitions, and add
9172 #       \E[2;029!t to is2.
9173 # lines: is set to 24 because this terminal refuses to treat the 25th
9174 #       line normally.
9175 # ll:   Not available in power on mode, but turned on with \E[=107;207h in
9176 #       is2=.
9177 # lm:   Pointless, given that this definition locks a single screen of
9178 #       memory into view, but what the hey...
9179 # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
9180 #       other attributes alone), but some programs expect this to turn off
9181 #       everything.
9182 # rmul: Could use \E[4!{ to turn off only underline (leaving any other
9183 #       attributes alone), but some programs expect this to turn off
9184 #       everything.
9185 # sgr:  Attributes are set on this terminal with the string \E[ followed by
9186 #       a list of attribute code numbers (in decimal, separated by
9187 #       semicolons), followed by the character m.  The attribute code
9188 #       numbers are:
9189 #                 1 for bold;
9190 #                 2 for dim (which is ignored in power on mode);
9191 #                 4 for underline;
9192 #                 5 for blinking;
9193 #                 7 for inverse;
9194 #                 8 for not displayable; and
9195 #               =99 for protected (except that there are strange side
9196 #               effects to protected characters which make them inadvisable).
9197 #        The mapping of terminfo parameters to attributes is as follows:
9198 #               %p1 (standout) = bold and inverse together;
9199 #               %p2 (underline) = underline;
9200 #               %p3 (reverse) = inverse;
9201 #               %p4 (blink) = blinking;
9202 #               %p5 (dim) is ignored;
9203 #               %p6 (bold) = bold;
9204 #               %p7 (invisible) = not displayable;
9205 #               %p8 (protected) is ignored; and
9206 #               %p9 (alt char set) = alt char set.
9207 #        The code to do this is:
9208 #               \E[0            OUTPUT  \E[0
9209 #               %?%p1%p6%O      IF      (standout; bold) OR
9210 #               %t;1            THEN    OUTPUT  ;1
9211 #               %;              ENDIF
9212 #               %?%p2           IF      underline
9213 #               %t;4            THEN    OUTPUT  ;4
9214 #               %;              ENDIF
9215 #               %?%p4           IF      blink
9216 #               %t;5            THEN    OUTPUT  ;5
9217 #               %;              ENDIF
9218 #               %?%p1%p3%O      IF      (standout; reverse) OR
9219 #               %t;7            THEN    OUTPUT  ;7
9220 #               %;              ENDIF
9221 #               %?%p7           IF      invisible
9222 #               %t;8            THEN    OUTPUT  ;8
9223 #               %;              ENDIF
9224 #               m               OUTPUT  m
9225 #               %?%p9           IF      altcharset
9226 #               %t^N            THEN    OUTPUT  ^N
9227 #               %e^O            ELSE    OUTPUT  ^O
9228 #               %;              ENDIF
9229 # sgr0: Everything is turned off (including alternate character set), since
9230 #       there is no way of knowing what it is that the program wants turned
9231 #       off.
9232 # smul: The "underline" attribute is reconfigurable to an overline or
9233 #       strikethru, or (as done with \E[;3+} in is2=), to a line at the true
9234 #       bottom of the character cell.  This was done to allow for more readable
9235 #       underlined characters, and to be able to distinguish between an
9236 #       underlined space, an underscore, and an underlined underscore.
9237 # xenl: Terminal can be configured to not need this, but this "glitch"
9238 #       behavior is actually preferable with autowrap terminals.
9239 #
9240 # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
9241 # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
9242 # string modifies the 'O' in kf43 to kf46 to a '$'.
9243 #
9244 # kcbt was originally ^I but redefined in is2=.
9245 # kHOM was \E[H originally but redefined in is2=, as were a number of
9246 # other keys.
9247 # kDC was originally \177 but redefined in is2=.
9248 #
9249 # kbs:  Shift was also ^H originally but redefined as \E$^H in is2=.
9250 # tsl:  Go to window 2, then do an hpa=.
9251 #
9252 #------- flash=\E[8;3!}^G\E[3;3!}
9253 #------- flash=\E[?5h$<100>\E[?5l
9254 # There are two ways to flash the screen, both of which have their drawbacks. 
9255 # The first is to set the bell mode to video, transmit a bell character, and
9256 # set the bell mode back - but to what?  There is no way of knowing what the
9257 # user's old bell setting was before we messed with it.  Worse, the command to
9258 # set the bell mode also sets the key click volume, and there is no way to say
9259 # "leave that alone", or to know what it's set to, either.
9260 # The second way to do a flash is to set the screen to inverse video, pad for a
9261 # tenth of a second, and set it back - but like before, there's no way to know
9262 # that the screen wasn't ALREADY in inverse video, or that the user may prefer
9263 # it that way.  The point is moot anyway, since vi (and probably other
9264 # programs) assume that by defining flash=, you want the computer to use it
9265 # INSTEAD of bel=, rather than as a secondary type of signal.
9266 #
9267 #------- cvvis=\E[+{
9268 # The is the power on setting, which is also as visible as the cursor
9269 # gets.
9270 #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
9271 # Windowing is possible, but not defined here because it is also used to
9272 # emulate status line functions.  Allowing a program to set a window could
9273 # clobber the status line or render it unusable.  There is additional memory,
9274 # but screen scroll functions are destructive and do not make use of it.
9275 #
9276 #-------   dim=                 Not available in power on mode.
9277 # You have a choice of defining low intensity characters as "half bright" and
9278 # high intensity as "normal", or defining low as "normal" and high as "bold". 
9279 # No matter which you choose, only one of either "half bright" or "bold" is
9280 # available at any time, so taking the time to override the default is
9281 # pointless.
9282 #
9283 #-------  prot=\E[=0;99m
9284 # Not defined, because it appears to have some strange side effects.
9285 #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
9286 #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
9287 #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
9288 #        Available, but making them available to programs is inadvisable.
9289 #        The code to do this is:
9290 #               %?%p1%{24}%<    IF      ((key; 24) <;
9291 #               %p1%{30}%>               ((key; 30) >;
9292 #               %p1%{54}%<                (key; 54) <
9293 #               %A                       ) AND
9294 #               %O                      ) OR
9295 #        [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
9296 #               %t\E[           THEN    OUTPUT  \E[
9297 #               %p1%d                   OUTPUT  (key) as decimal
9298 #        [next line applies to pfx only]
9299 #               ;1                      OUTPUT  ;1
9300 #               u                       OUTPUT  u
9301 #               \177                    OUTPUT  \177
9302 #               %p2%s                   OUTPUT  (string) as string
9303 #               \177                    OUTPUT  \177
9304 #        [DEL chosen as delimiter, but could be any character]
9305 #        [implied:              ELSE    do nothing]
9306 #               %;              ENDIF
9307 #       
9308 #-------   rs2=
9309 # Not defined since anything it might do could be done faster and easier with
9310 # either Meta-Shift-Reset or the main power switch.
9311 #
9312 #-------  smkx=\E[1!z
9313 #-------  rmkx=\E[!z
9314 # These sequences apply to the cursor and setup keys only, not to the
9315 # numeric keypad.  But it doesn't matter anyway, since making these
9316 # available to programs is inadvisable.
9317 # For the key definitions below, all sequences beginning with \E$ are
9318 # custom and programmed into the terminal via is2.  \E$ also has no
9319 # meaning to any other terminal.
9320 #
9321 #------- cmdch=\E[;%p1%d!t
9322 # Available, but making it available to programs is inadvisable.
9323 #------- smxon=\E[1*q
9324 # Available, but making it available to programs is inadvisable.
9325 # Terminal will send XON/XOFF on buffer overflow.
9326 #------- rmxon=\E[*q
9327 # Available, but making it available to programs is inadvisable.
9328 # Terminal will not notify on buffer overflow.
9329 #-------   smm=\E[2+x
9330 #-------   rmm=\E[+x
9331 # Available, but making them available to programs is inadvisable.
9332 #
9333 # Printing:
9334 #        It's not made clear in the manuals, but based on other ansi/vt type
9335 #        terminals, it's a good guess that this terminal is capable of both
9336 #        "transparent print" (which doesn't copy data to the screen, and
9337 #        therefore needs mc5i: specified to say so) and "auxilliary print"
9338 #        (which does duplicate printed data on the screen, in which case mc4=
9339 #        and mc5= should use the \E[?4i and \E[?5i strings instead).
9340
9341 hds200|Human Designed Systems HDS200, 
9342         am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
9343         cols#80, it#8, lines#24, lm#0, 
9344         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
9345         blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{, 
9346         clear=\E[H\E[J, cnorm=\E[+{, cr=^M, 
9347         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
9348         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
9349         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9350         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
9351         dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K, 
9352         fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
9353         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
9354         invis=\E[0;8m, 
9355         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+}, 
9356         kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H, 
9357         kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9358         kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r, 
9359         kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ, 
9360         kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r, 
9361         kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r, 
9362         kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r, 
9363         kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r, 
9364         kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r, 
9365         kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r, 
9366         kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r, 
9367         kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r, 
9368         kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r, 
9369         kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H, 
9370         kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A, 
9371         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8, 
9372         rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017, 
9373         rmul=\E[m\017, sc=\E7, 
9374         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%;, 
9375         sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m, 
9376         smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG, 
9377         vpa=\E[%i%p1%dd, 
9378
9379 # <ht> through <el> included to specify padding needed in raw mode.
9380 # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
9381 avt-ns|concept avt no status line, 
9382         am, eo, mir, ul, xenl, xon, 
9383         cols#80, it#8, lines#24, lm#192, 
9384         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
9385         clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
9386         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
9387         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
9388         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
9389         cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>, 
9390         dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H, 
9391         hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, 
9392         ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
9393         invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l, 
9394         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, 
9395         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9396         kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
9397         kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, 
9398         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
9399         pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#, 
9400         prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
9401         ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l, 
9402         rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, sc=\E7, 
9403         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
9404         sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r, 
9405         smir=\E1, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
9406         tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
9407 avt-rv-ns|concept avt in reverse video mode/no status line, 
9408         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
9409         use=avt-ns, 
9410 avt-w-ns|concept avt in 132 column mode/no status line, 
9411         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
9412         use=avt-ns, 
9413 avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
9414         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
9415         smcup=\E[H\E[1;24;1;132w, 
9416         use=avt-ns, 
9417
9418 # Concept AVT with status line. We get the status line using the
9419 # "Background status line" feature of the terminal. We swipe the
9420 # first line of memory in window 2 for the status line, keeping
9421 # 191 lines of memory and 24 screen lines for regular use.
9422 # The first line is used instead of the last so that this works
9423 # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
9424 # assumes an 8 page AVT but lm isn't currently used anywhere.)
9425 #
9426 avt+s|concept avt status line changes, 
9427         eslok, hs, 
9428         lm#191, 
9429         dsl=\E[0*w, fsl=\E[1;1!w, 
9430         is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
9431         rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
9432         tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
9433 avt|avt-s|concept-avt|avt w/80 columns, 
9434         use=avt+s, use=avt-ns, 
9435 avt-rv|avt-rv-s|avt reverse video w/sl, 
9436         flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s, 
9437         use=avt-ns, 
9438 avt-w|avt-w-s|concept avt 132 cols+status, 
9439         is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s, 
9440         use=avt-ns, 
9441 avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
9442         flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
9443         smcup=\E[H\E[1;24;1;132w, 
9444         use=avt+s, use=avt-ns, 
9445
9446 #### Contel Business Systems. 
9447 #
9448
9449 # Contel c300 and c320 terminals. 
9450 contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
9451         am, in, xon, 
9452         cols#80, lines#24, xmc#1, 
9453         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
9454         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
9455         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
9456         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
9457         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
9458         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
9459         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
9460         rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3, 
9461 # Contel c301 and c321 terminals.
9462 contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
9463         flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>, 
9464         use=contel300, 
9465
9466 #### Data General (dg)
9467 #
9468 # According to James Carlson <carlson@xylogics.com> writing in January 1995,
9469 # the terminals group at Data General was shut down in 1991; all these
9470 # terminals have thus been discontinued.
9471 #
9472 # DG terminals have function keys that respond to the SHIFT and CTRL keys,
9473 # e.g., SHIFT-F1 generates a different code from F1.  To number the keys
9474 # sequentially, first the unmodified key codes are listed as F1 through F15. 
9475 # Then their SHIFT versions are listed as F16 through F30, their CTRL versions
9476 # are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
9477 # F46 through F60.  This is done in the private "includes" below whose names
9478 # start with "dgkeys+".
9479 #
9480 # DG terminals generally support 8 bit characters.  For each of these terminals
9481 # two descriptions are supplied:
9482 #       1) A default description for 8 bits/character communications, which
9483 #          uses the default DG international character set and keyboard codes.
9484 #       2) A description with suffix "-7b" for 7 bits/character communications.
9485 #          This description must use the NON-DEFAULT native keyboard language.
9486
9487 # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
9488 # Ctrl/Shift fdkeys (kf34-kf44).
9489
9490 dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys, 
9491         ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z, 
9492         kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
9493         kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z, 
9494         kf11=\233011z, kf12=\233012z, kf13=\233013z, 
9495         kf14=\233014z, kf15=\233000z, kf16=\233101z, 
9496         kf17=\233102z, kf18=\233103z, kf19=\233104z, 
9497         kf2=\233002z, kf20=\233105z, kf21=\233106z, 
9498         kf22=\233107z, kf23=\233108z, kf24=\233109z, 
9499         kf25=\233110z, kf26=\233111z, kf27=\233112z, 
9500         kf28=\233113z, kf29=\233114z, kf3=\233003z, 
9501         kf30=\233100z, kf31=\233201z, kf32=\233202z, 
9502         kf33=\233203z, kf34=\233204z, kf35=\233205z, 
9503         kf36=\233206z, kf37=\233207z, kf38=\233208z, 
9504         kf39=\233209z, kf4=\233004z, kf40=\233210z, 
9505         kf41=\233211z, kf42=\233212z, kf43=\233213z, 
9506         kf44=\233214z, kf45=\233200z, kf46=\233301z, 
9507         kf47=\233302z, kf48=\233303z, kf49=\233304z, 
9508         kf5=\233005z, kf50=\233305z, kf51=\233306z, 
9509         kf52=\233307z, kf53=\233308z, kf54=\233309z, 
9510         kf55=\233310z, kf56=\233311z, kf57=\233312z, 
9511         kf58=\233313z, kf59=\233314z, kf6=\233006z, 
9512         kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z, 
9513         khome=\233H, kprt=\233i, 
9514
9515 dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys, 
9516         ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z, 
9517         kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
9518         kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z, 
9519         kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z, 
9520         kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z, 
9521         kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z, 
9522         kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z, 
9523         kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z, 
9524         kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z, 
9525         kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z, 
9526         kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z, 
9527         kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z, 
9528         kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z, 
9529         kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z, 
9530         kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z, 
9531         kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z, 
9532         kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z, 
9533         kf9=\E[009z, khome=\E[H, kprt=\E[i, 
9534
9535 dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys, 
9536         kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K, 
9537         kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c, 
9538         kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r, 
9539         kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3, 
9540         kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8, 
9541         kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#, 
9542         kf37=^^$, kf38=^^%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(, 
9543         kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w, 
9544         kf8=^^x, kf9=^^y, khome=^H, 
9545
9546 dgkeys+15|Private entry describing 15 DG mode special keys, 
9547         kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^, 
9548         kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^}, 
9549         kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d, 
9550         kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i, 
9551         kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s, 
9552         kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5, 
9553         kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:, 
9554         kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!, 
9555         kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%, kf51=^^&, 
9556         kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,, 
9557         kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x, 
9558         kf9=^^y, 
9559
9560 # Data General color terminals use the "Tektronix" color model.  The total
9561 # number of colors varies with the terminal model, as does support for
9562 # attributes used in conjunction with color.
9563
9564 # Removed u7, u8 definitions since they conflict with tack:
9565 #               Preserve user-defined colors in at least some cases.
9566 #       u7=^^Fh,
9567 #               Default is ACM mode.
9568 #       u8=^^F}20^^Fi^^F}21,
9569 #
9570 dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode, 
9571         bce, 
9572         colors#16, ncv#53, pairs#256, 
9573         op=\036Ad\036Bd, 
9574         setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
9575         setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
9576         setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
9577
9578 dg+fixed|Fixed color info for DG D430C terminals in DG mode, 
9579         use=dgunix+fixed, 
9580
9581 # Video attributes are coordinated using static variables set by "sgr", then
9582 # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
9583 # (D=dim, U=underline, B=blink, R=reverse.)
9584 dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode, 
9585         bce, 
9586         colors#8, ncv#16, pairs#64, 
9587         op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m, 
9588         setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9589         setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
9590         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, 
9591         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, 
9592
9593 dg+color|Color info for Data General D470C terminals in ANSI mode, 
9594         colors#16, ncv#53, pairs#256, 
9595         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, 
9596         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, 
9597         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, 
9598         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, 
9599         use=dg+color8, 
9600
9601 dgmode+color8|Color info for Data General D220/D230C terminals in DG mode, 
9602         bce, 
9603         colors#8, ncv#16, pairs#64, 
9604         op=\036Ad\036Bd, 
9605         setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
9606         setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
9607         setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
9608
9609 dgmode+color|Color info for Data General D470C terminals in DG mode, 
9610         colors#16, pairs#256, 
9611         setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
9612         setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
9613         use=dgmode+color8, 
9614
9615 dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode, 
9616         bce, ccc, 
9617         colors#52, ncv#53, pairs#26, 
9618         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, 
9619         oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00, 
9620         op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D, 
9621         scp=\036RG2%p1%02X, 
9622
9623 # Colors are in the order:  normal, reverse, dim, dim + reverse.
9624 dg+ccc|Configurable color info for DG D430C terminals in DG mode, 
9625         bce, ccc, 
9626         colors#52, ncv#53, pairs#26, 
9627         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, 
9628         oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00, 
9629         op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=, 
9630         scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c, 
9631
9632 # The generic DG terminal type (an 8-bit-clean subset of the 6053)
9633 # Initialization string 1 sets:
9634 #       ^R              - vertical scrolling enabled
9635 #       ^C              - blinking enabled
9636 dg-generic|Generic Data General terminal in DG mode, 
9637         am, bw, msgr, xon, 
9638         cols#80, lines#24, 
9639         bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
9640         cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C, 
9641         mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\, 
9642         smul=^T, 
9643         use=dgkeys+11, 
9644
9645 # According to the 4.4BSD termcap file, the dg200 <cup> should be the
9646 # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
9647 # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
9648 # maybe they were originally nuls (which would fit).
9649
9650 dg200|data general dasher 200, 
9651         am, bw, 
9652         cols#80, lines#24, 
9653         bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
9654         cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J, 
9655         kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q, 
9656         kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
9657         kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
9658         smso=^^D, smul=^T, 
9659
9660 # Data General 210/211 (and 410?)       from Lee Pearson (umich!lp) via BRL
9661 dg210|dg-ansi|Data General 210/211, 
9662         am, 
9663         cols#80, lines#24, 
9664         clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
9665         ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, kcud1=\E[B, 
9666         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, nel=\r\E[H\E[A\n, 
9667         rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, smul=\E[4;m, 
9668 # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
9669 # courtesy of Carlos Rucalde of Vantage Software, Inc.
9670 # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
9671 # I suspect the d200 function keys actually work on the dg211, check it out.)
9672 dg211|Data General d211, 
9673         cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
9674         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
9675         rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, 
9676         use=dg200, 
9677 # dg450 from cornell
9678 dg450|dg6134|data general 6134, 
9679         cub1@, cuf1=^X, use=dg200, 
9680 # Note: lesser Dasher terminals will not work with vi because vi insists upon
9681 # having a command to move straight down from any position on the bottom line
9682 # and scroll the screen up, or a direct vertical scroll command.  The 460 and
9683 # above have both, the D210/211, for instance, has neither.  We must use ANSI
9684 # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
9685 # backspace on all terminals.  This is not so in DG mode.
9686 # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
9687 # grounds that there is no matching ":ml:"
9688 # fixed garbled ":k9=\E[00\:z:" capability -- esr)
9689 dg460-ansi|Data General Dasher 460 in ANSI-mode, 
9690         am, msgr, ul, 
9691         cols#80, it#8, lines#24, 
9692         blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
9693         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
9694         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
9695         il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, kcub1=\E[D, 
9696         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z, 
9697         kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, kf4=\E[005z, 
9698         kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, kf8=\E[009z, 
9699         kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4, 
9700         lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, ri=\E[T, 
9701         rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
9702 # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
9703 # Data General 605x     
9704 # Ought to work for a Model 6242, Type D210 as well as a 605x.
9705 # Note that the cursor-down key transmits ^Z.  Job control users, beware!
9706 # This also matches a posted description of something called a `Dasher 100'
9707 # so there's a dg100 alias here. 
9708 # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
9709 dg6053-old|dg100|data general 6053, 
9710         am, bw, ul, 
9711         cols#80, lines#24, 
9712         bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
9713         cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H, 
9714         ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, 
9715         kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, 
9716         kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\0^^E, 
9717         rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, smul=^T, 
9718
9719 # (Some performance can be gained over the generic DG terminal type)
9720 dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053, 
9721         xon@, 
9722         home=^P\0\0, ll=^P\0^W, use=dg-generic, 
9723
9724 # Like 6053, but adds reverse video and more keypad and function keys.
9725 d200|d200-dg|Data General DASHER D200, 
9726         bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^], 
9727         sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;, 
9728         sgr0=\017\025\035\036E, smso=^^D^\, 
9729         use=dgkeys+15, use=dg6053, 
9730
9731 # DASHER D210 series terminals in ANSI mode.
9732 #       Reverse video, no insert/delete character/line, 7 bits/character only.
9733 #
9734 # Initialization string 1 sets:
9735 #       <0              - scrolling enabled
9736 #       <1              - blink enabled
9737 #       <4              - print characters regardless of attributes
9738 d210|d214|Data General DASHER D210 series, 
9739         am, bw, msgr, xon, 
9740         cols#80, lines#24, 
9741         bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M, 
9742         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
9743         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
9744         cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K, 
9745         el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l, 
9746         ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
9747         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m, 
9748         sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, 
9749         use=dgkeys+7b, 
9750
9751 # DASHER D210 series terminals in DG mode.
9752 # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
9753 d210-dg|d214-dg|Data General DASHER D210 series in DG mode, 
9754         xon, 
9755         ed=^^FF, use=d200-dg, 
9756
9757 # DASHER D211 series terminals in ANSI mode.
9758 # Like the D210, but with 8-bit characters and local printer support.
9759 #
9760 # Initialization string 2 sets:
9761 #       \E[2;1;1;1v
9762 #               2;1     - 8 bit operations
9763 #               1;1     - 8 bit (international) keyboard language
9764 #       \E(B            - default primary character set (U.S. ASCII)
9765 #       \E)4            - default secondary character set (international)
9766 #       ^O              - primary character set
9767 #
9768 d211|d215|Data General DASHER D211 series, 
9769         km, 
9770         is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b, use=d210, 
9771
9772 # Initialization string 2 sets:
9773 #       \E[2;0;1;0v
9774 #               2;0     - 7 bit operations
9775 #               1;0     - 7 bit (native) keyboard language
9776 #       \E(0            - default character set (the keyboard native language)
9777 #       ^O              - primary character set
9778 d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode, 
9779         km@, 
9780         is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211, 
9781
9782 # Like the D210 series, but adds support for 8-bit characters.
9783 #
9784 # Reset string 2 sets:
9785 #       ^^N     - secondary character set
9786 #       ^^FS0>  - 8 bit international character set
9787 #       ^^O     - primary character set
9788 #       ^^FS00  - default character set (matching the native keyboard language)
9789 #
9790 d211-dg|d215-dg|Data General DASHER D211 series in DG mode, 
9791         km, 
9792         rs2=\036N\036FS0>\036O\036FS00, use=d210-dg, 
9793
9794 d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode, 
9795         use=d211-dg, 
9796
9797 # Enhanced DG mode with changes to be more UNIX compatible.
9798 d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode, 
9799         mc5i, 
9800         it#8, 
9801         acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI, 
9802         clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA, 
9803         el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J, 
9804         is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd, 
9805         kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB, 
9806         kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0, 
9807         mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00, 
9808         rs2=\036N\036FS0E\036O\036FS00, 
9809         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%;, 
9810         sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11, 
9811         vpa=\020\177%p1%c, 
9812         use=dgkeys+15, use=d216-dg, 
9813 d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines, 
9814         lines#25, 
9815         is3=\036Fz2, use=d216+, 
9816
9817 d217-unix|Data General DASHER D217 in DG-UNIX mode, 
9818         use=d216-unix, 
9819 d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines, 
9820         use=d216-unix-25, 
9821
9822 # DASHER D220 color terminal in ANSI mode.
9823 # Like the D470C but with fewer colors and screen editing features.
9824 #
9825 # Initialization string 1 sets:
9826 #       \E[<0;<1;<4l
9827 #               <0      - scrolling enabled
9828 #               <1      - blink enabled
9829 #               <4      - print characters regardless of attributes
9830 #       \E[m            - all attributes off
9831 # Reset string 1 sets:
9832 #       \Ec             - initial mode defaults (RIS)
9833 #
9834 d220|Data General DASHER D220, 
9835         mc5i@, 
9836         dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, use=dg+color8, use=d470c, 
9837
9838 d220-7b|Data General DASHER D220 in 7 bit mode, 
9839         mc5i@, 
9840         dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, use=dg+color8, use=d470c-7b, 
9841
9842 # Initialization string 3 sets:
9843 #       - default cursor (solid rectangle)
9844 # Reset string 2 sets:
9845 #       ^^N     - secondary character set
9846 #       ^^FS0>  - 8 bit international character set
9847 #       ^^O     - primary character set
9848 #       ^^FS00  - default character set (matching the native keyboard language)
9849 #
9850 d220-dg|Data General DASHER D220 color terminal in DG mode, 
9851         mc5i@, 
9852         dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@, 
9853         rs2=\036N\036FS0>\036O\036FS00, 
9854         use=dgmode+color8, use=d470c-dg, 
9855
9856 # DASHER D230C color terminal in ANSI mode.
9857 # Like the D220 but with minor ANSI compatibility improvements.
9858 #
9859 d230c|d230|Data General DASHER D230C, 
9860         blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J, 
9861         rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m, 
9862         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%;, 
9863         sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m, 
9864         smul=\E[4;50m, 
9865         use=dgkeys+7b, use=d220, 
9866
9867 d230c-dg|d230-dg|Data General DASHER D230C in DG mode, 
9868         use=d220-dg, 
9869
9870 # DASHER D400/D450 series terminals.
9871 # These add intelligent features like insert/delete to the D200 series.
9872 #
9873 # Initialization string 2 sets:
9874 #       ^^FQ2           - default cursor (solid rectangle)
9875 #       ^^FW            - character protection disabled
9876 #       ^^FJ            - normal (80 column) mode
9877 #       ^^F\^           - horizontal scrolling enabled (for alignment)
9878 #       ^^FX004?        - margins at columns 0 and 79
9879 #       ^^F]            - horizontal scrolling disabled
9880 #       ^^O             - primary character set
9881 #       ^^FS00          - default character set (the keyboard native language)
9882 #       - (should reset scrolling regions, but that glitches the screen)
9883 # Reset string 1 sets:
9884 #       ^^FA            - all terminal defaults except scroll rate
9885 # Reset string 2 sets:
9886 #       ^^F]            - horizontal scrolling disabled
9887 #       ^^FT0           - jump scrolling
9888 #
9889 d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series, 
9890         mc5i, 
9891         acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0, 
9892         cnorm=\036FQ2, dch1=^^K, dl1=^^FI, 
9893         enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177, 
9894         ich1=^^J, il1=^^FH, 
9895         is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00, 
9896         ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O, 
9897         rs1=^^FA, rs2=\036F]\036FT0, 
9898         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%;, 
9899         sgr0=\017\025\035\036E\036O, smacs=^^N, 
9900         vpa=\020\177%p1%c, use=d210-dg, 
9901
9902 # DASHER D410/D460 series terminals in ANSI mode.
9903 # These add a large number of intelligent terminal features.
9904 #
9905 # Initialization string 1 sets:
9906 #       \E[<0;<1;<2;<4l
9907 #               <0      - scrolling enabled
9908 #               <1      - blink enabled
9909 #               <2      - horizontal scrolling enabled (for alignment)
9910 #               <4      - print characters regardless of attributes
9911 #       \E[5;0v         - normal (80 column) mode
9912 #       \E[1;1;80w      - margins at columns 1 and 80
9913 #       \E[1;6;<2h
9914 #               1       - print all characters even if protected
9915 #               6       - character protection disabled
9916 #               <2      - horizontal scrolling disabled
9917 #       - (should reset scrolling regions, but that glitches the screen)
9918 #
9919 # Initialization string 2 sets:
9920 #       \E[3;2;2;1;1;1v
9921 #               3;2     - default cursor (solid rectangle)
9922 #               2;1     - 8 bit operations
9923 #               1;1     - international keyboard language
9924 #       \E(B            - default primary character set (U.S. ASCII)
9925 #       \E)4            - default secondary character set (international)
9926 #       ^O              - primary character set
9927 #
9928 #       Reset string 1 sets:
9929 #       \Ec             - initial mode defaults (RIS)
9930 #       \E[<2h          - horizontal scrolling disabled
9931 #
9932 # Reset string 2 sets:
9933 #       \E[4;0;2;1;1;1v
9934 #               4;0     - jump scrolling
9935 #               2;1     - 8 bit operations
9936 #               1;1     - 8 bit (international) keyboard language
9937 #       \E(B            - default primary character set (U.S. ASCII)
9938 #       \E)4            - default secondary character set (international)
9939 #
9940 d410|d411|d460|d461|Data General DASHER D410/D460 series, 
9941         mc5i, 
9942         acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v, 
9943         cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
9944         dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
9945         is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h, 
9946         is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i, 
9947         ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h, 
9948         rs2=\E[4;0;2;1;1;1v\E(B\E)4, 
9949         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;, 
9950         sgr0=\E[m\E)4\017, smacs=\E)6\016, 
9951         use=d211, 
9952
9953 # Initialization string 2 sets:
9954 #       \E[3;2;2;0;1;0v
9955 #               3;2     - default cursor (solid rectangle)
9956 #               2;0     - 7 bit operations
9957 #               1;0     - 7 bit (native) keyboard language
9958 #       \E(0            - default character set (the keyboard native language)
9959 #       ^O              - primary character set
9960 #
9961 # Reset string 2 sets:
9962 #       \E[4;0;2;0;1;0v
9963 #               4;0     - jump scrolling
9964 #               2;0     - 7 bit operations
9965 #               1;0     - 7 bit (native) keyboard language
9966 #       \E(0            - default character set (the keyboard native language)
9967 #
9968 d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode, 
9969         km@, 
9970         enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O, 
9971         rs2=\E[4;0;2;0;1;0v\E(0, 
9972         sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;, 
9973         sgr0=\E[m\017, smacs=^N, 
9974         use=dgkeys+7b, use=d410, 
9975
9976 d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode, 
9977         km, 
9978         enacs@, rmacs=\036FS00, 
9979         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%;, 
9980         sgr0=\017\025\035\036E\036FS00, smacs=\036FS11, 
9981         use=d400-dg, 
9982
9983 # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
9984 #
9985 # Initialization string 1 sets:
9986 #       \E[<0;<1;<2;<4l
9987 #               <0      - scrolling enabled
9988 #               <1      - blink enabled
9989 #               <2      - horizontal scrolling enabled (for alignment)
9990 #               <4      - print characters regardless of attributes
9991 #       \E[5;1v         - compressed (135 column) mode
9992 #       \E[1;1;126      - margins at columns 1 and 126
9993 #       \E[1;6;<2h
9994 #               1       - print all characters even if protected
9995 #               6       - character protection disabled
9996 #               <2      - horizontal scrolling disabled
9997 #       - (should reset scrolling regions, but that glitches the screen)
9998 #
9999 # Reset string 1 sets:
10000 #       \Ec             - initial mode defaults (RIS)
10001 #       \E[5;1v         - compressed (135 column) mode
10002 #       \E[1;1;126w     - margins at columns 1 and 126
10003 #       \E[<2h          - horizontal scrolling disabled
10004 #
10005 d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode, 
10006         cols#126, 
10007         is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
10008         rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, 
10009         use=d410, 
10010
10011 d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode, 
10012         cols#126, 
10013         is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
10014         rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, 
10015         use=d410-7b, 
10016
10017 d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode, 
10018         use=d410-dg, 
10019
10020 # These add intelligent features like scrolling regions.
10021 d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode, 
10022         civis=\036FQ0, clear=^^FE, cnorm=\036FQ5, 
10023         cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI, 
10024         home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH, 
10025         is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00, 
10026         ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I, 
10027         rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10, 
10028         vpa=\036FPFF%p1%2.2X, 
10029         wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d216+, 
10030 d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode, 
10031         cols#132, 
10032         is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00, 
10033         rs2=\036P@1\036FK\036FX0083, 
10034         wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X, use=d412-unix, 
10035 d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines, 
10036         lines#25, 
10037         is3=\036Fz2, 
10038         wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, use=d462+, 
10039 d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line, 
10040         eslok, hs, 
10041         clear=\036FG\036PH, fsl=\036F}01\022, 
10042         is3=\036Fz2\036F}00\036FB180000\036F}01, ll@, 
10043         tsl=\036F}00\036FP%p1%2.2X18\036PG, 
10044         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, use=d462+, 
10045
10046 #       Relative cursor motions are confined to the current window,
10047 #       which is not what the scrolling region specification expects.
10048 #       Thus, relative vertical cursor positioning must be deleted.
10049 d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region, 
10050         csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;, 
10051         cud1@, cuu1@, ll@, 
10052         use=d462+, 
10053
10054 d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode, 
10055         use=d412-unix, 
10056 d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode, 
10057         use=d412-unix-w, 
10058 d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines, 
10059         use=d412-unix-25, 
10060 d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line, 
10061         use=d412-unix-s, 
10062 d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region, 
10063         use=d412-unix-sr, 
10064
10065 d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode, 
10066         use=d413-unix, 
10067 d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode, 
10068         use=d413-unix-w, 
10069 d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines, 
10070         use=d413-unix-25, 
10071 d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line, 
10072         use=d413-unix-s, 
10073 d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region, 
10074         use=d413-unix-sr, 
10075
10076 d430c-dg|d430-dg|Data General D430C in DG mode, 
10077         use=d413-dg, use=dg+fixed, 
10078 d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors, 
10079         use=d413-dg, use=dg+ccc, 
10080
10081 d430c-unix|d430-unix|Data General D430C in DG-UNIX mode, 
10082         use=d413-unix, use=dgunix+fixed, 
10083 d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode, 
10084         use=d413-unix-w, use=dgunix+fixed, 
10085 d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines, 
10086         use=d413-unix-25, use=dgunix+fixed, 
10087 d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line, 
10088         use=d413-unix-s, use=dgunix+fixed, 
10089 d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region, 
10090         use=d413-unix-sr, use=dgunix+fixed, 
10091 d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors, 
10092         use=d413-unix, use=dgunix+ccc, 
10093 d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors, 
10094         use=d413-unix-w, use=dgunix+ccc, 
10095 d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors, 
10096         use=d413-unix-25, use=dgunix+ccc, 
10097 d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors, 
10098         use=d413-unix-s, use=dgunix+ccc, 
10099 d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors, 
10100         use=d413-unix-sr, use=dgunix+ccc, 
10101
10102 # DASHER D470C color terminal in ANSI mode.
10103 # Like the D460 but with 16 colors and without a compressed mode.
10104 #
10105 # Initialization string 1 sets:
10106 #       \E[<0;<1;<2;<4l
10107 #               <0      - scrolling enabled
10108 #               <1      - blink enabled
10109 #               <2      - horizontal scrolling enabled (for alignment)
10110 #               <4      - print characters regardless of attributes
10111 #       \E[1;1;80w      - margins at columns 1 and 80
10112 #       \E[1;6;<2h
10113 #               1       - print all characters even if protected
10114 #               6       - character protection disabled
10115 #               <2      - horizontal scrolling disabled
10116 #       - (should reset scrolling regions, but that glitches the screen)
10117 #
10118 d470c|d470|Data General DASHER D470C, 
10119         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
10120         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%;, 
10121         use=dg+color, use=d460, 
10122
10123 d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode, 
10124         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
10125         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%;, 
10126         use=dg+color, use=d460-7b, 
10127
10128 # Initialization string 2 sets:
10129 #       ^^FQ2           - default cursor (solid rectangle)
10130 #       ^^FW            - character protection disabled
10131 #       ^^F\^           - horizontal scrolling enabled (for alignment)
10132 #       ^^FX004?        - margins at columns 0 and 79
10133 #       ^^F]            - horizontal scrolling disabled
10134 #       ^^O             - primary character set
10135 #       ^^FS00          - default character set (the keyboard native language)
10136 #       - (should reset scrolling regions, but that glitches the screen)
10137 #
10138 d470c-dg|d470-dg|Data General DASHER D470C in DG mode, 
10139         is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00, 
10140         use=dgmode+color, use=d460-dg, 
10141
10142 # DASHER D555 terminal in ANSI mode.
10143 # Like a D411, but has an integrated phone.
10144 d555|Data General DASHER D555, 
10145         use=d411, 
10146 d555-7b|Data General DASHER D555 in 7-bit mode, 
10147         use=d411-7b, 
10148 d555-w|Data General DASHER D555 in wide mode, 
10149         use=d411-w, 
10150 d555-7b-w|Data General DASHER D555 in wide 7-bit mode, 
10151         use=d411-7b-w, 
10152 d555-dg|Data General DASHER D555 series in DG mode, 
10153         use=d411-dg, 
10154
10155 # DASHER D577 terminal in ANSI mode.
10156 # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
10157 d577|Data General DASHER D577, 
10158         use=d411, 
10159 d577-7b|Data General DASHER D577 in 7-bit mode, 
10160         use=d411-7b, 
10161 d577-w|Data General DASHER D577 in wide mode, 
10162         use=d411-w, 
10163 d577-7b-w|Data General DASHER D577 in wide 7-bit mode, 
10164         use=d411-7b-w, 
10165
10166 d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode, 
10167         use=d411-dg, 
10168
10169 # DASHER D578 terminal.
10170 # Like a D577, but without compressed mode; like a D470C in this respect.
10171 #
10172 # Initialization string 1 sets:
10173 #       \E[<0;<1;<2;<4l
10174 #               <0      - scrolling enabled
10175 #               <1      - blink enabled
10176 #               <2      - horizontal scrolling enabled (for alignment)
10177 #               <4      - print characters regardless of attributes
10178 #       \E[1;1;80w      - margins at columns 1 and 80
10179 #       \E[1;6;<2h
10180 #               1       - print all characters even if protected
10181 #               6       - character protection disabled
10182 #               <2      - horizontal scrolling disabled
10183 #       - (should reset scrolling regions, but that glitches the screen)
10184 #
10185 d578|Data General DASHER D578, 
10186         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577, 
10187 d578-7b|Data General DASHER D578 in 7-bit mode, 
10188         is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
10189         use=d577-7b, 
10190
10191 #### Datamedia (dm)
10192 #
10193 # Datamedia was headquartered in Nashua, New Hampshire in 1993.
10194 # As of early 1996, at least one company called `Datamedia' has been taken
10195 # over by:
10196 #
10197 #    Axent Technologies, Inc.
10198 #    2400 Research Boulevard
10199 #    Rockville, Maryland 20850
10200 #    voice: +1 301/258-5043
10201 #      fax: +1 301/330-5756
10202 #    email: <info@axent.com>
10203 #
10204 # makers of OmniGuard client/server security software.  They are a software
10205 # only company and no longer make terminals.  However, the operator there
10206 # told me that she had once spoken to a customer looking for Datamedia
10207 # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
10208 # by comp.terminals posting describing the ID plate on the back of a
10209 # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
10210 # Inquiring minds want to know...
10211 #
10212
10213 cs10|colorscan|Datamedia Color Scan 10, 
10214         msgr, 
10215         cols#80, lines#24, 
10216         bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
10217         cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
10218         ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
10219         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
10220         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
10221 cs10-w|Datamedia Color Scan 10 with 132 columns, 
10222         cols#132, 
10223         cup=\E[%i%p1%02d;%p2%03dH, use=cs10, 
10224
10225 # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
10226 dm1520|dm1521|datamedia 1520, 
10227         am, xenl, 
10228         cols#80, it#8, lines#24, 
10229         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
10230         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
10231         home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
10232         khome=^Y, 
10233 # dm2500: this terminal has both <ich> and <smir>. Applications using 
10234 # termcap/terminfo directly (rather than through ncurses) might be confused.
10235 dm2500|datamedia2500|datamedia 2500, 
10236         cols#80, lines#24, 
10237         bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
10238         cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
10239         dch1=\020\010\030\035$<10*>, 
10240         dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
10241         ich1=\020\034\030\035$<10*>, 
10242         il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
10243         rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
10244         smdc=^P, smir=^P, smso=^N, 
10245 # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
10246 # also, has a meta-key.
10247 # From: <goldberger@su-csli.arpa>
10248 # (dmchat: ":MT:" changed to ":km:" -- esr)
10249 dmchat|dmchat version of datamedia 2500, 
10250         km, 
10251         dl1=\020\032\030\035$<2/>, 
10252         il1=\020\n\030\035\030\035$<1*/>, use=dm2500, 
10253 # (dm3025: ":MT:" changed to ":km:" -- esr)
10254 dm3025|datamedia 3025a, 
10255         km, 
10256         cols#80, it#8, lines#24, 
10257         bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10258         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
10259         dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK, 
10260         home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, 
10261         is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, 
10262         smir=\EP, smso=\EO1, 
10263 dm3045|datamedia 3045a, 
10264         am, eo, km@, ul, xenl, 
10265         dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA, 
10266         kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
10267         kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, 
10268         khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, 
10269         use=dm3025, 
10270 # Datamedia DT80 soft switches:
10271 # 1     0=Jump  1=Smooth
10272 #       Autorepeat      0=off  1=on
10273 #       Screen          0=Dark 1=light
10274 #       Cursor          0=u/l  1=block
10275
10276 # 2     Margin Bell     0=off  1=on
10277 #       Keyclick        0=off  1=on
10278 #       Ansi/VT52       0=VT52 1=Ansi
10279 #       Xon/Xoff        0=Off  1=On
10280
10281 # 3     Shift3          0=Hash 1=UK Pound
10282 #       Wrap            0=Off  1=On
10283 #       Newline         0=Off  1=On
10284 #       Interlace       0=Off  1=On
10285 #       
10286 # 4     Parity          0=Odd  1=Even
10287 #       Parity          0=Off  1=On
10288 #       Bits/Char       0=7    1=8
10289 #       Power           0=60Hz 1=50Hz
10290
10291 # 5     Line Interface  0=EIA  1=Loop
10292 #       Aux Interface   0=EIA  1=Loop
10293 #       Local Copy      0=Off  1=On     
10294 #       Spare
10295
10296 # 6     Aux Parity      0=Odd  1=Even
10297 #       Aux Parity      0=Off  1=On
10298 #       Aux Bits/Char   0=7    1=8
10299 #       CRT Saver       0=Off  1=On
10300 # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
10301 dm80|dmdt80|dt80|datamedia dt80/1, 
10302         clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
10303         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
10304         home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
10305         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
10306         use=vt100, 
10307 # except in 132 column mode, where it needs a little padding.
10308 # This is still less padding than the vt100, and you can always turn on
10309 # the ^S/^Q handshaking, so you can use vt100 flavors for things like
10310 # reverse video.
10311 dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
10312         cols#132, 
10313         clear=\E[H\E[2J$<50/>, cud1=^J, 
10314         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
10315         ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80, 
10316 # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
10317 dt80-sas|Datamedia DT803/DTX for SAS usage, 
10318         am, bw, 
10319         cols#80, lines#24, 
10320         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
10321         bel=^G, clear=^L, cr=^M, 
10322         csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2, 
10323         cub1=^H, cud1=\EB, cuf1=^\, 
10324         cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K, 
10325         el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
10326         is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
10327         kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
10328         rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
10329         smso=\E$2\004, tbc=\E'0, 
10330
10331 # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
10332 # These aren't end-all Excel termcaps; but do insert/delete char/line
10333 # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
10334 # The naming convention has been bent somewhat, with the use of E? (where
10335 # E is for 'Excel') as # a name.  This was done to distinguish the entries
10336 # from the other Datamedias in use here, and yet to associate a model of
10337 # the Excel terminals with the regular datamedia terminals that share
10338 # major characteristics.
10339 excel62|excel64|datamedia Excel 62, 
10340         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
10341         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
10342         use=dt80, 
10343 excel62-w|excel64-w|datamedia Excel 62 in 132 char mode, 
10344         dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
10345         kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
10346         use=dt80w, 
10347 excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode, 
10348         dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J, 
10349         kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, 
10350         smir=\E[4h, 
10351         use=dt80, 
10352
10353 #### Falco
10354 #
10355 #       Falco Data Products
10356 #       440 Potrero Avenue
10357 #       Sunnyvale, CA 940864-196
10358 #       Vox: (800)-325-2648
10359 #       Fax: (408)-745-7860
10360 #       Net: techsup@charm.sys.falco.com
10361 #
10362 # Current Falco models as of 1995 are generally ANSI-compatible and support
10363 # emulations of DEC VT-series, Wyse, and Televideo types.
10364 #
10365
10366 # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
10367 # This terminal was released around 1983 and was discontinued long ago.
10368 # The standout and underline highlights are the same.
10369 falco|ts1|ts-1|falco ts-1, 
10370         am, 
10371         cols#80, it#8, lines#24, 
10372         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
10373         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
10374         dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE, 
10375         ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
10376         kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, 
10377         smir=\Eq, smso=\Eg1, smul=\Eg1, 
10378 falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
10379         am, da, db, mir, msgr, ul, 
10380         cols#80, it#8, lines#24, 
10381         bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, 
10382         cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
10383         dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I, 
10384         il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B, 
10385         kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er, 
10386         rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq, 
10387         smso=\Eg4, smul=\Eg1, 
10388 # (ts100: I added <rmam>/<smam> based on the init string -- esr)
10389 ts100|ts100-sp|falco ts100-sp, 
10390         am, mir, msgr, xenl, xon, 
10391         cols#80, it#8, lines#24, vt#3, 
10392         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
10393         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
10394         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10395         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10396         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
10397         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
10398         cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
10399         el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, 
10400         ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea, 
10401         ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, 
10402         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
10403         kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
10404         kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
10405         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
10406         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
10407         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
10408         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
10409         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
10410         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
10411 ts100-ctxt|falco ts-100 saving context, 
10412         rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100, 
10413
10414 #### Florida Computer Graphics
10415 #
10416
10417 # Florida Computer Graphics Beacon System, using terminal emulator program
10418 # "host.com", as provided by FCG.  This description is for an early release
10419 # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
10420 # commented out.
10421
10422 # From: David Bryant <cbosg!djb> 1/7/83
10423 beacon|FCG Beacon System, 
10424         am, da, db, 
10425         cols#80, lines#32, 
10426         bel=\ESTART\r\E37\r\EEND\r$<1>, 
10427         blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M, 
10428         cub1=^H, cud1=^J, cuf1=\EV, 
10429         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
10430         dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE, 
10431         ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=, 
10432         rmso=\ESTART\r\E70\,0\r\EEND\r$<20>, 
10433         rmul=\ESTART\r\E60\,0\r\EEND\r, 
10434         sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>, 
10435         smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>, 
10436         smso=\ESTART\r\E70\,6\r\EEND\r$<20>, 
10437         smul=\ESTART\r\E60\,1\r\EEND\r, 
10438
10439 #### Fluke
10440 #
10441
10442 # The f1720a differences from ANSI: no auto margin, destructive 
10443 # tabs, # of lines, funny highlighting and underlining
10444 f1720|f1720a|fluke 1720A, 
10445         xt, 
10446         cols#80, lines#16, xmc#1, 
10447         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
10448         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, 
10449         el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^], 
10450         kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
10451         smso=\E[7m, smul=\E[4m, 
10452
10453 #### Liberty Electronics (Freedom)
10454 #
10455 #       Liberty Electronics
10456 #       48089 Fremont Blvd
10457 #       Fremont CA 94538
10458 #       Vox: (510)-623-6000
10459 #       Fax: (510)-623-7021
10460
10461 # From: <faletti@berkeley.edu>
10462 # (f100: added empty <acsc> to suppress a tic warning;
10463 # made this relative to adm+sgr -- note that <invis> isn't
10464 # known to work for f100 but does on the f110. --esr)
10465 f100|freedom|freedom100|freedom model 100, 
10466         am, bw, hs, mir, msgr, xon, 
10467         cols#80, lines#24, 
10468         acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
10469         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10470         dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
10471         flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c, 
10472         ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>, 
10473         is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, 
10474         kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
10475         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
10476         kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er, 
10477         smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
10478         vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
10479 f100-rv|freedom-rv|freedom 100 in reverse video, 
10480         flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100, 
10481 # The f110 and f200 have problems with vi(1).  They use the ^V
10482 # code for the down cursor key. When kcud1 is defined in terminfo
10483 # as ^V, the Control Character Quoting capability (^V in insert mode)
10484 # is lost! It cannot be remapped in vi because it is necessary to enter
10485 # a ^V to to quote the ^V that is being remapped!!!
10486
10487 # f110/f200 users will have to decide whether
10488 # to lose the down cursor key or the quoting capability. We will opt
10489 # initially for leaving the quoting capability out, since use of VI
10490 # is not generally applicable to most interactive applications
10491 # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
10492 f110|freedom110|Liberty Freedom 110, 
10493         bw@, eslok, 
10494         it#8, wsl#80, 
10495         blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V, 
10496         cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
10497         flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW, 
10498         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, 
10499         kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO, 
10500         smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, 
10501         use=f100, 
10502 f110-14|Liberty Freedom 110 14inch, 
10503         dch1@, use=f110, 
10504 f110-w|Liberty Freedom 110 - 132 cols, 
10505         cols#132, use=f110, 
10506 f110-14w|Liberty Freedom 110 14in/132 cols, 
10507         cols#132, 
10508         dch1@, use=f110, 
10509 # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
10510 f200|freedom200|Liberty Freedom 200, 
10511         am, eslok, hs, mir, msgr, xon, 
10512         cols#80, it#8, lines#24, wsl#80, 
10513         acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
10514         clear=^Z, cnorm=\E.1, cr=^M, 
10515         csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
10516         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
10517         cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, 
10518         el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^, 
10519         hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H, 
10520         kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
10521         kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
10522         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
10523         kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, 
10524         ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<, 
10525         tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, 
10526         use=adm+sgr, 
10527 f200-w|Liberty Freedom 200 - 132 cols, 
10528         cols#132, use=f200, 
10529 # The f200 has the ability to reprogram the down cursor key. The key is
10530 # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
10531 # so powering the terminal off and on will not cause the change to be lost.
10532 f200vi|Liberty Freedom 200 for vi, 
10533         flash=\Eb$<200/>\Ed, kcud1=^J, use=f200, 
10534 f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
10535         cols#132, use=f200vi, 
10536
10537 #### GraphOn (go)
10538 #
10539 #       Graphon Corporation
10540 #       544 Division Street
10541 #       Campbell, CA 95008
10542 #       Vox: (408)-370-4080
10543 #       Fax: (408)-370-5047
10544 #       Net: troy@graphon.com (Troy Morrison)
10545 #
10546 #
10547 # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
10548 # including one odd hybrid that starts out life on power-up as a character
10549 # terminal, than can be switched to X graphics mode (driven over the serial
10550 # line) by an escape sequence.  No info on this beast yet.
10551 # (go140: I added <rmam>/<smam> based on the init string -- esr)
10552 go140|graphon go-140, 
10553         cols#80, it#8, lines#24, 
10554         clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
10555         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
10556         ed=\E[J$<10/>, el=\E[K, ht=^I, 
10557         if=/usr/share/tabset/vt100, il1=\E[L, 
10558         is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
10559         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
10560         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
10561         rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
10562         rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
10563         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
10564 go140w|graphon go-140 in 132 column mode, 
10565         am, 
10566         cols#132, 
10567         is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140, 
10568 # Hacked up vt200 termcap to handle GO-225/VT220
10569 # From: <edm@nwnexus.WA.COM>
10570 # (go225: I added <rmam>/<smam> based on the init string -- esr)
10571 go225|go-225|Graphon 225, 
10572         am, mir, xenl, 
10573         cols#80, it#8, lines#25, vt#3, 
10574         blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
10575         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
10576         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
10577         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED, 
10578         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
10579         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
10580         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m, 
10581         rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
10582         rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, 
10583         rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, 
10584         sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, 
10585         smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
10586
10587 #### Harris (Beehive)
10588 #
10589 # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
10590 # Their terminal group is ancient history now (1995) though the parent
10591 # company is still in business.
10592 #
10593
10594 # Beehive documentation is undated and marked Preliminary and has no figures
10595 # so we must have early Superbee2 (Model 600, according to phone conversation
10596 # with mfr.). It has proved reliable except for some missing padding
10597 # (notably after \EK and <nl> at bottom of screen).
10598
10599 # The key idea is that AEP mode is poison for <cup> & that US's in 
10600 # the local memory should be avoided like the plague. That means 
10601 # that the 2048 character local buffer is used as 25 lines of 80 
10602 # characters, period. No scrolling local memory, folks. It also 
10603 # appears that we cannot use naked INS LINE feature since it uses
10604 # US. The sbi fakes <il1> with an 80-space insert that may be too 
10605 # slow at low speeds; also spaces get converted to \040 which is 
10606 # too long for some programs (not vi).  DEL LINE is ok but slow.
10607
10608 # The <nl> string is designed for last line of screen ONLY; cup to 
10609 # 25th line corrects the motion inherent in scrolling to Page 1.
10610
10611 # There is one understood bug. It is that the screen appears to
10612 # pop to a new (blank) page after a <nel>, or leave a half-line 
10613 # ellipsis to a quad that is the extra 48 memory locations. The 
10614 # data received is dumped into memory but not displayed.  Not to 
10615 # worry if <cup> is being used; the lines not displayed will be, 
10616 # whenever the cursor is moved up there. Since <cup> is addressed 
10617 # relative to MEMORY of window, nothing is lost; but beware of 
10618 # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
10619 # therefore, is setenv MORE -c .
10620
10621 # WARNING: Not all features tested.
10622
10623 # Timings are assembled from 3 sources. Some timings may reflect 
10624 # SB2/Model 300 that were used if more conservative.
10625 # Tested on a Model 600 at 1200 and 9600 bd.
10626
10627 # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
10628 # placed on the keyboard and useless because of AEP, is made 
10629 # into a backspace key. In use ESC must be pressed twice (to send)
10630 # and sending ^C must be prefixed by ESC to avoid that weird 
10631 # transmit mode associated with ENTER key.
10632
10633 # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
10634 # the screen, then it has dropped into ENTER mode; hit 
10635 # RESET--ONLINE--!tset.
10636
10637 # As delivered this machine has a FATAL feature that will throw 
10638 # it into that strange transmit state (SPOW) if the space bar is 
10639 # hit after a CR is received, but before receiving a LF (or a 
10640 # few others).
10641
10642 # The circuits MUST be modified to eliminate the SPOW latch. 
10643 # This is done by strapping on chip A46 of the I/O board; cut 
10644 # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
10645 # chip. This mod has been checked out on a Mod 600 of Superbee II.
10646 # With this modification absurdly high timings on cr are 
10647 # unnecessary.
10648
10649 # NOTE WELL that the rear panel switch should be set to CR/LF, 
10650 # not AEP!
10651 #
10652 sb1|beehive superbee, 
10653         am, bw, da, db, mir, ul, xsb, 
10654         cols#80, lines#25, xmc#1, 
10655         bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, 
10656         cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d, 
10657         cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, 
10658         el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1, 
10659         il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
10660         ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, 
10661         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, 
10662         kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
10663         kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
10664         krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER, 
10665         rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, 
10666         smso=\E_1, smul=\E_0, tbc=\E3, 
10667 sbi|superbee|beehive superbee at Indiana U., 
10668         xsb, 
10669         cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1, 
10670 # Alternate (older) description of Superbee - f1=escape, f2=^C.
10671 # Note: there are at least 3 kinds of superbees in the world.  The sb1
10672 # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
10673 # The sb3 puts garbage on the bottom of the screen when you scroll with
10674 # the switch in the back set to CRLF instead of AEP.  This description
10675 # is tested on the sb2 but should work on all with either switch setting.
10676 # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
10677 # the other two if you want to try to hit that tiny escape key.
10678 # This description is tricky: being able to use cup depends on there being
10679 # 2048 bytes of memory and the hairy <nl> string.
10680 superbee-xsb|beehive super bee, 
10681         am, da, db, xsb, 
10682         cols#80, it#8, lines#25, 
10683         clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J, 
10684         cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
10685         dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
10686         home=\EH, ht=^I, hts=\E1, 
10687         ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ, 
10688         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq, 
10689         kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
10690         khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
10691 # This loses on lines > 80 chars long, use at your own risk
10692 superbeeic|super bee with insert char, 
10693         ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
10694 sb2|sb3|fixed superbee, 
10695         xsb@, use=superbee, 
10696
10697 # Reports are that most of these Beehive entries (except superbee) have not
10698 # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
10699
10700 # (bee: <ich1> was empty, which is obviously bogus -- esr)
10701 beehive|bee|harris beehive, 
10702         am, mir, 
10703         cols#80, lines#24, 
10704         cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
10705         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
10706         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>, 
10707         kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
10708         kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
10709         krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, 
10710         smir=\EQ, smso=\EdP, smul=\Ed`, 
10711 # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
10712 # good grief - does this entry make :sg:/:ug: when it doesn't have to?
10713 # look at those spaces in <rmso>/<smso>.  Seems strange to me...
10714 # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
10715 # really care, cook up one using ^F -- esr)
10716 beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
10717         am, 
10718         cols#80, it#8, lines#20, 
10719         bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K, 
10720         dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F, 
10721         il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s, 
10722 beehive4|bh4|beehive 4, 
10723         am, 
10724         cols#80, lines#24, 
10725         bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
10726         cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J, 
10727 microb|microbee|micro bee series, 
10728         am, 
10729         cols#80, it#8, lines#24, 
10730         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10731         cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
10732         el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
10733         kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
10734         kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@, 
10735         rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`, 
10736
10737 # 8675, 8686, and bee from Cyrus Rahman
10738 # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
10739 ha8675|harris 8675, 
10740         is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
10741         kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei, 
10742         kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H, 
10743         kf8=\177, kf9=\Ee, 
10744         use=bee, 
10745 # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
10746 # in :is: -- esr)
10747 ha8686|harris 8686, 
10748         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#, 
10749         kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003, 
10750         kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003, 
10751         kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003, 
10752         kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(, 
10753         use=bee, 
10754
10755 #### Hazeltine
10756 #
10757 # Hazeltine appears to be out of the terminal business as of 1995.  These
10758 # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
10759 # Harris. They have a hazeltine.com domain (but no web page there ) and can
10760 # be reached at:
10761 #
10762 #       Hazeltine
10763 #       450 East Pulaski Road
10764 #       Greenlawn, New York 11740
10765 #
10766 # As late as 1993, manuals for the terminal product line could still be
10767 # purchased from:
10768 #
10769 #       TRW Customer Service Division
10770 #       15 Law Drive
10771 #       P.O. Box 2076
10772 #       Fairfield, NJ 07007-2078
10773 #
10774 # They're now (1998) a subsidiary of General Electric, operating under the
10775 # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
10776 # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
10777 #
10778
10779 # Since <cuf1> is blank, when you want to erase something you
10780 # are out of luck.  You will have to do ^L's a lot to
10781 # redraw the screen.  h1000 is untested.  It doesn't work in
10782 # vi - this terminal is too dumb for even vi.  (The code is
10783 # there but it isn't debugged for this case.)
10784 hz1000|hazeltine 1000, 
10785         cols#80, lines#12, 
10786         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K, 
10787         ind=^J, 
10788 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
10789 hz1420|hazeltine 1420, 
10790         am, 
10791         cols#80, lines#24, 
10792         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P, 
10793         cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S, 
10794         ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y, 
10795         smso=\E^_, 
10796 # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
10797 # freakout with out-of-range args and tn3270.  No hz since it needs to
10798 # receive tildes.
10799 hz1500|hazeltine 1500, 
10800         am, hz, 
10801         cols#80, lines#24, 
10802         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
10803         cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c, 
10804         cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
10805         il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
10806         kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
10807 # h1510 assumed to be in sane escape mode.  Else use h1500.
10808 # (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
10809 # <smso=\E^Y>, but these caps were commented out in 8.3; also,
10810 # removed incorrect and overridden ":do=^J:" -- esr)
10811 hz1510|hazeltine 1510, 
10812         am, 
10813         cols#80, lines#24, 
10814         bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P, 
10815         cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X, 
10816         el=\E^O, il1=\E^Z, ind=^J, 
10817 # Hazeltine 1520
10818 # The following switch settings are assumed for normal operation:
10819 #       FULL            CR              U/L_CASE        ESCAPE
10820 #       FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
10821 # Other switches may be set for operator convenience or communication
10822 # requirements.
10823 hz1520|Hazeltine 1520, 
10824         am, bw, msgr, 
10825         cols#80, lines#24, 
10826         bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
10827         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
10828         ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H, 
10829         kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, 
10830         kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z, 
10831         rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_, 
10832 # This version works with the escape switch off
10833 # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
10834 hz1520-noesc|hazeltine 1520, 
10835         am, hz, 
10836         cols#80, lines#24, 
10837         bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
10838         cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O, 
10839         home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_, 
10840 # Note: the h1552 appears to be the first Hazeltine terminal which
10841 # is not braindamaged.  It has tildes and backprimes and everything!
10842 # Be sure the auto lf/cr switch is set to cr.
10843 hz1552|hazeltine 1552, 
10844         cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue, 
10845         lf2=red, lf3=green, 
10846         use=vt52, 
10847 hz1552-rv|hazeltine 1552 reverse video, 
10848         cud1=^J, rmso=\ET, smso=\ES, use=hz1552, 
10849 # Note: h2000 won't work well because of a clash between upper case and ~'s.
10850 hz2000|hazeltine 2000, 
10851         am, 
10852         cols#74, lines#27, 
10853         bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
10854         cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
10855         il1=~\032$<6>, ind=^J, pad=\177, 
10856 # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
10857 # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
10858 # to work ok. There is one problem though if one types a lot of garbage
10859 # characters very fast vi seems not able to keep up and hangs while trying
10860 # to insert. That's in insert mode while trying to insert in the middle of
10861 # a line. It might be because the Esprit doesn't have insert char and delete
10862 # char as a built in function. Vi has to delete to end of line and then 
10863 # redraw the rest of the line.
10864 esprit|Hazeltine Esprit I, 
10865         am, bw, 
10866         cols#80, lines#24, 
10867         bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
10868         cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
10869         ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H, 
10870         kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
10871         kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J, 
10872         kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R, 
10873         lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, 
10874         rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_, 
10875 esprit-am|hazeltine esprit auto-margin, 
10876         am, use=esprit, 
10877 # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
10878 # Vi it seems always wants to send a control J for "do" and it turned out
10879 # that the terminal would work somewhat if the auto LF/CR was turned off.
10880 # (hmod1: removed :dn=~^K: -- esr)
10881 hmod1|Hazeltine Modular 1, 
10882         am, hz, 
10883         cols#80, lines#24, 
10884         bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
10885         cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z, 
10886         ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R, 
10887         rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_, 
10888 #
10889 # Hazeltine Executive 80 Model 30 (1554?)
10890 #       from  Will Martin <control@ALMSA-1.ARPA> via BRL
10891 # Like VT100, except for different "am" behavior.
10892 hazel|exec80|h80|he80|Hazeltine Executive 80, 
10893         am, 
10894         cols#80, it#8, lines#24, vt#3, 
10895         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
10896         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
10897         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
10898         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
10899         ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
10900         is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
10901         kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
10902         kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
10903         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
10904         rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
10905         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
10906         sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
10907         smul=\E[4m$<2/>, 
10908
10909 #### IBM
10910 #
10911
10912 ibm327x|line mode IBM 3270 style, 
10913         gn, 
10914         clear=^M^J, el=^M, home=^M, 
10915
10916 ibm3101|i3101|IBM 3101-10, 
10917         am, xon, 
10918         cols#80, lines#24, 
10919         bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
10920         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
10921         el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB, 
10922         kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH, 
10923 ibm3151|IBM 3151 display, 
10924         is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B, 
10925         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%;, 
10926         sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, 
10927         use=ibm3162, 
10928 # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
10929 # I've commented out or translated some IBM extensions.
10930 ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
10931         am, mir, msgr, 
10932         cols#80, it#8, lines#24, 
10933         acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370, 
10934         bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
10935         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
10936         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
10937         invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
10938         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
10939         kdl1=\EO, ked=\EJ, kel=\EI, kend=\E2, kf1=\Ea\r, kf10=\Ej\r, 
10940         kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
10941         kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
10942         kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
10943         kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
10944         kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
10945         kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
10946         knp=\EI, kpp=\EL, ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, 
10947         rmcup=\E>A, rmso=\E4@, rmul=\E4@, 
10948         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<@%;, 
10949         sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
10950
10951 ibm3161-C|IBM 3161-C NLS terminal using cartridge, 
10952         rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, 
10953         use=ibm3161, 
10954 ibm3162|IBM 3162 display, 
10955         blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a, 
10956         rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a, 
10957         use=ibm3161-C, 
10958
10959 ibm3164|i3164|IBM 3164, 
10960         msgr, 
10961         colors#8, pairs#64, 
10962         rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A, 
10963         setb=\E4  %p1%{64}%+%c, 
10964         setf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@, 
10965         smcup=\E!9/N\E>B, use=ibm3161, 
10966
10967 ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display, 
10968         am, bw, msgr, xon, 
10969         cols#80, it#8, lines#25, 
10970         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
10971         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
10972         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
10973         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
10974         cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
10975         dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, 
10976         hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
10977         indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z, 
10978         kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
10979         kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q, 
10980         kend=\E[146q, kf0=\E[010q, kf1=\E[001q, kf10=\E[010q, 
10981         kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, 
10982         kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, 
10983         kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, 
10984         kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, 
10985         kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, 
10986         kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, 
10987         kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, 
10988         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
10989         kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
10990         kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q, 
10991         kri=\E[155q, krmir=\E[4l, rc=\E[u, rev=\E[7m, ri=\E[T, 
10992         rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, rmul=\E[m, rs2=\Ec, 
10993         sc=\E[s, 
10994         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
10995         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
10996
10997 ibmaed|IBM Experimental display, 
10998         am, eo, msgr, 
10999         cols#80, it#8, lines#52, 
11000         clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
11001         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
11002         dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP, 
11003         il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
11004         rmso=\E0, sgr0=\E0, smso=\E0, 
11005 ibm-apl|apl|IBM apl terminal simulator, 
11006         lines#25, use=dm1520, 
11007 # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
11008 # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
11009 ibmmono|IBM workstation monochrome, 
11010         eslok, hs, 
11011         bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
11012         invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
11013         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
11014         khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
11015         lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
11016         sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101, 
11017 ibmega|IBM Enhanced Color Display, 
11018         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11019         nel=^M^J, 
11020         use=ibmmono, 
11021 ibm5154|IBM 5154 Color display, 
11022         colors#8, pairs#64, 
11023         bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
11024 ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
11025         rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
11026         use=ibmmono, 
11027 ibmvga-c|IBM VGA display color termcap, 
11028         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11029         nel=^M^J, 
11030         use=ibmega-c, 
11031 ibmvga|IBM VGA display, 
11032         cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
11033         nel=^M^J, 
11034         use=ibmega, 
11035 # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
11036 rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display, 
11037         lines#32, 
11038         dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
11039 ibm6155|IBM 6155 Black & White display, 
11040         blink@, bold@, use=ibm5151, 
11041 # Advanced Monochrome (6153) and Color (6154) Graphics Display:
11042 ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display, 
11043         lines#31, 
11044         dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
11045 ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
11046         lines#31, 
11047         dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c, 
11048 ibm6154|IBM 6154 Color displays, 
11049         blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
11050         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
11051         sgr0=\E[0;10m, 
11052         use=ibm5154, 
11053 ibm6153|IBM 6153 Black & White display, 
11054         blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
11055         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
11056         sgr0=\E[0;10m, 
11057         use=ibm5151, 
11058 ibm6153-90|IBM 6153 Black & White display, 
11059         cols#90, lines#36, 
11060         blink@, bold@, use=ibm5151, 
11061 ibm6153-40|IBM 6153 Black & White display, 
11062         cols#40, lines#12, use=ibm6153-90, 
11063 ibm8512|ibm8513|IBM color VGA Terminal, 
11064         am, mir, msgr, 
11065         cols#80, it#8, lines#25, 
11066         acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m, 
11067         clear=\E[H\E[2J, cub1=\E[D, cud1=^J, cuf1=\E[C, 
11068         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
11069         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL, 
11070         il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A, 
11071         kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, 
11072         kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
11073         kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m, 
11074         rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l, 
11075         rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
11076         rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
11077         smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
11078         smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
11079         use=ibm8503, 
11080 hft-c|HFT with Color, 
11081         colors#8, pairs#64, 
11082         acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0, 
11083         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B, 
11084         use=ibm5151, 
11085 hft-c-old|HFT with Color PC850, 
11086         colors#8, pairs#64, 
11087         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
11088 ibm-system1|system1|ibm system/1 computer, 
11089         am, xt, 
11090         cols#80, lines#24, 
11091         bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
11092         cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
11093         ind=^J, 
11094 ibm5081|hft|IBM Megapel Color display, 
11095         acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B, 
11096         s1ds=\E(0, sgr0=\E[0m\E(B, 
11097         use=ibm5154, 
11098 ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, 
11099         eslok, hs, 
11100         lines#33, 
11101         dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c, 
11102 ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display, 
11103         use=hft-c, 
11104 ibm8514|IBM 8514/a color VGA display, 
11105         eslok, hs, 
11106         dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft, 
11107 ibm8514-c|IBM 8514 color display with standout and underline, 
11108         eslok, hs, 
11109         lines#41, 
11110         cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
11111         kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
11112         use=ibmega-c, 
11113
11114 #
11115 # AIX entries.  IBM ships these with AIX 3.2.5. 
11116 # AIX extension caps are commented out,
11117 # except for box1 which has been translated to an <acsc> string.
11118 #
11119 aixterm|IBM Aixterm Terminal Eemulator, 
11120         eslok, hs, 
11121         acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
11122         fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
11123         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
11124         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
11125         use=ibm6154, 
11126 aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
11127         eslok, hs, 
11128         acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
11129         fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
11130         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
11131         sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
11132         use=ibm6153, 
11133 aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator, 
11134         eslok, hs, 
11135         bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
11136         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
11137         tsl=\E[?%p1%dT, 
11138         use=ibm6153, 
11139 jaixterm|IBM Kanji Aixterm Terminal Eemulator, 
11140         acsc@, use=aixterm, 
11141 jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
11142         acsc@, 
11143         use=aixterm-m, 
11144
11145 #### Infoton/General Terminal Corp.
11146 #
11147
11148 # gt100 sounds like something DEC would come out with.  Let's hope they don't.
11149 i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
11150         am, 
11151         cols#80, lines#24, 
11152         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11153         cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM, 
11154         ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, 
11155         ind=^J, rmso=\Ea, smso=\Eb, 
11156 i400|infoton 400, 
11157         am, 
11158         cols#80, lines#25, 
11159         bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
11160         cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
11161         dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
11162         il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
11163 # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
11164 addrinfo, 
11165         am, 
11166         cols#80, lines#24, 
11167         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
11168         cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H, 
11169         ind=^J, ll=^H^\, 
11170 # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
11171 infoton, 
11172         am, 
11173         cols#80, lines#24, 
11174         bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
11175         ed=^K, ind=^J, ll=^H^\, 
11176
11177 # The ICL6402 was actually the Kokusai Display System 6402.
11178 # The 6404 was the KDS7372 (color version of the 6402).
11179
11180 # ICL6404 control codes follow:
11181 #
11182 #code            function
11183 #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11184 #ctrl-A          set SOM position at cursor position
11185 #ctrl-G          Bell
11186 #ctrl-H          Backspace
11187 #ctrl-I          Horiz tab
11188 #ctrl-J          Linefeed
11189 #ctrl-K          Cursor up
11190 #ctrl-L          Cursor right
11191 #ctrl-M          Carriage return
11192 #ctrl-N          Disable xon/xoff to host
11193 #ctrl-O          Enable xon/xoff to host
11194 #ctrl-R          Enable bidirectional mode
11195 #ctrl-T          Disable bidirectional mode
11196 #ctrl-V          Cursor down
11197 #ctrl-Z          Clear unprotected data to insert char
11198 #ctrl-^          Cursor home
11199 #ctrl-_          Newline
11200 #
11201 #ESC             lead-in char for multiple character command
11202 #
11203 #ESC space R     execute power on sequence
11204 #ESC ! p1 p2     define scroll region:
11205 #                p1 = scroll top    line:  20h - 37h
11206 #                p1 = scroll bottom line:  20h - 37h
11207 #ESC "           unlock keyboard
11208 #ESC #           lock keyboard
11209 #ESC $           Semi-graphics mode on
11210 #ESC %           Semi-graphics mode off
11211 #ESC &           protect mode on
11212 #ESC '           protect mode off
11213 #ESC (           write protect mode off (full intensity)
11214 #ESC )           write protect mode on (half intensity)
11215 #
11216 #ESC *           clear screen
11217 #ESC +           clear unprotected data to insert char
11218 #ESC ,           clear unprotected data to half intensity spaces
11219 #ESC - p1 p2 p3 p4     address cursor to page, row, column:
11220 #                      p1 = page number  0 - 3
11221 #                      p2 = row          20h - 7fh
11222 #                      p3 = column (lo)  20h - 7fh
11223 #                      p4 = column (hi)  20h - 21h (only 132 col)
11224 #ESC . p1        set cursor style:
11225 #                p1 = 0  invisible cursor
11226 #                p1 = 1  block blinking cursor
11227 #                p1 = 2  block steady cursor
11228 #                p1 = 3  underline blinking cursor
11229 #                p1 = 4  underline steady cursor
11230 #ESC /           transmit cursor location (page, row, column)
11231 #ESC 0 p1 p2 p3 p4     program edit key:
11232 #                      p1 = edit key code: '@'-'S', '`'-'s'
11233 #                      p2 p3 p4 = program data (3 bytes)
11234 #
11235 #ESC 1           set tab
11236 #ESC 2           clear tab at cursor
11237 #ESC 3           clear all tabs
11238 #ESC 4           send unprotect line to cursor
11239 #ESC 5           send unprotect page to cursor
11240 #ESC 6           send line to cursor
11241 #ESC 7           send page to cursor
11242 #ESC 8 n         set scroll mode:
11243 #                n = 0   set jump scroll
11244 #                n = 1   set smooth scroll
11245 #ESC 9 n         control display:
11246 #                n = 0   display off
11247 #                n = 1   display on
11248 #ESC :           clear unprotected data to null
11249 #ESC ;           clear unprotected data to insert char
11250 #
11251 #ESC <           keyclick on
11252 #ESC = p1 p2     address cursor to row, column
11253 #                p1 = row          20h - 7fh
11254 #                p2 = column (lo)  20h - 7fh
11255 #                p3 = column (hi)  20h - 21h (only 132 col)
11256 #ESC >           keyclick off
11257 #ESC ?           transmit cursor location (row, column)
11258 #
11259 #ESC @           copy print mode on
11260 #ESC A           copy print mode off
11261 #ESC B           block mode on
11262 #ESC C           block mode off (conversation mode)
11263 #ESC D F         set full duplex
11264 #ESC D H         set half duplex
11265 #ESC E           line insert
11266 #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
11267 #                0 = black, 1 = red,     2 = green, 3 = yellow
11268 #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
11269 #ESC G n         set serial field attribute (n = 30h - 3Fh)
11270 #ESC H n         full graphics mode:
11271 #                n = 0  exit full graphics mode
11272 #                n = 1  enter full graphics mode
11273 #ESC I           back tab
11274 #ESC J           back page
11275 #ESC K           forward page
11276 #
11277 #ESC L           unformatted page print
11278 #ESC M L         move window left  (132 col mode only)
11279 #ESC M R         move window right (132 col mode only)
11280 #ESC N           set page edit (clear line edit)
11281 #ESC O           set line edit (clear page edit)
11282 #ESC P           formatted page print
11283 #ESC Q           character insert
11284 #ESC R           line delete
11285 #ESC S           send message unprotected only
11286 #ESC T           erase line to insert char
11287 #ESC U           set monitor mode   (see ESC X, ESC u)
11288 #
11289 #ESC V n         select video attribute mode:
11290 #                n = 0   serial field attribute mode
11291 #                n = 1   parallel character attribute mode
11292 #ESC V 2 n       define line attribute:
11293 #                n = 0   single width single height
11294 #                n = 1   single width double height
11295 #                n = 2   double width single height
11296 #                n = 3   double width double height
11297 #ESC V 3 n       select character font:
11298 #                n = 0   system font
11299 #                n = 1   user defined font
11300 #ESC V 4 n       select screen mode:
11301 #                n = 0   page screen mode
11302 #                n = 1   virtual screen mode
11303 #ESC V 5 n       control mouse mode:
11304 #                n = 0   disable mouse
11305 #                n = 1   enable sample mode
11306 #                n = 2   send mouse information
11307 #                n = 3   enable request mode
11308 #ESC W           character delete
11309 #ESC X           clear monitor mode (see ESC U, ESC u)
11310 #ESC Y           erase page to insert char
11311 #
11312 #ESC Z n         send user/status line:
11313 #                n = 0   send user line
11314 #                n = 1   send status line
11315 #                n = 2   send terminal ID
11316 #ESC [ p1 p2 p3  set character attribute (parallel char mode):
11317 #                p1: 0 = normal
11318 #                    1 = blank
11319 #                    2 = blink
11320 #                    3 = blink blank (= blank)
11321 #                    4 = reverse
11322 #                    5 = reverse blank
11323 #                    6 = reverse blink
11324 #                    7 = reverse blink blank (= reverse blank)
11325 #                    8 = underline
11326 #                    9 = underline blank
11327 #                    : = underline blink
11328 #                    ; = underline blink blank
11329 #                    < = reverse underline
11330 #                    = = reverse underline blank
11331 #                    > = reverse underline blink
11332 #                    ? = reverse underline blink blank
11333 #                p2, p3: f/grnd, b/grnd colour
11334 #                (see ESC F for colours)
11335 #                use ZZ for mono, eg.
11336 #                    ESC [ 0 Z Z for normal
11337 #                    ESC [ 4 Z Z for inverse etc.
11338 #
11339 #ESC \ n         set page size:
11340 #                n = 1   24 lines/page
11341 #                n = 2   48 lines/page
11342 #                n = 3   72 lines/page
11343 #                n = 4   96 lines/page
11344 #ESC ] n         set Wordstar mode:
11345 #                n = 0   normal (KDS7372) mode
11346 #                n = 1   Wordstar mode
11347 #
11348 #ESC b           set foreground colour screen
11349 #
11350 #ESC c n         enter self-test mode:
11351 #                n = 0   exit self test mode
11352 #                n = 1   ROM test
11353 #                n = 2   RAM test
11354 #                n = 3   NVRAM test
11355 #                n = 4   screen display test
11356 #                n = 5   main/printer port test
11357 #                n = 6   mouse port test
11358 #                n = 7   graphics board test
11359 #                n = 8   graphics memory test
11360 #                n = 9   display all 'E'
11361 #                n = :   display all 'H'
11362 #ESC d           set background colour screen
11363 #
11364 #ESC e n         program insert char (n = insert char)
11365 #ESC f text CR   load user status line with 'text'
11366 #
11367 #ESC g           display user status line on 25th line
11368 #ESC h           display system status line on 25th line
11369 #ESC i           tab
11370 #ESC j           reverse linefeed
11371 #ESC k n         duplex/local edit mode:
11372 #                n = 0   duplex edit mode
11373 #                n = 1   local edit mode
11374 #ESC l n         select virtual screen:
11375 #                n = 0   screen 1
11376 #                n = 1   screen 2
11377 #ESC m           save current config to NVRAM
11378 #ESC n p1        select display screen:
11379 #                p1 = 0  screen 1
11380 #                p1 = 1  screen 2
11381 #                p1 = 2  screen 3
11382 #                p1 = 3  screen 4
11383 #ESC o p1 p2     set characters/line and attribute:
11384 #                p1 = 0  80 chars/line
11385 #
11386 #ESC o p1 p2     set characters/line and attribute:
11387 #                p1 = 0  80 chars/line
11388 #                p1 = 1  132 chars/line
11389 #                p2 = 0  single width single height
11390 #                p2 = 1  single width double height
11391 #                p2 = 2  double width single height
11392 #                p2 = 3  double width double height
11393 #
11394 #ESC q           insert mode on
11395 #ESC r           edit mode on
11396 #ESC s           send message all
11397 #ESC t           erase line to null
11398 #ESC u           clear monitor mode (see ESC U, ESC X)
11399 #ESC v           autopage mode on
11400 #ESC w           autopage mode off
11401 #ESC x p1 p2 p3  define delimiter code...
11402 #ESC y           erase page to null
11403 #
11404 #ESC z 2 p1 p2 p3 p4   draw quadrangle:
11405 #                      p1 = starting row
11406 #                      p2 = starting column
11407 #                      p3 = end row
11408 #                      p4 = end column
11409 #
11410 #ESC { p1 p2 p3 p4     configure main port
11411 #                      (baud, stop bits, parity, word length)
11412 #
11413 #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
11414 #                        p1 = function key code:
11415 #                             '1' - ';'  normal f1- f11
11416 #                             '<' - 'F'  shifted f1 - f11
11417 #                        p2 = program mode:
11418 #                             1 = FDX
11419 #                             2 = LOC
11420 #                             3 = HDX
11421 #                        Ctrl-Y = terminator
11422 #                        (use Ctrl-P to escape ^P, ^Y )
11423 #
11424 #ESC } p1 p2 p3 p4     configure printer port
11425 #                      (baud, stop bits, parity, word length)
11426 #ESC ~           send system status
11427 #
11428 # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
11429 #
11430 # Entry is by esr going solely on above information and is UNTESTED.
11431 # This actually looks a lot like a Televideo 9xx.
11432 # This entry uses page 0 and is monochrome; I'm not brave enough to try
11433 # to make color work without a test terminal.  The <am> capability is a guess.
11434 # The initialization string sets conversation mode, blinking underline cursor,
11435 # full duplex, parallel attribute mode, display user status line, white
11436 # foreground, black background, normal highlight.
11437 #
11438 icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372, 
11439         am, hs, 
11440         cols#80, lines#24, 
11441         bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*, 
11442         cnorm=\E.3, cr=^M, 
11443         csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L, 
11444         cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c, 
11445         cuu1=^K, cvvis=\E.1, dch=\EW, dl1=\ER, home=^^, ht=^I, hts=\E1, 
11446         il1=\EE, invis=\E[1ZZ, is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, 
11447         nel=^_, rev=\E[4ZZ, rmir=\Er, 
11448         rmso=\E[%gh%{4}%^%Ph%gh%dZZ, 
11449         rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1, 
11450         sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ, 
11451         sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3, 
11452 icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols, 
11453         rs2=\Eo1, 
11454         use=icl6404, 
11455
11456 #### Interactive Systems Corp
11457 #
11458 # ISC used to sell OEMed and customized hardware to support ISC UNIX.
11459 # ISC UNIX still exists in 1995, but ISC itself is no more; they got
11460 # bought out by Sun.
11461 #
11462
11463 # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
11464 # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
11465 # ":le=^_:" later overridden -- esr)
11466 intext|Interactive Systems Corporation modified owl 1200, 
11467         am, 
11468         cols#80, it#8, lines#24, xmc#1, 
11469         bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J, 
11470         cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\, 
11471         dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>, 
11472         el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H, 
11473         kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
11474         kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r, 
11475         kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<, 
11476         rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%, 
11477         smso=^V$\,, 
11478 intext2|intextii|INTERACTIVE modified owl 1251, 
11479         am, bw, ul, 
11480         cols#80, lines#24, xmc#0, 
11481         bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B, 
11482         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
11483         dl1=\E[M, ed=\E[J, el=\E[K, 
11484         flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
11485         hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
11486         kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r, 
11487         kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, 
11488         kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
11489         khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO, 
11490         lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT, 
11491         lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
11492         smul=\E[18 D, 
11493
11494 #### Kimtron (abm, kt)
11495 #
11496 # Kimtron seems to be history, but as March 1998 these people are still 
11497 # offering repair services for Kimtron equipment:
11498 #
11499 #    Com/Pair Monitor Service
11500 #    1105 N. Cliff Ave.
11501 #    Sioux Falls, South Dakota 57103
11502 #     
11503 #    WATS voice:  1-800/398-4946
11504 #    POTS   fax: +1 605/338-8709
11505 #    POTS voice: +1 605/338-9650
11506 #         Email: <compair@sd.cybernex.net>
11507 #  Internet/Web: <http://www.com-pair.com>
11508 #
11509 # Kimtron entries include (undocumented) codes for: enter dim mode,
11510 # enter bold mode, enter reverse mode, turn off all attributes.
11511 #
11512
11513 # Kimtron ABM 85 added by Dual Systems
11514 # (abm85: removed duplicated ":kd=^J:" -- esr)
11515 abm85|Kimtron ABM 85, 
11516         am, bw, msgr, 
11517         cols#80, it#8, lines#24, xmc#1, 
11518         cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
11519         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
11520         dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
11521         if=/usr/share/tabset/stdcrt, il1=\EE, 
11522         is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H, 
11523         kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek, 
11524         rmul=\Em, smir=\EQ, smso=\Ej, smul=\El, 
11525 # Kimtron ABM 85H added by Dual Systems.
11526 # Some notes about the abm85h entries:
11527 # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
11528 #    firmware revs prior to SP51
11529 # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
11530 #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
11531 #    in some places and NOT software settable i.e., <is2> can't fix it)
11532 # 3) In 85h mode, the arrow keys and special functions transmit when
11533 #    the terminal is in dup-edit, and work only locally in local-edit.
11534 #    Vi won't swallow `del char' for instance, but <smcup> turns on
11535 #    dup-edit anyway so that the arrow keys will work right. If the
11536 #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
11537 #    <is2>.  Note that 920E mode does not have software commands to toggle
11538 #    between dup and local edit, so you get whatever was set last on the
11539 #    terminal.
11540 # 4) <flash> attribute is nice, but seems too slow to work correctly
11541 #    (\Eb<pad>\Ed)
11542 # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
11543 #    are selected, the <xmc@> entry should be removed.
11544 # 6) auto new-line should be on (selectable from setup mode only)
11545 #
11546 # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
11547 abm85h|Kimtron ABM 85H native mode, 
11548         hs, 
11549         xmc@, 
11550         bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@, 
11551         fsl=^M, invis@, 
11552         is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
11553         kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, 
11554         use=adm+sgr, use=abm85, 
11555 abm85e|Kimtron ABM 85H in 920E mode, 
11556         xmc@, 
11557         bel=^G, dim=\E), flash@, 
11558         is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
11559         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
11560         use=abm85, 
11561 abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
11562         xmc@, 
11563         bel=^G, dim=\E), 
11564         is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
11565         rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
11566         use=abm85, 
11567 # From: <malman@bbn-vax.arpa>
11568 # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
11569 kt7|kimtron model kt-7, 
11570         am, 
11571         cols#80, it#8, lines#24, 
11572         cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
11573         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
11574         dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
11575         if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E", 
11576         kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
11577         kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, 
11578         kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
11579         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
11580         kich1=\EQ, kil1=\EE, tsl=\Ef, 
11581         use=adm+sgr, 
11582 # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
11583 # other kt7 entry and the adjacent key capabilities).  Removed EE which is
11584 # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
11585 # but we can't figure out what.
11586 kt7ix|kimtron model kt-7 or 70 in IX mode, 
11587         am, bw, 
11588         cols#80, it#8, lines#25, 
11589         acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI, 
11590         civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
11591         cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
11592         dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
11593         home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J, 
11594         is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*, 
11595         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER, 
11596         ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
11597         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
11598         kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ, 
11599         nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0, 
11600         sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef, 
11601
11602 #### Microdata/MDIS
11603 #
11604 # This was a line of terminals made by McDonnell-Douglas Information Systems.
11605 # These entries come direct from MDIS documentation.  I have edited them only
11606 # to move primary names of the form p[0-9] * to aliases, and to comment out
11607 # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have 
11608 # also removed the change history; the last version indicates this is
11609 # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
11610 #
11611
11612 # McDonnell Information Systems Terminal Family History
11613 # =========================================
11614 #
11615 # Prism-1, Prism-2 and P99:
11616 #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
11617 #
11618 # Prism-4 and Prism-5:
11619 #       Slightly less ancient range of Microdata terminals. Follow-on from
11620 #       Prism-2, but with many enhancements. P5 has eight display pages.
11621 #
11622 # Prism-6:
11623 #       A special terminal for use with library systems, primarily in Germany.
11624 #       Limited numbers. Similar functionality to P5 (except attributes?).
11625 #
11626 # Prism-7, Prism-8 and Prism-9:
11627 #       More recent range of MDIS terminals, in which P7 and P8
11628 #       replace the P4 & P5, with added functionality, and P9 is the flagship.
11629 #       The P9 has two emulation modes - P8 and ANSI - and includes a
11630 #       large number of the DEC VT220 control sequences. Both
11631 #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
11632 #
11633 # Prism-12 and Prism-14:
11634 #       Latest range, functionally very similar to the P9.  The P14 has a
11635 #       black-on-white overscanning screen.
11636 #
11637 # The terminfo definitions given here are:
11638 #
11639 # p2      - Prism-2 (or Prism-1 or P99).
11640 #
11641 # p4      - Prism-4 (and older P7s & P8s).
11642 # p5      - Prism-5 (or Prism-6).
11643 #
11644 # p7      - Prism-7.
11645 # p8      - Prism-8 (in national or multinational mode).
11646 # p8-w    - 132 column version of p8.
11647 # p9      - Prism-9 in ANSI mode.
11648 # p9-w    - 132 column version of p9.
11649 # p9-8    - Prism-9 in Prism-8 emulation mode.
11650 # p9-8-w  - As p9-8, but with 132 columns.
11651 #
11652 # p12     - Prism-12 in ANSI mode.
11653 # p12-w   - 132 column version of p12.
11654 # p12-m   - Prism-12 in MDC emulation mode.
11655 # p12-m-w - As p12-m, but with 132 columns.
11656 # p14     - Prism-14 in ANSI mode.
11657 # p14-w   - 132 column version of p14.
11658 # p14-m   - Prism-14 in MDC emulation mode.
11659 # p14-m-w - As p14-m, but with 132 columns.
11660 #
11661 # p2: Prism-2
11662 # -----------
11663 #
11664 # Includes Prism-1 and basic P99 without SP or MP loaded.
11665 # The simplest form of Prism-type terminal.
11666 # Basic cursor movement and clearing operations only.
11667 # No video attributes.
11668 # Notes:
11669 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
11670 #  value up, followed by backspace.
11671 #
11672 prism2|MDC Prism-2, 
11673         am, bw, msgr, 
11674         cols#80, lines#24, 
11675         bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
11676         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, 
11677         cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
11678         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
11679         ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c, 
11680
11681 # p4: Prism-4
11682 # -----------
11683 #
11684 # Includes early versions of P7 & P8.
11685 # Basic family definition for most Prisms (except P2 and P9 ANSI).
11686 # Notes:
11687 #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
11688 #  value up, followed by backspace.
11689 #  Cursor key definitions removed because they interfere with vi and csh keys.
11690 #
11691 prism4|p4|P4|MDC Prism-4, 
11692         am, bw, hs, mc5i, msgr, 
11693         cols#80, lines#24, wsl#72, xmc#1, 
11694         bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
11695         cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
11696         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, 
11697         cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
11698         fsl=^]\345, home=^A, 
11699         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
11700         ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
11701         rev=^CD, rmso=^C\s, rmul=^C\s, 
11702         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%;, 
11703         sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
11704         vpa=\013%p1%{32}%+%c, 
11705
11706 # p5: Prism-5
11707 # -----------
11708 #
11709 # Same definition as p4. Includes Prism-6 (not tested!).
11710 # Does not use any multi-page features.
11711 #
11712 prism5|p5|P5|MDC Prism-5, 
11713         use=p4, 
11714
11715 # p7: Prism-7
11716 # -----------
11717 #
11718 # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
11719 # Notes:
11720 #  Use p4 for very early models of P7.
11721 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
11722 #
11723 prism7|p7|P7|MDC Prism-7, 
11724         cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4, 
11725
11726 # p8: Prism-8
11727 # -----------
11728 #
11729 # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
11730 # Supports national and multinational character sets.
11731 # Notes:
11732 #  Alternate char set operations only work in multinational mode.
11733 #  Use p4 for very early models of P8.
11734 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
11735 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
11736 #
11737 prism8|p8|P8|MDC Prism-8, 
11738         cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h, 
11739         vpa=\E[%i%p1%dd, 
11740         use=p4, 
11741
11742 # p8-w: Prism-8 in 132 column mode
11743 # --------------------------------
11744 #
11745 # 'Wide' version of p8.
11746 # Notes:
11747 #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
11748 #
11749 prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode, 
11750         cols#132, 
11751         is2=\E[<12h\E[<14h, use=p8, 
11752
11753 # p9: Prism-9 in ANSI mode
11754 # -------------------------
11755 #
11756 # The "flagship" model of this generation of terminals.
11757 # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
11758 # Notes:
11759 #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
11760 #  Fixes to deal with terminal firmware bugs:
11761 #  . 'ri' uses insert-line since rev index doesn't always
11762 #  . 'sgr0' has extra '0' since esc[m fails
11763 #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
11764 #  Not covered in the current definition:
11765 #  . Labels
11766 #  . Programming Fn keys
11767 #  . Graphic characters (defaults correctly to vt100)
11768 #  . Padding values (sets xon)
11769 # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
11770 #
11771 prism9|p9|P9|MDC Prism-9 in ANSII mode, 
11772         am, bw, hs, mc5i, msgr, xenl, xon, 
11773         cols#80, it#8, lines#24, vt#3, wsl#72, 
11774         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, 
11775         clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v, 
11776         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
11777         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
11778         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
11779         dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX, 
11780         ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`, 
11781         ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
11782         is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D, 
11783         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~, 
11784         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
11785         kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
11786         kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
11787         kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
11788         khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, 
11789         prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, 
11790         ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
11791         rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 
11792         sc=\E[%y, 
11793         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%;, 
11794         sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
11795         tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd, 
11796
11797 # p9-w: Prism-9 in 132 column mode
11798 # --------------------------------
11799 #
11800 # 'Wide' version of p9.
11801 #
11802 prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode, 
11803         cols#132, 
11804         is2=\E[&p\E[<12l\E F\E[<14h, 
11805         rs2=\E[&p\E[<12l\E F\E[<14h, use=p9, 
11806
11807 # p9-8: Prism-9 in P8 mode
11808 # ------------------------
11809 #
11810 # P9 terminal in P8 emulation mode.
11811 # Similar to p8 definition.
11812 # Insertion and deletion operations possible.
11813 #
11814 prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode, 
11815         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
11816         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8, 
11817
11818 # p9-8-w: Prism-9 in P8 and 132 column modes
11819 # ------------------------------------------
11820 #
11821 # P9 terminal in P8 emulation mode and 132 column mode.
11822 #
11823 prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode, 
11824         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
11825         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w, 
11826
11827 # p12: Prism-12 in ANSI mode
11828 # ---------------------------
11829 #
11830 # See p9 definition.
11831 #
11832 prism12|p12|P12|MDC Prism-12 in ANSI mode, 
11833         use=p9, 
11834
11835 # p12-w: Prism-12 in 132 column mode
11836 # ----------------------------------
11837 #
11838 # 'Wide' version of p12.
11839 #
11840 prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode, 
11841         use=p9-w, 
11842
11843 # p12-m: Prism-12 in MDC emulation mode
11844 # -------------------------------------
11845 #
11846 # P12 terminal in MDC emulation mode.
11847 # Similar to p8 definition.
11848 # Insertion and deletion operations possible.
11849 #
11850 prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode, 
11851         use=p9-8, 
11852
11853 # p12-m-w: Prism-12 in MDC emulation and 132 column modes
11854 # -------------------------------------------------------
11855 #
11856 # P12 terminal in MDC emulation mode and 132 column mode.
11857 #
11858 prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode, 
11859         use=p9-8-w, 
11860
11861 # p14: Prism-14 in ANSII mode
11862 # ---------------------------
11863 #
11864 # See p9 definition.
11865 #
11866 prism14|p14|P14|MDC Prism-14 in ANSII mode, 
11867         use=p9, 
11868
11869 # p14-w: Prism-14 in 132 column mode
11870 # ----------------------------------
11871 #
11872 # 'Wide' version of p14.
11873 #
11874 prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode, 
11875         use=p9-w, 
11876
11877 # p14-m: Prism-14 in MDC emulation mode
11878 # -------------------------------------
11879 #
11880 # P14 terminal in MDC emulation mode.
11881 # Similar to p8 definition.
11882 # Insertion and deletion operations possible.
11883 #
11884 prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode, 
11885         use=p9-8, 
11886
11887 # p14-m-w: Prism-14 in MDC emulation and 132 column modes
11888 # -------------------------------------------------------
11889 #
11890 # P14 terminal in MDC emulation mode and 132 column mode.
11891 #
11892 prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode, 
11893         use=p9-8-w, 
11894
11895 # End of McDonnell Information Systems Prism definitions
11896
11897 # These things were popular in the Pick database community at one time
11898 # From: George Land <georgeland@aol.com> 24 Sep 1996
11899 p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition, 
11900         am, bw, hs, mir, 
11901         cols#80, lines#24, ma#1, wsl#78, xmc#1, 
11902         bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
11903         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P, 
11904         ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U, 
11905         kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ, 
11906         kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r, 
11907         kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r, 
11908         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
11909         kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
11910         lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
11911         pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
11912         smul=^C0, 
11913
11914 #### Microterm (act, mime)
11915 #
11916 # The mime1 entries refer to the Microterm Mime I or Mime II.
11917 # The default mime is assumed to be in enhanced act iv mode.
11918 #
11919
11920 # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
11921 # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
11922 # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
11923 # since Sytek insists ^S means xoff.
11924 # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
11925 act4|microterm|microterm act iv, 
11926         am, 
11927         cols#80, lines#24, 
11928         bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
11929         cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c, 
11930         cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
11931         ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
11932         il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
11933         kcuu1=^Z, 
11934 # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
11935 # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
11936 # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
11937 act5|microterm5|microterm act v, 
11938         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, use=act4, 
11939 # Mimes using brightness for standout.  Half bright is really dim unless
11940 # you turn up the brightness so far that lines show up on the screen.
11941 mime-fb|full bright mime1, 
11942         is2=^S\E, rmso=^S, smso=^Y, use=mime, 
11943 mime-hb|half bright mime1, 
11944         is2=^Y\E, rmso=^Y, smso=^S, use=mime, 
11945 # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
11946 # the more plausible ":do=^J:" -- esr)
11947 # uc was at one time disabled to get around a curses bug, be wary of it
11948 mime|mime1|mime2|mimei|mimeii|microterm mime1, 
11949         am, 
11950         cols#80, it#8, lines#24, vt#9, 
11951         bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
11952         cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c, 
11953         cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
11954         il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
11955         kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
11956 # These termcaps (for mime2a) put the terminal in low intensity mode
11957 # since high intensity mode is so obnoxious.
11958 mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
11959         am, 
11960         cols#80, lines#24, 
11961         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
11962         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED, 
11963         dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^, 
11964         il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J, 
11965         kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7, 
11966         smir=\EE, smso=\E\:, smul=\E6, 
11967 # This is the preferred mode (but ^X can't be used as a kill character)
11968 mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
11969         cols#80, it#8, lines#24, 
11970         bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
11971         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N, 
11972         dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I, 
11973         il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, 
11974         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, 
11975         rmul=\E5, smir=^O, smso=\E8, smul=\E4, 
11976 # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
11977 mime3a|mime1 emulating 3a, 
11978         am@, 
11979         kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a, 
11980 mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
11981         it#8, 
11982         dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, use=mime3a, 
11983 # Wed Mar  9 18:53:21 1983
11984 # We run our terminals at 2400 baud, so there might be some timing problems at
11985 # higher speeds. The major improvements in this model are the terminal now 
11986 # scrolls down and insert mode works without redrawing the rest of the line
11987 # to the right of the cursor. This is done with a bit of a kludge using the
11988 # exit graphics mode to get out of insert, but it does not appear to hurt
11989 # anything when using vi at least. If you have some users using act4s with
11990 # programs that use curses and graphics mode this could be a problem.
11991 mime314|mm314|mime 314, 
11992         am, 
11993         cols#80, lines#24, 
11994         clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z, 
11995         dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H, 
11996         kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S, 
11997 # Microterm mime 340 from University of Wisconsin
11998 mm340|mime340|mime 340, 
11999         cols#80, lines#24, 
12000         clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
12001         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
12002         dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
12003         el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,, 
12004         kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J, 
12005 # This came from University of Wisconsin marked "astro termcap for jooss".
12006 # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
12007 # also added <rmam>/<smam> based  on the init string -- esr)
12008 mt4520-rv|micro-term 4520 reverse video, 
12009         am, hs, msgr, xenl, xon, 
12010         cols#80, it#8, lines#24, wsl#80, 
12011         bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
12012         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
12013         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
12014         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
12015         cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
12016         dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h, 
12017         fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
12018         ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
12019         is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
12020         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
12021         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
12022         ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100, 
12023         ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m, 
12024         rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
12025         sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
12026         tbc=\E[g, tsl=\E[25;1H, 
12027
12028 # Fri Aug  5 08:11:57 1983
12029 # This entry works for the ergo 4000 with the following setups:
12030 # ansi,wraparound,newline disabled, xon/xoff disabled in both
12031 # setup a & c.
12032 #       
12033 # WARNING!!! There are multiple versions of ERGO 4000 microcode
12034 # Be advised that very early versions DO NOT WORK RIGHT !!  
12035 # Microterm does have a ROM exchange program- use it or lose big
12036 # (ergo400: added <rmam>/<smam> based on the init string -- esr)
12037 ergo4000|microterm ergo 4000, 
12038         da, db, msgr, 
12039         cols#80, lines#66, 
12040         bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B, 
12041         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
12042         dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>, 
12043         el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>, 
12044         is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
12045         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
12046         kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3, 
12047         lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l, 
12048         rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>, 
12049         smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>, 
12050         smso=\E[7m$<20>, 
12051
12052 #### NCR 
12053 #
12054 # NCR's terminal group was merged with AT&T's when AT&T bought the company.
12055 # For what happened to that group, see the ADDS section.
12056 #
12057 # There is an NCR4103 terminal that's just a re-badged Wyse-50.
12058 #
12059
12060 # The following vendor-supplied termcaps were captured from the Boundless
12061 # Technologies site, 8 March 1998.  I removed all-upper-case names that were
12062 # identical, except for case, to lower-case ones.  I also uncommented the acsc
12063 # capabilities.X
12064 #
12065 # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
12066 # DEC vt200/300 with color capabilities added.
12067 ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
12068         colors#8, pairs#64, 
12069         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300an, 
12070 # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
12071 # DEC vt200/300 with color capabilities added.
12072 ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
12073         colors#8, pairs#64, 
12074         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wan, 
12075 # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a DEC 
12076 # vt200/300 with color capabilities added.
12077 ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard, 
12078         colors#8, pairs#64, 
12079         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300pp, 
12080 # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
12081 # DEC vt200/300 with color capabilities added.
12082 ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode, 
12083         colors#8, pairs#64, 
12084         op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ncr260vt300wpp, 
12085 # This definition for ViewPoint supports several attributes.  This means
12086 # that it has magic cookies (extra spaces where the attributes begin).
12087 # Some applications do not function well with magic cookies.  The System
12088 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12089 # If supporting various attributes is not vital, 'xmc#1' and the extra
12090 # attributes can be removed. 
12091 # Mapping to ASCII character set ('acsc' capability) can also be 
12092 # restored if needed.
12093 ncr260vppp|NCR 2900_260 viewpoint, 
12094         am, bw, hs, km, mc5i, mir, msgr, xon, 
12095         cols#80, lines#24, nlab#32, xmc#1, 
12096         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12097         cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5, 
12098         cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>, 
12099         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>, 
12100         cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, 
12101         ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, 
12102         hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1, 
12103         is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12104         kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ, 
12105         kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F, 
12106         kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r, 
12107         kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r, 
12108         kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r, 
12109         kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r, 
12110         kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r, 
12111         kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r, 
12112         kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r, 
12113         kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ, 
12114         kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R, 
12115         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>, 
12116         nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003, 
12117         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12118         rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12119         sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq, 
12120         smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF, 
12121 ncr260vpwpp|NCR 2900_260 viewpoint wide mode, 
12122         cols#132, 
12123         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12124         is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12125         rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
12126         use=ncr260vppp, 
12127 ncr260vt100an|NCR 2900_260 vt100 with ansi kybd, 
12128         am, hs, mir, msgr, xenl, xon, 
12129         cols#80, lines#24, nlab#32, 
12130         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12131         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12132         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12133         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>, 
12134         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12135         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12136         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12137         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12138         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12139         ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>, 
12140         fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I, 
12141         hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, 
12142         il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>, 
12143         invis=\E[8m, 
12144         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12145         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12146         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12147         kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
12148         kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, 
12149         kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, rc=\E8, 
12150         rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l, 
12151         rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m, 
12152         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12153         sc=\E7, 
12154         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12155         sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h, 
12156         smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g, 
12157         tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12158 ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd, 
12159         cols#132, 
12160         cup=\E[%i%p1%d;%p2%dH$<30>, 
12161         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12162         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12163         use=ncr260vt100an, 
12164 ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd, 
12165         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12166         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12167         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12168         kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~, 
12169         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, 
12170         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12171         smkx=\E=, 
12172         use=ncr260vt100an, 
12173 ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd, 
12174         cols#132, 
12175         cup=\E[%i%p1%d;%p2%dH$<30>, 
12176         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12177         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12178         use=ncr260vt100pp, 
12179 ncr260vt200an|NCR 2900_260 vt200 with ansi kybd, 
12180         am, hs, mir, msgr, xenl, xon, 
12181         cols#80, lines#24, nlab#32, 
12182         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12183         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12184         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12185         csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
12186         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12187         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12188         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12189         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12190         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12191         ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
12192         fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
12193         ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
12194         ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
12195         is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12196         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12197         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12198         kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
12199         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
12200         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
12201         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
12202         kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
12203         kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
12204         kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
12205         kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
12206         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
12207         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
12208         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
12209         ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
12210         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
12211         rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12212         sc=\E7, 
12213         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12214         sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
12215         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
12216         tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12217 ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd, 
12218         cols#132, 
12219         cup=\E[%i%p1%d;%p2%dH$<30>, 
12220         is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12221         rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
12222         use=ncr260vt200an, 
12223 ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd, 
12224         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12225         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12226         kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
12227         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
12228         use=ncr260vt200an, 
12229 ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd, 
12230         cols#132, 
12231         cup=\E[%i%p1%d;%p2%dH$<30>, 
12232         is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12233         rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
12234         use=ncr260vt200pp, 
12235 ncr260vt300an|NCR 2900_260 vt300 with ansi kybd, 
12236         am, hs, mir, msgr, xenl, xon, 
12237         cols#80, lines#24, nlab#32, 
12238         acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
12239         blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
12240         clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
12241         csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
12242         cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
12243         cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
12244         cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
12245         cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
12246         dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
12247         ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
12248         fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
12249         ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
12250         ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
12251         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>, 
12252         ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
12253         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12254         kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
12255         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
12256         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
12257         kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
12258         kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
12259         kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
12260         kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
12261         kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
12262         kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
12263         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
12264         mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
12265         ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
12266         rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
12267         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>, 
12268         sc=\E7, 
12269         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
12270         sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
12271         smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
12272         tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
12273 ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd, 
12274         cols#132, 
12275         cup=\E[%i%p1%d;%p2%dH$<30>, 
12276         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>, 
12277         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>, 
12278         use=ncr260vt300an, 
12279 ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd, 
12280         ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
12281         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
12282         kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
12283         lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
12284         use=ncr260vt300an, 
12285 NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd, 
12286         cols#132, 
12287         cup=\E[%i%p1%d;%p2%dH$<30>, 
12288         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>, 
12289         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>, 
12290         use=ncr260vt300pp, 
12291 # This terminfo file contains color capabilities for the Wyse325 emulation of 
12292 # the NCR 2900/260C color terminal.  Because of the structure of the command
12293 # (escape sequence) used to set color attributes, one of the fore/background
12294 # colors must be preset to a given value. I have set the background color to
12295 # black.  The user can change this setup by altering the last section of the
12296 # 'setf' definition.  The escape sequence to set color attributes is 
12297 #               ESC d y <foreground_color> <background_color> 1  
12298 # In addition, the background color can be changed through the desk accessories.
12299 # The capablitiy 'op' sets colors to green on black (default combination).  
12300 #
12301 # NOTE:  The NCR Unix System Administrator's Shell will not function properly
12302 #           if the 'pairs' capability is defined. Un-Comment the 'pairs'
12303 #           capability and recompile if you wish to have it included. 
12304 #
12305 ncr260wy325pp|NCR 2900_260 wyse 325, 
12306         am, bw, hs, km, mc5i, mir, msgr, xon, 
12307         colors#16, cols#80, lines#24, ncv#33, nlab#32, 
12308         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12309         cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M, 
12310         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12311         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
12312         cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
12313         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I, 
12314         hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
12315         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12316         kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
12317         kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, 
12318         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET, 
12319         kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
12320         kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, 
12321         kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, 
12322         kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, 
12323         kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r, 
12324         kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
12325         kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, 
12326         kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
12327         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
12328         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
12329         rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12330         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12331         setb=\s, 
12332         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>, 
12333         sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/, 
12334         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
12335         tsl=\EF, 
12336 ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode, 
12337         cols#132, 
12338         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12339         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12340         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12341         use=ncr260wy325pp, 
12342 # This definition for Wyse 350 supports several attributes.  This means
12343 # that it has magic cookies (extra spaces where the attributes begin).
12344 # Some applications do not function well with magic cookies.  The System
12345 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12346 # If supporting various attributes is not vital, 'xmc#1' and the extra
12347 # attributes can be removed. 
12348 # Mapping to ASCII character set ('acsc' capability) can also be 
12349 # restored if needed.
12350 # In addition, color capabilities have been added to this file.  The drawback,
12351 # however, is that the background color has to be black.  The foreground colors
12352 # are numbered 0 through 15.  
12353 #
12354 # NOTE:  The NCR Unix System Administrator's Shell does not function properly
12355 #           with the 'pairs' capability defined as below.  If you wish to
12356 #           have it included, Un-comment it and recompile (using 'tic'). 
12357 #
12358 ncr260wy350pp|NCR 2900_260 wyse 350, 
12359         am, bw, hs, km, mc5i, mir, msgr, xon, 
12360         colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1, 
12361         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12362         cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
12363         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12364         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>, 
12365         cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
12366         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I, 
12367         hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
12368         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12369         kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
12370         kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
12371         kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
12372         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
12373         kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
12374         kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
12375         kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
12376         kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
12377         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
12378         khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
12379         mc0=\EP$<10>, mc4=^T, mc5=^R, 
12380         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>, 
12381         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
12382         rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12383         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12384         setb=\s, 
12385         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>, 
12386         sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/, 
12387         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
12388         tsl=\EF, 
12389 ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode, 
12390         cols#132, 
12391         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12392         is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12393         rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12394         use=ncr260wy350pp, 
12395 # This definition for Wyse 50+ supports several attributes.  This means
12396 # that it has magic cookies (extra spaces where the attributes begin).
12397 # Some applications do not function well with magic cookies.  The System
12398 # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
12399 # If supporting various attributes is not vital, 'xmc#1' and the extra
12400 # attributes can be removed. 
12401 # Mapping to ASCII character set ('acsc' capability) can also be 
12402 # restored if needed.
12403 # (ncr260wy50+pp: originally contained commented-out 
12404 # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
12405 ncr260wy50+pp|NCR 2900_260 wyse 50+, 
12406         am, bw, hs, km, mc5i, mir, msgr, xon, 
12407         cols#80, lines#24, nlab#32, xmc#1, 
12408         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
12409         cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
12410         cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12411         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>, 
12412         cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
12413         ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>, 
12414         ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>, 
12415         invis=\EG1, 
12416         is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12417         kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
12418         kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
12419         kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
12420         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
12421         kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
12422         kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
12423         kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
12424         kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
12425         kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
12426         khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
12427         mc0=\EP$<10>, mc4=^T, mc5=^R, 
12428         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
12429         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
12430         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12431         rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12432         sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq, 
12433         smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF, 
12434 ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode, 
12435         cols#132, 
12436         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12437         is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12438         rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
12439         use=ncr260wy50+pp, 
12440 ncr260wy60pp|NCR 2900_260 wyse 60, 
12441         am, bw, hs, km, mc5i, mir, msgr, xon, 
12442         cols#80, lines#24, nlab#32, 
12443         acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
12444         cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, 
12445         cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
12446         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
12447         cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
12448         ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>, 
12449         ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>, 
12450         invis=\EG1, 
12451         is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12452         kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
12453         kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, 
12454         kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
12455         kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
12456         kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
12457         kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, 
12458         kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, 
12459         kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, 
12460         kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, 
12461         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
12462         kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
12463         mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>, 
12464         nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
12465         rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
12466         rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12467         sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/, 
12468         smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>, 
12469         tsl=\EF, 
12470 ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode, 
12471         cols#132, 
12472         cup=\Ea%i%p1%dR%p2%dC$<30>, 
12473         is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12474         rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
12475         use=ncr260wy60pp, 
12476 ncr160vppp|NCR 2900_160 viewpoint, 
12477         use=ncr260vppp, 
12478 ncr160vpwpp|NCR 2900_160 viewpoint wide mode, 
12479         use=ncr260vpwpp, 
12480 ncr160vt100an|NCR 2900_160 vt100 with ansi kybd, 
12481         use=ncr260vt100an, 
12482 ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd, 
12483         use=ncr260vt100pp, 
12484 ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd, 
12485         use=ncr260vt100wan, 
12486 ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd, 
12487         use=ncr260vt100wpp, 
12488 ncr160vt200an|NCR 2900_160 vt200 with ansi kybd, 
12489         use=ncr260vt200an, 
12490 ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd, 
12491         use=ncr260vt200pp, 
12492 ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd, 
12493         use=ncr260vt200wan, 
12494 ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd, 
12495         use=ncr260vt200wpp, 
12496 ncr160vt300an|NCR 2900_160 vt300 with ansi kybd, 
12497         use=ncr260vt300an, 
12498 ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd, 
12499         use=ncr260vt300pp, 
12500 ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd, 
12501         use=ncr260vt300wan, 
12502 ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd, 
12503         use=ncr260vt300wpp, 
12504 ncr160wy50+pp|NCR 2900_160 wyse 50+, 
12505         use=ncr260wy50+pp, 
12506 ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode, 
12507         use=ncr260wy50+wpp, 
12508 ncr160wy60pp|NCR 2900_160 wyse 60, 
12509         use=ncr260wy60pp, 
12510 ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode, 
12511         use=ncr260wy60wpp, 
12512 ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal, 
12513         am, hs, mc5i, mir, msgr, xon, 
12514         cols#80, it#8, lines#24, nlab#32, 
12515         acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~, 
12516         bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>, 
12517         clear=\E[2J\E[1;1H$<300>, cr=^M, 
12518         csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>, 
12519         cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>, 
12520         cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>, 
12521         cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>, 
12522         cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>, 
12523         dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>, 
12524         ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>, 
12525         enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>, 
12526         ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>, 
12527         ind=\ED, 
12528         is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>, 
12529         kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D, 
12530         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP, 
12531         kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE, 
12532         rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>, 
12533         rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>, 
12534         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>, 
12535         sc=\E7, 
12536         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>, 
12537         sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>, 
12538         smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>, 
12539         tsl=\E[>+1$<70>, 
12540 ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal, 
12541         cols#132, 
12542         is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>, 
12543         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>, 
12544         use=ncrvt100an, 
12545 #
12546 # Vendor-supplied NCR termcaps end here
12547
12548 # NCR7900 DIP switches:
12549 #
12550 # Switch A:
12551 # 1-4 - Baud Rate
12552 # 5   - Parity (Odd/Even)
12553 # 6   - Don't Send or Do Send Spaces
12554 # 7   - Parity Enable
12555 # 8   - Stop Bits (One/Two)
12556
12557 # Switch B:
12558 # 1   - Upper/Lower Shift
12559 # 2   - Typewriter Shift
12560 # 3   - Half Duplex / Full Duplex
12561 # 4   - Light/Dark Background
12562 # 5-6 - Carriage Return Without / With Line Feed
12563 # 7   - Extended Mode
12564 # 8   - Suppress Keyboard Display
12565
12566 # Switch C:
12567 # 1   - End of line entry disabled/enabled
12568 # 2   - Conversational mode / (Local?) Mode
12569 # 3   - Control characters displayed / not displayed
12570 # 4   - (2-wire?) / 4-wire communications
12571 # 5   - RTS on and off for each character
12572 # 6   - (50Hz?) / 60 Hz
12573 # 7   - Exit after level zero diagnostics
12574 # 8   - RS-232 interface
12575
12576 # Switch D:
12577 # 1   - Reverse Channel (yes / no)
12578 # 2   - Manual answer (no / yes)
12579 # 3-4 - Cursor appearance
12580 # 5   - Communication Rate
12581 # 6   - Enable / Disable EXT turnoff
12582 # 7   - Enable / Disable CR turnoff
12583 # 8   - Enable / Disable backspace
12584 #
12585 # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
12586 ncr7900i|ncr7900|ncr 7900 model 1, 
12587         am, bw, ul, 
12588         cols#80, lines#24, xmc#1, 
12589         bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
12590         cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
12591         is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
12592         kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
12593         rmul=\E0@, 
12594         sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
12595         sgr0=\E0@, smso=\E0Q, smul=\E0`, 
12596 ncr7900iv|ncr 7900 model 4, 
12597         am, bw, eslok, hs, 
12598         cols#80, lines#24, 
12599         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
12600         cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
12601         fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
12602         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
12603         kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
12604         khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J, 
12605         tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
12606 ncr7901|ncr 7901 model, 
12607         am, bw, ul, 
12608         cols#80, lines#24, 
12609         bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M, 
12610         cub1=^H, cud1=^J, cuf1=^F, 
12611         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
12612         ed=\Ek, el=\EK, 
12613         hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
12614         is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
12615         khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
12616         sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
12617         sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
12618         vpa=\013%p1%{64}%+%c, 
12619
12620 #### Perkin-Elmer (Owl)
12621 #
12622 # These are official terminfo entries from within Perkin-Elmer.
12623 #
12624
12625 bantam|pe550|pe6100|perkin elmer 550, 
12626         cols#80, lines#24, 
12627         bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
12628         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
12629         el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
12630 fox|pe1100|perkin elmer 1100, 
12631         am, 
12632         cols#80, lines#24, 
12633         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
12634         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
12635         ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003, 
12636         home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3, 
12637 owl|pe1200|perkin elmer 1200, 
12638         am, in, 
12639         cols#80, lines#24, 
12640         bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
12641         cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
12642         dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
12643         el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
12644         hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
12645         kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
12646         kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
12647         rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3, 
12648 pe1251|pe6300|pe6312|perkin elmer 1251, 
12649         am, 
12650         cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
12651         bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
12652         cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
12653         ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J, 
12654         kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE, 
12655         kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
12656 # (pe7000m: this had
12657 #       rmul=\E!\0, smul=\E!\040, 
12658 # which is probably wrong, it collides with kf0
12659 pe7000m|perkin elmer 7000 series monochrome monitor, 
12660         am, 
12661         cols#80, lines#24, 
12662         bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
12663         cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
12664         ed=\EJ, el=\EI, home=\EH, ind=^J, 
12665         is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
12666         kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A, 
12667         kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
12668         kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
12669         ll=\ES7\s, ri=\ER, 
12670 pe7000c|perkin elmer 7000 series colour monitor, 
12671         is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
12672         rmul=\E!\0, smso=\Eb2, smul=\E!\s, 
12673         use=pe7000m, 
12674
12675 #### Sperry Univac
12676 #
12677 # Sperry Univac has merged with Burroughs to form Unisys.
12678 #
12679
12680 # This entry is for the Sperry UTS30 terminal running the TTY 
12681 # utility under control of CP/M Plus 1R1. The functionality 
12682 # provided is comparable to the DEC vt100.
12683 # (uts30: I added <rmam>/<smam> based on the init string -- esr)
12684 uts30|sperry uts30 with cp/m@1R1, 
12685         am, bw, hs, 
12686         cols#80, lines#24, wsl#40, 
12687         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
12688         bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L, 
12689         cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, 
12690         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
12691         cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
12692         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, 
12693         dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
12694         ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN, 
12695         ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H, 
12696         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, 
12697         rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
12698         rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
12699         rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
12700         sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m, 
12701         smul=\E[4m, tsl=\E], uc=\EPB, 
12702
12703 #### Tandem
12704 #
12705 # Tandem builds these things for use with its line of fault-tolerant
12706 # transaction-processing computers.  They aren't generally available
12707 # on the merchant market, and so are fairly uncommon.
12708 #
12709
12710 tandem6510|adm3a repackaged by Tandem, 
12711         use=adm3a, 
12712
12713 # A funny series of terminal that TANDEM uses.  The actual model numbers
12714 # have a fourth digit after 653 that designates minor variants.  These are
12715 # natively block-mode and rather ugly, but they have a character mode which
12716 # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
12717 # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
12718 # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
12719 tandem653|t653x|Tandem 653x multipage terminal, 
12720         am, da, db, hs, 
12721         cols#80, lines#24, wsl#64, xmc#1, 
12722         clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
12723         cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r, 
12724         ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s, 
12725         rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo, 
12726
12727 #### Tandy/Radio Shack
12728 #
12729 # Tandy has a line of VDTs distinct from its microcomputers.
12730 #
12731
12732 dmterm|deskmate terminal, 
12733         am, bw, 
12734         cols#80, lines#24, 
12735         bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H, 
12736         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
12737         cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
12738         ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB, 
12739         kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4, 
12740         kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0, 
12741         khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, 
12742         lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@, 
12743         use=adm+sgr, 
12744 dt100|dt-100|Tandy DT-100 terminal, 
12745         xon, 
12746         cols#80, lines#24, xmc#1, 
12747         acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
12748         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
12749         csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
12750         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
12751         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
12752         il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
12753         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, 
12754         kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
12755         kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H, 
12756         knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5, 
12757         lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
12758         sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
12759 dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
12760         cols#132, use=dt100, 
12761 dt110|Tandy DT-110 emulating ansi, 
12762         xon, 
12763         cols#80, lines#24, 
12764         acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
12765         clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
12766         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
12767         cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
12768         dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H, 
12769         ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, 
12770         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
12771         kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~, 
12772         kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~, 
12773         khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1, 
12774         lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
12775         lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
12776         smacs=^N, smso=\E[7m, smul=\E[4m, 
12777 pt210|TRS-80 PT-210 printing terminal, 
12778         hc, os, 
12779         cols#80, 
12780         bel=^G, cr=^M, cud1=^J, ind=^J, 
12781
12782 #### Tektronix (tek)
12783 #
12784 # Tektronix tubes are graphics terminals.  Most of them use modified 
12785 # oscilloscope technology incorporating a long-persistence green phosphor,
12786 # and support vector graphics on a main screen with an attached "dialogue
12787 # area" for interactive text.
12788 #
12789
12790 tek|tek4012|tektronix 4012, 
12791         os, 
12792         cols#75, lines#35, 
12793         bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J, 
12794         ff=\014$<1000>, is2=\E^O, 
12795 # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
12796 tek4013|tektronix 4013, 
12797         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012, 
12798 tek4014|tektronix 4014, 
12799         cols#81, lines#38, 
12800         is2=\E\017\E9, use=tek4012, 
12801 # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
12802 tek4015|tektronix 4015, 
12803         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014, 
12804 tek4014-sm|tektronix 4014 in small font, 
12805         cols#121, lines#58, 
12806         is2=\E\017\E\:, use=tek4014, 
12807 # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
12808 tek4015-sm|tektronix 4015 in small font, 
12809         acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm, 
12810 # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
12811 #
12812 # You need to have "stty nl2" in effect.  Some versions of tset(1) know
12813 # how to set it for you.
12814 #
12815 # It's got the Magic Cookie problem around stand-out mode.  If you can't
12816 # live with Magic Cookie, remove the :so: and :se: fields and do without
12817 # reverse video.  If you like reverse video stand-out mode but don't want
12818 # it to flash, change the letter 'H' to 'P' in the :so: field.
12819 tek4023|tektronix 4023, 
12820         am, 
12821         cols#80, lines#24, vt#4, xmc#1, 
12822         bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
12823         cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, rmso=^_@, 
12824         smso=^_P, 
12825 # It is recommended that you run the 4025 at 4800 baud or less;
12826 # various bugs in the terminal appear at 9600.  It wedges at the
12827 # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
12828 # on keyboard don't work.  You have to hit BREAK twice to get
12829 # one break at any speed - this is a documented feature.
12830 # Can't use cursor motion because it's memory relative, and 
12831 # because it only works in the workspace, not the monitor.  
12832 # Same for home. Likewise, standout only works in the workspace.
12833
12834 # <el> was commented out since vi and rogue seem to work better 
12835 # simulating it with lots of spaces!
12836
12837 # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
12838 # and didn't seem necessary.
12839 #
12840 tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
12841         am, da, db, 
12842         cols#80, it#8, lines#34, lm#0, 
12843         bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
12844         cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
12845         cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
12846         cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
12847         dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
12848         ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
12849         il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
12850         ind=^F^J, 
12851         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
12852         rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
12853         smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
12854 tek4025-17|tek 4025 17 line window, 
12855         lines#17, use=tek4025, 
12856 tek4025-17-ws|tek 4025 17 line window in workspace, 
12857         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
12858         rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r, 
12859         smso=\037att e\r, 
12860         use=tek4025-17, 
12861 tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
12862         is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
12863         rmcup=\037com 33\r, smcup=!com 31\r, 
12864         use=tek4025, 
12865 # Tektronix 4025a
12866 # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
12867 # The following status modes are assumed for normal operation (replace the
12868 # initial "!" by whatever the current command character is):
12869 #       !COM 29                 # NOTE: changes command character to GS (^])
12870 #       ^]DUP
12871 #       ^]ECH R
12872 #       ^]EOL
12873 #       ^]RSS T
12874 #       ^]SNO N
12875 #       ^]STO 9 17 25 33 41 49 57 65 73
12876 # Other modes may be set according to communication requirements.
12877 # If the command character is inadvertently changed, termcap can't restore it.
12878 # Insert-character cannot be made to work on both top and bottom rows.
12879 # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
12880 # There also seems to be a problem with vertical motion, perhaps involving
12881 # delete/insert-line, following a typed carriage return.  This terminal sucks.
12882 # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
12883 # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
12884 # work any more. -- esr)
12885 tek4025a|Tektronix 4025A, 
12886         am, bw, da, db, xon, 
12887         cols#80, it#8, lines#34, 
12888         bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^], 
12889         cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;, 
12890         cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;, 
12891         cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;, 
12892         dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;, 
12893         el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I, 
12894         il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;, 
12895         tbc=\035sto;, 
12896 # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
12897 # Here's the command file that I use to get rogue to work on the 4025.
12898 # It should work with any program using the old curses (e.g. it better
12899 # not try to scroll, or cursor addressing won't work.  Also, you can't
12900 # see the cursor.)
12901 # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
12902 tek4025-cr|tek 4025 for curses and rogue, 
12903         am, 
12904         cols#80, it#8, lines#33, 
12905         clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
12906         cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J, 
12907         is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
12908         rmcup=\037wor 0, smcup=\037wor 33h, 
12909 # next two lines commented out since curses only allows 128 chars, sigh.
12910 #       :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:\
12911 #       :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:
12912 tek4025ex|4025ex|4027ex|tek 4025 w/!, 
12913         is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r, 
12914         rmcup=\037com 33\r, smcup=!com 31\r, 
12915         use=tek4025, 
12916 tek4105|tektronix 4105, 
12917         am, mir, msgr, ul, xenl, xt, 
12918         cols#79, it#8, lines#29, 
12919         acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
12920         clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
12921         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
12922         dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
12923         il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m, 
12924         is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B, 
12925         kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T, 
12926         rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m, 
12927         rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m, 
12928         smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
12929         smul=\E[=5;<2m, tbc=\E[1g, 
12930
12931 # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
12932 tek4105-30|4015 emulating 30 line vt100, 
12933         am, mir, msgr, xenl, xon, 
12934         cols#80, it#8, lines#30, vt#3, 
12935         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
12936         bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
12937         clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
12938         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
12939         cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
12940         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
12941         cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
12942         enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
12943         ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
12944         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
12945         kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
12946         kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
12947         rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
12948         rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
12949         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
12950         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
12951         sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
12952         smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
12953
12954 # Tektronix 4105 from BRL
12955 # The following setup modes are assumed for normal operation:
12956 #       CODE ansi               CRLF no                 DABUFFER 141
12957 #       DAENABLE yes            DALINES 30              DAMODE replace
12958 #       DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
12959 #       FLAGGING input          INSERTREPLACE replace   LFCR no
12960 #       ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
12961 #       SELECTCHARSET G1 0      TABS -2
12962 # Other setup modes may be set for operator convenience or communication
12963 # requirements; I recommend
12964 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
12965 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
12966 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
12967 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
12968 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
12969 #       PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
12970 #       XMTDELAY 0
12971 # and factory color maps.  After setting these modes, save them with NVSAVE. No
12972 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
12973 # "IC" cannot be used in combination with "im" & "ei".
12974 # "tek4105a" is just a guess:
12975 tek4105a|Tektronix 4105, 
12976         msgr, xon, 
12977         cols#80, it#8, lines#30, vt#3, 
12978         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
12979         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
12980         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
12981         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
12982         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
12983         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
12984         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
12985         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
12986         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
12987         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
12988         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
12989         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
12990         lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
12991         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
12992         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, 
12993         sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
12994         smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
12995
12996 #
12997 # Tektronix 4106/4107/4109 from BRL
12998 # The following setup modes are assumed for normal operation:
12999 #       CODE ansi               COLUMNMODE 80           CRLF no
13000 #       DABUFFER 141            DAENABLE yes            DALINES 32
13001 #       DAMODE replace          DAVISIBILITY yes        ECHO no
13002 #       EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
13003 #       LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
13004 #       PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
13005 #       TABS -2
13006 # Other setup modes may be set for operator convenience or communication
13007 # requirements; I recommend
13008 #       ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
13009 #       BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
13010 #       EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
13011 #       GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
13012 #       IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
13013 #       PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
13014 #       XMTDELAY 0
13015 # and factory color maps.  After setting these modes, save them with NVSAVE.  No
13016 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
13017 # "IC" cannot be used in combination with "im" & "ei".
13018 tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109, 
13019         msgr, xon, 
13020         cols#80, it#8, lines#32, vt#3, 
13021         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
13022         civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
13023         cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13024         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13025         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13026         cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
13027         dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
13028         ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
13029         il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
13030         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
13031         kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
13032         kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
13033         lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
13034         rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
13035         rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
13036         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>, 
13037         sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
13038         smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g, 
13039
13040 tek4107|tek4109|tektronix terminals 4107 4109, 
13041         am, mir, msgr, ul, xenl, xt, 
13042         cols#79, it#8, lines#29, 
13043         bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
13044         bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M, 
13045         cub1=^H, cud1=^J, cuf1=\EC, 
13046         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3, 
13047         dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J, 
13048         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
13049         rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
13050         rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
13051         sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0, 
13052         sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0, 
13053         smul=\E%!1\E[4m$<2>\E%!0, 
13054 # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
13055 # see the note attached to tek4207.
13056 tek4207-s|Tektronix 4207 with sysline but no memory, 
13057         eslok, hs, 
13058         dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
13059         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, 
13060         is2=\E7\E[?6l\E[2K\E[?6h\E8, 
13061         tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107, 
13062
13063 # The 4110 series may be a wonderful graphics series, but they make the 4025
13064 # look good for screen editing.  In the dialog area, you can't move the cursor
13065 # off the bottom line.  Out of the dialog area, ^K moves it up, but there
13066 # is no way to scroll.
13067
13068 # Note that there is a floppy for free from Tek that makes the 
13069 # 4112 emulate the vt52 (use the vt52 termcap). There is also
13070 # an expected enhancement that will use ANSI standard sequences.
13071
13072 # 4112 in non-dialog area pretending to scroll. It really wraps 
13073 # but vi is said to work (more or less) in this mode.
13074
13075 # 'vi' works reasonably well with this entry.
13076 #
13077 otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
13078         am, 
13079         cols#80, lines#34, 
13080         bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J, 
13081         rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0, 
13082 # The 4112 with the ANSI compatibility enhancement
13083 tek4112|tek4114|tektronix 4110 series, 
13084         am, db, 
13085         cols#80, lines#34, 
13086         cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
13087         cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M, 
13088         ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
13089         ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8, 
13090         rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
13091 tek4112-nd|4112 not in dialog area, 
13092         cuu1=^K, use=tek4112, 
13093 tek4112-5|4112 in 5 line dialog area, 
13094         lines#5, use=tek4112, 
13095 # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
13096 # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
13097 # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
13098 # previously \0410 and \0411 sequences...I don't *think* they were supposed
13099 # to be 4-digit octal -- esr)
13100 tek4113|tektronix 4113 color graphics with 5 line dialog area, 
13101         am, da, eo, 
13102         cols#80, lines#5, 
13103         clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
13104         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
13105         is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
13106 tek4113-34|tektronix 4113 color graphics with 34 line dialog area, 
13107         lines#34, 
13108         is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113, 
13109 # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
13110 # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
13111 # :vb: needs enough delay to let you see the background color being toggled.
13112 tek4113-nd|tektronix 4113 color graphics with no dialog area, 
13113         am, eo, 
13114         cols#80, it#8, lines#34, 
13115         clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
13116         cvvis=\ELZ\EKA0, 
13117         flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
13118         home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @, 
13119         ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
13120 # This entry is from Tek. Inc.  (Brian Biehl)
13121 # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
13122 otek4115|Tektronix 4115, 
13123         am, da, db, eo, 
13124         cols#80, it#8, lines#34, 
13125         cbt=\E[Z, clear=\E[H\E[2J, 
13126         cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B, 
13127         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
13128         cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J, 
13129         el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
13130         il1=\E[L, 
13131         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, 
13132         kbs=^H, ri=\EM, rmam=\E[?7l, 
13133         rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
13134         rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
13135         smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m, 
13136         smul=\E[4m, 
13137 tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
13138         am, xon, 
13139         cols#80, lines#34, 
13140         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
13141         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
13142         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13143         cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
13144         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
13145         ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
13146         il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
13147         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
13148         rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
13149         rmso=\E[m, rmul=\E[m, 
13150         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
13151         sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
13152         vpa=\E[%p1%{1}%+%dd, 
13153 # The tek4125 emulates a vt100 incorrectly - the scrolling region
13154 # command is ignored.  The following entry replaces <csr> with the needed
13155 # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
13156 # chokes on; and adds a lot of initialization for the tek dialog area.
13157 # Note that this entry uses all 34 lines and sets the cursor color to green.
13158 # Steve Jacobson 8/85
13159 # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
13160 # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
13161 tek4125|tektronix 4125, 
13162         lines#34, 
13163         csr@, dl1=\E[1M, il1=\E[1L, 
13164         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, 
13165         rc@, sc@, smkx=\E=, 
13166         use=vt100, 
13167
13168 # From: <jcoker@ucbic>
13169 # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
13170 # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
13171 # note that if jcoker wasn't confused you may be able to use this one.
13172 # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
13173 tek4207|Tektronix 4207 graphics terminal with memory, 
13174         am, bw, mir, msgr, ul, xenl, 
13175         cols#80, it#8, lines#32, 
13176         blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>, 
13177         cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13178         cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J, 
13179         el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>, 
13180         il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5, 
13181         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, 
13182         kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H, 
13183         rev=\E[7m, ri=\E[T, 
13184         rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
13185         rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m, 
13186         smul=\E[4m, tbc=\E[1g, 
13187
13188 # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
13189 # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
13190 # Tab had been given as \E2I,that must be the tab-set capability -- esr)
13191 tek4404|tektronix 4404, 
13192         cols#80, it#8, lines#32, 
13193         blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
13194         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
13195         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, 
13196         ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L, 
13197         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
13198         rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
13199         rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
13200         smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h, 
13201         smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
13202 # Some unknown person wrote:
13203 # I added the is string - straight Unix has ESC ; in the login 
13204 # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
13205 # mode). The is string here cleans up a few things (but not 
13206 # everything).
13207 ct8500|tektronix ct8500, 
13208         am, bw, da, db, 
13209         cols#80, lines#25, 
13210         bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J, 
13211         cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER, 
13212         dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\, 
13213         il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s, 
13214         rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!, 
13215
13216 # Tektronix 4205 terminal.
13217 #
13218 # am is not defined because the wrap around occurs not when the char.
13219 # is placed in the 80'th column, but when we are attempting to type
13220 # the 81'st character on the line.  (esr: hmm, this is like the vt100
13221 # version of xenl, perhaps am + xenl would work!)
13222 #
13223 # Bold, dim, and standout are simulated by colors and thus not allowed
13224 # with colors.  The tektronix color table is mapped into the RGB color
13225 # table by setf/setb. All colors are reset to factory specifications by oc.
13226 # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
13227 # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
13228 # interval then maps into pre-defined value.
13229 tek4205|tektronix 4205, 
13230         ccc, mir, msgr, 
13231         colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63, 
13232         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
13233         bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
13234         clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
13235         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
13236         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
13237         dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
13238         ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
13239         ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
13240         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, 
13241         invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
13242         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
13243         kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
13244         kf7=\ES, 
13245         oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1, 
13246         op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
13247         rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
13248         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%;, 
13249         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%;, 
13250         sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
13251         smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
13252         smul=\E[4m, tbc=\E[1g, 
13253
13254 #### Teletype (tty)
13255 #
13256 # These are the hardcopy Teletypes from before AT&T bought the company,
13257 # clattering electromechanical dinosaurs in Bakelite cases that printed on
13258 # pulpy yellow roll paper.  If you remember these you go back a ways.
13259 # Teletype-branded VDTs are listed in the AT&T section.
13260 #
13261 # The earliest UNIXes were designed to use these clunkers; nroff and a few
13262 # other programs still default to emitting codes for the Model 37.
13263 #
13264
13265 tty33|tty35|model 33 or 35 teletype, 
13266         hc, os, xon, 
13267         cols#72, 
13268         bel=^G, cr=^M, cud1=^J, ind=^J, 
13269 tty37|model 37 teletype, 
13270         hc, os, xon, 
13271         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
13272         ind=^J, 
13273
13274 # There are known to be at least three flavors of the tty40, all seem more
13275 # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
13276 # awful braindamage, such as printing a visible newline indicator after each
13277 # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
13278 # braindamaged but has hope and is described here.  The 40-4 is a 3270
13279 # lookalike and beyond hope.  The terminal has visible bell but I don't know
13280 # it - it's null here to prevent it from showing the BL character.
13281 # There is an \EG in <nl> because of a bug in old vi (if stty says you have
13282 # a "newline" style terminal (-crmode) vi figures all it needs is nl
13283 # to get crlf, even if <cr> is not ^M.)
13284 # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
13285 tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
13286         xon, 
13287         cols#80, lines#24, 
13288         clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
13289         cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
13290         ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
13291         ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
13292         kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4, 
13293         rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>, 
13294 tty43|model 43 teletype, 
13295         am, hc, os, xon, 
13296         cols#132, 
13297         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
13298
13299 #### Tymshare
13300 #
13301
13302 # You can add <is2=\E<> to put this 40-column mode, though I can't
13303 # for the life of me think why anyone would want to.
13304 scanset|sc410|sc415|Tymshare Scan Set, 
13305         am, bw, msgr, 
13306         cols#80, lines#24, 
13307         acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
13308         cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13309         cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
13310         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
13311         mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
13312
13313 #### Volker-Craig (vc)
13314 #
13315 # If you saw a Byte Magazine cover with a terminal on it during the early
13316 # 1980s, it was probably one of these.  Carl Helmers liked them because
13317 # they could crank 19.2 and were cheap (that is, he liked them until he tried
13318 # to program one...)
13319 #
13320
13321 # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
13322 # every other linefeed.
13323 vc303|vc103|vc203|volker-craig 303, 
13324         am, 
13325         cols#80, lines#24, 
13326         bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
13327         cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, 
13328         kcuu1=^N, ll=\017$<1>W, 
13329 vc303a|vc403a|volker-craig 303a, 
13330         clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
13331         home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303, 
13332 # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
13333 vc404|volker-craig 404, 
13334         am, 
13335         cols#80, lines#24, 
13336         bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
13337         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
13338         ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
13339         kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
13340 vc404-s|volker-craig 404 w/standout mode, 
13341         cud1=^J, rmso=^O, smso=^N, use=vc404, 
13342 # From: <wolfgang@cs.sfu.ca>
13343 # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
13344 vc414|vc414h|Volker-Craig 414H in sane escape mode., 
13345         am, 
13346         cols#80, lines#24, 
13347         clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
13348         cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
13349         dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R, 
13350         ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P, 
13351         kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE, 
13352         kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, 
13353         lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
13354         rmso=\E^_, smso=\E^Y, 
13355 vc415|volker-craig 415, 
13356         clear=^L, use=vc404, 
13357
13358 ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
13359 #
13360
13361 #### IBM PC and clones
13362 #
13363
13364 # The pcplot IBM-PC terminal emulation program is really messed up. It is
13365 # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
13366 # doesn't support scrolling regions, ignores add line commands, and ignores
13367 # delete line commands. Consequently, the resulting behavior looks like a
13368 # crude adm3a-type terminal.
13369 # Steve Jacobson 8/85
13370 pcplot|pc-plot terminal emulation program, 
13371         xenl@, 
13372         csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100, 
13373 # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
13374 # I've found that my KayPro II, running MDM730, continues to emulate an
13375 # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
13376 # system the following termcap entry works well:
13377 # I have noticed a couple of minor glitches, but nothing I can't work
13378 # around. (I added two capabilities from the BRL entry -- esr)
13379 kaypro|kaypro2|kaypro II, 
13380         am, 
13381         cols#80, lines#24, 
13382         bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L, 
13383         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W, 
13384         el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
13385
13386 # From IBM, Thu May  5 19:35:27 1983
13387 # (commented out <smir>=\200R because we don't know <rmir> -- esr)
13388 ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
13389         am, 
13390         cols#80, lines#24, 
13391         bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
13392         cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
13393
13394 ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX, 
13395         am, bw, eo, hs, km, msgr, ul, 
13396         cols#80, it#8, lines#24, 
13397         acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
13398         bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
13399         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
13400         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13401         cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
13402         home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B, 
13403         indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H, 
13404         kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
13405         kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241, 
13406         kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247, 
13407         kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, ll=\E[24;1H, 
13408         nel=^M, rev=\E[7m, ri=\E[T\E[A, rin=\E[%p1%dT\E[%p1%dA, 
13409         rmso=\E[m, rmul=\E[m, 
13410         sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
13411         sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
13412
13413 #### Apple II
13414 #
13415 # Apple II firmware console first, then various 80-column cards and 
13416 # terminal emulators.  For two cents I'd toss all these in the UFO file
13417 # along with the 40-column apple entries.
13418 #
13419
13420 # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
13421 #       'it#8' tells UNIX that you have tabs every 8 columns.  This is a
13422 #               function of TIC, not the firmware.
13423 #       The clear key on a IIgs will do something like clear-screen, 
13424 #               depending on what you're in.
13425 appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface, 
13426         am, bw, eo, msgr, 
13427         cols#80, it#8, lines#24, 
13428         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
13429         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13430         home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J, 
13431         kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N, 
13432         smso=^O, 
13433 # Apple //e with 80-column card, entry from BRL
13434 # The modem interface is permitted to discard LF (maybe DC1), otherwise
13435 # passing characters to the 80-column firmware via COUT (PR#3 assumed).
13436 # Auto-wrap does not work right due to newline scrolling delay, which also
13437 # requires that you set "stty cr2".
13438 # Note: Cursor addressing is only available via the Pascal V1.1 entry,
13439 # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
13440 # using a terminal emulation program instead of the built-in firmware.
13441 apple2e|Apple //e, 
13442         bw, msgr, 
13443         cols#80, lines#24, 
13444         bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_, 
13445         ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W, 
13446         is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K, 
13447         nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
13448         smso=^O, 
13449 # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
13450 # 4.20, with incoming and outgoing terminals both on 0, emulation On.
13451 apple2e-p|Apple //e via Pascal, 
13452         cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H, 
13453         kcud1=^J, 
13454         use=apple2e, 
13455 # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
13456 # Enable DC3/DC1 flow control with "stty ixon -ixany".
13457 apple-ae|ASCII Express, 
13458         am, bw, msgr, nxon, xon, 
13459         cols#80, it#8, lines#24, 
13460         bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
13461         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13462         home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J, 
13463         kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
13464         smso=^O, 
13465 appleII|apple ii plus, 
13466         am, 
13467         cols#80, it#8, lines#24, 
13468         clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
13469         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6, 
13470         ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
13471         is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N, 
13472         smso=^O, 
13473 # Originally by Gary Ford 21NOV83
13474 # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
13475 apple-80|apple II with smarterm 80 col, 
13476         am, bw, 
13477         cols#80, lines#24, 
13478         cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J, 
13479         cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
13480         ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
13481 apple-soroc|apple emulating soroc 120, 
13482         am, 
13483         cols#80, lines#24, 
13484         bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13485         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
13486         home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
13487 # From Peter Harrison, Computer Graphics Lab, San Francisco
13488 #   ucbvax!ucsfmis!harrison  .....uucp
13489 #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
13490 # "These two work.  If you don't have the inverse video chip for the
13491 # Apple with videx then remove the :so: and :se: fields."
13492 # (apple-videx: this used to be called DaleApple -- esr)
13493 apple-videx|Apple with videx videoterm 80 column board with inverse video, 
13494         am, xenl, 
13495         cols#80, it#8, lines#24, 
13496         clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
13497         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13498         home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y, 
13499         rmso=^Z2, sgr0=^Z2, smso=^Z3, 
13500 # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
13501 #                             Apple Cat ][ 212 modem, + more all
13502 #                             controlled by ASCII Express: Pro.
13503 # From Dave Shaver <isucs1!shaver>
13504 apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell, 
13505         am, eo, xt, 
13506         cols#80, lines#24, 
13507         acsc=, clear=^L, cuf1=^\, 
13508         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13509         flash=^W35^W06, home=^Y, 
13510         is2=^V4^W06\017\rVisible Bell Installed.\016\r\n, 
13511         rmso=^N, smso=^O, 
13512 apple-uterm|Ultraterm for Apple micros, 
13513         am, eo, xt, 
13514         cols#80, lines#24, 
13515         acsc=, clear=^L, cuf1=^\, 
13516         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13517         home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O, 
13518 # from trwrba!bwong (Bradley W. Wong):
13519 #
13520 # This entry assumes that you are using an apple with the UCSD Pascal
13521 # language card.  SYSTEM.MISCINFO is assumed to be the same as that
13522 # supplied with the standard apple except that screenwidth should be set
13523 # using SETUP to 80 columns.  Note that the right arrow in not mapped in
13524 # this termcap entry.  This is because that key, on the Apple, transmits
13525 # a ^U and would thus preempt the more useful "up" function of vi.
13526 #
13527 # HMH 2/23/81
13528 apple80p|80-column apple with Pascal card, 
13529         am, bw, 
13530         cols#80, lines#24, 
13531         clear=^Y^L, cuf1=^\\:, 
13532         cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
13533         home=^Y, kcub1=^H, 
13534 #
13535 # Apple II+ equipped with Videx 80 column card
13536 #
13537 # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
13538 # manually converted by D A Gwyn
13539 #
13540 # DO NOT use any terminal emulation with this data base, it works directly
13541 # with the Videx card.  This has been tested with vi 1200 baud and works fine.
13542 #
13543 # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
13544 # 1 screen, while in R2 ^U doesn't.
13545 # For inverse alternate character set add:
13546 #       <smacs>=^O:<rmacs>=^N:
13547 # (apple-v: added it#8 -- esr)
13548 apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520), 
13549         am, xenl, 
13550         cols#80, it#8, lines#24, 
13551         bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H, 
13552         cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
13553         cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>, 
13554         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
13555         khome=^Y, rmso=^Z2, smso=^Z3, 
13556 apple-videx3|vapple|Apple II with 80 col card, 
13557         am, 
13558         cols#80, lines#24, 
13559         clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13560         cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
13561         kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, 
13562         kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH, 
13563 #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
13564 aepro|Apple II+ running ASCII Express Pro--vt52, 
13565         cols#80, lines#24, 
13566         clear=\014$<300/>, cuf1=\EC, 
13567         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
13568         el=\EK, home=\EH, 
13569 # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
13570 apple-vm80|ap-vm80|apple with viewmax-80, 
13571         cols#80, lines#24, 
13572         clear=\014$<300/>, cuf1=^\\:, 
13573         cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_, 
13574         ed=\013$<300/>, el=^], home=\031$<200/>, 
13575
13576 #### Apple Lisa & Macintosh
13577 #
13578
13579 # (lisa: changed <cvvis> to <cnorm> -- esr)
13580 lisa|apple lisa console display (black on white), 
13581         am, eo, msgr, 
13582         cols#88, it#8, lines#32, 
13583         acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L, 
13584         cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
13585         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
13586         ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
13587         is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
13588         kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
13589         sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
13590 liswb|apple lisa console display (white on black), 
13591         is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
13592         smso=\E[m, smul=\E[4m, use=lisa, 
13593
13594 # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
13595 # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
13596 #
13597 # These entries assume that the 'Auto Wraparound' is enabled.
13598 # Xon-Xoff flow control should also be enabled.
13599 #
13600 # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
13601 # settings are in non-volatile memory and don't need to be reset upon login.
13602 # Also setting the number of columns glitches the screen annoyingly.
13603 # You can type "reset" to get them set.
13604 #
13605 lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation, 
13606         am, xenl, xon, 
13607         cols#80, it#8, lines#24, vt#3, 
13608         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
13609         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
13610         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
13611         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
13612         el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, 
13613         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ, 
13614         kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8, 
13615         rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
13616         rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r, 
13617         sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
13618         tbc=\E[3g, 
13619 # Lisaterm in 132 column ("wide") mode.
13620 lisaterm-w|Apple Lisa with Lisaterm in 132 column mode, 
13621         cols#132, 
13622         kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm, 
13623 # Although MacTerminal has insert/delete line, it is commented out here
13624 # since it is much faster and cleaner to use the "lock scrolling region"
13625 # method of inserting and deleting lines due to the MacTerminal implementation.
13626 # Also, the "Insert/delete ch" strings have an extra character appended to them
13627 # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
13628 # supported by MacTerminal.
13629 mac|macintosh|Macintosh with MacTerminal, 
13630         xenl, 
13631         blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa, 
13632 # Lisaterm in 132 column ("wide") mode.
13633 mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode, 
13634         cols#132, use=mac, 
13635
13636 #### Radio Shack/Tandy
13637 #
13638
13639 # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
13640 # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
13641 # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
13642 coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
13643         am, 
13644         cols#80, it#8, lines#24, 
13645         bel=^G, blink=^_", bold=\E\:^A, civis=^E\s, 
13646         clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F, 
13647         cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
13648         dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
13649         kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
13650         sgr0=\037!\E\:\0, smso=^_\s, smul=^_", 
13651 # (trs2: removed obsolete ":nl=^_:" -- esr)
13652 trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
13653         am, msgr, 
13654         cols#80, it#8, lines#24, 
13655         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
13656         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B, 
13657         el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\, 
13658         kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N, 
13659 # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
13660 # (This had extension capabilities
13661 #       :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
13662 #       :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
13663 # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
13664 trs16|trs-80 model 16 console, 
13665         am, 
13666         cols#80, it#8, lines#24, 
13667         acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L, 
13668         cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
13669         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
13670         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
13671         ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
13672         kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, 
13673         khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, 
13674         lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, 
13675         smacs=\ERG, smso=\ERD, 
13676
13677 #### Atari ST
13678 #
13679
13680 # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
13681 atari|atari st, 
13682         am, 
13683         cols#80, it#8, lines#25, 
13684         clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
13685         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
13686         ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB, 
13687         kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep, 
13688 # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
13689 # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
13690 uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
13691         lines#49, 
13692         is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220, 
13693 # MiNT VT52 emulation. 80 columns, 25 rows.
13694 # MiNT is Now TOS, the operating system which comes with all Ataris now
13695 # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
13696 # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
13697 # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
13698 st52|Atari ST with VT52 emulation, 
13699         am, km, 
13700         cols#80, lines#25, 
13701         bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED, 
13702         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
13703         cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 
13704         ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
13705         kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M, 
13706         kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>, 
13707         kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
13708         kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek, 
13709         ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq, 
13710         smcup=\Ee, smso=\Ep, 
13711  
13712 #### Commodore Business Machines
13713 #
13714 # Formerly located in West Chester, PA; went spectacularly bust in 1994
13715 # after years of shaky engineering and egregious mismanagement.  Made one
13716 # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
13717 # C-128, VIC-20).  The C-64 is said to have been the most popular machine
13718 # ever (most units sold); they can still be found gathering dust in closets
13719 # everywhere.
13720 #
13721
13722 # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
13723 # Added a few more entries, converted caret-type control sequence (^x) entries
13724 # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
13725 #
13726 # :as:, :ae:                    Support for alternate character sets.
13727 # :ve=\E[\040p:vi=\E[\060\040p: cursor visible/invisible.
13728 # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
13729 #     This one appears to fix a problem I always had with a line ending
13730 #     at 'width+1' (I think) followed by a blank line in vi. The blank
13731 #     line tended to disappear and reappear depending on how the screen
13732 #     was refreshed. Note that this is probably needed only if you use
13733 #     something like a Dnet Fterm with the window sized to some peculiar
13734 #     dimension larger than 80 columns.
13735 # :k0=\E9~:     map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
13736 # (amiga: removed obsolete :kn#10:,
13737 # also added empty <acsc> to suppress a warning --esr)
13738 amiga|Amiga ANSI, 
13739         am, bw, xenl, 
13740         cols#80, lines#24, 
13741         acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
13742         civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD, 
13743         cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
13744         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
13745         cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
13746         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
13747         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
13748         indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED, 
13749         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, kf1=\E0~, 
13750         kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, kf6=\E5~, kf7=\E6~, 
13751         kf8=\E7~, kf9=\E8~, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
13752         rmacs=^O, rmso=\E[m, rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N, 
13753         smso=\E[7m, smul=\E[4m, 
13754
13755 # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
13756 # (amiga: added empty <acsc> to suppress a warning.
13757 # I'm told this entry screws up badly with AS225, the Amiga
13758 # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
13759 amiga-h|Hans Verkuil's Amiga ANSI, 
13760         bw, msgr, 
13761         cols#80, lines#24, 
13762         acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
13763         civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M, 
13764         cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
13765         cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
13766         cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
13767         dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
13768         home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S, 
13769         indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H, 
13770         kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
13771         kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~, 
13772         kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
13773         kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
13774         rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m, 
13775         rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
13776         smso=\2337m, smul=\2334m, 
13777
13778 # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
13779 #       I'm trying to write a termcap for a commodore b-128, and I'm
13780 # having a little trouble. I've had to map most of my control characters
13781 # to something that unix will accept (my delete-char is a ctrl-t, etc),
13782 # and create some functions (like cm), but thats life.
13783 #       The problem is with the arrow keys - right, and up work fine, but
13784 # left deletes the previous character and down I just can't figure out.
13785 # Jove knows what I want, but I don't know what it's sending to me (it
13786 # isn't thats bound to next-line in jove).
13787 #       Anybody got any ideas? Here's my termcap.
13788 # DAG -- I changed his "^n" entries to "\n"; see if that works.
13789 #
13790 commodore|b-128|Commodore B-128 micro, 
13791         am, bw, 
13792         cols#80, lines#24, pb#150, 
13793         clear=\E\006$<10/>, cr=^M, cud1=^J, cuf1=^F, 
13794         cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P, 
13795         dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>, 
13796         home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>, 
13797         kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=, 
13798         smir=, 
13799
13800 #### North Star
13801 #
13802 # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
13803 northstar|North Star Advantage, 
13804         cols#80, lines#24, 
13805         clear=\004$<200/>, 
13806         cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>, 
13807         el=\016$<200/>, home=\034\032$<200/>, 
13808
13809 #### Osborne
13810 #
13811 # Thu Jul  7 03:55:16 1983
13812 #       
13813 # As an aside, be careful; it may sound like an anomaly on the 
13814 # Osborne, but with the 80-column upgrade, it's too easy to 
13815 # enter lines >80 columns!
13816 #       
13817 # I've already had several comments...
13818 # The Osborne-1 with the 80-col option is capable of being 
13819 # 52, 80, or 104 characters wide; default to 80 for compatibility 
13820 # with most systems.
13821 #       
13822 # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
13823 osborne-w|osborne1-w|osborne I in 104-column mode, 
13824         msgr, ul, xt, 
13825         cols#104, lines#24, 
13826         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13827         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
13828         dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
13829         kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El, 
13830 # Osborne I     from ptsfa!rhc (Robert Cohen) via BRL
13831 osborne|osborne1|osborne I in 80-column mode, 
13832         am, mir, msgr, ul, xhp, 
13833         cols#80, lines#24, 
13834         clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
13835         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
13836         dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
13837         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
13838         rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
13839 #
13840 # Osborne Executive definition from BRL
13841 # Similar to tvi920
13842 # Added by David Milligan and Tom Smith (SMU)
13843 osexec|Osborne executive, 
13844         am, 
13845         cols#80, lines#24, xmc#1, 
13846         bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13847         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
13848         dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
13849         is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
13850         kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
13851         kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
13852         kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej, 
13853         smul=\El, tbc=\E3, 
13854
13855 #### Console types for obsolete UNIX clones
13856 #
13857 # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
13858 # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
13859 # were commercial, Minix an educational tool sold in conjunction with a book.
13860 # Memory-segmentation limits and a strong tendency to look like V7 long after
13861 # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
13862 # and Minix were ported to 32-bit Intel boxes, only to be run over by a
13863 # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
13864 # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
13865 # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
13866 # even as single processes under SunOS and the Macintosh OS.
13867 #
13868
13869 # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
13870 minix|minix console (v1.7), 
13871         am, xenl, 
13872         cols#80, it#8, lines#25, 
13873         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
13874         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
13875         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13876         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
13877         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
13878         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
13879         is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
13880         kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, 
13881         kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
13882         lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
13883         rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
13884 # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
13885 minix-old|minix console (v1.5), 
13886         xon, 
13887         cols#80, it#8, lines#25, 
13888         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
13889         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
13890         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
13891         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
13892         dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
13893         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
13894         kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
13895         kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
13896         khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
13897         rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
13898 # The linewrap option can be specified by editing /usr/include/minix/config.h
13899 # before recompiling the minix 1.5 kernel.
13900 minix-old-am|minix console with linewrap, 
13901         am, use=minix-old, 
13902
13903 pc-minix|minix console on an Intel box, 
13904         use=klone+acs, use=minix, 
13905
13906 # According to the Coherent 2.3 manual, the PC console is similar
13907 # to a z19. The differences seem to be (1) 25 lines, (2) no status
13908 # line, (3) standout is broken, (4) ins/del line is broken, (5)
13909 # has blinking and bold.
13910 pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
13911         am, mir, 
13912         cols#80, it#8, lines#25, 
13913         bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
13914         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN, 
13915         ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
13916         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
13917         rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep, 
13918
13919 # According to the Venix 1.1 manual, the PC console is similar
13920 # to a DEC vt52.  Differences seem to be (1) arrow keys send 
13921 # different strings, (2) enhanced standout, (3) added insert/delete line.
13922 # Note in particular that it doesn't have automatic margins.
13923 # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
13924 # not described here because this derives from an old termcap entry.
13925 pc-venix|venix|IBM PC console running Venix, 
13926         cols#80, it#8, lines#25, 
13927         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
13928         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
13929         ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK, 
13930         kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI, 
13931
13932 #### Miscellaneous microcomputer consoles
13933 #
13934 # If you know anything more about any of these, please tell me.
13935 #
13936
13937 # The MAI Basic Four computer was obsolete at the end of the 1980s.
13938 # It may be used as a terminal by putting it in "line" mode as seen on 
13939 # one of the status lines.
13940 # Initialization is similar to CIT80. <is2> will set ANSI mode for you.  
13941 # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
13942 # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I 
13943 # used \ED instead.
13944 # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
13945 mai|basic4|MAI Basic Four in ansi mode, 
13946         am, da, db, mir, msgr, 
13947         cols#82, it#8, lines#25, 
13948         bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h, 
13949         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X, 
13950         cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P, 
13951         dl1=\E[M, ed=^_, el=^^, home=^], ht=^I, 
13952         if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED, 
13953         is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
13954         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
13955         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
13956         kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T, 
13957         rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
13958         smir=\E[4h, smso=\E[7m, smul=\E[4m, 
13959 # basis from Peter Harrison, Computer Graphics Lab, San Francisco
13960 #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
13961 # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
13962 basis|BASIS108 computer with terminal translation table active, 
13963         clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H, 
13964         kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E), 
13965         smso=\E(, 
13966         use=adm3a, 
13967 # luna's BMC terminal emulator
13968 luna|luna68k|LUNA68K Bitmap console, 
13969         cols#88, lines#46, use=ansi-mini, 
13970 megatek|pegasus workstation terminal emulator, 
13971         am, os, 
13972         cols#83, lines#60, 
13973 # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
13974 # interface (pre-Macintosh by several years) that went nowhere.
13975 xerox820|x820|Xerox 820, 
13976         am, 
13977         cols#80, lines#24, 
13978         bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
13979         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X, 
13980         home=^^, ind=^J, 
13981
13982 #### Videotex and teletext
13983 #
13984
13985 # \E\:1}        switch to te'le'informatique mode (ascii terminal/ISO 6429)
13986 # \E[?3l        80 columns
13987 # \E[?4l        scrolling on
13988 # \E[12h        local echo off
13989 # \Ec           reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
13990 # \E)0          G1 DEC set (line graphics)
13991 #
13992 # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
13993 m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique, 
13994         eslok, hs, xenl, 
13995         cols#80, it#8, lines#24, wsl#72, xmc#0, 
13996         acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
13997         blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J, 
13998         cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
13999         cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
14000         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14001         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
14002         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J, 
14003         home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J, 
14004         ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0, 
14005         is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
14006         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp, 
14007         kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, 
14008         kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H, 
14009         kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H, 
14010         mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM, 
14011         rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
14012         rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, 
14013         smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
14014         u6=\E[%i%d;%dR, u7=\E[6n, 
14015
14016 # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
14017 #
14018 minitel1|minitel 1, 
14019         am, bw, eslok, hs, hz, msgr, 
14020         colors#8, cols#40, lines#24, pairs#8, 
14021         acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L, 
14022         cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
14023         cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X, 
14024         enacs=^Y, fsl=^J, home=^^, ind=^J, 
14025         is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG, 
14026         rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\, 
14027         setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;, 
14028         sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;, 
14029         sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c, 
14030 # is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
14031 minitel1b|minitel 1-bistandard (in 40cols mode), 
14032         mir, 
14033         cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
14034         cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
14035         dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L, 
14036         is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D, 
14037         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
14038         kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l, 
14039         smir=\E[4h, smkx=\E;iYA\E;jYC, 
14040         use=minitel1, 
14041 # <rmkx> posait des problemes (logout en sortant de vi).
14042 minitel1b-80|minitel 1-bistandard (standard teleinformatique), 
14043         am@, bw@, hz@, 
14044         colors@, cols#80, it#8, pairs@, 
14045         blink=\E[5m, bold=\E[1m, civis=\037@A\024\n, 
14046         clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C, 
14047         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
14048         ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq, 
14049         kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw, 
14050         kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m, 
14051         ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@, 
14052         sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
14053         sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, 
14054         use=minitel1b, 
14055
14056 ######## OBSOLETE VDT TYPES
14057 #
14058 # These terminals are *long* dead -- these entries are retained for
14059 # historical interest only.
14060
14061 #### Amtek Business Machines
14062 #
14063
14064 # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
14065 # but these caps were commented out in 8.3; also, removed overridden
14066 # ":do=^J:" -- esr)
14067 abm80|amtek business machines 80, 
14068         am, bw, 
14069         cols#80, lines#24, 
14070         cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
14071         cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
14072         dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
14073
14074 #### Bell Labs blit terminals
14075 #
14076 # These were AT&T's official entries.  The 5620 FAQ maintained by 
14077 # David Breneman <daveb@dgtl.com> has this to say:
14078 #
14079 #  Actually, in the beginning was the Jerq, and the Jerq was white with a
14080 #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
14081 #  was good.  But lo, upon the horizon loomed a mighty management-type person
14082 #  (known now only by the initials VP) who said, the mighty Jerq must stay
14083 #  alone, and could not go forth into the world. So Locanthi and Pike put the
14084 #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
14085 #  world. And the Jerq lived the rest of its days in research, but never
14086 #  strayed from those paths.
14087 #
14088 #  In all seriousness, the Blit was originally known as the Jerq, but when
14089 #  it started to be shown outside of the halls of the Bell Labs Research
14090 #  organization, the management powers that be decided that the name could
14091 #  not remain. So it was renamed to be Blit. This was in late 1981.
14092 #
14093 # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
14094 # 730, and 730+.)
14095 #
14096
14097 blit|jerq|blit running teletype rom, 
14098         am, eo, ul, xon, 
14099         cols#87, it#8, lines#72, 
14100         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
14101         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
14102         dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c, 
14103         dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!, 
14104         il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, 
14105         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
14106
14107 # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
14108 cbblit|fixterm|blit running columbus code, 
14109         cols#88, 
14110         ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d, 
14111         rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!, 
14112         smul=\EU", 
14113         use=blit, 
14114
14115 oblit|ojerq|first version of blit rom, 
14116         am, da, db, eo, mir, ul, xon, 
14117         cols#88, it#8, lines#72, 
14118         bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
14119         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO, 
14120         dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G, 
14121         ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER, 
14122         smir=\EQ, 
14123
14124 #### Bolt, Beranek & Newman (bbn)
14125 #
14126 # The BitGraph was a product of the now-defunct BBN Computer Corporation.
14127 # The parent company, best known as the architects of the Internet, is
14128 # still around.
14129 #
14130 # Jeff DelPapa <dp@world.std.com> writes:
14131 # The bitgraph was a large white box that contained a monochrome bitmap
14132 # display, and a 68000 to run it.  You could download code and run it on
14133 # the cpu, it had 128kb (I think) of memory.  I used one in the late
14134 # 70's, sure beat a vt100.  It had one strange feature tho -- it used
14135 # the cpu to bitblt pixels to scroll, it took longer than the refresh
14136 # rate, and looked like a rubber sheet stretching, then snapping
14137 # upwards.  It had everything the early mac had, except a floppy drive a
14138 # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
14139 # Beranek and Neuman) sold at most a few hundred of them to the real
14140 # world.  DOD may have bought more...
14141
14142
14143 # Entries for the BitGraph terminals.  The problem 
14144 # with scrolling in vi can only be fixed by getting BBN to put 
14145 # smarter scroll logic in the terminal or changing vi or padding 
14146 # scrolls with about 500 ms delay.
14147 #       
14148 # I always thought the problem was related to the terminal 
14149 # counting newlines in its input buffer before scrolling and 
14150 # then moving the screen that much. Then vi comes along and 
14151 # paints lines in on the bottom line of the screen, so you get 
14152 # this big white gap.
14153
14154 bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
14155         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
14156         use=bg2.0, 
14157 bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
14158         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
14159         use=bg2.0, 
14160 bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
14161         xenl, 
14162         cols#85, lines#64, 
14163         bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
14164         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
14165         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>, 
14166         ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, 
14167         ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
14168         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, 
14169         lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7, 
14170         sgr0=\E[m, smkx=\E=, smso=\E[7m, 
14171
14172 bg1.25rv|bbn bitgraph 1.25 (reverse video), 
14173         flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25, 
14174 bg1.25nv|bbn bitgraph 1.25 (normal video), 
14175         flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25, 
14176 # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
14177 bg1.25|bbn bitgraph 1.25, 
14178         cols#85, lines#64, 
14179         bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B, 
14180         cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
14181         dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
14182         il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB, 
14183         kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, 
14184         lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l, 
14185         rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
14186         smso=\E[7m, 
14187
14188 #### Chromatics
14189 #
14190
14191 # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
14192 # that is smaller than the screen, and puts up a warning message 
14193 # outside the window. Te erases the warning message, puts the 
14194 # window back to be the whole screen, and puts the cursor at just
14195 # below the small window. I defined <cnorm> and <civis> to really turn 
14196 # the cursor on and off, but I have taken this out since I don't 
14197 # like the cursor being turned off when vi exits.   
14198 cg7900|chromatics|chromatics 7900, 
14199         am, 
14200         cols#80, lines#40, 
14201         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
14202         cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2, 
14203         ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
14204         rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
14205         rmso=\001C1\,\001c2\,, 
14206         smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
14207         smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 
14208
14209 #### Computer Automation
14210 #
14211
14212 ca22851|computer automation 22851, 
14213         am, 
14214         cols#80, lines#24, 
14215         bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I, 
14216         cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J, 
14217         kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^, 
14218
14219 #### Cybernex
14220 #
14221
14222 # This entry has correct padding and the undocumented "ri" capability
14223 cyb83|xl83|cybernex xl-83, 
14224         am, 
14225         cols#80, lines#24, 
14226         bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
14227         cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
14228         ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H, 
14229         kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
14230 # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
14231 cyb110|mdl110|cybernex mdl-110, 
14232         am, 
14233         cols#80, lines#24, 
14234         bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
14235         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
14236         dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
14237         ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
14238         ht=\011$<43>, ich1=\016A\035$<3.5>, 
14239         il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
14240
14241 #### Datapoint
14242 #
14243 # Datapoint is gone.  They used to be headquartered in Texas.
14244 # They created ARCnet, an Ethernet competitor that flourished for a while
14245 # in the early 1980s before 3COM got wise and cut its prices.  The service
14246 # side of Datapoint still lives (1995) in the form of Intelogic Trace.
14247 #
14248
14249 dp3360|datapoint|datapoint 3360, 
14250         am, 
14251         cols#82, lines#25, 
14252         bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
14253         ed=^_, el=^^, home=^], ind=^J, 
14254
14255 # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
14256 # The Datapoint 8242 Workstation was sold at least between 1985 
14257 # and 1989. To make the terminal work with this entry, press 
14258 # CONTROL-INT-INT to take the terminal off-line, and type (opt). 
14259 # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
14260 # CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
14261 # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
14262 # fact unusable because the strings sent by the terminal conflict
14263 # with other keys).
14264 # The terminal is capable of displaying "box draw" characters.
14265 # For each graphic character you must send 2 ESC's (\E\E) followed 
14266 # by a control character as follows: 
14267 #         character        meaning
14268 #         =========        =======
14269 #         ctrl-E           top tee
14270 #         ctrl-F           right tee
14271 #         ctrl-G           bottom tee
14272 #         ctrl-H           left tee
14273 #         ctrl-I           cross
14274 #         ctrl-J           top left corner
14275 #         ctrl-K           top right corner
14276 #         ctrl-L           bottom left corner
14277 #         ctrl-M           bottom right corner
14278 #         ctrl-N           horizontal line
14279 #         ctrl-O           vertical line
14280 # Unfortunately this cannot be fitted into the termcap/terminfo 
14281 # description scheme. 
14282 dp8242|datapoint 8242, 
14283         msgr, 
14284         cols#80, lines#25, 
14285         bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X, 
14286         cr=^M, cub1=^H, cud1=^J, 
14287         cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V, 
14288         home=^U, ht=^I, il1=\E^T, ind=^C, 
14289         is1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
14290         kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee, 
14291         kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea, 
14292         kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J, 
14293         rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D, 
14294         rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
14295         smso=\E^E, smul=\E^F, 
14296         wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025, 
14297
14298 #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
14299 #
14300 # These entries are DEC's official terminfos for its older terminals.
14301 # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
14302 # Engineering for more information.  Updated terminfos and termcaps 
14303 # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
14304 #
14305
14306 gt40|dec gt40, 
14307         os, 
14308         cols#72, lines#30, 
14309         bel=^G, cr=^M, cub1=^H, cud1=^J, 
14310 gt42|dec gt42, 
14311         os, 
14312         cols#72, lines#40, 
14313         bel=^G, cr=^M, cub1=^H, cud1=^J, 
14314 vt50|dec vt50, 
14315         cols#80, lines#12, 
14316         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
14317         cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
14318 vt50h|dec vt50h, 
14319         cols#80, lines#12, 
14320         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
14321         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
14322         el=\EK, ht=^I, ind=^J, ri=\EI, 
14323 # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
14324 vt61|vt-61|vt61.5|dec vt61, 
14325         cols#80, lines#24, 
14326         bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J, 
14327         cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
14328         cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
14329         ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
14330         ri=\E$<20>I, 
14331
14332 # The gigi does standout with red!
14333 # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
14334 gigi|vk100|dec gigi graphics terminal, 
14335         am, xenl, 
14336         cols#84, lines#24, 
14337         bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
14338         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
14339         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
14340         el=\E[K, ht=^I, ind=^J, 
14341         is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
14342         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
14343         kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
14344         rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
14345         sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m, 
14346         smul=\E[4m, 
14347
14348 # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
14349 # a PC differentiated from the IBM clones.  It was a total, ludicrous,
14350 # grossly-overpriced failure (among other things, DEC's OS didn't include
14351 # a format program, so you had to buy pre-formatted floppies from DEC at
14352 # a hefty premium!).
14353 pro350|decpro|dec pro console, 
14354         cols#80, it#8, lines#24, 
14355         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
14356         clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
14357         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
14358         el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
14359         kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI, 
14360         kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG, 
14361         rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D, 
14362
14363 dw1|decwriter I, 
14364         hc, os, 
14365         cols#72, 
14366         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
14367 dw2|decwriter|dw|decwriter II, 
14368         hc, os, 
14369         cols#132, 
14370         bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
14371 # \E(B          Use U.S. character set (otherwise # => british pound !)
14372 # \E[20l        Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
14373 # \E[w          10 char/in pitch
14374 # \E[1;132      full width horizontal margins
14375 # \E[2g         clear all tab stops
14376 # \E[z          6 lines/in
14377 # \E[66t        66 lines/page (for \f)
14378 # \E[1;66r      full vertical page can be printed
14379 # \E[4g         clear vertical tab stops
14380 # \E>           disable alternate keypad mode (so it transmits numbers!)
14381 # \E[%i%p1%du   set tab stop at column %d (origin == 1)
14382 #               (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
14383 #               a tab stop)
14384 #
14385 #       The dw3 does standout with wide characters.
14386 #
14387 dw3|la120|decwriter III, 
14388         hc, os, 
14389         cols#132, 
14390         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
14391         is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
14392         is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
14393         kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w, 
14394 dw4|decwriter IV, 
14395         am, hc, os, 
14396         cols#132, 
14397         bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H, 
14398         kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
14399
14400 # These aren't official
14401 ln03|dec ln03 laser printer, 
14402         hc, 
14403         cols#80, lines#66, 
14404         bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J, 
14405         rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m, 
14406         smul=\E[4m, 
14407 ln03-w|dec ln03 laser printer 132 cols, 
14408         cols#132, 
14409         bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
14410         kcud1=^J, nel=^M^J, 
14411         use=ln03, 
14412
14413 #### Delta Data (dd)
14414 #
14415
14416 # Untested. The cup sequence is hairy enough that it probably needs work.
14417 # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
14418 # There are BSD-derived termcap entries floating around for this puppy
14419 # that are *certainly* wrong.
14420 delta|dd5000|delta data 5000, 
14421         am, 
14422         cols#80, lines#27, 
14423         bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
14424         cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c, 
14425         cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
14426
14427 #### Digital Data Research (ddr)
14428 #
14429
14430 # (ddr: I added <rmam>/<smam> based on the init string -- esr)
14431 ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
14432         am, xenl, 
14433         cols#80, it#8, lines#24, vt#3, 
14434         blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
14435         clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H, 
14436         cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
14437         cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
14438         ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
14439         kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
14440         kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
14441         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l, 
14442         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>, 
14443         rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
14444         sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, 
14445         smul=\E[4m$<2/>, 
14446
14447 #### Evans & Sutherland
14448 #
14449
14450 # Jon Leech <leech@cs.unc.edu> tells us:
14451 # The ps300 was the Evans & Sutherland Picture System 300, a high
14452 # performance 3D vector graphics system with a bunch of specialized hardware.
14453 # Approximate date of release was 1982 (early 80s, anyway), and it had several
14454 # evolutions including (limited) color versions such as the PS330C. PS300s
14455 # were effectively obsolete by the late 80s, replaced by raster graphics
14456 # systems, although specialized applications like molecular modelling
14457 # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
14458 # are out of production, though of course E&S is very much alive (in 1996).
14459 # (ps300: changed ":pt@:" to "it@" -- esr)
14460 #
14461 ps300|Picture System 300, 
14462         xt, 
14463         it@, 
14464         rmso@, rmul@, smso@, smul@, use=vt100, 
14465
14466 #### General Electric (ge)
14467 #
14468
14469 terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
14470         hc, os, 
14471         cols#120, 
14472         bel=^G, cr=^M, cud1=^J, ind=^J, 
14473
14474 #### Heathkit/Zenith
14475 #
14476
14477 # Here is a description of the H19 DIP switches:
14478 #
14479 # S401
14480 # 0-3 = baud rate as follows:
14481
14482 #         3       2       1       0
14483 #       ---     ---     ---     --- 
14484 #         0       0       1       1       300 baud
14485 #         0       1       0       1       1200 baud
14486 #         1       0       0       0       2400 baud
14487 #         1       0       1       0       4800 baud
14488 #         1       1       0       0       9600 baud
14489 #         1       1       0       1       19.2K baud
14490
14491 # 4 = parity (0 = no parity)
14492 # 5 = even parity (0 = odd parity)
14493 # 6 = stick parity (0 = normal parity)
14494 # 7 = full duplex (0 = half duplex)
14495
14496 # S402 
14497 # 0 = block cursor (0 = underscore cursor)
14498 # 1 = no key click (0 = keyclick)
14499 # 2 = wrap at end of line (0 = no wrap)
14500 # 3 = auto LF on CR (0 = no LF on CR)
14501 # 4 = auto CR on LF (0 = no CR on LF)
14502 # 5 = ANSI mode (0 = VT52 mode)
14503 # 6 = keypad shifted (0 = keypad unshifted)
14504 # 7 = 50Hz refresh (1 = 60Hz refresh)
14505
14506 # Factory Default settings are as follows:
14507 #          7 6 5 4 3 2 1 0
14508 # S401     1 0 0 0 1 1 0 0
14509 # S402     0 0 0 0 0 0 0 0
14510 # (h19: I added <rmam>/<smam> based on the init string;
14511 # also added empty <acsc> to suppress a tic warning -- esr)
14512 h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
14513         am, mir, msgr, 
14514         cols#80, it#8, lines#24, 
14515         acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
14516         cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
14517         cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>, 
14518         ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J, 
14519         is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
14520         kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
14521         kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, 
14522         kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white, 
14523         ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
14524         smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
14525 h19-bs|heathkit w/keypad shifted, 
14526         rmkx=\Eu, smkx=\Et, use=h19-b, 
14527 h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor, 
14528         rmkx=\Eu, smkx=\Et, 
14529         use=h19-u, 
14530 # (h19: merged in <ip> from BSDI hp19-e entry>;
14531 # also added empty <acsc> to suppress a tic warning --esr)
14532 # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
14533 # Tim tells us that:
14534 # I have an old Zenith-19 terminal at home that still gets a lot of use.
14535 # This terminal suffers from the same famous insert-mode padding lossage
14536 # that has been acknowledged for the Z29 terminal.  Emacs is nearly
14537 # unusable on this box, since even a half-scroll up or down the window
14538 # causes flaming terminal death.
14539 #   
14540 # On the Z19, the only way I have found around this problem is to remove
14541 # the :al: and :dl: entries entirely.  No amount of extra padding will
14542 # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
14543 # makes Emacs a little slower, but it remains in the land of the living.
14544 # Big win.
14545 h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
14546         am, eslok, hs, mir, msgr, 
14547         cols#80, it#8, lines#24, 
14548         acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
14549         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
14550         cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, 
14551         ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, 
14552         kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
14553         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, 
14554         lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
14555         smacs=\EF, smir=\E@, smso=\Ep, 
14556         tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
14557 h19-u|heathkit with underscore cursor, 
14558         cnorm@, cvvis@, use=h19-b, 
14559 h19-g|h19g|heathkit w/block cursor, 
14560         cnorm=\Ex4, use=h19-b, 
14561 alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
14562         lines#60, 
14563         dl1=\EM, il1=\EL, use=h19, 
14564
14565 # The major problem with the Z29 is that it requires more padding than the Z19.
14566 #
14567 # The problem with declaring an H19 to be synonymous with a Z29 is that
14568 # it needs more padding. It especially loses if a program attempts
14569 # to put the Z29 into insert mode and insert text at 9600 baud. It
14570 # even loses worse if the program attempts to insert tabs at 9600
14571 # baud. Adding padding to text that is inserted loses because in 
14572 # order to make the Z29 not die, one must add so much padding that
14573 # whenever the program tries to use insert mode, the effective 
14574 # rate is about 110 baud.
14575
14576 # What program would want to put the terminal into insert mode 
14577 # and shove stuff at it at 9600 baud you ask?  
14578
14579 # Emacs. Emacs seems to want to do the mathematically optimal 
14580 # thing in doing a redisplay rather than the practical thing.
14581 # When it is about to output a line on top of a line that is 
14582 # already on the screen, instead of just killing to the end of 
14583 # the line and outputting the new line, it compares the old line 
14584 # and the new line and if there are any similarities, it 
14585 # constructs the new line by deleting the text on the old line 
14586 # on the terminal that is already there and then inserting new
14587 # text into the line to transform it into the new line that is 
14588 # to be displayed. The Z29 does not react kindly to this.
14589
14590 # But don't cry for too long.... There is a solution. You can make
14591 # a termcap entry for the Z29 that says the Z29 has no insert mode.
14592 # Then Emacs cannot use it. "Oh, no, but now inserting into a 
14593 # line will be really slow", you say. Well there is a sort of a
14594 # solution to that too. There is an insert character option on 
14595 # the Z29 that will insert one character. Unfortunately, it 
14596 # involves putting the terminal into ansi mode, inserting the 
14597 # character, and changing it back to H19 mode. All this takes 12 
14598 # characters. Pretty expensive to insert one character, but it 
14599 # works. Either Emacs doesn't try to use its inserting hack when 
14600 # it's only given an insert character ability or the Z29 doesn't 
14601 # require padding with this (the former is probably more likely, 
14602 # but I haven't checked it out).
14603 # (z29: added empty <acsc> to suppress a tic warning, merged in
14604 # status line capabilities from BRL entry --esr)
14605 z29|zenith29|z29b|zenith z29b, 
14606         am, eslok, hs, mir, msgr, 
14607         cols#80, lines#24, 
14608         acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, cr=^M, 
14609         cub1=^H, cud1=\EB, cuf1=\EC, 
14610         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
14611         cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, 
14612         ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I, 
14613         ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>, 
14614         is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
14615         kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
14616         kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
14617         lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, 
14618         rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8, 
14619         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
14620 # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
14621 # the world is stable. <rs1> causes the terminal to be reset to the state
14622 # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
14623 # cursor, bc -> block cursor.
14624 # From: Mike Meyers
14625 # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
14626 # looks vt100-compatible -- esr)
14627 z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
14628         am, eslok, hs, mir, msgr, 
14629         cols#80, it#8, lines#24, 
14630         bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, cr=^M, 
14631         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
14632         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
14633         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
14634         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
14635         dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H, 
14636         ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL, 
14637         ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
14638         kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS, 
14639         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
14640         kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7, 
14641         nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h, 
14642         rmso=\E[m, rmul=\E[m, 
14643         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, 
14644         sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m, 
14645         tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
14646 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
14647         rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, 
14648         use=z29a, 
14649 z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
14650         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, 
14651         use=z29a, 
14652 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
14653         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, 
14654         use=z29a, 
14655 # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
14656 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
14657         am, eslok, hs, mc5i, mir, msgr, xon, 
14658         cols#80, lines#24, 
14659         acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
14660         blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
14661         clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
14662         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
14663         cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
14664         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
14665         dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
14666         dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K, 
14667         fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L, 
14668         ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
14669         ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
14670         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS, 
14671         kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
14672         kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
14673         mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
14674         rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
14675         rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0, 
14676         smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
14677         tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
14678
14679 # From: Brad Brahms <Brahms@USC-ECLC>
14680 z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
14681         cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, 
14682         use=z100bw, 
14683 # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
14684 z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
14685         mir, msgr, 
14686         cols#80, it#8, lines#24, 
14687         acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
14688         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
14689         cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, 
14690         ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, 
14691         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, 
14692         kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
14693         kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
14694         smacs=\EF, smir=\E@, smso=\Ep, 
14695 p19|h19-b with il1/dl1, 
14696         dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b, 
14697 # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
14698 # (ztx: removed duplicate :sr: -- esr)
14699 ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
14700         am, eslok, hs, 
14701         cols#80, it#8, lines#24, 
14702         clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
14703         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
14704         dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, 
14705         il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, 
14706         kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES, 
14707         kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER, 
14708         ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2, 
14709         tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
14710
14711 #### IMS International (ims)
14712 #
14713 # There was a company called IMS International located in Carson City, 
14714 # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
14715 # bus/Z80 hardware and a line of terminals called Ultimas.  
14716 #
14717
14718 # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
14719 ims950-b|bare ims950 no init string, 
14720         is2@, use=ims950, 
14721 # (ims950: removed obsolete ":ko@:" -- esr)
14722 ims950|ims televideo 950 emulation, 
14723         xenl@, 
14724         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
14725         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
14726         use=tvi950, 
14727 # (ims950-rv: removed obsolete ":ko@:" -- esr)
14728 ims950-rv|ims tvi950 rev video, 
14729         xenl@, 
14730         flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
14731         kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
14732         use=tvi950-rv, 
14733 ims-ansi|ultima2|ultimaII|IMS Ultima II, 
14734         am, 
14735         cols#80, it#8, lines#24, 
14736         clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
14737         cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K, 
14738         ht=^I, if=/usr/share/tabset/vt100, 
14739         is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
14740         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM, 
14741         rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m, 
14742         smul=\E[4m, 
14743
14744 #### Intertec Data Systems
14745 #
14746 # I think this company is long dead as of 1995.  They made an early CP/M
14747 # micro called the "Intertec Superbrain" that was moderately popular,
14748 # then sank out of sight.
14749 #
14750
14751 superbrain|intertec superbrain, 
14752         am, bw, 
14753         cols#80, lines#24, 
14754         bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
14755         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K, 
14756         ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U, 
14757         kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L, 
14758 # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
14759 # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
14760 # and the reverse is actually true.  Try it. -- esr)
14761 intertube|intertec|Intertec InterTube, 
14762         am, 
14763         cols#80, lines#25, 
14764         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
14765         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A, 
14766         ind=^J, rmso=\E0@, smso=\E0P, 
14767 # The intertube 2 has the "full duplex" problem like the tek 4025: if you
14768 # are typing and a command comes in, the keystrokes you type get interspersed
14769 # with the command and it messes up
14770 intertube2|intertec data systems intertube 2, 
14771         cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
14772         el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
14773         ll=^K^X\r, vpa=\013%p1%c, 
14774         use=intertube, 
14775
14776 #### Ithaca Intersystems
14777 #
14778 # This company made S100-bus personal computers long ago in the pre-IBM-PC
14779 # past.  They used to be reachable at:
14780 #
14781 #       Ithaca Intersystems
14782 #       1650 Hanshaw Road
14783 #       Ithaca, New York 14850
14784 #
14785 # However, the outfit went bankrupt years ago.
14786 #
14787
14788 # The Graphos III was a color graphics terminal from Ithaca Intersystems.
14789 # These entries were written (originally in termcap syntax) by Brian Yandell 
14790 # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
14791 # University of Wisconsin.
14792
14793 # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
14794 # removed <if=/usr/share/tabset/init.graphos> and 
14795 # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
14796 graphos|graphos III, 
14797         am, mir, 
14798         cols#80, it#8, lines#24, 
14799         clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
14800         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
14801         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
14802         cuu=\E[%p1%dA, cuu1=\E[A, 
14803         cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, 
14804         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
14805         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
14806         kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
14807         kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
14808         rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h, 
14809         smir=\E[4h, smso=\E[7m, 
14810 graphos-30|graphos III with 30 lines, 
14811         lines#30, 
14812         cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos, 
14813
14814 #### Modgraph
14815 #
14816 # These people used to be reachable at:
14817 #
14818 #       Modgraph, Inc
14819 #       1393 Main Street,
14820 #       Waltham, MA 02154
14821 #       Vox: (617)-890-5796.
14822 #
14823 # However, if you call that number today you'll get an insurance company.
14824 # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
14825 # 26 Feb 1997 that says:
14826 #
14827 # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
14828 # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
14829 # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
14830 # panel-mount etc).  I can be emailed at sonfour@aol.com
14831 #
14832 # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
14833 # dated 1984.  According to the manual, it featured Tek 4010/4014
14834 # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
14835 #
14836
14837 modgraph|mod24|modgraph terminal emulating vt100, 
14838         xenl@, 
14839         cols#80, lines#24, 
14840         cvvis=\E\^9;0s\E\^7;1s, 
14841         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, 
14842         rf@, ri=\EM\E[K$<5/>, 
14843         use=vt100, 
14844 # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
14845 modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
14846         am, da, db, 
14847         cols#80, it#8, lines#24, 
14848         clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
14849         cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>, 
14850         ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
14851         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, 
14852         ri=\EI$<5/>, 
14853 #
14854 # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
14855 # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
14856 # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
14857 # mark and using delete-to-killbuffer work correctly.  However, we would
14858 # like normal mode of operation to be using a Modgraph with 48 line setting.
14859 # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
14860 # the setting mark and delete-to-killbuffer results in the deletion of only
14861 # the line the mark is set on.
14862 # We've discovered that the delete-to-killbuffer works correctly
14863 # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
14864 # the first line disappears but a ctrl-l shows that it did work
14865 # correctly.
14866 modgraph48|mod|Modgraph w/48 lines, 
14867         am, xenl, 
14868         cols#80, it#8, lines#48, vt#3, 
14869         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
14870         csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
14871         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
14872         flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q, 
14873         home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h, 
14874         kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
14875         kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
14876         ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
14877         rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, 
14878         smso=\E[7m, smul=\E[4m, 
14879
14880 #### Morrow Designs
14881
14882 # This was George Morrow's company.  They started in the late 1970s making
14883 # S100-bus machines.  They used to be reachable at:
14884 #
14885 #        Morrow
14886 #        600 McCormick St.
14887 #        San Leandro, CA 94577
14888 #
14889 # but they're long gone now (1995).
14890 #
14891
14892 # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
14893 # Jeff's specimen was dated June 1984.
14894 # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
14895 mt70|mt-70|Morrow MD-70; native Morrow mode, 
14896         am, mir, msgr, xon, 
14897         cols#80, it#8, lines#24, 
14898         acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G, 
14899         cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
14900         cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
14901         cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
14902         flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
14903         ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r, 
14904         kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r, 
14905         kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r, 
14906         kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, 
14907         kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
14908         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
14909         kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_, 
14910         rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1, 
14911         tbc=\E0, 
14912         use=adm+sgr, 
14913
14914 #### Motorola
14915 #
14916
14917 # Motorola EXORterm 155 from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
14918 # (Seth H Zirin)
14919 ex155|Motorola Exorterm 155, 
14920         am, bw, 
14921         cols#80, lines#24, 
14922         cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED, 
14923         cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU, 
14924         home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H, 
14925         kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@, 
14926         rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED, 
14927
14928 #### Omron
14929 #
14930 # This company is still around in 1995, manufacturing point-of-sale systems.
14931
14932 omron|Omron 8025AG, 
14933         am, da, db, 
14934         cols#80, lines#24, 
14935         bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, 
14936         cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH, 
14937         il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef, 
14938
14939 #### Ramtek
14940 #
14941 # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
14942 # were competition for things like the Tektronics 4025.
14943 #
14944
14945 # Ramtek 6221 from BRL, probably by Doug Gwyn
14946 # The following SET-UP modes are assumed for normal operation:
14947 #       UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
14948 #       NEWLINE_OFF             80_COLUMNS
14949 # Other SET-UP modes may be set for operator convenience or communication
14950 # requirements; I recommend
14951 #       SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
14952 # Hardware tabs are assumed to be every 8 columns; they can be set up by the
14953 # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
14954 # Note that the Control-E key is useless on this brain-damaged terminal.  No
14955 # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14956 rt6221|Ramtek 6221 80x24, 
14957         msgr, xon, 
14958         cols#80, it#8, lines#24, vt#3, 
14959         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
14960         clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M, 
14961         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
14962         cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
14963         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
14964         cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I, 
14965         hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
14966         kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
14967         kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H, 
14968         nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>, 
14969         rmso=\E[m, rmul=\E[m, 
14970         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>, 
14971         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
14972         smul=\E[4m, tbc=\E[3g, 
14973 # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
14974 rt6221-w|Ramtek 6221 160x48, 
14975         cols#160, lines#48, 
14976         ll=\E[48;1H, use=rt6221, 
14977
14978 #### RCA
14979 #
14980
14981 # RCA VP3301 or VP3501
14982 rca|rca vp3301/vp3501, 
14983         cols#40, lines#24, 
14984         clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
14985         cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1, 
14986
14987
14988 #### Selanar
14989 #
14990
14991 # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
14992 # The following SET-UP modes are assumed for normal operation:
14993 #       SET_DEFAULT_TABS        48_LINES                80_COLUMNS
14994 #       ONLINE                  ANSI                    CURSOR_VISIBLE
14995 #       VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
14996 #       LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
14997 #       CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
14998 # For use with graphics software, all graphics modes should be set to factory
14999 # default.  Other SET-UP modes may be set for operator convenience or
15000 # communication requirements.  No delays are specified; use "stty ixon -ixany"
15001 # to enable DC3/DC1 flow control!
15002 # I commented out the scrolling capabilities since they are too slow.
15003 hirez100|Selanar HiREZ-100, 
15004         mir, msgr, xon, 
15005         cols#80, it#8, lines#48, vt#3, 
15006         acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
15007         cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
15008         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15009         cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
15010         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
15011         hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H, 
15012         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, 
15013         kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, 
15014         lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i, 
15015         mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O, 
15016         rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
15017         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>, 
15018         sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, 
15019         smul=\E[4m, tbc=\E[3g, 
15020 hirez100-w|Selanar HiREZ-100 in 132-column mode, 
15021         cols#132, use=hirez100, 
15022
15023 #### Signetics
15024 #
15025
15026 # From University of Wisconsin
15027 vsc|Signetics Vsc Video driver by RMC, 
15028         am, msgr, 
15029         cols#80, it#8, lines#26, 
15030         clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
15031         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
15032         ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s, 
15033         rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_", 
15034
15035 #### Soroc
15036 #
15037 # Alan Frisbie <frisbie@flying-disk.com> writes:
15038 #
15039 # As you may recall, the Soroc logo consisted of their name,
15040 # with the letter "S" superimposed over an odd design.   This
15041 # consisted of a circle with a slightly smaller 15 degree (approx.)
15042 # wedge with rounded corners inside it.   The color was sort of
15043 # a metallic gold/yellow.
15044
15045 # If I had been more of a beer drinker it might have been obvious
15046 # to me, but it took a clue from their service department to make
15047 # me exclaim, "Of course!"   The circular object was the top of
15048 # a beer can (the old removable pop-top style) and "Soroc" was an
15049 # anagram for "Coors".
15050
15051 # I can just imagine the founders of the company sitting around
15052 # one evening, tossing back a few and trying to decide what to
15053 # call their new company and what to use for a logo.
15054
15055
15056 # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
15057 soroc120|iq120|soroc|soroc iq120, 
15058         clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J, 
15059         kcuf1=^L, kcuu1=^K, 
15060         use=adm3a, 
15061 soroc140|iq140|soroc iq140, 
15062         am, mir, 
15063         cols#80, lines#24, 
15064         bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
15065         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew, 
15066         dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J, 
15067         kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
15068         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
15069         kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8, 
15070         rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A, 
15071
15072 #### Southwest Technical Products
15073 #
15074 # These guys made an early personal micro called the M6800.  
15075 # The ct82 was probably its console terminal.
15076 #
15077
15078 # (swtp: removed obsolete ":bc=^D:" -- esr)
15079 swtp|ct82|southwest technical products ct82, 
15080         am, 
15081         cols#82, lines#20, 
15082         bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
15083         cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F, 
15084         home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
15085         is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
15086         ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
15087
15088 #### Synertek
15089 #
15090 # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
15091 #
15092 # Synertek used to make ICs, various 6502-based single-board process
15093 # control and hobbyist computers, and assorted peripherals including a
15094 # series of small inexpensive terminals (I think they were one of the
15095 # first to have a "terminal-on-a-keyboard", where the terminal itself
15096 # was only slightly larger than the keyboard).
15097 #
15098 # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
15099 # was a 40x24 terminal that could connect to a standard TV through a
15100 # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
15101 # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
15102 # I have a KTM-2/80 still in working order.  The KTM-2s had fully
15103 # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
15104 # ROM and 2 ROMs as character generators. They were incredibly simple,
15105 # and I've never had any problems with mine (witness the fact that mine
15106 # was made in 1981 and is still working great... I've blown the video
15107 # output transistor a couple of times, but it's a 2N2222 :-)
15108 #
15109 # The KTM-3 (which is what is listed in the terminfo file) was their
15110 # attempt at putting a KTM-2 in a box (and some models came with a
15111 # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
15112 # control and escape sequences are very different. The KTM-3 was always
15113 # real broken, at least according to the folks I've talked to about it.
15114
15115 # The padding in the entry is probably off--these terminals were very
15116 # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
15117 # anyone with any sanity replaced the ROMs with something that provided
15118 # a reasonable subset of VT100 functionality, since the usual ROMs were
15119 # obviously very primitive... oh, you could get an upgraded ROM from
15120 # Synertek for some incredible amount of money, but what hacker with an
15121 # EPROM burner would do that? :)
15122
15123 # Sorry I don't have any contact info; I believe they were located in
15124 # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
15125 # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
15126 # business these days.
15127 #
15128
15129 # Tested, seems to work fine with vi.
15130 synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
15131         am, 
15132         cols#80, lines#24, 
15133         clear=^Z, cub1=^H, cuf1=^L, 
15134         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
15135
15136 #### Tab Office Products
15137 #
15138 #       TAB Products Co. - Palo Alto, California
15139 #       Electronic Office Products,
15140 #       1451 California Avenue 94304
15141 #
15142 # I think they're out of business.
15143 #
15144
15145 # The tab 132 uses xon/xoff, so no padding needed.
15146 # <smkx>/<rmkx> have nothing to do with arrow keys.
15147 # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
15148 # Seems to be no way to get rid of status line.
15149 # The manual for this puppy was dated June 1981.  It claims to be VT52-
15150 # compatible but looks more vt100-like.
15151 tab132|tab|tab132-15|tab 132/15, 
15152         da, db, 
15153         cols#80, lines#24, lm#96, 
15154         cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M, 
15155         il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B, 
15156         kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, 
15157         use=vt100, 
15158 tab132-w|tab132 in wide mode, 
15159         cols#132, 
15160         is2=\E[?7h\E[?3h\E[?5l, use=tab132, 
15161 tab132-rv|tab132 in reverse-video mode, 
15162         is2=\E[?7h\E[?3l\E[?5h, use=tab132, 
15163 tab132-w-rv|tab132 in reverse-video/wide mode, 
15164         is2=\E[?7h\E[?3h\E[?5h, 
15165         use=tab132-w, 
15166
15167
15168 #### Teleray
15169 #
15170 #       Research Incorporated
15171 #       6425 Flying Cloud Drive
15172 #       Eden Prairie, MN 55344
15173 #       Vox: (612)-941-3300
15174 #
15175 # The Teleray terminals were all discontinued in 1992-93.  RI still services
15176 # and repairs these beasts, but no longer manufactures them.  The Teleray
15177 # people believe that all the types listed below are very rare now (1995).
15178 # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
15179 # Model 100) that were ANSI-compatible.
15180 #
15181 # Note two things called "teleray".  Reorder should move the common one
15182 # to the front if you have either.  A dumb teleray with the cursor stuck
15183 # on the bottom and no obvious model number is probably a 3700.
15184 #
15185
15186 t3700|dumb teleray 3700, 
15187         cols#80, lines#24, 
15188         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
15189 t3800|teleray 3800 series, 
15190         cols#80, it#8, lines#24, 
15191         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15192         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
15193         home=\EH, ht=^I, ind=^J, ll=\EY7\s, 
15194 t1061|teleray|teleray 1061, 
15195         am, km, xhp, xt, 
15196         cols#80, it#8, lines#24, xmc#1, 
15197         bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15198         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
15199         dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF, 
15200         ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
15201         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, 
15202         kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7, 
15203         kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH, 
15204         tbc=\EG, 
15205 t1061f|teleray 1061 with fast PROMs, 
15206         dl1=\EM, il1=\EL, ip@, use=t1061, 
15207 # "Teleray Arpa Special", officially designated as
15208 # "Teleray Arpa network model 10" with "Special feature 720".
15209 # This is the new (1981) fast microcode updating the older "arpa" proms
15210 # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
15211 # converts the keypad to programmable function keys, and has other goodies.
15212 # Standout mode is still broken (magic cookie, etc) so is suppressed as no
15213 # programs handle such lossage properly.
15214 # Note: this is NOT the old termcap's "t1061f with fast proms."
15215 # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
15216 # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
15217 t10|teleray 10 special, 
15218         km, xhp, xt, 
15219         cols#80, it#8, lines#24, xmc#2, 
15220         clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
15221         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
15222         dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
15223         ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
15224         smul=\ERH, 
15225 # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
15226 # back/forth words. Put the function keys (f1-f10) where they can be
15227 # found, and turn off the other magic keys along the top row, except
15228 # for line/local. Do the magic appropriate to make the page shifts work.
15229 # Also toggle ^S/^Q for those of us who use Emacs.
15230 t16|teleray 16, 
15231         am, da, db, mir, xhp, xt, 
15232         cols#80, lines#24, 
15233         bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
15234         cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P, 
15235         dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L, 
15236         ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
15237         kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
15238         rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
15239         rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
15240         smso=\E[7m, smul=\E[4m, 
15241
15242 #### Texas Instruments (ti)
15243 #
15244
15245 # The Silent 700 was so called because it was built around a quiet thermal
15246 # printer.  It was portable, equipped with an acoustic coupler, and pretty
15247 # neat for its day.
15248 ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
15249         hc, os, 
15250         cols#80, 
15251         bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
15252
15253 #
15254 # Texas Instruments 916 VDT 7 bit control mode
15255 #
15256 ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL, 
15257         da, db, in, msgr, 
15258         cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>, 
15259         cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB, 
15260         cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
15261         cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P, 
15262         dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, 
15263         el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>, 
15264         hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>, 
15265         il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H, 
15266         kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~, 
15267         kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~, 
15268         kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
15269         kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T, 
15270         kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, 
15271         smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=vt220, 
15272 #
15273 # Texas Instruments 916 VDT 8 bit control mode
15274 #
15275 ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL, 
15276         kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
15277         kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~, 
15278         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~, 
15279         kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
15280         kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H, 
15281         kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, 
15282         use=ti916, 
15283 #
15284 # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
15285 #
15286 ti916-132|Texas Instruments 916 VDT vt220 132 column, 
15287         cols#132, use=ti916, 
15288 #
15289 # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
15290 #
15291 ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column, 
15292         cols#132, use=ti916-8, 
15293 ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
15294         am, xon, 
15295         cols#80, it#8, lines#24, 
15296         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
15297         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
15298         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
15299         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
15300         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
15301         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15302         kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
15303         kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~, 
15304         kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m, 
15305         ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
15306         smul=\E[4m, tbc=\E[3g, 
15307 ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
15308         am, xon, 
15309         cols#80, it#8, lines#24, 
15310         bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
15311         clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
15312         csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
15313         cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
15314         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
15315         il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15316         kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
15317         kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>, 
15318         kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>, 
15319         kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, 
15320         rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
15321         smul=\E[4m, tbc=\E[3g, 
15322 ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
15323         cols#132, use=ti924, 
15324 ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
15325         cols#132, use=ti924-8, 
15326 ti931|Texas Instruments 931 VDT, 
15327         am, xon, 
15328         cols#80, lines#24, 
15329         bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED, 
15330         cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
15331         cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
15332         ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
15333         is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
15334         kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, 
15335         kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, 
15336         kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
15337         sgr0=\E4@, smso=\E4A, smul=\E4D, 
15338 ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
15339         csr@, ind=\E[1S, ri=\E[1T, 
15340         use=ti924, 
15341 # (ti926-8: I corrected this from the broken SCO entry -- esr)
15342 ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
15343         csr@, ind=\2331S, ri=\2331T, 
15344         use=ti924-8, 
15345 ti_ansi|basic entry for ti928, 
15346         am, bce, eo, xenl, xon, 
15347         colors#8, cols#80, it#8, lines#25, pairs#64, 
15348         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, 
15349         cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
15350         cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
15351         dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
15352         il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
15353         kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M, 
15354         kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, 
15355         kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
15356         op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m, 
15357         setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
15358         smso=\E[7m, smul=\E[4m, 
15359 #
15360 #       928 VDT 7 bit control mode
15361 #
15362 ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
15363         kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
15364         kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
15365         kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
15366         kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
15367         kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, 
15368         use=ti_ansi, 
15369 #
15370 #       928 VDT 8 bit control mode
15371 #
15372 ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
15373         kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~, 
15374         kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~, 
15375         kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~, 
15376         kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~, 
15377         kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S, 
15378         kpp=\233T, kprt=\23335~, 
15379         use=ti_ansi, 
15380
15381 #### Zentec (zen)
15382 #
15383
15384 # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
15385 # had just <smso>=\EG6 which I think means standout was supposed to be 
15386 # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
15387 # <invis> might work-- esr)
15388 zen30|z30|zentec 30, 
15389         am, mir, ul, 
15390         cols#80, lines#24, 
15391         bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
15392         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
15393         dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^, 
15394         il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6, 
15395         smul@, 
15396         use=adm+sgr, 
15397 # (zen50: this had extension capabilities
15398 #       :BS=^U:CL=^V:CR=^B:
15399 # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
15400 # which were also in the original entry -- esr)
15401 # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
15402 zen50|z50|zentec zephyr, 
15403         am, 
15404         cols#80, lines#24, xmc#1, 
15405         clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
15406         cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
15407         invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
15408         rmul@, smul@, 
15409         use=adm+sgr, 
15410
15411 # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
15412 cci|cci1|z8001|zen8001|CCI Custom Zentec 8001, 
15413         am, bw, 
15414         cols#80, lines#24, 
15415         blink=\EM", clear=\EH\EJ, cnorm=\EP, 
15416         csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J, 
15417         cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
15418         cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH, 
15419         invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED, 
15420         kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R, 
15421         rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s, 
15422         smso=\EM$, smul=\EM0, 
15423
15424 ######## OBSOLETE UNIX CONSOLES
15425 #
15426
15427 #### Apollo consoles
15428 #
15429 # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
15430 # labeled HP700s now.
15431 #
15432
15433 # From: Gary Darland <goodmanc@garnet.berkeley.edu>
15434 apollo|apollo console, 
15435         am, mir, 
15436         cols#88, lines#53, 
15437         clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
15438         cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL, 
15439         ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED, 
15440         rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ, 
15441         smso=\ES, smul=\EU, vpa=\EO+\s, 
15442
15443 # We don't know whether or not the apollo guys replicated DEC's firmware bug
15444 # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
15445 # both these capabilities.
15446 apollo_15P|apollo 15 inch display, 
15447         rmir@, smir@, use=vt132, 
15448 apollo_19L|apollo 19 inch display, 
15449         rmir@, smir@, use=vt132, 
15450 apollo_color|apollo color display, 
15451         rmir@, smir@, use=vt132, 
15452
15453 #### Convergent Technology
15454 #
15455 # Burroughs bought Convergent shortly before it merged with Univac.
15456 # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
15457 # from 1991 or earlier).
15458 #
15459
15460 # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
15461 # (aws: removed unknown :dn=^K: -- esr)
15462 aws|Convergent Technologies AWS workstation under UTX and Xenix, 
15463         am, 
15464         cols#80, lines#28, xmc#0, 
15465         acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
15466         cuu1=^A, dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c, 
15467         ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K, 
15468         kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF, 
15469         rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN, 
15470         vpa=\EV%p1%c, 
15471 awsc|Convergent Technologies AWS workstation under CTOS, 
15472         am, 
15473         cols#80, lines#24, xmc#0, 
15474         acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
15475         cuu1=^A, ed=\EEF, el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, 
15476         kcuf1=^R, kcuu1=^A, rmacs=\EAAF, rmso=\EAA, rmul=\EAA, 
15477         smacs=\EAAN, smso=\EAE, smul=\EAC, 
15478
15479 #### DEC consoles
15480 #
15481
15482 # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
15483 # The digital uVax II's had a graphic display called a qdss.  It was
15484 # supposed to be a high performance graphic accelerator, but it was
15485 # late to market and barely appeared before faster dumb frame buffers
15486 # appeared.  I have only used this display while running X11.  However,
15487 # during bootup, it was in text mode, and probably had a terminal emulator
15488 # within it.  And that is what your termcap entry is for.  In graphics
15489 # mode the screen size is 1024x864 pixels.
15490 qdss|qdcons|qdss glass tty, 
15491         am, 
15492         cols#128, lines#57, 
15493         clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
15494         cup=\E=%p1%c%p2%c, cuu1=^K, 
15495
15496 #### Fortune Systems consoles
15497 #
15498 # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
15499 # in their day; I (esr) used one myself for a year or so around 1984.
15500 # They had no graphics, though, and couldn't compete against Suns and
15501 # the like.  R.I.P.
15502 #
15503
15504 # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
15505 # (This had extension capabilities
15506 #       :rv=\EH:re=\EI:rg=0:GG=0:\
15507 #       :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
15508 #       :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
15509 #       :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
15510 # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
15511 # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
15512 # to force both magic cookie glitches off.  Once upon a time, I
15513 # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
15514 # function keys; thus the "Al" value for HM was certainly an error.  I renamed
15515 # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
15516 # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
15517 # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
15518 # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
15519 fos|fortune|Fortune system, 
15520         am, bw, 
15521         cols#80, lines#25, 
15522         acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E], 
15523         clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
15524         cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
15525         cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
15526         ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
15527         ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H, 
15528         kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r, 
15529         kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r, 
15530         kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, 
15531         khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, 
15532         rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
15533         smso=^\H`, smul=^\HP, 
15534
15535 #### Masscomp consoles
15536 #
15537 # Masscomp has gone out of business.  Their product line was purchased by
15538 # comany in Georgia (US) called "XS International", parts and service may
15539 # still be available through them.
15540 #
15541
15542 # (masscomp: ":MT:" changed to ":km:";  -- esr)
15543 masscomp|masscomp workstation console, 
15544         km, mir, 
15545         cols#80, it#8, lines#24, 
15546         clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
15547         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
15548         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H, 
15549         kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, 
15550         rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
15551 masscomp1|masscomp large screen version 1, 
15552         cols#104, lines#36, use=masscomp, 
15553 masscomp2|masscomp large screen version 2, 
15554         cols#64, lines#21, use=masscomp, 
15555
15556 ######## OTHER OBSOLETE TYPES
15557 #
15558 # These terminals are *long* dead -- these entries are retained for
15559 # historical interest only.
15560 #
15561
15562 #### Obsolete non-ANSI software emulations
15563 #
15564
15565 # CTRM terminal emulator
15566 # 1. underlining is not allowed with colors: first, is is simulated by 
15567 # black on white, second, it disables background color manipulations.
15568 # 2. BLINKING, REVERSE and BOLD are allowed with colors,
15569 # so we have to save their status in the static registers A, B and H
15570 # respectively, to be able to restore them when color changes
15571 # (because any color change turns off ALL attributes)
15572 # 3. <bold> and <rev> sequences alternate modes,
15573 # rather then simply  entering them.  Thus we have to check the
15574 # static register B and H to determine the status, before sending the 
15575 # escape sequence.
15576 # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
15577 # and then reset colors
15578 # 5. implementation of the protect mode would badly penalize the performance.
15579 # we would have to use \E&bn sequence to turn off colors (as well as all
15580 # other attributes), and keep the status of protect mode in yet another
15581 # static variable.  If someone really needs this mode, they would have to
15582 # create another terminfo entry.
15583 # 6. original color-pair is white on black.
15584 # store the information about colors into static registers
15585 # 7. set foreground color.  it performs the following steps.
15586 #   1) turn off all attributes
15587 #   2) turn on the background and video attributes that have been turned
15588 #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
15589 #   3) turn on foreground attributes
15590 #   4) store information about foreground into U,V,W static registers
15591 # 8. turn on background: similar to turn on foreground above
15592 ctrm|C terminal emulator, 
15593         am, bce, xon, 
15594         colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0, 
15595         pairs#63, pb#19200, vt#6, 
15596         bel=^G, blink=\E&dA%{1}%PA, 
15597         bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
15598         clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15599         cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM, 
15600         ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1, 
15601         il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, 
15602         kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
15603         kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
15604         kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
15605         op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU, 
15606         rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
15607         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, 
15608         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, 
15609         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%;, 
15610         sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
15611         smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
15612
15613 # gs6300 - can't use blue foreground, it clashes with underline;
15614 # it's simulated with cyan
15615 # Bug: The <op> capability probably resets attributes.
15616 # (gs6300: commented out <rmln> (no <smln>) --esr)
15617 gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
15618         am, bce, msgr, xon, 
15619         colors#8, cols#80, it#8, lines#24, pairs#63, 
15620         acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
15621         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
15622         cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
15623         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
15624         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
15625         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
15626         ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
15627         is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B, 
15628         kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s, 
15629         kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
15630         khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
15631         ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
15632         setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m, 
15633         sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
15634
15635 # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
15636 # MS-Kermit with Heath-19 emulation mode enabled
15637 # (h19k: changed ":pt@:" to ":it@"
15638 h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
15639         am@, da, db, xt, 
15640         it@, 
15641         ht@, use=h19-u, 
15642
15643 # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
15644 # Software (formerly Peripherals Computers & Supplies, Inc) of
15645 # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
15646 # also be reached at support@synergy.com.
15647 versaterm|versaterm vt100 emulator for the macintosh, 
15648         am, xenl, 
15649         cols#80, it#8, lines#24, 
15650         bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
15651         clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
15652         cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
15653         cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
15654         dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>, 
15655         el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>, 
15656         il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
15657         kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
15658         kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, 
15659         rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
15660         rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>, 
15661         sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>, 
15662         smul=\E[4m$<2/>, 
15663
15664 # From: Rick Thomas <ihnp4!btlunix!rbt>
15665 # (xtalk: I added <rmam>/<smam> based on the init string.
15666 xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
15667         am, mir, msgr, xon, 
15668         cols#80, it#8, lines#24, vt#3, xmc#1, 
15669         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
15670         bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
15671         cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
15672         cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
15673         cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>, 
15674         el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
15675         il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
15676         kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
15677         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
15678         kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
15679         kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
15680         rmkx=\E[?1l\E>, rmso=\E[m\s, 
15681         rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
15682         smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s, 
15683         tbc=\E[3g, 
15684
15685 # The official PC terminal emulator program of the AT&T Product Centers.
15686 # Note - insert mode commented out - doesn't seem to work on AT&T PC.
15687 simterm|attpc running simterm, 
15688         am, 
15689         cols#80, lines#24, 
15690         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
15691         cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER, 
15692         dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE, 
15693         rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB, 
15694
15695 #### Daisy wheel printers
15696 #
15697 # This section collects Diablo, DTC, Xerox, Qume, and other daisy
15698 # wheel terminals.  These are now largely obsolete.
15699 #
15700
15701 # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
15702 diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
15703         hc, os, 
15704         cols#132, it#8, 
15705         cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c, 
15706         ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2, 
15707 diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
15708         cols#124, 
15709         is2=\r        \E9, use=diablo1620, 
15710 # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
15711 diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
15712         bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, 
15713         use=diablo1620, 
15714 # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
15715 # file -- esr)
15716 diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
15717         cols#124, 
15718         rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620, 
15719 diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
15720         use=diablo1640-lm, 
15721 # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
15722 # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
15723 # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
15724 # If no tab is set or the terminal's in a bad mood, it glitches the screen
15725 # around all of memory.  Note that return puts a blank ("a return character")
15726 # in the space the cursor was at, so we use ^P return (and thus ^P newline for
15727 # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
15728 # curses won't work (some old BSD versions) because it doesn't clear this bit,
15729 # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
15730 # I have been unable to get tabs set in all 96 lines - it always leaves at
15731 # least one line with no tabs in it, and once you tab through that line,
15732 # it completely weirds out.
15733 # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
15734 dtc382|DTC 382, 
15735         am, da, db, xhp, 
15736         cols#80, lines#24, lm#96, 
15737         bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H, 
15738         cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
15739         dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
15740         home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
15741         rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
15742 dtc300s|DTC 300s, 
15743         hc, os, 
15744         cols#132, 
15745         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
15746         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
15747 gsi|mystery gsi terminal, 
15748         hc, os, 
15749         cols#132, 
15750         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH, 
15751         ind=^J, 
15752 aj830|aj832|aj|anderson jacobson, 
15753         hc, os, 
15754         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
15755         ind=^J, 
15756 # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
15757 aj510|Anderson-Jacobson model 510, 
15758         am, mir, 
15759         cols#80, lines#24, 
15760         clear=^L, cub1=^H, cuf1=\EX, 
15761         cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
15762         dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=, 
15763         il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ, 
15764         kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J, 
15765         rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I, 
15766         smul=\E"U, 
15767 # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
15768 # This is incomplete, but it's a start.
15769 nec5520|nec|spinwriter|nec 5520, 
15770         hc, os, 
15771         cols#132, it#8, 
15772         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
15773         hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J, 
15774         kbs=^H, tbc=\E3, 
15775 qume5|qume|Qume Sprint 5, 
15776         hc, os, 
15777         cols#80, it#8, 
15778         bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
15779         hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
15780 # I suspect the xerox 1720 is the same as the diablo 1620.
15781 xerox1720|x1720|x1750|xerox 1720, 
15782         hc, os, 
15783         cols#132, it#8, 
15784         bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J, 
15785         tbc=\E2, 
15786
15787 #### Miscellaneous obsolete terminals, manufacturers unknown
15788 #
15789 # If you have any information about these (like, a manufacturer's name, 
15790 # and a date on the serial-number plate) please send it!
15791
15792 cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
15793         am, 
15794         cols#73, lines#36, 
15795         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
15796 cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
15797         am, 
15798         cols#85, lines#39, 
15799         clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3, 
15800         kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7, 
15801         kf4=\E8, rmso=\Em^C, smso=\Em^L, 
15802 cops10|cops|cops-10|cops 10, 
15803         am, bw, 
15804         cols#80, lines#24, 
15805         bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
15806         cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V, 
15807         ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
15808         khome=^Y, 
15809 # (d132: removed duplicate :ic=\E5:,
15810 # merged in capabilities from a BRL entry -- esr)
15811 d132|datagraphix|datagraphix 132a, 
15812         da, db, in, 
15813         cols#80, lines#30, 
15814         bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, 
15815         cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, 
15816         dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, 
15817         kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew, 
15818 # The d800 was an early portable terminal from c.1984-85 that looked a lot
15819 # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
15820 # mode (which is what this entry looks like) and several other lesser-known
15821 # emulations.
15822 d800|Direct 800/A, 
15823         am, da, db, msgr, xhp, 
15824         cols#80, it#8, lines#24, 
15825         acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
15826         bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H, 
15827         cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
15828         cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D, 
15829         kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
15830         kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
15831         ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
15832         smacs=\E[1m, smso=\E[7m, smul=\E[4m, 
15833 digilog|digilog 333, 
15834         cols#80, lines#16, 
15835         bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X, 
15836         home=^N, ind=^J, 
15837 # The DWK was a terminal manufactured in the Soviet Union c.1986
15838 dwk|dwk-vt|dwk terminal, 
15839         am, 
15840         cols#80, it#8, lines#24, 
15841         acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_, 
15842         bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
15843         cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
15844         ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
15845         kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
15846         kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
15847         kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh, 
15848         kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX, 
15849         sgr0=\EX, smacs=\EF, smso=\ET, 
15850 env230|envision230|envision 230 graphics terminal, 
15851         xenl@, 
15852         mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
15853         sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100, 
15854 # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
15855 # coupler attached, the whole rig fitting in a suitcase and more or less
15856 # portable.  Hot stuff for c.1977 :-) -- esr
15857 ep48|ep4080|execuport 4080, 
15858         am, os, 
15859         cols#80, 
15860         bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J, 
15861 ep40|ep4000|execuport 4000, 
15862         cols#136, use=ep4080, 
15863 # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
15864 # Informer series - these are all portable units, resembling older
15865 # automatic bread-baking machines.  The terminal looks like a `clamshell'
15866 # design, but isn't.  The structure is similar to the Direct terminals,
15867 # but only half the width.  The entire unit is only about 10" wide.
15868 # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
15869 # keyboard.  All the keys are crammed together, much like some laptop
15870 # PCs today, but perhaps less well organized...all these units have a
15871 # bewildering array of plugs on the back, including a built-in modem.
15872 # The 305 was a color version of the 304; the 306 and 307 were mono and
15873 # color terminals built for IBM bisync protocols.
15874 # From: Paul Leondis <unllab@amber.berkeley.edu>
15875 ifmr|Informer D304, 
15876         am, 
15877         cols#80, lines#24, 
15878         clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
15879         cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\, 
15880         ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK, 
15881         smso=\EJ, 
15882 # Entry largely based on wy60 and has the features of wy60ak.
15883 opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
15884         am, bw, hs, km, mir, msgr, ul, xon, 
15885         cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
15886         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
15887         cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M, 
15888         cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, 
15889         dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, 
15890         ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
15891         hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J, 
15892         ip=$<3>, 
15893         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, 
15894         kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
15895         kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY, 
15896         kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
15897         kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
15898         kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
15899         kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
15900         kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
15901         mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
15902         pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
15903         pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
15904         pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
15905         rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
15906         rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
15907         rs3=\EwG\Ee($<150>, 
15908         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, 
15909         sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
15910         smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
15911         smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
15912         uc=\EG8%p1%c\EG0, 
15913         use=adm+sgr, 
15914 teletec|Teletec Datascreen, 
15915         am, 
15916         cols#80, lines#24, 
15917         bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
15918         home=^^, ind=^J, 
15919 # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
15920 # This description is for the LANPAR Technologies VISION 3220
15921 # terminal from 1984/85.  The function key definitions k0-k5 represent the
15922 # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
15923 # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
15924 # (v3220: removed obsolete ":kn#10:",
15925 # I added <rmam>/<smam> based on the init string -- esr)
15926 v3220|LANPAR Vision II model 3220/3221/3222, 
15927         am, mir, xenl, 
15928         cols#80, it#8, lines#24, 
15929         clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
15930         cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
15931         ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
15932         is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B, 
15933         kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, 
15934         kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, 
15935         kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
15936         rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
15937         smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
15938 ######## ICH/ICH1 VERSUS RMIR/SMIR
15939 #
15940 # Some non-curses applications get confused if both ich/ich1 and rmir/smir
15941 # are present; the symptom is doubled characters in an update using insert.
15942 # These applications are technically correct; in both 4.3BSD termcap and
15943 # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
15944 # unless the terminal needs both.  To my knowledge, no terminal still in this
15945 # file requires both other than the very obsolete dm2500.
15946 #
15947 # For ncurses-based applications this is not a problem, as ncurses uses
15948 # one or the other as appropriate but never mixes the two.  Therefore we
15949 # have not corrected entries like `linux' and `xterm' that specify both.
15950 # If you see doubled characters from these, use the linux-nic and xterm-nic
15951 # entries that suppress ich/ich1.  And upgrade to ncurses!
15952 #
15953
15954 ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
15955 #
15956 # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
15957 # ECMA-48 standards are said to be almost identical, but are not the same
15958 # as X3.64 (though for practical purposes they are close supersets of it).
15959 #
15960 # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
15961 # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
15962 # Coded Character Sets"), include your snail-mail address, and you should
15963 # receive the document in due course.  Don't expect an email acknowledgement.
15964 #
15965 # Related standards include "X3.4-1977: American National Standard Code for
15966 # Information Interchange" (the ASCII standard) and "X3.41.1974: 
15967 # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
15968 # American National Standard for Information Interchange."  I believe (but
15969 # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
15970 # respectively. 
15971 #
15972
15973 #### VT100/ANSI/ECMA-48
15974 #
15975 # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
15976 # and ECMA-48 Control Functions for Coded Character Sets.
15977
15978 # Much of the content of this comment is adapted from a table prepared by
15979 # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
15980 # discussion of some terminfo-related issues, and updates to capture ECMA-48
15981 # have been added.  Control functions described in ECMA-48 only are tagged
15982 # with * after their names.
15983 #
15984 # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
15985 # sequences.  In the main table, \E stands for an escape (\033) character,
15986 # SPC for space.  Pn stands for a single numeric parameter to be inserted
15987 # in decimal ASCII.  Ps stands for a list of such parameters separated by
15988 # semicolons.  Parameter meanings for most parametrized sequences are
15989 # decribed in the notes.
15990 #
15991 # Sequence     Sequence                             Parameter   or
15992 # Mnemonic     Name              Sequence           Value      Mode   terminfo
15993 # -----------------------------------------------------------------------------
15994 # APC  Applicatn Program Command \E _                -         Delim  -
15995 # BEL  Bell *                    ^G                  -         -      bel
15996 # BPH  Break Permitted Here *    \E B                -         *      -
15997 # BS   Backpace *                ^H                  -         EF     -
15998 # CAN  Cancel *                  ^X                  -         -      -   (A)
15999 # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
16000 # CCH  Cancel Previous Character \E T                -         -      -
16001 # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
16002 # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
16003 # CMD  Coding Method Delimiter * \E
16004 # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
16005 # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
16006 # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
16007 # CSI  Control Sequence Intro    \E [                -         Intro  -
16008 # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
16009 # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
16010 # CUD  Cursor Down               \E [ Pn B           1         eF     cud
16011 # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
16012 # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
16013 # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
16014 # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
16015 # DA   Device Attributes         \E [ Pn c           0         -      -
16016 # DAQ  Define Area Qualification \E [ Ps o           0         -      -
16017 # DCH  Delete Character          \E [ Pn P           1         eF     dch
16018 # DCS  Device Control String     \E P                -         Delim  -
16019 # DL   Delete Line               \E [ Pn M           1         eF     dl
16020 # DLE  Data Link Escape *        ^P                  -         -      -
16021 # DMI  Disable Manual Input      \E \                -         Fs     -
16022 # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
16023 # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
16024 # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
16025 # ECH  Erase Character           \E [ Pn X           1         eF     ech
16026 # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
16027 # EF   Erase in Field            \E [ Ps N           0         eF     -
16028 # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
16029 # EM   End of Medium *           ^Y                  -         -      -
16030 # EMI  Enable Manual Input       \E b                          Fs     -
16031 # ENQ  Enquire                   ^E                  -         -      -
16032 # EOT  End Of Transmission       ^D                  -         *      -
16033 # EPA  End of Protected Area     \E W                -         -      -   (K)
16034 # ESA  End of Selected Area      \E G                -         -      -
16035 # ESC  Escape                    ^[                  -         -      -
16036 # ETB  End Transmission Block    ^W                  -         -      -
16037 # ETX  End of Text               ^C                  -         -      -
16038 # FF   Form Feed                 ^L                  -         -      -
16039 # FNK  Function Key *            \E [ Pn SPC W       -         -      -
16040 # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
16041 # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
16042 # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
16043 # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
16044 # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
16045 # HPB  Char Position Backward    \E [ j              1         FE     -
16046 # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
16047 # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
16048 # HTJ  Horz Tab w/Justification  \E I                -         FE     -
16049 # HTS  Horizontal Tab Set        \E H                -         FE     hts
16050 # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
16051 # ICH  Insert Character          \E [ Pn @           1         eF     ich
16052 # IDCS ID Device Control String  \E [ SPC O          -         *      -
16053 # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
16054 # IL   Insert Line               \E [ Pn L           1         eF     il
16055 # IND  Index                     \E D                -         FE     -
16056 # INT  Interrupt                 \E a                -         Fs     -
16057 # JFY  Justify                   \E [ Ps SPC F       0         FE     -
16058 # IS1  Info Separator #1 *       ^_                  -         *      -
16059 # IS2  Info Separator #1 *       ^^                  -         *      -
16060 # IS3  Info Separator #1 *       ^]                  -         *      -
16061 # IS4  Info Separator #1 *       ^\                  -         *      -
16062 # LF   Line Feed                 ^J                  -         -      -
16063 # LS1R Locking Shift Right 1 *   \E ~                -         -      -
16064 # LS2  Locking Shift 2 *         \E n                -         -      -
16065 # LS2R Locking Shift Right 2 *   \E }                -         -      -
16066 # LS3  Locking Shift 3 *         \E o                -         -      -
16067 # LS3R Locking Shift Right 3 *   \E |                -         -      -
16068 # MC   Media Copy                \E [ Ps i           0         -      -   (S)
16069 # MW   Message Waiting           \E U                -         -      -
16070 # NAK  Negative Acknowledge *    ^U                  -         *      -
16071 # NBH  No Break Here *           \E C                -         -      -
16072 # NEL  Next Line                 \E E                -         FE     nel (D)
16073 # NP   Next Page                 \E [ Pn U           1         eF     -
16074 # NUL  Null *                    ^@                  -         -      -
16075 # OSC  Operating System Command  \E ]                -         Delim  -
16076 # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
16077 # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
16078 # PLD  Partial Line Down         \E K                -         FE     -   (T)
16079 # PLU  Partial Line Up           \E L                -         FE     -   (U)
16080 # PM   Privacy Message           \E ^                -         Delim  -
16081 # PP   Preceding Page            \E [ Pn V           1         eF     -
16082 # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
16083 # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
16084 # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
16085 # PTX  Parallel Texts *          \E [ \              -         -      -
16086 # PU1  Private Use 1             \E Q                -         -      -
16087 # PU2  Private Use 2             \E R                -         -      -
16088 # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
16089 # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
16090 # RI   Reverse Index             \E M                -         FE     -   (V)
16091 # RIS  Reset to Initial State    \E c                -         Fs     -
16092 # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
16093 # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
16094 # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
16095 # SCI  Single-Char Introducer    \E Z                -         -      -
16096 # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
16097 # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
16098 # SD   Scroll Down               \E [ Pn T           1         eF     rin
16099 # SDS  Start Directed String *   \E [ Pn ]           1         -      -
16100 # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
16101 # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
16102 # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
16103 # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
16104 # SI   Shift In                  ^O                  -         -      -   (P)
16105 # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
16106 # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
16107 # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
16108 # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
16109 # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
16110 # SM   Select Mode               \E [ Ps h           none      -      -   (W)
16111 # SO   Shift Out                 ^N                  -         -      -   (Q)
16112 # SOH  Start Of Heading *        ^A                  -         -      -
16113 # SOS  Start of String *         \E X                -         -      -
16114 # SPA  Start of Protected Area   \E V                -         -      -   (Z)
16115 # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
16116 # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
16117 # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
16118 # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
16119 # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
16120 # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
16121 # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
16122 # SRS  Start Reversed String *   \E [ Ps [           0         -      -
16123 # SSA  Start of Selected Area    \E F                -         -      -
16124 # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
16125 # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
16126 # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
16127 # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
16128 # ST   String Terminator         \E \                -         Delim  -
16129 # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
16130 # STS  Set Transmit State        \E S                -         -      -
16131 # STX  Start pf Text *           ^B                  -         -      -
16132 # SU   Scroll Up                 \E [ Pn S           1         eF     indn
16133 # SUB  Substitute *              ^Z                  -         -      -
16134 # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
16135 # SYN  Synchronous Idle *        ^F                  -         -      -
16136 # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
16137 # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
16138 # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
16139 # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
16140 # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
16141 # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
16142 # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
16143 # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
16144 # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
16145 # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
16146 # VT   Vertical Tabulation *     ^K                  -         FE     -
16147 # VTS  Vertical Tabulation Set   \E J                -         FE     -
16148
16149 # ---------------------------------------------------------------------------
16150 #
16151 # Notes:
16152 #
16153 # Some control characters are listed in the ECMA-48 standard without 
16154 # being assigned functions relevant to terminal control there (they 
16155 # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
16156 # here anyway for completeness.
16157 #
16158 # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
16159 #
16160 # (B) There seems to be some confusion abroad between CHA and HPA.  Most
16161 # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
16162 # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
16163 # preserved the CHA abbreviation.
16164 #
16165 # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
16166 # Occasionally (as on, for example, certain HP terminals) this has the HTJ
16167 # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
16168 # CHT abbreviation.
16169 #
16170 # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
16171 #
16172 # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
16173 # abbreviation.
16174
16175 # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
16176 # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
16177 # 5 = clear all char tabs, 6 = clear all line tabs.
16178 #
16179 # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
16180 # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
16181 # Position Absolute" but retains the HVP abbreviation.
16182 #
16183 # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
16184 # abbreviation.
16185 #
16186 # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
16187 # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
16188 # DSR, 6 = request CPR response.
16189 #
16190 # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
16191 # 1 = clear from beginning, 2 = clear.
16192
16193 # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
16194 #
16195 # (L) The GSM parameters are vertical and horizontal parameters to scale by.
16196 #
16197 # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
16198 # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
16199 # Position Relative" but retains the HPR abbreviation.
16200 #
16201 # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
16202 # abbreviation.
16203 #
16204 # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
16205 # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
16206 # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
16207 # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
16208 # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
16209 # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
16210 # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
16211 # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
16212 # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
16213 # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
16214 # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
16215 # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
16216 # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
16217 # 61-65 = variable highlights for ideograms.
16218 #
16219 # (P) SI is also called LSO, Locking Shift Zero.
16220 #
16221 # (Q) SI is also called LS1, Locking Shift One.
16222 #
16223 # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
16224 # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
16225 # Absolute' but retains the VPA abbreviation.
16226 #
16227 # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
16228 # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
16229 # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
16230 # start relay to primary aux device, 6 = stop relay to secondary aux device,
16231 # 7 = start relay to secondary aux device.
16232 #
16233 # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
16234 # abbreviation.
16235 #
16236 # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
16237 # abbreviation.
16238 #
16239 # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
16240 #
16241 # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
16242 # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
16243 # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
16244 # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
16245 # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
16246 # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
16247 # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
16248 # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
16249 # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
16250 # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
16251 # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
16252 # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
16253 # from ECMA-48's 5th edition but are listed here for reference.
16254 #
16255 # (X) Select Alternate Presentation Variants is used only for non-Latin
16256 # alphabets.
16257 #
16258 # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
16259 #
16260 # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
16261 # abbreviation.
16262 #
16263 # ---------------------------------------------------------------------------
16264
16265 # Abbreviations:
16266 #
16267 # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
16268 #        X3.64 Control Sequence Introducer is the two characters "Escape ["
16269
16270 # Delim  a Delimiter
16271
16272 # x/y    identifies a character by position in the ASCII table (column/row)
16273
16274 # eF     editor function (see explanation)
16275
16276 # FE     format effector (see explanation)
16277 #
16278 # F      is a Final character in
16279 #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
16280 #             a control sequence (F from 4/0 to 7/14)
16281
16282 # Gs     is a graphic character appearing in strings (Gs ranges from
16283 #        2/0 to 7/14) in the ASCII table
16284
16285 # Ce     is a control represented as a single bit combination in the C1 set
16286 #        of controls in an 8-bit character set
16287
16288 # C0     the familiar set of 7-bit ASCII control characters
16289
16290 # C1     roughly, the set of control chars available only in 8-bit systems.
16291 #        This is too complicated to explain fully here, so read Jim Fleming's
16292 #        article in the February 1983 BYTE, especially pages 214 through 224.
16293
16294 # Fe     is a Final character of a 2-character Escape sequence that has an
16295 #        equivalent representation in an 8-bit environment as a Ce-type
16296 #        (Fe ranges from 4/0 to 5/15)
16297
16298 # Fs     is a Final character of a 2-character Escape sequence that is
16299 #        standardized internationally with identical representation in 7-bit
16300 #        and 8-bit environments and is independent of the currently
16301 #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
16302
16303 # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
16304 #        ASCII table
16305
16306 # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
16307 #        table
16308
16309 # Pn     is a numeric parameter in a control sequence, a string of zero or
16310 #        more characters ranging from 3/0 to 3/9 in the ASCII table
16311
16312 # Ps     is a variable number of selective parameters in a control sequence
16313 #        with each selective parameter separated from the other by the code
16314 #        3/11 (which usually represents a semicolon); Ps ranges from
16315 #        3/0 to 3/9 and includes 3/11
16316 #
16317 # *      Not relevant to terminal control, listed for completeness only.
16318
16319 # Format Effectors versus Editor Functions
16320
16321 # A format effector specifies how following output is to be displayed.
16322 # An editor function allows you to modify the display.  Informally
16323 # format effectors may be destructive; format effectors should not be.
16324
16325 # For instance, a format effector that moves the "active position" (the 
16326 # cursor or equivalent) one space to the left would be useful when you want to
16327 # create an overstrike, a compound character made of two standard characters
16328 # overlaid. Control-H, the Backspace character, is actually supposed to be a
16329 # format effector, so you can do this. But many systems use it in a
16330 # nonstandard fashion, as an editor function, deleting the character to the
16331 # left of the cursor and moving the cursor left. When Control-H is assumed to
16332 # be an editor function, you cannot predict whether its use will create an
16333 # overstrike unless you also know whether the output device is in an "insert
16334 # mode" or an "overwrite mode". When Control-H is used as a format effector,
16335 # its effect can always be predicted. The familiar characters carriage
16336 # return, linefeed, formfeed, etc., are defined as format effectors.
16337 #
16338 # NOTES ON THE DEC VT100 IMPLEMENTATION
16339
16340 # Control sequences implemented in the VT100 are as follows:
16341
16342 #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
16343 #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
16344
16345 # plus several private DEC commands.
16346
16347 # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
16348
16349 #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
16350 #      Erase from beginning of line to cursor     Esc [ 1 K
16351 #      Erase line containing cursor               Esc [ 2 K
16352 #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
16353 #      Erase from beginning of screen to cursor   Esc [ 1 J
16354 #      Erase entire screen                        Esc [ 2 J
16355 #
16356 # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
16357 # Esc [ 2 J, but this is wrong; the default is 0.
16358
16359 # The VT100 responds to receiving the DA (Device Attributes) control
16360
16361 #      Esc [ c    (or Esc [ 0 c)
16362
16363 # by transmitting the sequence
16364
16365 #      Esc [ ? l ; Ps c
16366
16367 # where Ps is a character that describes installed options.
16368
16369 # The VT100's cursor location can be read with the DSR (Device Status
16370 # Report) control
16371
16372 #      Esc [ 6 n
16373
16374 # The VT100 reports by transmitting the CPR sequence
16375
16376 #      Esc [ Pl ; Pc R
16377
16378 # where Pl is the line number and Pc is the column number (in decimal).
16379
16380 # The specification for the DEC VT100 is document EK-VT100-UG-003.
16381
16382 #### ANSI.SYS
16383
16384 # Here is a description of the color and attribute controls supported in the
16385 # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
16386 # terminal emulators for Intel boxes obey these.  They are a proper subset
16387 # of the ECMA-48 escapes.
16388 #
16389 # 0     all attributes off
16390 # 1     foreground bright
16391 # 4     underscore on
16392 # 5     blink on/background bright (not reliable with brown)
16393 # 7     reverse-video
16394 # 8     set blank (non-display)
16395 # 10    set primary font
16396 # 11    set first alternate font (on PCs, display ROM characters 1-31)
16397 # 12    set second alternate font (on PCs, display IBM high-half chars)
16398 #
16399 #                       Color attribute sets
16400 # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
16401 # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
16402 # Bright black becomes gray.  Bright brown becomes yellow,
16403 # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
16404 #
16405 # * If the 5 attribute is on and you set a background color (40-47) it is
16406 #   supposed to enable bright background.
16407 #
16408 # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
16409 #   when you try to set a "bright brown" (yellow) background with attribute
16410 #   5 (you get a blinking yellow foreground instead).  A few displays
16411 #   (including the System V console) support an attribute 6 that undoes this
16412 #   braindamage (this is required by iBCS2).
16413 #
16414 # * Some older versions of ANSI.SYS have a bug that causes thems to require
16415 #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
16416 #   compatible.)
16417
16418 #### Intel Binary Compatibility Standard
16419 #
16420 # For comparison, here are the capabilities implied by the Intel Binary 
16421 # Compatibility Standard for UNIX systems (Intel order number 468366-001).
16422 # These recommendations are optional.  IBCS2 allows the leading escape to
16423 # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
16424 # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
16425 # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
16426 # terminfo entry are followed with the corresponding capability in parens:
16427 #
16428 #       CSI <n>k                disable (n=0) or enable (n=1) keyclick
16429 #       CSI 2h                  lock keyboard
16430 #       CSI 2i                  send screen as input
16431 #       CSI 2l                  unlock keyboard
16432 #       CSI 6m                  enable background color intensity
16433 #       CSI <0-2>c              reserved
16434 #       CSI <0-59>m             select graphic rendition
16435 #       CSI <n>;<m>H    (cup)   cursor to line n and column m
16436 #       CSI <n>;<m>f            cursor to line n and column m
16437 #       CSI <n>@        (ich)   insert characters
16438 #       CSI <n>A        (cuu)   cursor up n lines
16439 #       CSI <n>B        (cud)   cursor down n lines
16440 #       CSI <n>C        (cuu)   cursor right n characters
16441 #       CSI <n>D        (cud)   cursor left n characters
16442 #       CSI <n>E                cursor down n lines and in first column
16443 #       CSI <n>F                cursor up n lines and in first column
16444 #       CSI <n>G        (hpa)   position cursor at column n-1
16445 #       CSI <n>J        (ed)    erase in display
16446 #       CSI <n>K        (el)    erase in line
16447 #       CSI <n>L        (il)    insert line(s)
16448 #       CSI <n>P        (dch)   delete characters
16449 #       CSI <n>S        (indn)  scroll up n lines
16450 #       CSI <n>T        (rin)   scroll down n lines
16451 #       CSI <n>X        (ech)   erase characters
16452 #       CSI <n>Z        (cbt)   back up n tab stops
16453 #       CSI <n>`                cursor to column n on line
16454 #       CSI <n>a        (cuu)   cursor right n characters
16455 #       CSI <n>d        (vpa)   cursor to line n
16456 #       CSI <n>e                cursor down n lines and in first column
16457 #       CSI <n>g        (cbt)   clear all tabs
16458 #       CSI <n>z                make virtual terminal n active
16459 #       CSI ?7h         (smam)  turn automargin on
16460 #       CSI ?7l         (rmam)  turn automargin off
16461 #       CSI s                   save cursor position
16462 #       CSI u                   restore cursor position to saved value
16463 #       CSI =<c>A               set overscan color
16464 #       CSI =<c>F               set normal foreground color
16465 #       CSI =<c>G               set normal background color
16466 #       CSI =<c>H               set reverse foreground color
16467 #       CSI =<c>I               set reverse foreground color
16468 #       CSI =<c>J               set graphic foreground color
16469 #       CSI =<c>K               set graphic foreground color
16470 #       CSI =<n>g       (dispc) display n from alternate graphics character set
16471 #       CSI =<p>;<d>B           set bell parameters
16472 #       CSI =<s>;<e>C           set cursor parameters
16473 #       CSI =<x>D               enable/disable intensity of background color
16474 #       CSI =<x>E               set/clear blink vs. bold background
16475 #       CSI 7           (sc)    (sc) save cursor position
16476 #       CSI 8           (rc)    (rc) restore cursor position to saved value
16477 #       CSI H           (hts)   (hts) set tab stop
16478 #       CSI Q<n><string>        define function key string
16479 #                               (string must begin and end with delimiter char)
16480 #       CSI c           (clear) clear screen
16481 #
16482 # The lack of any specification for attributes in SGR (among other things)
16483 # makes this a wretchedly weak standard. The table above is literally 
16484 # everything iBSC2 has to say about terminal escape sequences; there is
16485 # no further discussion of their meaning or how to set the parameters
16486 # in these sequences at all.
16487 #
16488
16489 ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
16490 #
16491 # The historical termcap file entries were written primarily in 4.4BSD termcap.
16492 # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
16493 # with the extension names chosen for compatibility with the termcap names
16494 # assigned in System V terminfo.  There are some variant extension sets out
16495 # there.  We try to describe them here.
16496 #
16497 # XENIX extensions:
16498 #
16499 # The XENIX extensions include a set of function-key capabilities as follows:
16500 #
16501 #       code    XENIX variable name     terminfo name   name clashes?
16502 #       ----    -------------------     -------------   -----------------------
16503 #       CL      key_char_left
16504 #       CR      key_char_right
16505 #       CW      key_change_window                       create_window
16506 #       EN      key_end                 kend
16507 #       HM      key_home                khome
16508 #       HP      ??
16509 #       LD      key_delete_line         kdl1
16510 #       LF      key_linefeed                            label_off
16511 #       NU      key_next_unlocked_cell
16512 #       PD      key_page_down           knp
16513 #       PL      ??
16514 #       PN      start_print             mc5
16515 #       PR      ??
16516 #       PS      stop_print              mc4
16517 #       PU      key_page_up             kpp             pulse
16518 #       RC      key_recalc                              remove_clock
16519 #       RF      key_toggle_ref                          req_for_input
16520 #       RT      key_return              kent
16521 #       UP      key_up_arrow            kcuu1           parm_up_cursor
16522 #       WL      key_word_left
16523 #       WR      key_word_right
16524 #
16525 # The XENIX extensions also include the following character-set and highlight
16526 # capabilities:
16527 #
16528 #       XENIX   terminfo        function
16529 #       -----   --------        ------------------------------
16530 #       GS      smacs           start alternate character set
16531 #       GE      rmacs           end alternate character set
16532 #       GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
16533 #       bo      blink           begin blink (not used in /etc/termcap)
16534 #       be                      end blink (not used in /etc/termcap)
16535 #       bb                      blink glitch  (not used in /etc/termcap)
16536 #       it      dim             begin dim (not used in /etc/termcap)
16537 #       ie                      end dim (not used in /etc/termcap)
16538 #       ig                      dim glitch  (not used in /etc/termcap)
16539 #
16540 # Finally, XENIX also used the following forms-drawing capabilities:
16541 #
16542 #       single  double  type             ASCII approximation 
16543 #       ------  ------  -------------    -------------------
16544 #       GV      Gv      vertical line             |
16545 #       GH      Gv      horizontal line       -   _
16546 #       G1      G5      top right corner       _   |
16547 #       G2      G6      top left corner       | 
16548 #       G3      G7      bottom left corner         |_
16549 #       G4      G8      bottom right corner   _|
16550 #       GD      Gd      down-tick character        T
16551 #       GL      Gl      left-tick character   -|
16552 #       GR      Gr      right-tick character       |-
16553 #       GC      Gc      middle intersection   -|-
16554 #       GU      Gu      up-tick character          _|_
16555 #
16556 # These were invented to take advantage of the IBM PC ROM character set.  One
16557 # can compose an acsc string from the single-width characters as follows
16558 #       "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
16559 # When translating a termcap file, ncurses tic will do this automatically.
16560 # The double forms characters don't fit the SVr4 terminfo model.
16561 #
16562 # AT&T Extensions:
16563 #
16564 # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
16565 # nonstandard capabilities.  Its signature is the KM capability, used to name
16566 # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
16567 # set.  Comments in the original, and a little cross-checking with other AT&T
16568 # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
16569 # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
16570 # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
16571 # cursor invisible), and CV=:ve: (make cursor normal).
16572 #
16573 # HP Extensions
16574 #
16575 # The HP library (as of mid-1995, their term.h file version 70.1) appears to
16576 # have the System V capabilities up to SVr1 level.  After that, it supports
16577 # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
16578 # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
16579 # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
16580 # HP binary format incompatible with SVr4's.
16581 #
16582 # IBM Extensions
16583 #
16584 # There is a set of nonstandard terminfos used by IBM's AIX operating system.
16585 # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
16586 # capabilities following prtr_non with the following special capabilties:
16587 # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
16588 # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
16589 # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
16590 # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
16591 # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
16592 # renamed (to kcbt and kslt).  The places in the box[12] capabilities
16593 # correspond to acsc chars, here is the mapping:
16594 #
16595 #       box1[0]  = ACS_ULCORNER
16596 #       box1[1]  = ACS_HLINE    
16597 #       box1[2]  = ACS_URCORNER
16598 #       box1[3]  = ACS_VLINE
16599 #       box1[4]  = ACS_LRCORNER
16600 #       box1[5]  = ACS_LLCORNER
16601 #       box1[6]  = ACS_TTEE
16602 #       box1[7]  = ACS_RTEE
16603 #       box1[8]  = ACS_BTEE
16604 #       box1[9]  = ACS_LTEE
16605 #       box1[10] = ACS_PLUS
16606 #
16607 # The box2 characters are the double-line versions of these forms graphics.
16608 # The AIX binary terminfo format is incompatible with SVr4's.
16609 #
16610 # Iris console extensions:
16611 #
16612 # HS is half-intensity start; HE is half-intensity end
16613 # CT is color terminal type (for Curses & rogue)
16614 # CP is color change escape sequence
16615 # CZ are color names (for Curses & rogue)
16616 #
16617 # The ncurses tic utility recognizes HS as an alias for mh <dim>.
16618 #
16619 # TC Extensions:
16620 #
16621 # There is a set of extended termcaps associated with something
16622 # called the "Terminal Control" or TC package created by MainStream Systems,
16623 # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
16624 # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
16625 # that flags color terminals.
16626 #
16627 ######## CHANGE HISTORY
16628 #
16629 # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
16630 # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
16631 # project.
16632 #
16633 # This file contains all the capability information present in John Kunze's
16634 # last version of the termcap master file, except as noted in the change 
16635 # comments at end of file.  Some information about very ancient obsolete
16636 # capabilities has been moved to comments.  Some all-numeric names of older
16637 # terminals have been retired.
16638 #
16639 # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
16640 # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
16641 # used by BSD curses.
16642 #
16643 # The 9.1.0 version of this file was translated from my lightly-edited copy of
16644 # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
16645 # the purpose.  Unless the ncurses tic implementation and the Lisp code were
16646 # making perfectly synchronized mistakes which I then failed to catch by
16647 # eyeball, the translation was correct and perfectly information-preserving.
16648 #
16649 # Major version number bumps correspond to major version changes in ncurses.
16650 #
16651 # Here is a log of the changes since then:
16652 #
16653 # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
16654 #       * First terminfo master translated from 8.3.
16655 # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
16656 #       * Replaced Wyse entries with updated entries supplied by vendor.
16657 #
16658 # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
16659 #       * Added contact & status info from G. Clark Brown <clark@sssi.com>.
16660 # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
16661 #       * Better XENIX keycap translation.  Describe TC termcaps.
16662 #       * Contact and history info supplied by Qume.
16663 # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
16664 #       * Raided the Shuford FTP site for recent termcaps/terminfos.
16665 #       * Added information on X3.64 and VT100 standard escape sequences.
16666 # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
16667 #       * Added a correct X11R6 xterm entry.
16668 #       * Fixed terminfo translations of padding.
16669 # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
16670 #       * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
16671 #       * Added u6/u7/u8/u9 capabilities.
16672 #       * Added PCVT entry.
16673 # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
16674 #       * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
16675 #         to use reverse-video standout so Emacs will look right.
16676 #       * Added el1 capability to ansi.
16677 #       * Added smacs/rmacs to ansi.sys.
16678 #
16679 # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
16680 #       * New mt70 entry.
16681 #       * Added COPYRIGHTS AND OTHER DELUSIONS.
16682 #       * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
16683 #         smartvid & smarterm, ampex 175 & 219 & 232,
16684 #         env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
16685 #         ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
16686 #         screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
16687 #         adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
16688 #       * Replaced the Perkin-Elmer entries with vendor's official ones.
16689 #       * Restored the old minimal-ansi entry, luna needs it.
16690 #       * Fixed some incorrect ip and proportional-padding translations.
16691 # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
16692 #       * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
16693 #       * Make the xterm entry 65 lines again; create xterm25 and xterm24
16694 #         to force a particular height.
16695 #       * Added beehive4 and reorganized other Harris entries.
16696 # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
16697 #       * Merged in DEC's official entries for its terminals.  The only old
16698 #         entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
16699 #       * Replaced the translated BBN Bitgraph entries with purpose-built
16700 #         ones from AT&T's SVr3.
16701 #       * Replaced the AT&T entries with AT&T's official terminfos.
16702 #       * Added teleray 16, vc415, cops10. 
16703 #       * Merged in many individual capabilities from SCO terminfo files.
16704 # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
16705 #       * Typo fixes.
16706 #       * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
16707 # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
16708 #       * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
16709 #         pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
16710 #         simterm, citoh and variants.
16711 #       * Replaced sol entry with sol1 and sol2.
16712 #       * Replaced Qume QVT and Freedom-series entries with purpose-built
16713 #         terminfo entries.
16714 #       * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
16715 #         and dg200 entries using caps from from SCO.
16716 #       * Added the usual set of function-key mappings to ANSI entry.
16717 #       * Corrected xterm's function-key capabilities.
16718 # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
16719 #       * Fix in xterm entry, cub and cud are not reliable under X11R6.
16720 # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
16721 #       * Fix in xterm entry, get the arrow keys right.
16722 #       * Change some \0 escapes to \200.
16723 # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
16724 #       * Added apple (Videx card), adm1a, oadm31.
16725 #       * Fixed malformed ampex csr.
16726 #       * Fixed act4, cyb110; they had old-style prefix padding left in. 
16727 #       * Changed mandatory to advisory padding in many entries.
16728 #       * Replaced HP entries up to hpsub with purpose-built ones.
16729 #       * Blank rmir/smir/rmdc/smdc capabilities removed.
16730 #       * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
16731 # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
16732 #       * Replaced the Ann Arbor entries with SCO's, the init strings are
16733 #         more efficient (but the entries otherwise identical).
16734 #       * Added dg211 from Shuford archive.
16735 #       * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
16736 #         adm42-nl, pc52, gs6300, xerox820, uts30.
16737 #       * Pull SCO's padding into vi200 entry.
16738 #       * Improved capabilities for tvi4107 and other Televideo and Viewpoint
16739 #         entries merged in from SCO's descriptions.
16740 #       * Fixed old-style prefix padding on zen50, h1500.
16741 #       * Moved old superbee entry to superbee-xsb, pulled in new superbee
16742 #         entry from SCO's description.
16743 #       * Reorganized the special entries.
16744 #       * Added lm#0 to cbunix and virtual entries.
16745 #
16746 # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
16747 #       * Restored cdc456tst.
16748 #       * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
16749 #       * Added megatek, beacon, microkit.
16750 #       * Freeze for ncurses-1.9 release.
16751 # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
16752 #       * Added historical data for TAB.
16753 #       * Comment fixes from David MacKenzie.
16754 #       * Added the new BSDI pc3 entry.
16755 # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
16756 #       * A change in the tic -C logic now ensures that all entries in 
16757 #         the termcap translation will fit in < 1024 bytes.
16758 #       * Added `bobcat' and `gator' HP consoles and the Nu machine entries
16759 #         from GNU termcap file.  This merges in all their local information.
16760 # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
16761 #       * Changed tic -C logic to dump all capabilities used by GNU termcap.
16762 #       * Added warnings about entries with long translations (restoring
16763 #         all the GNU termcaps pushes a few over the edge).
16764 # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
16765 #       * Yet another tic change, and a couple of entry tweaks, to reduce the
16766 #         number of long (> 1024) termcap translations back to 0.
16767 #
16768 # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
16769 #       * Added kf13-kf20 to Linux entry.
16770 #       * Regularize Prime terminal names.
16771 #       * Historical data on Synertek.
16772 #       * Freeze for ncurses-1.9.1.
16773 # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
16774 #       * Added true xterm-color entry, renamed djm's pseudo-color entry.
16775 #       * Eliminate whitespace in short name fields, this tanks some scripts.
16776 #       * Name field changes to shorten some long entries.
16777 #       * Termcap translation now automatically generates empty rmir/smir
16778 #         when ich1/ich is present (copes with an ancient vi bug).
16779 #       * Added `screen' entries from FSF's screen-3.6.2.
16780 #       * Added linux-nic and xterm-nic entries.
16781 # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
16782 #       * Change linux entry to use smacs=\E[11m and have an explicit acsc,
16783 #         eliminating some special-case code in ncurses.
16784 #
16785 # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
16786 #       * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
16787 #         that captures everything unique from it.
16788 #       * Added reorder script generator.
16789 #       * Freeze for ncurses 1.9.2 release.
16790 # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
16791 #       * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
16792 #       * Added Olaf Siebert's corrections for adm12.
16793 #       * ansi-pc-color now includes the colors and pairs caps, so that
16794 #         entries which use it will inherit them automatically.
16795 #       * The linux entry can now recognize the center (keypad 5) key.
16796 #       * Removed some junk that found its way into Linux acsc.
16797 #
16798 # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
16799 #       * Add 50% cut mark as a desperate hack to reduce tic's core usage.
16800 #       * xterm doesn't try to use application keypad mode any more.
16801 #       * Freeze for ncurses-1.9.3 release.
16802 # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
16803 #       * Added corrected sun entry from vendor.
16804 #       * Added csr capability to linux entry.
16805 #       * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
16806 #       * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
16807 #       * Some commented-out caps in long entries come back in, my code 
16808 #         for computing string-table lengths had a bug in it.
16809 #       * pcansi series modified to fit comm-program reality better.
16810 # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
16811 #       * BSD/OS actually ships the ibmpc3 bold entry as its console.
16812 #       * Correct some bad aliases in the pcansi series
16813 #       * Added entry for QNX console.
16814 #       * Clean up duplicate long names for use with 4.4 library.
16815 #       * Change vt100 standout to be normal reverse vide, not bright reverse;
16816 #         this makes the Emacs status line look better.
16817 # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
16818 #       * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
16819 #       * Minor surgery, mostly on name strings, to shorten termcap version.
16820 #
16821 # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
16822 #       * Added dec-vt100 for use with the EWAN emulator.
16823 #       * Added kmous to xterm for use with xterm's mouse-tracking facility.
16824 #       * Freeze for 1.9.5 alpha release.
16825 # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
16826 #       * Changed xterm lines to 24, the X11R6 default.
16827 # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
16828 #       * Added 7 newly discovered, undocumented acsc characters to linux
16829 #         entry (the pryz{|} characters).
16830 #       * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
16831 #       * Correct two typos in the xterm entries introduced in 9.9.1.
16832 #       * I finally figured out how to translate ko capabilities.  Done.
16833 #       * Added tvi921 entries from Tim Theisen.
16834 #       * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
16835 #       * Removed mystery tec entry, it was neither interesting nor useful.
16836 #       * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
16837 #         vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
16838 #         trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
16839 #         by making them relative to use capabilities
16840 #       * Added cuf1=^L to tvi925 from deleted variant tvi925a.
16841 #       * fixed cup in adm22 entry and parametrized strings in vt320-k3.
16842 #       * added it#8 to entries that used to have :pt: -- tvi912, vi200,
16843 #         ampex80,
16844 #       * Translate all home=\E[;H capabilities to home=\E[H, they're 
16845 #         equivalent.
16846 #       * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
16847 #         vt100 and ANSI-like terminals.
16848 # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
16849 #       * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
16850 #         does this now, too.
16851 #       * fviewpoint is gone, it duplicated screwpoint.
16852 #       * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
16853 #         ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
16854 #         versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
16855 #         The UW vi50 replaces the old one, which becomes vi50adm,
16856 #       * No more embedded commas in name fields.
16857 #
16858 # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
16859 #       * XENIX forms characters in fos, trs16, scoansi become acsc strings,
16860 #       * Introduced klone+* entries for describing Intel-console behavior.
16861 #       * Linux kbs is default-mapped to delete for some brain-dead reason.
16862 #       * -nsl -> -ns.  The -pp syntax is obsolete.
16863 #       * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
16864 #       * Make xterm entry do application-keypad mode again.  I got complaints
16865 #         that it was messing up someone's 3270 emulator.
16866 #       * Added some longname fields in order to avoid warning messages from
16867 #         older tic implementations.
16868 #       * According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
16869 #         it! (This gives us pi, greater than, less than, and a few more.)
16870 #       * Freeze for ncurses-1.9.6 release.
16871 # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
16872 #       * Add xon to a number of console entries, they're memory-mapped and
16873 #         don't need padding.
16874 #       * Correct the use dependencies in the ansi series.
16875 #       * Hand-translate more XENIX capabilities.
16876 #       * Added hpterm entry for HP's X terminal emulator.
16877 #       * Added aixterm entries.
16878 #       * Shortened four names so everything fits in 14 chars.  
16879 #
16880 # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
16881 #       * Added ibcs2 entry and info on iBCS2 standard.
16882 #       * Corrected hpa/vpa in linux entry.  They still fail the worm test.
16883 #       * We can handle the HP meml/memu capability now.
16884 #       * Added smacs to klone entries, just as documentation.
16885 #       * Carrected ansi.sys and cit-500 entries.
16886 #       * Added z39, vt320-k311, v220c, and avatar entries.
16887 #       * Make pcansi use the ansi.sys invis capability.
16888 #       * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
16889 #         tvi925, tvi950, dt80, ncr7900i, h19.
16890 #       * X3.64 has been withdrawn, change some references.
16891 #       * Removed function keys from ansi-m entry.
16892 #       * Corrected ansi.sys entry.
16893 #       * Freeze for ncurses-1.9.7 release.
16894 # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
16895 #       * Added rmam/smam capabilities to many entries based on init strings.
16896 #       * Added correct hpa/vpa to linux.
16897 #       * Reduced several entries relative to vt52.
16898 # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
16899 #       * Exiled some utterly unidentifiable custom and homebrew types to the
16900 #         UFO file; also, obsolete small-screen hardware; also, entries which
16901 #         look flat-out incorrect, garbled, or redundant.  These include the
16902 #         following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
16903 #         tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
16904 #         apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
16905 #         fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
16906 #         yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
16907 #         vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
16908 #         trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
16909 #         att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
16910 #         tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
16911 #         c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
16912 #         regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
16913 #         vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
16914 #         vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
16915 #       * Corrected pcvt25h as suggested by Brian C. Grayson
16916 #         <bgrayson@pine.ece.utexas.edu>.
16917 # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
16918 #       * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
16919 #       * Added kent=\EOM to xterm entry.
16920 #
16921 # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
16922 #       * Corrected gigi entry.
16923 #       * Restored cuf/cud1 to xterm, their apparent bugginess was due to
16924 #         bad hpa/vpa capabilities.
16925 #       * Corrected flash strings to have a uniform delay of .2 sec.  No
16926 #         more speed-dependent NUL-padding!
16927 #       * terminfo capabilities in comments bracketed with <>.
16928 # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
16929 #       * Replaced pcvt with the 3.31 pcvt entries.
16930 #       * Freeze for 1.9.7a.
16931 # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
16932 #       * Added emu entry from the X11R6 contrib tape sources.
16933 #
16934 # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
16935 #       * Improved iris-ansi and sun entries.
16936 #       * More flash string improvements.
16937 #       * Corrected wy160 & wy160 as suggested by Robert Dunn
16938 #       * Added dim to at386.  
16939 #       * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
16940 #         he's ready to start using the termcap generated from this one.
16941 #       * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
16942 #         ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
16943 #       * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
16944 #         att610, att620, att630, 
16945 #       * Changed hazeltine name prefix from h to hz.
16946 #       * Sent t500 to the UFI file.
16947 #       * I think we've sucked all the juice out of BSDI's termcap file now.
16948 #       * Freeze for ncurses 1.9.8 release
16949 # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
16950 #       * Unfreeze, linux kbs needed to be fixed.
16951 #       * Tim Theisen pinned down a bug in the DMD firmware.
16952 # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
16953 #       * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
16954 #         (The broken ones had been shadowed by sgr.)
16955 # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
16956 #       * Added documentation on ECMA-48 standard.
16957 #       * New Amiga entry.
16958 # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
16959 #       * More ECMA-48 stuff
16960 #       * Corrected typo in minix entry, added pc-minix.
16961 #       * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
16962 #       * Added rxvt entry.
16963 #       * Added 1.3.x color-change capabilities to linux entry.
16964 # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
16965 #       * Corrected rxvt entry khome/kend.
16966 #       * Corrected linux color change capabilities.
16967 #       * NeXT entries from Dave Wetzel.
16968 #       * Cleaned up if and rf file names (all in /usr/share now).
16969 #       * Changed linux op capability to avoid screwing up a background color
16970 #         pair set by setterm.
16971 # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
16972 #       * Added xterm-sun.
16973 # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
16974 #       * Added visa50.
16975 #
16976 # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
16977 #       * Another sweep through the Shuford archive looking for new info.
16978 #       * Added dg100 alias to dg6053 based on a comp.terminals posting.
16979 #       * Added st52 from Per Persson.
16980 #       * Added eterm from the GNU Emacs 19.30 distribution.
16981 #       * Freeze for 1.9.9.
16982 # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
16983 #       * FreeBSD console entries from Andrew Chernov.
16984 #       * Removed duplicate Atari st52 name.
16985 # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
16986 #       * xterm doesn't actually have ACS_BLOCK.
16987 #       * Change klone+color setf/setb to simpler forms that can be
16988 #         translated into termcap.
16989 #       * Added xterm1.
16990 #       * Removed mechanically-generated junk capabilities from cons* entries.
16991 #       * Added color support to bsdos.
16992 # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
16993 #       * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
16994 #       * Created ecma+color, linux can use it.  Also added ech to linux.
16995 #       * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
16996 #       * Add descriptions to FreeBSD console entries.  Also shorten
16997 #         some aliases to <= 14 chars for portability.
16998 #       * Added x68k console
16999 #       * Added OTbs to several VT-series entries.
17000 # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
17001 #       * screen entry update for 3.7.1 from Michael Alan Dorfman.
17002 # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
17003 #       * kterm correction due to Kenji Rikitake.
17004 #       * ACS correction in vt320-kll due to Phillippe De Muyter.
17005 # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
17006 #       * Sun console entry correction from J.T. Conklin.
17007 #       * Changed all DEC VT300 and up terminals to use VT300 tab set
17008 # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
17009 #       * Added smul to linux entry (we never noticed it was missing 
17010 #         because of sgr!).
17011 #       * Added rmln to hp+labels (deduced from other HP entries).
17012 #       * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
17013 #         pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
17014 #       * Corrected vt220 acsc.
17015 #       * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
17016 #         this corresponds to reality and helps prevent some tic warnings.
17017 #       * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
17018 #         hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
17019 #         adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
17020 #         qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
17021 #         wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
17022 #         adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
17023 #         f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
17024 #         owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
17025 #         lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
17026 #         dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
17027 #         ifmr, v3220, wy100q, tandem653, ibmaed.
17028 #       * Added DWK terminal description.
17029 # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
17030 #       * Many entries now have highlights inherited from adm+sgr.
17031 #       * xterm entry now corresponds to XFree86 3.1.2E, with color.
17032 #       * xtitle and xtitle-twm enable access to the X status line.
17033 #       * Added linux-1.3.6 color palette caps in conventional format.
17034 #       * Added adm1178 terminal.
17035 #       * Move fos and apollo terminals to obsolete category.
17036 #       * Aha! The BRL terminals file told us what the Iris extensions mean.
17037 #       * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
17038 #         commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
17039 #         cit500, adm11. 
17040 # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
17041 #       * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
17042 #         aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
17043 #       * Corrected, from BRL termcap file: vi50.
17044 #       * Better rxvt entry & corrected xterm entries from Thomas Dickey.
17045 # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
17046 #       * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
17047 #         att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
17048 #         (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
17049 #         tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
17050 #         apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
17051 #       * Paired-attribute fixes to various terminals.
17052 #       * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
17053 #       * xterm entry corrections from Thomas Dickey.
17054 # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
17055 #       * Added t916 entry, translated from a termcap in SCO's support area.
17056 #       * New qnx entry from Michael Hunter.
17057 # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
17058 #       * Added hpex2 from Ville Sulko.
17059 #       * Fixed a bug that ran the qnx and pcvtXX together.
17060 # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
17061 #       * Added dtterm entry from Solaris CDE.
17062 # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
17063 #       * corrected pairs#8 typo in dtterm entry.
17064 #       * added tvi9065.
17065 # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
17066 #       * updated xterm entry to cover 3.1.2E's new features.  
17067 # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
17068 #       * Added new minix entry
17069 #       * Removed aliases of the form ^[0-9]* for obsolete terminals.
17070 #       * Commented out linux-old, nobody's using pre-1.2 kernels now.
17071 # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
17072 #       * Added Prism entries and kt7ix.
17073 #       * Caution notes about EWAN and tabset files.
17074 #       * Changed /usr/lib/tabset -> /usr/share/tabset.
17075 #       * Added acsc/rmacs/smacs to vt52.
17076 # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
17077 #       * Merged in Thomas Dickey's reorganization of the xterm entries;
17078 #         added technical corrections to avoid warning messages.
17079 # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
17080 #       * Added rmso=\E[27m in Linux entry.
17081 #       * Added koi8-r support for Linux console.
17082 #       * Replace xterm entries with canonical ones from XFree86 3.2.
17083 # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
17084 #       * Added color_xterm from Jacob Mandelson
17085 # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
17086 #       * Back off the xterm entry to use r6 as a base.
17087 # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
17088 #       * Added dec-vt220 at Adrian Garside's request.
17089 # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
17090 #       * Replaced minitel-2 entry.
17091 #       * Added MGR, ansi-nt.
17092 #       * Minor corrections to xterm entries.
17093 #       * Replaced EWAN telnet entry.
17094 #       * Dropped the reorder script generator.  It was a fossil.
17095 # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
17096 #       * Thorsten Lockert added termcap `bs' to a lot of types, working from
17097 #         the 4.4BSD Lite2 file.
17098 # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
17099 #       * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
17100 #       * Updated iris-ansi; corrected vt102-w.
17101 #       * Switch base xterm entry to 3.3 level.
17102 # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
17103 #       * Added basic4.
17104 #       * Removed rmir/smir from tv92B.
17105 #
17106 # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
17107 #       * add hds200 description (Walter Skorski)
17108 #       * add beterm entry (Fred Fish)
17109 #       * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
17110 #         iris-color entries.
17111 #       * add emx entries.
17112 #       * Replaced unixpc entry with Benjamin Sittler's corrected version.
17113 #       * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
17114 #         versions.
17115 #       * remove sgr string from qnx based on report by Xiaodan Tang
17116 #       * Added u8/u9, removed rmul/smul from sun-il.
17117 #       * 4.2 tic displays \0 rather than \200.
17118 #       * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
17119 #         apparently based on cp-866).
17120 #       * Merged in Pavel Roskin's acsc for linux-koi8
17121 #       * Corrected some erroneous \\'s to \.
17122 #       * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
17123 #       * II -> ii in pcvtXX, screen, xterm.
17124 #       * Removed \n chars following ANSI escapes in sgr & friends.
17125 #       * Updated Wyse entries.
17126 #       * h19 corrections from Tim Pierce.
17127 #       * Noted that the dm2500 has both ich and smir.
17128 #       * added pccons for the Alpha under OSF/1.
17129 #       * Added Sony NEWS workstation entries and cit101e-rv.
17130 #       * Reverted `amiga'; to Kent Polk's version, as I'm told
17131 #         the Verkuil entry messes up with Amiga Telnet.
17132 # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
17133 #       * Corrected attributions in 10.2.0 release notes.
17134 #       * Scanned the Shuford archive for new terminfos and information.
17135 #       * Removed sgr from qnx entry (Thomas Dickey).
17136 #       * Added entries for ICL and Kokusai Data Systems terminals.
17137 #       * Incorporated NCR terminfos from the Boundless Technology FTP site.
17138 #       * Incorporated att700 from the Boundless Technology FTP site.
17139 #       * Miscellaneous contact-address and Web-page updates.
17140 #
17141 # 1998/5/9
17142 #       * add nxterm and xterm-color terminfo description (request by Cristian
17143 #         Gafton <gafton@redhat.com>).
17144 #       * modify rxvt terminfo description to clear alternate screen before
17145 #         switching back to normal screen, for compatibility with applications
17146 #         which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
17147 #       * modify linux terminfo description to reset color palette (reported
17148 #         by Telford Tendys <telford@eng.uts.edu.au>).
17149 #
17150 # 1998/7/4
17151 #       * merge changes from current XFree86 xterm terminfo descriptions.
17152 #
17153 # 1998/7/25
17154 #       * Added minitel1 entries from Alexander Montaron.
17155 #       * Added qnxt2 from Federico Bianchi.
17156 #       * Added arm100 terminfo entries from Dave Millen.
17157 #
17158 # 1998/8/6
17159 #       * Added ncsa telnet entries from Francesco Potorti
17160 #
17161 # 1998/8/15
17162 #       * modify ncsa telnet entry to reflect color, other capabilities based on
17163 #         examination of the source code - T.Dickey.
17164 #
17165 # 1998/8/22
17166 #       * Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
17167 #
17168 # 1998/8/29
17169 #       * Added Francesco Potorti's tuned Wyse 99 entries.
17170 #       * dtterm enacs correction from Alexander V. Lukyanov.
17171 #       * Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
17172 #       * correct a typo in icl6404 entry.
17173 #       * add xtermm and xtermc
17174 #
17175 # 1998/9/26
17176 #       * format most %'char' sequences to %{number}
17177 #       * adapt IBM AIX 3.2.5 terminfo - T.Dickey
17178 #       * merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
17179 #
17180 # 1998/10/10
17181 #       * update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
17182 #       * correct initialization string in xterm-r5, add misc other features
17183 #         to correspond with xterm patch 84 - TD
17184 #
17185 # 1998/12/19
17186 #       * update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
17187 #       * add Mathew Vernon's mach console entries
17188 #       * corrections for ncsa function-keys (report by Larry Virden)
17189 #
17190 # 1998/12/19
17191 #       * change linux to use ncv#2, since underline does not work with color - TD
17192 #
17193 # 1999/1/9
17194 #       * add kbt to iris-ansi, document other shift/control functionkeys - TD
17195 #       * correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
17196 #         application modes, change kent to use the correct keypad code - TD
17197 #
17198 # 1999/1/10
17199 #       * add entry for Tera Term - TD
17200 #
17201 # 1999/1/23
17202 #       * minor improvements for teraterm entry - TD
17203 #       * rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
17204 #         and bsdos-bold to bsdos-pc (Jeffrey C Honig)
17205 #
17206 # 1999/2/20
17207 #       * resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
17208 #         xterm and ncsa entries by removing the unneeded ones.  Note that
17209 #         some entries will return kend & khome versus kslt and kfnd, for
17210 #         PC-style keyboards versus strict vt220 compatiblity - TD
17211 #
17212 # 1999/3/13
17213 #       * adjust xterm-xfree86 khome/kend to match default PC-style keyboard
17214 #         tables - TD
17215 #       * add 'crt' entry - TD
17216 #       * correct typos in 'linux-c' entry - TD
17217 #
17218 # 1999/3/14
17219 #       * update entries for BSD/OS console to use klone+sgr and klone+color
17220 #         (Jeffrey C Honig)
17221 #
17222 # 1999/3/27
17223 #       * adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
17224 #
17225 # 1999/4/10
17226 #       * add linux-lat, from RedHat patches to ncurses 4.2
17227 #
17228 # 1999/4/17
17229 #       * add complete set of default function-key definitions for scoansi - TD.
17230 #
17231 # 1999/7/3
17232 #       * add cnorm, cvvis for Linux 2.2 kernels
17233 #
17234 # 1999/7/24
17235 #       * add kmous to xterm-r5 -TD
17236 #       * correct entries xterm+sl and xterm+sl-twm, which were missing the
17237 #         parent "use" clause -TD
17238 #
17239 # 1999/7/31
17240 #       * corrected cnorm, added el1 in 'screen' description -TD
17241 #
17242 # 1999/8/14
17243 #       * add ms-vt100 -TD
17244 #
17245 # 1999/8/21
17246 #       * corrections to beterm entry -TD
17247 #
17248 # The following sets edit modes for GNU EMACS.
17249 # Local Variables:
17250 # fill-prefix:"\t"
17251 # fill-column:75
17252 # comment-column:0
17253 # comment-start-skip:"^#+"
17254 # comment-start:"# "
17255 # compile-command:"tic -c terminfo.master"
17256 # End:
17257 ######## SHANTIH!  SHANTIH!  SHANTIH!