[BACK]Return to terminfo.src CVS log [TXT][DIR] Up to [local] / src / share / terminfo

Annotation of src/share/terminfo/terminfo.src, Revision 1.2

1.2     ! etheisen    1: #      $OpenBSD: terminfo.src,v 1.1 1996/07/22 04:46:02 tholo Exp $
1.1       tholo       2: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
                      3: #
                      4: #      Version 9.13.8
                      5: #      terminfo syntax
                      6: #
                      7: #      Eric S. Raymond         (current maintainer)
                      8: #      John Kunze, Berkeley
                      9: #      Craig Leres, Berkeley
                     10: #
                     11: # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
                     12: # address is no longer valid.
                     13: #
                     14: # PURPOSE OF THIS FILE:
                     15: #
                     16: # This file describes the capabilities of various character-cell terminals,
                     17: # as needed by software such as screen-oriented editors.
                     18: #
                     19: # Other terminfo and termcap files exist, supported by various OS vendors
                     20: # or as relics of various older versions of UNIX.  This one is the longest
                     21: # and most comprehensive one in existence.  It subsumes not only the entirety
                     22: # of the historical 4.4BSD, GNU, System V and SCO termcap files, but also large
                     23: # numbers of vendor-maintained termcap and terminfo entries more complete
                     24: # and carefully tested than those in historical termcap/terminfo versions.
                     25: #
                     26: # Pointers to related resources (including the ncurses distribution) may
                     27: # be found at <http://www.ccil.org/terminfo>.
                     28: #
                     29: # INTERNATIONALIZATION:
                     30: #
                     31: # This file assumes a US-ASCII character set. If you need to fix this, start
                     32: # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
                     33: # for your character set.  \E(A and \E)A enables the British character set
                     34: # with the pound sign at position 2/3.
                     35: #
                     36: # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
                     37: # C1 characters are considered the first-byte set of the Japanese encodings,
                     38: # so \E)0 should be avoided in <enacs> and initialization strings.
                     39: #
                     40: # FILE FORMAT:
                     41: #
                     42: # The version you are looking at may be in any of three formats: master
                     43: # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
                     44: # which by the format given in the header above.
                     45: #
                     46: # The master format is accepted and generated by the terminfo tools in the
                     47: # ncurses suite; it differs from stock (System V-compatible) terminfo only
                     48: # in that it admits a group of capabilities (prefixed `OT') equivalent to
                     49: # various obsolete termcap capabilities.  You can, thus, convert from master
                     50: # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
                     51: # you have ncurses `tic -I' is nicer (among other things, it automatically
                     52: # outputs entries in a canonical form).
                     53: #
                     54: # The termcap version is generated automatically from the master version
                     55: # using tic -C.  This filtering leaves in the OT capabilities under their
                     56: # original termcap names.  All translated entries fit within the 1023-byte
                     57: # string-table limit of archaic termcap libraries except where explicitly
                     58: # noted below.  Note that the termcap translation assumes that your termcap
                     59: # library can handle multiple tc capabilities in an entry. 4.4BSD has this
                     60: # capability.  Older versions of GNU termcap, through 1.3, do not.
                     61: #
                     62: # For details on these formats, see terminfo(5) in the ncurses distribution,
                     63: # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
                     64: # curses has been declared obsolete by the caretakers of the 4.4BSD sources
                     65: # as of June 1995; they are encouraging everyone to migrate to ncurses.
                     66: #
                     67: # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
                     68: # no entry in this file has embedded comments.  This is so source translation
                     69: # to termcap only has to carry over leading comments.  Also, no name field
                     70: # contains embedded whitespace (such whitespace confuses rdist).
                     71: #
                     72: # Further note: older versions of this file were often installed with an editor
                     73: # script (reorder) that moved the most common terminal types to the front of
                     74: # the file.  This should no longer be necessary, as the file is now ordered
                     75: # roughly by type frequency with ANSI/VT100 and other common types up front.
                     76: #
                     77: # Some information has been merged in from terminfo files distributed by
                     78: # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
                     79: # comes from vendors who maintain official terminfos for their hardware
                     80: # (notably DEC and Wyse).
                     81: #
                     82: # A detailed change history is included at the end of this file.
                     83: #
                     84: # FILE ORGANIZATION:
                     85: #
                     86: # Comments in this file begin with # - they cannot appear in the middle
                     87: # of a terminfo/termcap entry.  Individual capabilities are commented out by
                     88: # placing a period between the colon and the capability name.
                     89: #
                     90: # The file is divided up into major sections (headed by lines beginning with
                     91: # the string "########") and minor sections (beginning with "####"); do
                     92: #
                     93: #      grep "^####" <file> | more
                     94: #
                     95: # to see a listing of section headings.  The intent of the divisions is
                     96: # (a) to make it easier to find things, and (b) to order the database so
                     97: # that important and frequently-encountered terminal types are near the
                     98: # front (so that you'll get reasonable search efficiency even if you don't
                     99: # use reorder).  Minor sections usually correspond to manufacturers or
                    100: # standard terminal classes.  Parenthesized words following manufacturer
                    101: # names are type prefixes or product line names used by that manufacturers.
                    102: #
                    103: # HOW TO READ THE ENTRIES:
                    104: #
                    105: # The first name in an entry is the canonical name for the model or
                    106: # type, last entry is a verbose description.  Others are mnemonic synonyms for
                    107: # the terminal.
                    108: #
                    109: # Terminal names look like <manufacturer> <model> - <modes/options>
                    110: # The part to the left of the dash, if a dash is present, describes the
                    111: # particular hardware of the terminal.  The part to the right may be used
                    112: # for flags indicating special ROMs, extra memory, particular terminal modes,
                    113: # or user preferences.
                    114: #
                    115: # All names should be in lower case, for consistency in typing.
                    116: #
                    117: # The following are conventionally used suffixes:
                    118: #      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
                    119: #      -am     Enable auto-margin.
                    120: #      -m      Monochrome.  Suppress color support
                    121: #      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
                    122: #              only support one attribute without magic-cookie lossage.
                    123: #              Their base entry is usually paired with another that
                    124: #              uses magic cookies to support multiple attributes.
                    125: #      -na     No arrow keys - termcap ignores arrow keys which are
                    126: #              actually there on the terminal, so the user can use
                    127: #              the arrow keys locally.
                    128: #      -nam    No auto-margin - suppress <am> capability
                    129: #      -nl     No labels - suppress soft labels
                    130: #      -ns     No status line - suppress status line
                    131: #      -rv     Terminal in reverse video mode (black on white)
                    132: #      -s      Enable status line.
                    133: #      -vb     Use visible bell (<flash>) rather than <bel>.
                    134: #      -w      Wide - in 132 column mode.
                    135: # If a name has multiple suffixes and one is a line height, that one should
                    136: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.
                    137: #
                    138: # Entries with embedded plus signs are designed to be included through use/tc
                    139: # capabilities, not used as standalone entries.
                    140: #
                    141: # To avoid search clashes, some older all-numeric names for terminals have
                    142: # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
                    143: # All primary names of terminals now have alphanumeric prefixes.
                    144: #
                    145: # Comments marked "esr" are mostly results of applying the termcap-compiler
                    146: # code packaged with ncurses and contemplating the resulting error messages.
                    147: # In many cases, these indicated obvious fixes to syntax garbled by the
                    148: # composers.  In a few cases, I was able to deduce corrected forms for garbled
                    149: # capabilities by looking at context.  All the information in the original
                    150: # entries is preserved in the comments.
                    151: #
                    152: # In the comments, terminfo capability names are bracketed with <> (angle
                    153: # brackets).  Termcap capability names are bracketed with :: (colons).
                    154: #
                    155: # INTERPRETATION OF USER CAPABILITIES
                    156: #
                    157: # The System V Release 4 and XPG4 terminfo format defines ten string
                    158: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
                    159: # certain of these capabilities to describe functions which are not covered
                    160: # by terminfo.  The mapping is as follows:
                    161: #
                    162: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
                    163: #      u8      terminal answerback description
                    164: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
                    165: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
                    166: #
                    167: # The terminal enquire string <u9> should elicit an answerback response
                    168: # from the terminal.  Common values for <u9> will be ^E (on older ASCII
                    169: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
                    170: #
                    171: # The cursor position request (<u7>) string should elicit a cursor position
                    172: # report.  A typical value (for VT100 terminals) is \E[6n.
                    173: #
                    174: # The terminal answerback description (u8) must consist of an expected
                    175: # answerback string.  The string may contain the following scanf(3)-like
                    176: # escapes:
                    177: #
                    178: #      %c      Accept any character
                    179: #      %[...]  Accept any number of characters in the given set
                    180: #
                    181: # The cursor position report (<u6>) string must contain two scanf(3)-style
                    182: # %d format elements.  The first of these must correspond to the Y coordinate
                    183: # and the second to the %d.  If the string contains the sequence %i, it is
                    184: # taken as an instruction to decrement each value after reading it (this is
                    185: # the inverse sense from the cup string).  The typical CPR value is
                    186: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
                    187: #
                    188: # These capabilities are used by tac(1m), the terminfo action checker soon
                    189: # to be distributed with ncurses.
                    190: #
                    191: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
                    192: #
                    193: # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
                    194: # character-cell terminals are increasingly replaced by X displays, much of
                    195: # this file is becoming a historical document (this is part of the reason for
                    196: # the new organization, which puts ANSI types, xterm, and vt100 up front in
                    197: # confidence that this will catch 95% of new hardware).
                    198: #
                    199: # For the terminal types still alive, I'd like to have manufacturer's
                    200: # contact data (Internet address and/or snail-mail + phone).
                    201: #
                    202: # I'm also interested in enriching the comments so that the latter portions of
                    203: # the file do in fact become a potted history of VDT technology as seen by
                    204: # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
                    205: # include its live/dead/out-of-the-business status, and for as many
                    206: # terminal types as possible to be tagged with information like years
                    207: # of heaviest use, popularity, and interesting features.
                    208: #
                    209: # I'm especially interested in identifying the obscure entries listed under
                    210: # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
                    211: # wisdom about them gets lost.  If you know a lot about obscure old terminals,
                    212: # please go to the terminfo resource page, grab the file ufo.ti, and eyeball
                    213: # it for things you can identify.
                    214: #
                    215: # If you have been around long enough to contribute, please read the file
                    216: # with this in mind and send me your annotations.
                    217: #
                    218: # COPYRIGHTS AND OTHER DELUSIONS
                    219: #
                    220: # The BSD ancestor of this file had a standard Regents of the University of
                    221: # California copyright with dates from 1980 to 1993.
                    222: #
                    223: # Some information has been merged in from a terminfo file SCO distributes.
                    224: # It has an obnoxious boilerplate copyright which I'm ignoring because they
                    225: # took so much of the content from the ancestral BSD versions of this file
                    226: # and didn't attribute it, thereby violating the BSD Regents' copyright.
                    227: #
                    228: # Not that anyone should care.  However many valid functions copyrights may
                    229: # serve, putting one on a termcap/terminfo file with hundreds of anonymous
                    230: # contributors makes about as much sense as copyrighting a wall-full of
                    231: # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
                    232: #
                    233: # This file deliberately has no copyright.  It belongs to no one and everyone.
                    234: # If you claim you own it, you will merely succeed in looking like a fool.
                    235: # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
                    236: # There are no guarantees anywhere.  Svaha!
                    237:
                    238: ######## STANDARD AND SPECIAL TYPES
                    239: #
                    240: # This section describes terminal classes and maker brands that are still
                    241: # quite common.
                    242: #
                    243:
                    244: #### Specials
                    245: #
                    246: # Special "terminals".  These are used to label tty lines when you don't
                    247: # know what kind of terminal is on it.  The characteristics of an unknown
                    248: # terminal are the lowest common denominator - they look about like a ti 700.
                    249: #
                    250:
                    251: dumb|80-column dumb tty,
                    252:        am,
                    253:        cols#80,
                    254:        bel=^G, cr=^M, cud1=^J, ind=^J,
                    255: unknown|unknown terminal type,
                    256:        gn, use=dumb,
                    257: lpr|printer|line printer,
                    258:        hc, os,
                    259:        cols#132, lines#66,
                    260:        bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J,
                    261: glasstty|classic glass tty interpreting ASCII control characters,
                    262:        am,
                    263:        cols#80,
                    264:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H,
                    265:        kcub1=^H, kcud1=^J, nel=^M^J,
                    266:
                    267: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
                    268: #
                    269: # See the end-of-file comment for more on these.
                    270: #
                    271:
                    272: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    273: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    274: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    275: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    276: # will work with any Intel console, they all seem to have inherited \E[11m
                    277: # from the ANSI.SYS de-facto standard.
                    278: klone+acs|alternate character set for ansi.sys displays,
                    279:        acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\054\021+^P0\333p\304r\304y\363z\362{\343|\330}\234,
                    280:        rmacs=\E[10m, smacs=\E[11m,
                    281:
                    282: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    283: # console drivers for Intel boxes obey these.  Makes the same assumption
                    284: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
                    285: # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
                    286: klone+sgr|attribute control for ansi.sys displays,
                    287:        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m,
                    288:        rmpch=\E[10m, rmso=\E[m, rmul=\E[m,
                    289:        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,
                    290:        sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
                    291:        use=klone+acs,
                    292:
                    293: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    294: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    295: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    296: # diamond and arrow characters under curses.
                    297: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
                    298:        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m,
                    299:        rmul=\E[m,
                    300:        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,
                    301:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
                    302:        use=klone+acs,
                    303:
                    304: # ANSI.SYS color control.  The setb/setf caps depend on the coincidence
                    305: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    306: # but equivalent strings that don't rely on that coincidence:
                    307: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    308: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    309: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
                    310: # They match a subset of ECMA-48.
                    311: klone+color|color control for ansi.sys and ISO6429-compatible displays,
                    312:        colors#8, ncv#3, pairs#64,
                    313:        op=\E[37;40m, setb=\E[4%p1%dm, setf=\E[3%p1%dm,
                    314:
                    315: # This is better than klone+color, it doesn't assume white-on-black as the
                    316: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
                    317: ecma+color|color control for ECMA-48-compatible terminals,
                    318:        colors#8, ncv#3, pairs#64,
                    319:        op=\E[39;49m, setb=\E[4%p1%dm, setf=\E[3%p1%dm,
                    320:
                    321: # Attribute control for ECMA-48-compatible terminals
                    322: ecma+sgr|attribute capabilities for true ECMA-48 terminals,
                    323:        rmso=\E[27m, rmul=\E[24m,
                    324:        use=klone+sgr,
                    325:
                    326: # For comparison, here are all the capabilities implied by the Intel
                    327: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    328: # For more detail on this rather pathetic standard, see the comments
                    329: # near the end of this file.
                    330: ibcs2|Intel Binary Compatibility Standard prescriptions,
                    331:        cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB,
                    332:        cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    333:        dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX,
                    334:        hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                    335:        indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7,
                    336:        smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd,
                    337:
                    338: #### ANSI/ECMA-48 terminals and terminal emulators
                    339: #
                    340: # See near the end of this file for details on ANSI conformance.
                    341: # Don't mess with these entries!  Lots of other entries depend on them!
                    342: #
                    343: # This section lists entries in a least-capable to most-capable order.
                    344: # if you're in doubt about what `ANSI' matches yours, try them in that
                    345: # order and back off from the first that breaks.
                    346:
                    347: ansi-mini|any ansi terminal with pessimistic assumptions,
                    348:        am,
                    349:        cols#80, it#8, lines#24,
                    350:        clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                    351:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                    352:        ht=^I,
                    353:
                    354: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
                    355: # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
                    356: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
                    357: # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to
                    358: # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
                    359: # to confuse many emulators.  On the other hand, we can count on these programs
                    360: # doing <rmacs>/<smacs>/<sgr>.  # Older versions of this entry featured
                    361: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
                    362: # ANSI.SYS influence.
                    363: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    364: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode),
                    365:        am, mir, msgr,
                    366:        cols#80, it#8, lines#24,
                    367:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D,
                    368:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                    369:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                    370:        hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                    371:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g,
                    372:        use=klone+sgr-dumb,
                    373: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
                    374:        lines#25, use=pcansi-m,
                    375: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode),
                    376:        lines#33, use=pcansi-m,
                    377: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode),
                    378:        lines#43, use=pcansi-m,
                    379: # The color versions.  All PC emulators do color...
                    380: pcansi|ibm-pc terminal programs claiming to be ansi,
                    381:        use=klone+color, use=pcansi-m,
                    382: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines,
                    383:        lines#25, use=pcansi,
                    384: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines,
                    385:        lines#33, use=pcansi,
                    386: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines,
                    387:        lines#43, use=pcansi,
                    388:
                    389: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
                    390: # If you want pound signs rather than dollars, replace `B' with `A'
                    391: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    392: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    393: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes,
                    394:        mc5i,
                    395:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
                    396:        cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM,
                    397:        ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I,
                    398:        ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H,
                    399:        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    400:        kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,
                    401:        rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,
                    402:        s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g,
                    403:        vpa=\E[%i%p1%dd, use=pcansi-m,
                    404:
                    405: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
                    406: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
                    407: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    408: ansi|ansi/pc-term compatible with color,
                    409:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
                    410:        u9=\E[c,
                    411:        use=ecma+color, use=klone+sgr, use=ansi-m,
                    412:
                    413: #
                    414: # ANSI.SYS entries
                    415: #
                    416: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                    417: # documentation (except for the keyboard key reassignment feature, which
                    418: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                    419: # though undocumented.  The <pfkey> capability is untested but should work for
                    420: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                    421: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                    422: ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
                    423:        am, mir, msgr, xon,
                    424:        cols#80, lines#25,
                    425:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    426:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,
                    427:        is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                    428:        khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u,
                    429:        rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
                    430:        u7=\E[6n,
                    431:        use=klone+color, use=klone+sgr,
                    432: ansi.sys|ANSI.SYS 3.1 and later versions,
                    433:        el=\E[K, use=ansi.sys-old,
                    434:
                    435: #
                    436: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                    437: # This should only be used when the terminal emulator cannot redefine the keys.
                    438: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                    439: # definitions must be restored.  If the terminal emulator is quit while in vi
                    440: # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
                    441: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                    442: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                    443: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
                    444: # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
                    445: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                    446: # Consequently the End keypad key could not be set (it is relatively safe and
                    447: # actually useful because it sends ^@ O, which beeps and opens a line above).
                    448: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
                    449:        is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                    450:        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,
                    451:        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,
                    452:        use=ansi.sys,
                    453: #
                    454: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                    455: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
                    456:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                    457:        is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys,
                    458: #
                    459: # See ansi.sysk and nansi.sys above.
                    460: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
                    461:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                    462:        is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                    463:        use=ansi.sysk,
                    464:
                    465: #### ANSI console types
                    466: #
                    467:
                    468: # This entry is good for the 1.2.13 version of the Linux console driver.
                    469: #
                    470: # Note: there are numerous broken linux entries out there, which didn't screw
                    471: # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
                    472: # One common pathology is an incorrect tab length of 4.
                    473: #
                    474: # ***************************************************************************
                    475: # *                                                                         *
                    476: # *                           WARNING:                                      *
                    477: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    478: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    479: # * character. Here are the keymap replacement lines that will set this up: *
                    480: # *                                                                         *
                    481: #      keycode  15 = Tab             Tab
                    482: #              alt     keycode  15 = Meta_Tab
                    483: #              shift   keycode  15 = F26
                    484: #      string F26 ="\033[Z"
                    485: # *                                                                         *
                    486: # * This has to use a key slot which is unfortunate (any unused one will    *
                    487: # # do, F26 is the higher-numbered one).  The change ought to be built      *
                    488: # * into the kernel tables.                                                 *
                    489: # *                                                                         *
                    490: # ***************************************************************************
                    491: #
                    492: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    493: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    494: # not back-portable to SV curses and not supported in ncurses versions before
                    495: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    496: # themselves; this entry assumes that capability.
                    497: #
                    498: # From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995
                    499: linux|linux console,
                    500:        am, bce, eo, mir, msgr, xenl, xon,
                    501:        it#8,
                    502:        bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h,
                    503:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                    504:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                    505:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
                    506:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                    507:        flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,
                    508:        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                    509:        il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D,
                    510:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
                    511:        kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
                    512:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                    513:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                    514:        kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
                    515:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                    516:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
                    517:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmul=\E[24m,
                    518:        rs1=\Ec, sc=\E7,
                    519:        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,
                    520:        smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,
                    521:        u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
                    522:        use=klone+sgr, use=ecma+color,
                    523: linux-m|Linux console no color,
                    524:        colors@, pairs@,
                    525:        setab@, setaf@, setb@, setf@, use=linux,
                    526: linux-c-nc|linux console 1.3.x hack for ncurses only,
                    527:        ccc,
                    528:        initc=\E]P%p1%x%p2%02x%p3%02x%p4%02x, oc=\E]R, use=linux,
                    529: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
                    530: linux-c|linux console 1.3.6+, with private palette for each virtual console,
                    531:        ccc,
                    532:        colors#8, pairs#64,
                    533:        initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;,
                    534:        oc=\E]R,
                    535:        use=linux,
                    536:
                    537: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                    538: linux-nic|linux with ich/ich1 suppressed for non-curses programs,
                    539:        ich@, ich1@,
                    540:        use=linux,
                    541:
                    542: linux-old|linux console with hardwired screen size,
                    543:        cols#80, lines#25, use=linux,
                    544:
                    545: # SCO console and SOS-Syscons console for 386bsd
                    546: # (scoansi: had unknown capabilities
                    547: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
                    548: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
                    549: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                    550: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                    551: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
                    552: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
                    553: # on the <smacs>=\E[12m  -- esr)
                    554: scoansi|SCO Extended ANSI standard crt,
                    555:        am, eo, xon,
                    556:        cols#80, it#8, lines#25,
                    557:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,
                    558:        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    559:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                    560:        ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D,
                    561:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M,
                    562:        kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R,
                    563:        kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
                    564:        ri=\E[T,
                    565:        use=klone+sgr-dumb,
                    566:
                    567: # This actually describes the generic SVr4 display driver for Intel boxes.
                    568: # The <dim=\E[2m> isn't documented and therefore may not be reliable.
                    569: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
                    570: att6386|at386|386at|AT&T WGS 6386 console,
                    571:        am, bw, eo, xon,
                    572:        cols#80, it#8, lines#25,
                    573:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                    574:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
                    575:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
                    576:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                    577:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    578:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                    579:        dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                    580:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                    581:        ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
                    582:        indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
                    583:        kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    584:        kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
                    585:        kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                    586:        kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
                    587:        knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
                    588:        ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                    589:        sc=\E7,
                    590:        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,
                    591:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
                    592:        tbc=\E[2g, vpa=\E[%i%p1%dd,
                    593:        use=klone+color,
                    594: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                    595: pc6300plus|AT&T 6300 plus,
                    596:        am, xon,
                    597:        cols#80, lines#24,
                    598:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
                    599:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
                    600:        cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
                    601:        dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
                    602:        home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
                    603:        invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                    604:        kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
                    605:        kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
                    606:        nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                    607:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                    608:
                    609: #
                    610: #      Terminfo entry for the AT&T Unix PC 7300
                    611: #      from escape(7) in Unix PC 7300 Manual.
                    612: #      Somewhat similar to a vt100-am (but different enough
                    613: #      to redo this from scratch.)
                    614: #
                    615: #      /***************************************************************
                    616: #      *
                    617: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                    618: #      *
                    619: #      *     This routine loads a font defined in the file ALTFONT
                    620: #      *     into font memory slot #1.  Once the font has been loaded,
                    621: #      *     it can be used as an alternative character set.
                    622: #      *
                    623: #      *     The call to ioctl with the argument WIOCLFONT is the key
                    624: #      *     to this routine.  For more information, see window(7) in
                    625: #      *     the PC 7300 documentation.
                    626: #      ***************************************************************/
                    627: #      #include <string.h>             /* needed for strcpy call */
                    628: #      #include <sys/window.h>         /* needed for ioctl call */
                    629: #      #define FNSIZE  60              /* font name size */
                    630: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                    631: #      /*
                    632: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                    633: #      *     standard PC software.  It defines a graphics character set
                    634: #      *     similar to that of the Teletype 5425 terminal.  To view
                    635: #      *     this or other fonts in /usr/lib/wfont, use the command
                    636: #      *     cfont <filename>.  For further information on fonts see
                    637: #      *     cfont(1) in the PC 7300 documentation.
                    638: #      */
                    639: #
                    640: #      struct altfdata         /* structure for alt font data */
                    641: #      {
                    642: #      short   altf_slot;              /* memory slot number */
                    643: #      char    altf_name[FNSIZE];      /* font name (file name) */
                    644: #      };
                    645: #      ldfont()
                    646: #      {
                    647: #              int wd;         /* window in which altfont will be */
                    648: #              struct altfdata altf;
                    649: #              altf.altf_slot=1;
                    650: #              strcpy(altf.altf_name,ALTFONT);
                    651: #              for (wd =1; wd < 12; wd++) {
                    652: #                   ioctl(wd, WIOCLFONT,&altf);
                    653: #              }
                    654: #      }
                    655: #
                    656: # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
                    657: # they're confirmed by the man page for the System V display---esr)
                    658: #
                    659: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
                    660:        am, xenl, xon,
                    661:        cols#80, it#8, lines#24,
                    662:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                    663:        bel=^G, bold=\E[7m, cbt=\E^I, civis=\E[=C, clear=\E[2J\E[H,
                    664:        cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, cud=\E[%p1%dB,
                    665:        cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                    666:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                    667:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
                    668:        el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                    669:        ind=^J, invis=\E[9m, is1=^O, kBEG=\EBG, kCAN=\ECN, kCPY=\ECP,
                    670:        kCRT=\ECR, kDC=\EDC, kDL=\EDL, kEND=\EEN, kEOL=\ECI,
                    671:        kFND=\EFI, kHLP=\EHL, kHOM=\EHM, kIC=\ENJ, kLFT=\EBW,
                    672:        kMOV=\EMV, kNXT=\ENX, kOPT=\EOT, kPRV=\EPV, kRDO=\ERO,
                    673:        kRIT=\EFW, kRPL=\ERP, kSAV=\ESV, kUND=\EUD, kbeg=\Ebg,
                    674:        kbs=^H, kcan=\Ecn, kcbt=\E^I, kclo=\Ecl, kclr=\Ece,
                    675:        kcmd=\Ecm, kcpy=\Ecp, kcrt=\Ecr, kcub1=\E[D, kcud1=\E[B,
                    676:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\Edc, ked=\Ece, kel=\Eci,
                    677:        kend=\Een, kext=\Eex, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                    678:        kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kfnd=\Efi, khlp=\Ehl,
                    679:        khome=\Ehm, kich1=\Eim, kind=\Erd, kmov=\Emv, kmrk=\Emk,
                    680:        knp=\Epg, knxt=\Enx, kopn=\Eop, kopt=\Eot, kpp=\EPG,
                    681:        kprt=\Epr, kprv=\Epv, krdo=\Ero, kref=\Ere, krfr=\Erf,
                    682:        kri=\Eru, krpl=\Erp, krst=\Ers, ksav=\Esv, kslt=\Esl,
                    683:        kund=\Eud, nel=\EE, rev=\E[7m, ri=\EM, rmacs=\E[10m,
                    684:        rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smacs=\E[11m,
                    685:        smso=\E[7m, smul=\E[4m,
                    686:
                    687: # From: davis@unidata.ucar.edu
                    688: # (iris-ansi: added rmam/smam based on init string -- esr)
                    689: iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal,
                    690:        am,
                    691:        cols#80, it#8, lines#40,
                    692:        bel=^G, bold=\E[1m, clear=\E[H\E[2J,
                    693:        cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
                    694:        cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
                    695:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    696:        cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
                    697:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                    698:        home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                    699:        is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
                    700:        kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
                    701:        kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                    702:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                    703:        kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\EOQ, kf11=\EOR,
                    704:        kf12=\EOS, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
                    705:        kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
                    706:        kf9=\EOP, khome=\E[H, kich1=\E[139q, knp=\E[154q,
                    707:        kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, kspd=\E[217q,
                    708:        nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8,
                    709:        rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7,
                    710:        sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
                    711:        tbc=\E[3g,
                    712:
                    713: # The following is a version of the ibm-pc entry distributed with PC/IX,
                    714: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                    715: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                    716: # (the former is untrue, and the latter failed under UCB/man); standout and
                    717: # underline modes have been added.  Note: this entry describes the "native"
                    718: # capabilities of the PC monochrome display, without ANY emulation; most
                    719: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                    720: pcix|PC/IX console,
                    721:        am, bw, eo,
                    722:        cols#80, lines#24,
                    723:        clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    724:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                    725:        home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
                    726:        smul=\E[4m,
                    727:
                    728: # (ibmpcx: this entry used to be known as ibmx.
                    729: # It formerly included the following extension capabilities:
                    730: #      :GC=b:GL=v:GR=t:RT=^J:\
                    731: #      :GH=\E[196g:GV=\E[179g:\
                    732: #      :GU=\E[193g:GD=\E[194g:\
                    733: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                    734: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                    735: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                    736: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
                    737: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                    738: # what was there before. -- esr)
                    739: ibmpcx|xenix|ibmx|IBM PC xenix console display,
                    740:        am, msgr,
                    741:        cols#80, lines#25,
                    742:        clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    743:        cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                    744:        ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
                    745:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
                    746:        kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
                    747:        kpp=\E[Z,
                    748:        use=klone+acs, use=klone+sgr,
                    749:
                    750:
                    751: # QNX 4.0 Console
                    752: # Michael's original version of this entry had <am@>, <smcup=\Ei>,
                    753: # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
                    754: # right corner without triggering a scroll.  The ncurses terminfo library can
                    755: # handle this case with the <ich1> capability, and prefers <am> for better
                    756: # optimization.  Bug: The <op> capability resets attributes.
                    757: # From: Michael Hunter <mphunter@qnx.com> 25 Aug 1995
                    758: qnx|qnx4|qnx console,
                    759:        am, daisy, km, mir, msgr, xhpa, xt,
                    760:        colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
                    761:        acsc=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334,
                    762:        bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
                    763:        cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                    764:        cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, cvvis=\Ey2,
                    765:        dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
                    766:        il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
                    767:        kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
                    768:        kDL=\377\366, kEND=\377\301, kEOL=\377\311,
                    769:        kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
                    770:        kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
                    771:        kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
                    772:        kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
                    773:        kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
                    774:        kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
                    775:        kUND=\377\337, kbeg=\377\300, kcan=\377\243,
                    776:        kcbt=\377\200, kclo=\377\343, kclr=\377\341,
                    777:        kcmd=\377\245, kcpy=\377\265, kcrt=\377\305,
                    778:        kctab=\377\237, kcub1=\377\244, kcud1=\377\251,
                    779:        kcuf1=\377\246, kcuu1=\377\241, kdch1=\377\254,
                    780:        kdl1=\377\274, ked=\377\314, kel=\377\310, kend=\377\250,
                    781:        kent=\377\320, kext=\377\270, kf1=\377\201,
                    782:        kf10=\377\212, kf11=\377\256, kf12=\377\257,
                    783:        kf13=\377\213, kf14=\377\214, kf15=\377\215,
                    784:        kf16=\377\216, kf17=\377\217, kf18=\377\220,
                    785:        kf19=\377\221, kf2=\377\202, kf20=\377\222,
                    786:        kf21=\377\223, kf22=\377\224, kf23=\377\333,
                    787:        kf24=\377\334, kf25=\377\225, kf26=\377\226,
                    788:        kf27=\377\227, kf28=\377\230, kf29=\377\231,
                    789:        kf3=\377\203, kf30=\377\232, kf31=\377\233,
                    790:        kf32=\377\234, kf33=\377\235, kf34=\377\236,
                    791:        kf35=\377\276, kf36=\377\277, kf37=\377\321,
                    792:        kf38=\377\322, kf39=\377\323, kf4=\377\204,
                    793:        kf40=\377\324, kf41=\377\325, kf42=\377\326,
                    794:        kf43=\377\327, kf44=\377\330, kf45=\377\331,
                    795:        kf46=\377\332, kf47=\377\316, kf48=\377\317,
                    796:        kf5=\377\205, kf6=\377\206, kf7=\377\207, kf8=\377\210,
                    797:        kf9=\377\211, kfnd=\377\346, khlp=\377\350,
                    798:        khome=\377\240, khts=\377\342, kich1=\377\253,
                    799:        kil1=\377\273, kind=\377\261, kmov=\377\351,
                    800:        kmrk=\377\355, kmsg=\377\345, knp=\377\252,
                    801:        knxt=\377\312, kopn=\377\357, kopt=\377\353,
                    802:        kpp=\377\242, kprt=\377\255, kprv=\377\302,
                    803:        krdo=\377\336, kref=\377\354, kres=\377\360,
                    804:        krfr=\377\347, kri=\377\271, krmir=\377\313,
                    805:        krpl=\377\362, krst=\377\352, ksav=\377\361,
                    806:        kslt=\377\247, kspd=\377\335, ktbc=\377\344,
                    807:        kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
                    808:        rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\ER,
                    809:        rmso=\E), rmul=\E], rs1=\ER, scp=\E@%p1%02d,
                    810:        sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,
                    811:        sgr0=\E}\E]\E>\E), smcup=, smso=\E(, smul=\E[,
                    812:
                    813: #### NetBSD consoles
                    814: #
                    815: # pcvt termcap database entries (corresponding to release 3.31)
                    816: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                    817: #
                    818: # (For the terminfo master file, I translated these into terminfo syntax.
                    819: # Then I dropped all the pseudo-HP entries. we don't want and can't use
                    820: # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
                    821: # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
                    822:
                    823: # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
                    824: # both <ich1> and <smir> are specified (an original VT220
                    825: # shows the same buggy behaviour!), <ich1> has been taken
                    826: # out of this entry. for reference, it should be <ich1=\E[@>.
                    827: pcvtXX|pcvt vt200 emulator (DEC VT220),
                    828:        am, km, mir, msgr, xenl,
                    829:        it#8, vt#3,
                    830:        acsc=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\054\054hhII00yyzz,
                    831:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                    832:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                    833:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                    834:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                    835:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                    836:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                    837:        il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
                    838:        is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
                    839:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                    840:        kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
                    841:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                    842:        khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
                    843:        nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
                    844:        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
                    845:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                    846:        rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                    847:        sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                    848:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                    849:
                    850: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    851: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                    852: #      50 lines entries; 80 columns
                    853: pcvt25|dec vt220 emulation with 25 lines,
                    854:        cols#80, lines#25,
                    855:        is2=\E[1;25r\E[25;1H, use=pcvtXX,
                    856: pcvt28|dec vt220 emulation with 28 lines,
                    857:        cols#80, lines#28,
                    858:        is2=\E[1;28r\E[28;1H, use=pcvtXX,
                    859: pcvt35|dec vt220 emulation with 35 lines,
                    860:        cols#80, lines#35,
                    861:        is2=\E[1;35r\E[35;1H, use=pcvtXX,
                    862: pcvt40|dec vt220 emulation with 40 lines,
                    863:        cols#80, lines#40,
                    864:        is2=\E[1;40r\E[40;1H, use=pcvtXX,
                    865: pcvt43|dec vt220 emulation with 43 lines,
                    866:        cols#80, lines#43,
                    867:        is2=\E[1;43r\E[43;1H, use=pcvtXX,
                    868: pcvt50|dec vt220 emulation with 50 lines,
                    869:        cols#80, lines#50,
                    870:        is2=\E[1;50r\E[50;1H, use=pcvtXX,
                    871:
                    872: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    873: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                    874: #      50 lines entries; 132 columns
                    875: pcvt25w|dec vt220 emulation with 25 lines and 132 cols,
                    876:        cols#132, lines#25,
                    877:        is2=\E[1;25r\E[25;1H, use=pcvtXX,
                    878: pcvt28w|dec vt220 emulation with 28 lines and 132 cols,
                    879:        cols#132, lines#28,
                    880:        is2=\E[1;28r\E[28;1H, use=pcvtXX,
                    881: pcvt35w|dec vt220 emulation with 35 lines and 132 cols,
                    882:        cols#132, lines#35,
                    883:        is2=\E[1;35r\E[35;1H, use=pcvtXX,
                    884: pcvt40w|dec vt220 emulation with 40 lines and 132 cols,
                    885:        cols#132, lines#40,
                    886:        is2=\E[1;40r\E[40;1H, use=pcvtXX,
                    887: pcvt43w|dec vt220 emulation with 43 lines and 132 cols,
                    888:        cols#132, lines#43,
                    889:        is2=\E[1;43r\E[43;1H, use=pcvtXX,
                    890: pcvt50w|dec vt220 emulation with 50 lines and 132 cols,
                    891:        cols#132, lines#50,
                    892:        is2=\E[1;50r\E[50;1H, use=pcvtXX,
                    893:
                    894: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
                    895: # manufactured by Sharp for the Japenese market.
                    896: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
                    897: x68k|x68k-ite|NetBSD/x68k ITE,
                    898:        cols#96, lines#32,
                    899:        kclr=\E[9~, khlp=\E[28~, use=vt220,
                    900:
                    901: #### FreeBSD console entries
                    902: #
                    903: # From: Andrew Chernov <ache@astral.msk.su> 29 Mar 1996
                    904: # Andew Chernov maintains the FreeBSD termcap distributions.
                    905: #
                    906: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
                    907: # or comment out the <el1> capability in the console entry.
                    908: #
                    909:
                    910: # for syscons
                    911: # common entry without semigraphics
                    912: # Bug: The <op> capability resets attributes.
                    913: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
                    914:        am, bce, bw, eo, msgr, npc,
                    915:        colors#8, cols#80, it#8, lines#25, pairs#64,
                    916:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                    917:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                    918:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    919:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                    920:        dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX,
                    921:        ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, hpa=\E[%i%p1%d`,
                    922:        ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                    923:        ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z,
                    924:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                    925:        kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X,
                    926:        kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
                    927:        kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G,
                    928:        kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T,
                    929:        rin=\E[%p1%dT, rmso=\E[m, rs1=\E[x\E[m\Ec,
                    930:        setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m,
                    931:        vpa=\E[%i%p1%dd,
                    932: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
                    933:        acsc=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261I^U0\333y\363z\362,
                    934:        use=cons25w,
                    935: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
                    936:        colors@, pairs@,
                    937:        bold@, dim@, op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25,
                    938: cons30|ansi80x30|freebsd console (30-line ansi mode),
                    939:        lines#30, use=cons25,
                    940: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
                    941:        lines#30, use=cons25-m,
                    942: cons43|ansi80x43|freebsd console (43-line ansi mode),
                    943:        lines#43, use=cons25,
                    944: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
                    945:        lines#43, use=cons25-m,
                    946: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
                    947:        lines#50, use=cons25,
                    948: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
                    949:        lines#50, use=cons25-m,
                    950: cons60|ansi80x60|freebsd console (60-line ansi mode),
                    951:        lines#60, use=cons25,
                    952: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
                    953:        lines#60, use=cons25-m,
                    954: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
                    955:        acsc=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215,
                    956:        use=cons25w,
                    957: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
                    958:        colors@, pairs@,
                    959:        op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25r,
                    960: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
                    961:        lines#50, use=cons25r,
                    962: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
                    963:        lines#50, use=cons25r-m,
                    964: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
                    965:        lines#60, use=cons25r,
                    966: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
                    967:        lines#60, use=cons25r-m,
                    968: # ISO 8859-1 FreeBSD console
                    969: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
                    970:        acsc=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.\031-\030+\253\054\273I\247y\232z\233,
                    971:        use=cons25w,
                    972: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
                    973:        colors@, pairs@,
                    974:        bold@, dim@, op@, rmul=\E[m, setb@, setf@, smul=\E[4m, use=cons25l1,
                    975: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
                    976:        lines#50, use=cons25l1,
                    977: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
                    978:        lines#50, use=cons25l1-m,
                    979: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
                    980:        lines#60, use=cons25l1,
                    981: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
                    982:        lines#60, use=cons25l1-m,
                    983:
                    984: #### 386BSD and BSD/OS Consoles
                    985: #
                    986:
                    987: # This was the original 386BSD console entry (I think).
                    988: # Some places it's named oldpc3|oldibmpc3.
                    989: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                    990: origpc3|origibmpc3|IBM PC 386BSD Console,
                    991:        am, bw, eo, xon,
                    992:        cols#80, lines#25,
                    993:        acsc=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305,
                    994:        bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    995:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                    996:        home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                    997:        kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x,
                    998:        rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x,
                    999:        smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x,
                   1000:
                   1001: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                   1002: oldpc3|oldibmpc3|old IBM PC BSD/386 Console,
                   1003:        km,
                   1004:        lines#25,
                   1005:        bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M,
                   1006:        ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   1007:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F,
                   1008:        knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R,
                   1009:
                   1010: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                   1011: # Note, the emulator supports many of the additional console features
                   1012: # listed in the iBCS2 (e.g. character-set selection) though not all
                   1013: # are described here.  This entry really ought to be upgraded.
                   1014: # Also note, the console will also work with fewer lines after doing
                   1015: # "stty rows NN", e.g. to use 24 lines.
                   1016: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
                   1017: # Bug: The <op> capability resets attributes.
                   1018: bsdos|BSD/OS console,
                   1019:        am, bw, eo, km, xon,
                   1020:        colors#8, cols#80, it#8, lines#25, pairs#64,
                   1021:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
                   1022:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1023:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1024:        cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[=8F, dl=\E[%p1%dM,
                   1025:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   1026:        il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1027:        kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G,
                   1028:        kpp=\E[I, nel=^M^J, op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m,
                   1029:        sc=\E7, setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[0m,
                   1030:        smso=\E[7m,
                   1031: bsdos-bold|IBM PC BSD/386 Console with bold instead of underline,
                   1032:        rmul=\E[0m, smul=\E[1m,
                   1033:        use=bsdos,
                   1034:
                   1035: # If you are BSDI, you want the following entries, for the moment.
                   1036: # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
                   1037: pc3|IBM PC BSD/386 Console,
                   1038:        use=bsdos,
                   1039: ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline,
                   1040:        smul=\E[1m,
                   1041:        use=bsdos-bold,
                   1042:
                   1043: #### DEC VT100 and compatibles
                   1044: #
                   1045: # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
                   1046: # the basis of some emulations) are collected here. Older DEC terminals and
                   1047: # micro consoles can be found in the `obsolete' section.  More details on
                   1048: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                   1049: # found near the end of this file.
                   1050: #
                   1051: # Except where noted, these entries are DEC's official terminfos.
                   1052: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   1053: # Engineering for more information.  Updated terminfos and termcaps
                   1054: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   1055: #
                   1056: # In October 1995 DEC sold its terminals business, including the VT and Dorio
                   1057: # line and trademark, to SunRiver Data Systems.
                   1058: #
                   1059:
                   1060: vt52|dec vt52,
                   1061:        cols#80, it#8, lines#24,
                   1062:        bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   1063:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   1064:        el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   1065:        kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI,
                   1066:
                   1067: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                   1068: # certainly includes what DEC called the `Level 1 editing extension' codes;
                   1069: # only the very oldest VT100s lacked these and there probably aren't any of
                   1070: # those left alive.  To capture these, use one of the VT102 entries.
                   1071: #
                   1072: # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
                   1073: # since the cursor is left in a different position while in the
                   1074: # weird state (concept at beginning of next line, vt100 at end
                   1075: # of this line) so all versions of vi before 3.7 don't handle
                   1076: # <xenl> right on vt100. The correct way to handle <xenl> is when
                   1077: # you output the char in column 80, immediately output CR LF
                   1078: # and then assume you are in column 1 of the next line. If <xenl>
                   1079: # is on, am should be on too.
                   1080: #
                   1081: # I assume you have smooth scroll off or are at a slow enough baud
                   1082: # rate that it doesn't matter (1200? or less). Also this assumes
                   1083: # that you set auto-nl to "on", if you set it off use vt100-nam
                   1084: # below.
                   1085: #
                   1086: # The padding requirements listed here are guesses. It is strongly
                   1087: # recommended that xon/xoff be enabled, as this is assumed here.
                   1088: #
                   1089: # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
                   1090: # tab settings are in non-volatile memory and don't need to be
                   1091: # reset upon login. Also setting the number of columns glitches
                   1092: # the screen annoyingly. You can type "reset" to get them set.
                   1093: #
                   1094: # This is how the keypad gets assigned in Application Keypad mode.
                   1095: #      PF1 = kf1         PF2 = kf2         PF3   = kf3       PF4 = kf4
                   1096: #      7   = kf9         8   = kf10        9     = kf0       -
                   1097: #      4   = kf5         5   = kf6         6     = kf7       ,   = kf8
                   1098: #      1   = ka1         2   = kb2         3     = ka3
                   1099: #      0   = kc1         .   = kc3         ENTER = kent
                   1100: #
                   1101: # And here, for those of you with orphaned VT100s lacking documentation, is
                   1102: # a description of the soft switches invoked when you do `Set Up'.
                   1103: #
                   1104: #  Scroll 0-Jump               Shifted 3   0-#
                   1105: #  |      1-Smooth             |           1-British pound sign
                   1106: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                   1107: #  | |          1-On           | |           1-On
                   1108: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                   1109: #  | | |      1-Light Bkg      | | |        1-On
                   1110: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                   1111: #  | | | |      1-Block        | | | |         1-On
                   1112: #  | | | |                     | | | |
                   1113: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                   1114: #                | | | |                     | | | |
                   1115: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                   1116: #                | | |               1-On    | | |       1-50 Hz
                   1117: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                   1118: #                | |           1-ANSI        | |                1-8 Bits
                   1119: #                | Keyclick 0-Off            | Parity 0-Off
                   1120: #                |          1-On             |        1-On
                   1121: #                Margin Bell 0-Off           Parity Sense 0-Odd
                   1122: #                            1-On                         1-Even
                   1123: #
                   1124: # The following SET-UP modes are assumed for normal operation:
                   1125: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                   1126: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                   1127: # Other SET-UP modes may be set for operator convenience or communication
                   1128: # requirements; I recommend
                   1129: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                   1130: # Unless you have a graphics add-on such as Digital Engineering's VT640
                   1131: # (and even then, whenever it can be arranged!) you should set
                   1132: #      INTERLACE_OFF
                   1133: #
                   1134: # (I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
                   1135: vt100|vt100-am|dec vt100 (w/advanced video),
                   1136:        am, msgr, xenl, xon,
                   1137:        cols#80, it#8, lines#24, vt#3,
                   1138:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1139:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1140:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1141:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1142:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   1143:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   1144:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   1145:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
                   1146:        ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
                   1147:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
                   1148:        kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   1149:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   1150:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   1151:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   1152:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1153:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1154:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   1155:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   1156: vt100nam|vt100-nam|vt100 no automargins,
                   1157:        am@, xenl@, use=vt100-am,
                   1158:
                   1159: # Ordinary vt100 in 132 column ("wide") mode.
                   1160: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
                   1161:        cols#132, lines#24,
                   1162:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
                   1163: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
                   1164:        cols#132, lines#14, vt@,
                   1165:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
                   1166:
                   1167: # vt100 with no advanced video.
                   1168: vt100-nav|vt100 without advanced video option,
                   1169:        xmc#1,
                   1170:        blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0=, smso=\E[7m,
                   1171:        smul@,
                   1172:        use=vt100,
                   1173: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
                   1174:        cols#132, lines#14, use=vt100-nav,
                   1175:
                   1176: # vt100 with one of the 24 lines used as a status line.
                   1177: # We put the status line on the top.
                   1178: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
                   1179:        eslok, hs,
                   1180:        lines#23,
                   1181:        clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr,
                   1182:        cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8,
                   1183:        fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8,
                   1184:        tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
                   1185:
                   1186: # Status line at bottom.
                   1187: # Clearing the screen will clobber status line.
                   1188: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
                   1189:        eslok, hs,
                   1190:        lines#23,
                   1191:        dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H,
                   1192:        tsl=\E7\E[24;%p1%dH\E[1K,
                   1193:        use=vt100-am,
                   1194:
                   1195: # Most of the `vt100' emulators out there actually emulate a vt102
                   1196: # This entry (or vt102-nsgr) is probably the right thing to use for
                   1197: # these.
                   1198: vt102|dec vt102,
                   1199:        mir,
                   1200:        dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100,
                   1201: vt102-w|dec vt102 in wide mode,
                   1202:        lines#132,
                   1203:        rs3=\E[?3h, use=vt102,
                   1204:
                   1205: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
                   1206: # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
                   1207: # string in the canonical vt100 entry above leaves the screen littered
                   1208: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                   1209: # after highlight turnoffs.  This entry should fix that, and even leave
                   1210: # ACS support working, at the cost of making multiple-highlight changes
                   1211: # slightly more expensive.
                   1212: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
                   1213: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
                   1214:        sgr@, sgr0=\E[m,
                   1215:        use=vt102,
                   1216:
                   1217: # VT125 Graphics CRT.  Clear screen also erases graphics
                   1218: vt125|vt125 graphics terminal,
                   1219:        clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
                   1220:
                   1221: # This isn't a DEC entry, it came from University of Wisconsin.
                   1222: # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
                   1223: vt131|dec vt131,
                   1224:        am, xenl,
                   1225:        cols#80, it#8, lines#24, vt#3,
                   1226:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   1227:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1228:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   1229:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   1230:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   1231:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   1232:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   1233:        kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>,
                   1234:        rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>,
                   1235:        rmul=\E[m$<2/>,
                   1236:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1237:        sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
                   1238:        smul=\E[4m$<2/>,
                   1239:
                   1240: # vt132 - like vt100 but slower and has ins/del line and such.
                   1241: # I'm told that <smir>/<rmir> are backwards in the terminal from the
                   1242: # manual and from the ANSI standard, this describes the actual
                   1243: # terminal. I've never actually used a vt132 myself, so this
                   1244: # is untested.
                   1245: #
                   1246: vt132|DEC vt132,
                   1247:        xenl,
                   1248:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
                   1249:        ip=$<7>, rmir=\E[4h, smir=\E[4l,
                   1250:        use=vt100,
                   1251:
                   1252: # vt220:
                   1253: # This vt220 description maps F5--F9 to the second block of function keys
                   1254: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1255: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1256: # PF1--PF4 are used as F1--F4.
                   1257: #
                   1258: vt220|vt200|DEC VT220 in vt100 emulation mode,
                   1259:        am, mir, xenl, xon,
                   1260:        cols#80, lines#24, vt#3,
                   1261:        acsc=kkllmmjjnnwwqquuttvvxx, bel=^G, blink=\E[5m$<2>,
                   1262:        bold=\E[1m$<2>, civis=\E[?25l, clear=\E[H\E[2J$<50>,
                   1263:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
                   1264:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH$<10>,
                   1265:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>,
                   1266:        home=\E[H, ht=^I, if=/usr/share/tabset/vt100, il1=\E[L,
                   1267:        ind=\ED$<20/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D,
                   1268:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
                   1269:        kend=\E[4~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
                   1270:        kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
                   1271:        kf9=\E[21~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   1272:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt100,
                   1273:        ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   1274:        rmso=\E[27m, rmul=\E[24m,
                   1275:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1276:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1277:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1278:        smso=\E[7m, smul=\E[4m,
                   1279: vt220-w|vt200-w|DEC vt220 in wide mode,
                   1280:        cols#132,
                   1281:        rs3=\E[?3h, use=vt220,
                   1282:
                   1283: #
                   1284: # vt220d:
                   1285: # This vt220 description regards F6--F10 as the second block of function keys
                   1286: # at the top of the keyboard.  This mapping follows the description given
                   1287: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1288: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1289: # See vt220 for an alternate mapping.
                   1290: #
                   1291: vt220d|DEC VT220 in vt100 mode with DEC function key labeling,
                   1292:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   1293:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   1294:        kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
                   1295:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1296:        use=vt220,
                   1297:
                   1298: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
                   1299:        am@,
                   1300:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
                   1301:
                   1302: vt220-8|dec vt220 8 bit terminal,
                   1303:        am, mc5i, mir, msgr, xenl, xon,
                   1304:        cols#80, it#8, lines#24,
                   1305:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1306:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   1307:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1308:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1309:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1310:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1311:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
                   1312:        flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
                   1313:        ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
                   1314:        il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   1315:        is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D,
                   1316:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~,
                   1317:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1318:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   1319:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   1320:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   1321:        khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~,
                   1322:        kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i,
                   1323:        mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   1324:        rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
                   1325:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   1326:        smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1327:
                   1328: # This was DEC's vt320.  Use the purpose-built one below instead
                   1329: #vt320|DEC VT320 in vt100 emulation mode,
                   1330: #      use=vt220,
                   1331:
                   1332: #
                   1333: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1334: #
                   1335: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
                   1336:        am@,
                   1337:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
                   1338:
                   1339: # These entries are not DEC's official ones, they were purpose-built for the
                   1340: # VT320.  Here are the designer's notes:
                   1341: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1342: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
                   1343: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
                   1344: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1345: # tab usually use <knxt> instead...
                   1346: # kprv is same as tab - Backtab is useless...
                   1347: # I left out <sgr> because of its RIDICULOUS complexity,
                   1348: # and the resulting fact that it causes the termcap translation of the entry
                   1349: # to SMASH the 1k-barrier...
                   1350: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1351: # (vt320: uncommented <fsl> --esr)
                   1352: vt320|vt300|dec vt320 7 bit terminal,
                   1353:        am, eslok, hs, mir, msgr, xenl,
                   1354:        cols#80, lines#24, wsl#80,
                   1355:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1356:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1357:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   1358:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1359:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1360:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1361:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1362:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
                   1363:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                   1364:        il1=\E[L, ind=\ED,
                   1365:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1366:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs,
                   1367:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1368:        kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   1369:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1370:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   1371:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
                   1372:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1373:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~,
                   1374:        kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
                   1375:        nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300,
                   1376:        ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
                   1377:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   1378:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1379:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   1380:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1381:        tsl=\E[1$}\E[H\E[K,
                   1382: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
                   1383:        am@,
                   1384:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1385:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1386:        use=vt320,
                   1387: # We have to init 132-col mode, not 80-col mode.
                   1388: vt320-w|vt300-w|dec vt320 wide 7 bit terminal,
                   1389:        cols#132, wsl#132,
                   1390:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1391:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1392:        use=vt320,
                   1393: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
                   1394:        am@,
                   1395:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1396:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1397:        use=vt320-w,
                   1398:
                   1399: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1400: #   which are pretty much a superset of the VT320.  They have the
                   1401: #   host writable status line, yet another different DRCS matrix size,
                   1402: #   and such, but they add the DEC Technical character set, Multiple text
                   1403: #   pages, selectable length pages, and the like.  The difference between
                   1404: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1405: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1406: #   support VT131 and ANSI block mode, but as with much of these things,
                   1407: #   termcap/terminfo doesn't deal with these features.
                   1408: #
                   1409: # Note that this entry is are set up in what was the standard way for GNU
                   1410: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1411: # keys were switched into application mode at the same time the numeric pad
                   1412: # is switched into application mode.  This changes the definitions of the
                   1413: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1414: # your termcap entry,
                   1415: #
                   1416: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1417: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1418: # also, added <rmam>/<smam> based on the init string -- esr)
                   1419: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
                   1420:        am, eslok, hs, mir, msgr, xenl, xon,
                   1421:        cols#80, it#8, lines#24, vt#3,
                   1422:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1423:        blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
                   1424:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1425:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1426:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1427:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP,
                   1428:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1429:        dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
                   1430:        flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I,
                   1431:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   1432:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1433:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1434:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   1435:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   1436:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   1437:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
                   1438:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   1439:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   1440:        smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   1441:        smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
                   1442:
                   1443: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1444: # (originally written with vt420 as its primary name, and usable for it).
                   1445: #
                   1446: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1447: #    text pages and long text pages with selectable length of the vt340, along
                   1448: #    with left and right margins, rectangular area text copy, fill, and erase
                   1449: #    operations, selected region character attribute change operations,
                   1450: #    page memory and rectangle checksums, insert/delete column, reception
                   1451: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1452: #    can only take advantage of a few of these added features.
                   1453: #
                   1454: # Note that this entry is are set up in what was the standard way for GNU
                   1455: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1456: # keys were switched into application mode at the same time the numeric pad
                   1457: # is switched into application mode.  This changes the definitions of the
                   1458: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1459: # your termcap entry,
                   1460: #
                   1461: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1462: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1463: # also, added <rmam>/<smam> based on the init string -- esr)
                   1464: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
                   1465:        am, eslok, hs, mir, msgr, xenl, xon,
                   1466:        cols#80, it#8, lines#24, vt#3,
                   1467:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1468:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1469:        clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
                   1470:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1471:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1472:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1473:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1474:        dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
                   1475:        el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
                   1476:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   1477:        il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   1478:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1479:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1480:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   1481:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   1482:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   1483:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
                   1484:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   1485:        rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m,
                   1486:        smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   1487:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1488:        tsl=\E[2$~\E[1$}\E[1;%dH,
                   1489:
                   1490: # (vt420: I removed <kf0>, it collided with <kf10> -- esr)
                   1491: vt420|DEC VT420,
                   1492:        am, mir, xenl, xon,
                   1493:        cols#80, lines#24, vt#3,
                   1494:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1495:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1496:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1497:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1498:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1499:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1500:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1501:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
                   1502:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   1503:        kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
                   1504:        kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
                   1505:        kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   1506:        kslt=\E[4~, rc=\E8, rev=\E[7m$<2>,
                   1507:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>,
                   1508:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   1509:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   1510:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p,
                   1511:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1512:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1513:        smkx=\E=, smso=\E[7m, smul=\E[4m,
                   1514:
                   1515: #
                   1516: #  DECUDK
                   1517: #               if (key < 16) then  value = key;
                   1518: #               else if (key < 21) then value = key + 1;
                   1519: #               else if (key < 25) then value = key + 2;
                   1520: #               else if (key < 27) then value = key + 3;
                   1521: #               else if (key < 30) then value = key + 4;
                   1522: #               else value = key + 5;
                   1523: #
                   1524: vt420pc|DEC VT420 w/PC keyboard,
                   1525:        kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
                   1526:        kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
                   1527:        kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~,
                   1528:        kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~,
                   1529:        kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
                   1530:        kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~,
                   1531:        kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~,
                   1532:        kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~,
                   1533:        kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~,
                   1534:        kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~,
                   1535:        kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
                   1536:        kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~,
                   1537:        kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   1538:        kf8=\E[19~, kf9=\E[20~, khome=\E[H,
                   1539:        pctrm=USR_TERM\072vt420pcdos\072,
                   1540:        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,
                   1541:
                   1542: vt420pcdos|DEC VT420 w/PC for DOS Merge,
                   1543:        lines#25,
                   1544:        dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;,
                   1545:        pctrm@,
                   1546:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@,
                   1547:        sgr0=\E[m, smsc=\E[?1;2r\E[34h,
                   1548:        use=vt420pc,
                   1549:
                   1550: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
                   1551:        kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   1552:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   1553:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   1554:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   1555:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1556:        khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
                   1557:        use=vt420,
                   1558:
                   1559: vt510|DEC VT510,
                   1560:        use=vt420,
                   1561: vt510pc|DEC VT510 w/PC keyboard,
                   1562:        use=vt420pc,
                   1563: vt510pcdos|DEC VT510 w/PC for DOS Merge,
                   1564:        use=vt420pcdos,
1.2     ! etheisen 1565:
        !          1566: #
        !          1567: ######
        !          1568: #       CDE Terminal Emulator
        !          1569: #
        !          1570: ######
        !          1571:
        !          1572: #      Reconstructed via infocmp from file: /usr/share/lib/terminfo/d/dtterm
        !          1573: dtterm,
        !          1574:        am, mir, msgr, xenl, xon,
        !          1575:        colors#8, cols#80, it#8, lines#24, lm#0, pairs#8,
        !          1576:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
        !          1577:        batt1=f1, batt2=f1md, bel=^G, blink=\E[5m, bold=\E[1m,
        !          1578:        box1=lqkxjmwuvtn, box2=lqkxjmwuvtn, civis=\E[?25l,
        !          1579:        clear=\E[H\E[J, cnorm=\E[?25h, colb0=\E[40m,
        !          1580:        colb1=\E[41m, colb2=\E[42m, colb3=\E[43m,
        !          1581:        colb4=\E[44m, colb5=\E[45m, colb6=\E[46m,
        !          1582:        colb7=\E[47m, colf0=\E[30m, colf1=\E[31m,
        !          1583:        colf2=\E[32m, colf3=\E[33m, colf4=\E[34m,
        !          1584:        colf5=\E[35m, colf6=\E[36m, colf7=\E[37m, cr=\r,
        !          1585:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
        !          1586:        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
        !          1587:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        !          1588:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
        !          1589:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
        !          1590:        flash=\E[?5h$<200>\E[?5l, font0=\E(B, font1=\E(0,
        !          1591:        home=\E[H, ht=\t, hts=\EH, ich=\E[%p1%d@,
        !          1592:        il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
        !          1593:        is2=\E\sF\E>\E[?1l\E[?7h\E[?45l, kbs=\b, kcub1=\E[D,
        !          1594:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
        !          1595:        kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
        !          1596:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
        !          1597:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[12~,
        !          1598:        kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~,
        !          1599:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
        !          1600:        kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~,
        !          1601:        kpp=\E[5~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m,
        !          1602:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
        !          1603:        rmso=\E[22;27m, rmul=\E[24m, sc=\E7,
        !          1604:        setab=\E[%p1%{40}%+%dm, setaf=\E[%p1%{30}%+%dm,
        !          1605:        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^N%e^O%;,
        !          1606:        sgr0=\E[0m, smacs=^N, smam=\E[?7h, smir=\E[4h,
        !          1607:        smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
1.1       tholo    1608:
                   1609: # VT520/VT525
                   1610: #
                   1611: # The VT520 is a monochrome text terminal capable of managing up to
                   1612: # four independent sessions in the terminal.  It has multiple ANSI
                   1613: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1614: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1615: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1616: #
                   1617: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1618: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1619: # terminal mode is being used.  If Set-Up has been disabled or
                   1620: # assigned to an unknown key, Set-Up may be entered by pressing
                   1621: # [F3] as the first key after power up, regardless of keyboard type.
                   1622: # (vt520: I added <rmam>/<smam> based on the init string -- esr)
                   1623: vt520|DEC VT520,
                   1624:        am, mir, xenl, xon,
                   1625:        cols#80, lines#24, vt#3,
                   1626:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1627:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1628:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1629:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1630:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1631:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1632:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1633:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
                   1634:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   1635:        kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ,
                   1636:        kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~,
                   1637:        kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
                   1638:        kpp=\E[5~, kslt=\E[4~,
                   1639:        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\\,
                   1640:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
                   1641:        ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   1642:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   1643:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p,
                   1644:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1645:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1646:        smso=\E[7m, smul=\E[4m,
                   1647:
                   1648: # (vt525: I added <rmam>/<smam> based on the init string;
                   1649: # removed <rmso>=\E[m, <rmul>=\E[m, -- esr)
                   1650: vt525|DEC VT525,
                   1651:        am, mir, xenl, xon,
                   1652:        cols#80, lines#24, vt#3,
                   1653:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1654:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1655:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1656:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1657:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1658:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1659:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1660:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
                   1661:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   1662:        kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ,
                   1663:        kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~,
                   1664:        kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
                   1665:        kpp=\E[5~, kslt=\E[4~,
                   1666:        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\\,
                   1667:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
                   1668:        ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   1669:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   1670:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p,
                   1671:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1672:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1673:        smso=\E[7m, smul=\E[4m,
                   1674:
                   1675: #### VT100 emulations
                   1676: #
                   1677:
                   1678: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   1679: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
                   1680: # to telnetd.  We'll guess that it's vt102-like but doesn't grok ^N/^O.
                   1681: dec-vt100|EWAN telnet's vt100 emulation,
                   1682:        use=vt102-nsgr,
                   1683:
                   1684: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   1685: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   1686: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   1687: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   1688: # I can send the address if requested.
                   1689: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
                   1690: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1691: z340|zstem vt340 terminal emulator 132col 42line,
                   1692:        lines#42,
                   1693:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   1694:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   1695:        use=vt320-w,
                   1696: z340-nam|zstem vt340 terminal emulator 132col 42line,
                   1697:        am@,
                   1698:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   1699:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   1700:        use=z340,
                   1701:
                   1702: #### X terminal emulators
                   1703: #
                   1704: # You can add the following line to your .Xdefaults to change the terminal type
                   1705: # set by the xterms you start up to my-xterm:
                   1706: #
                   1707: # *termName:  my-xterm
                   1708: #
                   1709: # System administrators can change the default entry for xterm instances
                   1710: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
                   1711: # case, xterm will detect and reject an invalid terminal type, falling back
                   1712: # to the default of xterm.
                   1713: #
                   1714:
                   1715: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
                   1716: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
                   1717: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   1718: # as these seem not to work -- esr)
                   1719: x10term|vs100-x10|xterm terminal emulator (X10 window system),
                   1720:        am, km, mir, msgr, xenl, xon,
                   1721:        cols#80, it#8, lines#65,
                   1722:        bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
                   1723:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1724:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1725:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   1726:        il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
                   1727:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   1728:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
                   1729:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   1730:        sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   1731:        smso=\E[7m, smul=\E[4m,
                   1732: # This entry is designed for XFree86 version 3.1.2E.
                   1733: # It is *way* more featureful than the stock X consortium entry (has <acsc>,
                   1734: # for starters -- note that this only works for some fonts, including the
                   1735: # `fixed' series).  The <kmous> key is actually the \E[M prefix returned by
                   1736: # xterm's internal mouse-tracking facility; ncurses will interpret the
                   1737: # following three bytes of mouse status information.
                   1738: # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
                   1739: # Updated: T.Dickey <dickey@clark.net> 12 May 1996, for XFree86 3.1.2E
                   1740: xterm-color|xterm terminal emulator (XFree86 3.1.2E and above),
                   1741:        am, bce, km, mir, msgr, xenl, xon,
                   1742:        cols#80, it#8, lines#65,
                   1743:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054II00,
                   1744:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   1745:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1746:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1747:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1748:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1749:        el=\E[K, enacs=\E(B\E)0, home=\E[H, hpa=\E[%i%p1%dj, ht=^I,
                   1750:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   1751:        is2=\E[r\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
                   1752:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\177,
                   1753:        kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   1754:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E28~,
                   1755:        kf16=\E29~, kf17=\E[31~, kf18=\E[32~, kf19=\E33~,
                   1756:        kf2=\E[12~, kf20=\E34~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~,
                   1757:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\EOH,
                   1758:        kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8,
                   1759:        rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
                   1760:        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
                   1761:        rmso=\E[m, rmul=\E[m, rs1=^O,
                   1762:        rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
                   1763:        sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
                   1764:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   1765:        tbc=\E[3k, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                   1766:        vpa=\E[%i%p1%dd,
                   1767: # Use this version if you have stock X consortium xterm,
                   1768: # or an XFree86 xterm at version 3.1.2D or older.
                   1769: # Note that due to an array indexing error in the xterm code, even these
                   1770: # correct versions of <kend>/<khome> will probably fail in versions
                   1771: # earlier than XFree86's 3.1.2C.
                   1772: xterm-x11r6|vs100-x11r6|xterm for XFree86 versions previous to 3.1.2E,
                   1773:        bce@,
                   1774:        colors@, pairs@,
                   1775:        hpa@, kend=\EOe, khome=\EO\200, op@, vpa@, use=xterm-color,
                   1776:
                   1777: # Here's another way to choose the xterm version for your stock xterm.
                   1778: # The xterm-color choice is unabashedly biased towards up-to-date free-UNIX
                   1779: # systems (Linux, netBSD, freeBSD) running XFree86 3.1.2E or later. If you
                   1780: # have an older version of xterm, you probably want to use use xterm-x11r6
                   1781: # instead.  If you need to use x10term you'll be all too painfully aware of it.
                   1782: xterm|vs100|xterm terminal emulator (X11R6 Window System),
                   1783:        use=xterm-x11r6,
                   1784:
                   1785: # These entries allow access to the X titlebar and icon name as a status line.
                   1786: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   1787: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   1788: # with it.
                   1789: xterm-sl|access X title line and icon name,
                   1790:        hs,
                   1791:        wsl#40,
                   1792:        dsl=\E]0;\007, fsl=^G, tsl=\E]0;,
                   1793: xterm-sl-twm|access X title line (pacify twm-descended window managers),
                   1794:        hs,
                   1795:        wsl#40,
                   1796:        dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
                   1797:
                   1798: #
                   1799: # The following xterm varients don't depend on your base version
                   1800: #
                   1801: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
                   1802:        smso=\E[1m,
                   1803:        use=xterm,
                   1804: xterms|vs100s|xterm terminal emulator (small screen 24x80),
                   1805:        cols#80, lines#24, use=xterm,
                   1806: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
                   1807: # (kterm should not invoke DEC Graphics as the alternate character set
                   1808: #  -- Kenji Rikitake)
                   1809: kterm|kterm kanji terminal emulator (X window system),
                   1810:        eslok, hs,
                   1811:        csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=\E(B, fsl=\E[?F,
                   1812:        rc=\E8, sc=\E7, tsl=\E[?E\E[?%i%dT,
                   1813:        use=xterm,
                   1814: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1815: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
                   1816:        ich@, ich1@,
                   1817:        use=xterm,
                   1818: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   1819: xterm1|xterm terminal emulator ignoring the alternate screen buffer,
                   1820:        rmcup@, smcup@,
                   1821:        use=xterm,
                   1822:
                   1823: # Sigh...this ought to grok ecma+color, but it doesn't.
                   1824: # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
                   1825: rxvt|rxvt terminal emulator,
                   1826:        kend=\EOw, khome=\E[H, kmous@, use=xterm-x11r6,
                   1827:        use=klone+color,
                   1828:
                   1829: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1830: # Here's a termcap entry I've been using for xterm_color, which comes
                   1831: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1832: # color stuff, I also have a status line defined as the window manager
                   1833: # title bar. [I have translated it to terminfo -- ESR]
                   1834: xterm-pcolor|xterm with color used for highlights and status line,
                   1835:        bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
                   1836:        smul=\E[4m\E[42m,
                   1837:        use=xterm-sl, use=xterm,
                   1838:
                   1839: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
                   1840: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
                   1841: hpterm|X-hpterm|hp X11 terminal emulator,
                   1842:        am, da, db, mir, xhp,
                   1843:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
                   1844:        acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
                   1845:        cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
                   1846:        cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
                   1847:        hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
                   1848:        kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   1849:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   1850:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   1851:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   1852:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
                   1853:        memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   1854:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   1855:        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   1856:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
                   1857:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
                   1858:        rmul=\E&d@,
                   1859:        sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
                   1860:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
                   1861:        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   1862:
                   1863: # This entry describes an xterm with Sun-style function keys enabled
                   1864: # via the X resource setting "xterm*sunFunctionKeys:true"
                   1865: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   1866: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   1867: # because we want it to be seen as <kcpy>.
                   1868: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   1869: # with their Sun keyboard labels instead.
                   1870: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   1871: xterm-sun|xterm with sunFunctionKeys true,
                   1872:        kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z,
                   1873:        kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z,
                   1874:        kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z,
                   1875:        kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z,
                   1876:        kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z,
                   1877:        kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z,
                   1878:        kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z,
                   1879:        kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
                   1880:        kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z,
                   1881:        knp=\E[222z, kpp=\E[216z, kund=\E[195z,
                   1882:        use=xterm,
                   1883: xterms-sun|small (80x24) xterm with sunFunctionKeys true,
                   1884:        cols#80, lines#24, use=xterm-sun,
                   1885:
                   1886: # This is for the extensible terminal emulator on the X11R6 contrib tape.
                   1887: # (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)
                   1888: emu|emu native mode,
                   1889:        mir, msgr, xon,
                   1890:        colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
                   1891:        acsc=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
                   1892:        bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ,
                   1893:        clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,
                   1894:        cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,
                   1895:        cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,
                   1896:        cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;,
                   1897:        dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN,
                   1898:        el=\EK, el1=\EL, enacs=\200, home=\EE0;0;, ht=^I, hts=\Eh,
                   1899:        il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,
                   1900:        kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,
                   1901:        kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,
                   1902:        kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15,
                   1903:        kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02,
                   1904:        kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,
                   1905:        kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,
                   1906:        knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,
                   1907:        rev=\ES\ET, ri=\EF, rmacs=\200, rmir=\EX, rmso=\ES, rmul=\ES,
                   1908:        rs2=\ES\Es0;\Er0;, setb=\Es%i%p1%d; setf=\Er%i%p1%d;,
                   1909:        sgr0=\ES, smacs=\200, smir=\EY, smso=\ES\ET, smul=\ES\EV,
                   1910:        tbc=\Ej,
                   1911:
                   1912: ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
                   1913: #
                   1914:
                   1915: # Columbus UNIX virtual terminal. This terminal also appears in
                   1916: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   1917: # undocumented and does not really work quite right.
                   1918: cbunix|cb unix virtual terminal,
                   1919:        am, da, db,
                   1920:        cols#80, lines#24, lm#0,
                   1921:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   1922:        cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
                   1923:        el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
                   1924:        kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
                   1925:        smso=\Ea^D, smul=\Ea^A,
                   1926: # (vremote: removed obsolete ":nl@:" -- esr)
                   1927: vremote|virtual remote terminal,
                   1928:        am@,
                   1929:        cols#79, use=cbunix,
                   1930: pty|4bsd pseudo teletype,
                   1931:        cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
                   1932:        smso=\Ea$, smul=\Ea!,
                   1933:        use=cbunix,
                   1934:
                   1935: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
                   1936: eterm|gnu emacs term.el terminal emulation,
                   1937:        am, mir, xenl,
                   1938:        cols#80, lines#24,
                   1939:        bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   1940:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1941:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1942:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1943:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\\E[J,
                   1944:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   1945:        il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
                   1946:        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   1947:        sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
                   1948:        smul=\E[4m,
                   1949:
                   1950: # Entries for use by the FSF's `screen' program.  The screen and
                   1951: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
                   1952: # come from University of Wisconsin and may be older.
                   1953:
                   1954: screen|VT 100/ANSI X3.64 virtual terminal,
                   1955:        am, km, mir, msgr, xenl,
                   1956:        colors#8, cols#80, it#8, lines#24, pairs#64,
                   1957:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00,
                   1958:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   1959:        clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1960:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1961:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1962:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E[34l, dch=\E[%p1%dP,
                   1963:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   1964:        enacs=\E(B\E)0, flash=\Eg, home=\E[H, ht=^I, hts=\EH,
                   1965:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0,
                   1966:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1967:        kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   1968:        kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
                   1969:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1970:        khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
                   1971:        nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l,
                   1972:        rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
                   1973:        sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=,
                   1974:        smso=\E[3m, smul=\E[4m, tbc=\E[3g,
                   1975:        use=ecma+color,
                   1976:
                   1977: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
                   1978:        cols#132, use=screen,
                   1979:
                   1980: screen2|VT 100/ANSI X3.64 virtual terminal,
                   1981:        cols#80, it#8, lines#24,
                   1982:        cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   1983:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   1984:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1985:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1986:        el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
                   1987:        il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   1988:        kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   1989:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
                   1990:        nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
                   1991:        rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
                   1992:        smso=\E[3m, smul=\E[4m, tbc=\E[3g,
                   1993: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   1994: screen3|VT 100/ANSI X3.64 virtual terminal,
                   1995:        km, mir, msgr,
                   1996:        cols#80, it#8, lines#24,
                   1997:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   1998:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1999:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2000:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   2001:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2002:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   2003:        il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
                   2004:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
                   2005:        kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   2006:        rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
                   2007:        sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
                   2008:        smul=\E[4m, tbc=\E[3g,
                   2009:
                   2010: ######## WORKSTATION CONSOLES
                   2011: #
                   2012:
                   2013: #### Sun consoles
                   2014: #
                   2015:
                   2016: # :is1: resets scrolling region in case a previous user had used "tset vt100"
                   2017: oldsun|Sun Microsystems Workstation console,
                   2018:        am, km, mir, msgr,
                   2019:        cols#80, it#8, lines#34,
                   2020:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2021:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   2022:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
                   2023:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2024:        is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2025:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   2026:        rmso=\E[m, sgr0=\E[m, smso=\E[7m,
                   2027: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
                   2028: # lines capability later corrected by J.T. Conklin <jtc@cygnus.com>
                   2029: sun|sun1|sun2|Sun Microsystems Inc. workstation console,
                   2030:        am, km, msgr,
                   2031:        cols#80, lines#34,
                   2032:        bel=^G, bold=\E[1m, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   2033:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   2034:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2035:        el=\E[K, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   2036:        il1=\E[L, ind=^J, kb2=\E[218z, kbs=^H, kcub1=\E[D,
                   2037:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                   2038:        kend=\E[220z, kf1=\E[224z, kf10=\E[233z, kf11=\E[234z,
                   2039:        kf12=\E[235z, kf2=\E[225z, kf3=\E[226z, kf4=\E[227z,
                   2040:        kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z,
                   2041:        kf9=\E[232z, khome=\E[214z, knp=\E[222z, kopt=\E[194z,
                   2042:        kpp=\E[216z, kres=\E[193z, kund=\E[195z, rev=\E[7m,
                   2043:        rmso=\E[m, rmul=\E[m, rs2=\E[s,
                   2044:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
                   2045:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   2046: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
                   2047: # (sun-s: I added lines#34 because the Lukyanov entry for sun has 35 -- esr)
                   2048: sun-s|Sun Microsystems Workstation window with status line,
                   2049:        hs,
                   2050:        lines#34,
                   2051:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
                   2052: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
                   2053:        hs,
                   2054:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
                   2055: sun-48|Sun 48-line window,
                   2056:        cols#80, lines#48, use=sun,
                   2057: sun-34|Sun 34-line window,
                   2058:        cols#80, lines#34, use=sun,
                   2059: sun-24|Sun 24-line window,
                   2060:        cols#80, lines#24, use=sun,
                   2061: sun-17|Sun 17-line window,
                   2062:        cols#80, lines#17, use=sun,
                   2063: sun-12|Sun 12-line window,
                   2064:        cols#80, lines#12, use=sun,
                   2065: sun-1|Sun 1-line window for sysline,
                   2066:        eslok, hs,
                   2067:        cols#80, lines#1,
                   2068:        dsl=^L, fsl=\E[K, tsl=^M, use=sun,
                   2069: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
                   2070:        ich1@, rmir@, smir@,
                   2071:        use=sun,
                   2072: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
                   2073:        rmcup=\E[>4h, smcup=\E[>4l,
                   2074:        use=sun,
                   2075:
                   2076: #### Iris consoles
                   2077: #
                   2078:
                   2079: # (wsiris: this had extension capabilities
                   2080: #      :HS=\E7F2:HE=\E7F7:\
                   2081: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
                   2082: # See the note on Iris extensions near the end of this file.
                   2083: # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
                   2084: # <flash> from BRL -- esr)
                   2085: wsiris|iris40|iris emulating a 40 line visual 50 (approximately),
                   2086:        am,
                   2087:        cols#80, it#8, lines#40,
                   2088:        clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, cuf1=\EC,
                   2089:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;,
                   2090:        dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
                   2091:        flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
                   2092:        is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
                   2093:        kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
                   2094:        kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
                   2095:        rmso=\E0@, rmul=\E7R3\E0@, smso=\E9P, smul=\E7R2\E9P,
                   2096:
                   2097: #### NeWS consoles
                   2098: #
                   2099: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   2100: # environment).   Note: these have nothing to do with Sony's News workstation
                   2101: # line.
                   2102: #
                   2103:
                   2104: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
                   2105: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   2106: psterm|psterm-basic|NeWS psterm-80x34,
                   2107:        am, hs, km, ul,
                   2108:        cols#80, it#8, lines#34,
                   2109:        blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
                   2110:        cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
                   2111:        dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
                   2112:        home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
                   2113:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
                   2114:        ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
                   2115:        sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
                   2116:        tsl=\EOl,
                   2117: psterm-96x48|NeWS psterm 96x48,
                   2118:        cols#96, lines#48, use=psterm,
                   2119: psterm-90x28|NeWS psterm 90x28,
                   2120:        cols#90, lines#28, use=psterm,
                   2121: psterm-80x24|NeWS psterm 80x24,
                   2122:        cols#80, lines#24, use=psterm,
                   2123: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   2124: # some control characters you type will do strange things to the screen.
                   2125: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   2126: psterm-fast|NeWS psterm fast version (flaky ctrl chars),
                   2127:        am, hs, km, ul,
                   2128:        cols#80, it#8, lines#34,
                   2129:        blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
                   2130:        cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
                   2131:        dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
                   2132:        il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   2133:        kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
                   2134:        rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
                   2135:        smso=^Oo, smul=^Ou, tsl=^Ol,
                   2136:
                   2137: #### NeXT Consoles
                   2138: #
                   2139: # Use `glasstty' for the Workspace application
                   2140: #
                   2141:
                   2142: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   2143: next|NeXT console,
                   2144:        am, xt,
                   2145:        cols#80, it#8, lines#24,
                   2146:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   2147:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   2148:        ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   2149:        rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
                   2150: nextshell|NeXT Shell application,
                   2151:        am,
                   2152:        cols#80,
                   2153:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
                   2154:        kcud1=^J, nel=^M^J,
                   2155:
                   2156: ######## COMMON TERMINAL TYPES
                   2157: #
                   2158: # This section describes terminal classes and maker brands that are still
                   2159: # quite common, but have proprietary command sets not blessed by ANSI.
                   2160:
                   2161: #### Altos
                   2162: #
                   2163: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
                   2164: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
                   2165: # Acer has a web site at http://www.acer.com.
                   2166: #
                   2167: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   2168: # His comments suggest they were shipped with the system.
                   2169: #
                   2170:
                   2171: # (altos2: had extension capabilities
                   2172: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2173: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2174: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2175: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2176: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   2177: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   2178: #      :HL=^AP\r:SP=\E[i:\
                   2179: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   2180: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   2181: # Comparison with the k* capabilities makes it obvious that the c* things are
                   2182: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   2183: # :sr: was given as a boolean-- esr)
                   2184: altos2|alt2|altos-2|altos II,
                   2185:        cols#80, it#8, lines#24, xmc#0,
                   2186:        clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
                   2187:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M,
                   2188:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   2189:        if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
                   2190:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
                   2191:        kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
                   2192:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
                   2193:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
                   2194:        kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   2195:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
                   2196:        kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   2197:        kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
                   2198:        nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   2199:        smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   2200: # (altos3: had extension capabilities
                   2201: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2202: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2203: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2204: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2205: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   2206: #      :HL=^AP\r:SP=\E[i:\
                   2207: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   2208: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
                   2209:        blink=\E[5p, ri=\EM, sgr0=\E[p,
                   2210:        use=altos2,
                   2211: altos4|alt4|altos-4|altos IV,
                   2212:        use=wy50,
                   2213: # (altos7: had extension capabilities:
                   2214: #      :GG#0:GI=\EH8:GF=\EH7:\
                   2215: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2216: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2217: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2218: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2219: # Comparison with the k* capabilities makes it obvious that the c* things are
                   2220: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
                   2221: # also masde this entry relative to adm12 in order to give it an <sgr>. The
                   2222: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
                   2223: altos7|alt7|altos VII,
                   2224:        am, mir,
                   2225:        cols#80, lines#24, xmc#0,
                   2226:        acsc=l2m1k3j5t4u9v=w0q\072x6n8, blink=\EG2, bold=\EGt,
                   2227:        clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2228:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   2229:        dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
                   2230:        ind=^J, invis=\EG1,
                   2231:        is2=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2,
                   2232:        kDL=^Am\r, kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r,
                   2233:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r,
                   2234:        kel=^AN\r, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   2235:        kf32=^A`\r, kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r,
                   2236:        kf37=^Ae\r, kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r,
                   2237:        kf41=^Ai\r, kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r,
                   2238:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r,
                   2239:        kind=^AO\r, knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J,
                   2240:        ri=\Ej, rmir=\Er, smir=\Eq,
                   2241:        use=adm+sgr,
                   2242: altos7pc|alt7pc|altos PC VII,
                   2243:        kend=\ET, use=altos7,
                   2244:
                   2245: #### Hewlett-Packard (hp)
                   2246: #
                   2247: #      Hewlett-Packard
                   2248: #      8000 Foothills Blvd
                   2249: #      Roseville, CA 95747
                   2250: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   2251: #           1-(800)-633-3600   (General customer support)
                   2252: #
                   2253:
                   2254: # Generic HP terminal - this should (hopefully) work on any HP terminal.
                   2255: hpgeneric|hp|hewlett-packard generic terminal,
                   2256:        am, da, db, mir, xhp,
                   2257:        cols#80, lines#24, lm#0, vt#6,
                   2258:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   2259:        cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
                   2260:        ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
                   2261:        ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
                   2262:        sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
                   2263:        vpa=\E&a%p1%dY,
                   2264:
                   2265: hp110|hewlett-packard model 110 portable,
                   2266:        lines#16, use=hpgeneric,
                   2267:
                   2268: hp+pfk+cr|hp function keys with CR,
                   2269:        kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
                   2270:        kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
                   2271:
                   2272: hp+pfk-cr|hp function keys w/o CR,
                   2273:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
                   2274:        kf8=\Ew,
                   2275:
                   2276: # The 2621s use the same keys for the arrows and function keys,
                   2277: # but not separate escape sequences. These definitions allow the
                   2278: # user to use those keys as arrow keys rather than as function
                   2279: # keys.
                   2280: hp+pfk+arrows|hp alternate arrow definitions,
                   2281:        kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
                   2282:        kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
                   2283:        kll=\Eq\r, kri=\Es\r,
                   2284:
                   2285: hp+arrows|hp arrow definitions,
                   2286:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   2287:        kind=\ES, kll=\EF, kri=\ET,
                   2288:
                   2289: # Generic stuff from the HP 262x series
                   2290: #
                   2291: hp262x|HP 262x terminals,
                   2292:        xhp,
                   2293:        blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
                   2294:        invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2295:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   2296:        kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
                   2297:        krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   2298:        sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c,
                   2299:        sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
                   2300:
                   2301: # Note: no <home> on HP's since that homes to top of memory, not screen.
                   2302: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   2303: # transmit anything at all is to turn on the function key labels
                   2304: # with <smkx>, and even then the user has to hold down shift!
                   2305: # The default 2621 turns off the labels except when it has to to
                   2306: # enable the function keys. If your installation prefers labels
                   2307: # on all the time, or off all the time (at the "expense" of the
                   2308: # function keys) move the # 2621-nl or 2621-wl labels to the
                   2309: # front using reorder.
                   2310: # Note: there are newer ROMs for 2621's that allow you to set
                   2311: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   2312: # 2645. However, even with this strap set, the terminal stops
                   2313: # xmitting if you reset it, until you unset and reset the strap!
                   2314: # Since there is no way to set/unset the strap with an escape
                   2315: # sequence, we don't use it in the default.
                   2316: # If you like, you can use 2621-ba (brain-damaged arrow keys).
                   2317: hp2621-ba|2621-ba|2621 w/new rom and strap A set,
                   2318:        rmkx@, smkx@,
                   2319:        use=hp+arrows, use=hp2621,
                   2320:
                   2321: # hp2621 with function labels. Most of the time they are off,
                   2322: # but inside vi, the function key labels appear. You have to
                   2323: # hold down shift to get them to xmit.
                   2324: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
                   2325:        is2=\E&jA\r, rmkx=\E&jA,
                   2326:        use=hp2621-fl,
                   2327: hp2621-fl|2621-fl|hp 2621,
                   2328:        xhp@, xon,
                   2329:        pb#19200,
                   2330:        cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
                   2331:        ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   2332:        sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
                   2333:        use=hp+pfk+cr, use=hpgeneric,
                   2334:
                   2335: # To use 2621p printer, setenv TERM=2621p, PRINTER=2612p
                   2336: hp2621p|2621p|2621P|hp 2621 with printer,
                   2337:        mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
                   2338:
                   2339: hp2621p-a|2621p-a|hp2621p with fn as arrows,
                   2340:        use=hp+pfk+arrows, use=hp2621p,
                   2341:
                   2342: # hp2621 with k45 keyboard
                   2343: hp2621-k45|hp2621k45|2621k45|k45|hp 2621 with 45 keyboard,
                   2344:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   2345:        khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A,
                   2346:        use=hp2621,
                   2347:
                   2348: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   2349: hp2621-48|48 line 2621,
                   2350:        lines#48,
                   2351:        cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621,
                   2352:
                   2353: # 2621 with no labels ever. Also prevents vi delays on escape.
                   2354: hp2621-nl|hp 2621 with no labels,
                   2355:        kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl,
                   2356:
                   2357: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   2358: # (wrong).
                   2359: #
                   2360: hp2621-nt|hp 2621 w/no tabs,
                   2361:        ht@, use=hp2621,
                   2362:
                   2363: # Hp 2624 B with 4 or 10 pages of memory.
                   2364: #
                   2365: # Some assumptions are made with this entry. These settings are
                   2366: # NOT set up by the initialization strings.
                   2367: #
                   2368: # Port Configuration
                   2369: #      RecvPace=Xon/Xoff
                   2370: #      XmitPace=Xon/Xoff
                   2371: #      StripNulDel=Yes
                   2372: #
                   2373: # Terminal Configuration
                   2374: #      InhHndShk=Yes
                   2375: #      InhDC2=Yes
                   2376: #      XmitFnctn(A)=No
                   2377: #      InhEolWrp=No
                   2378: #
                   2379: # Note: the 2624 DOES have a true <home>, believe it or not!
                   2380: #
                   2381: # The 2624 has an "error line" to which messages can be sent.
                   2382: # This is CLOSE to what is expected for a "status line". However,
                   2383: # after a message is sent to the "error line", the next carriage
                   2384: # return is EATEN and the "error line" is turned back off again!
                   2385: # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
                   2386: #
                   2387: # This entry supports emacs (and any other program that uses raw
                   2388: # mode) at 4800 baud and less. I couldn't get the padding right
                   2389: # for 9600.
                   2390: #
                   2391: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
                   2392: hp2624|hp2624a|hp2624b|hp2624b-4p|2624-4p|2624|2624a|2624b|Hewlett Packard 2624 B,
                   2393:        da, db,
                   2394:        lm#96,
                   2395:        flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp,
                   2396:
                   2397: # This hp2626 entry does not use any of the fancy windowing stuff
                   2398: # of the 2626.
                   2399: #
                   2400: # Indeed, terminfo does not yet handle such stuff. Since changing
                   2401: # any window clears memory, it is probably not possible to use
                   2402: # this for screen opt.
                   2403: #
                   2404: # ed is incredibly slow most of the time - I am guessing at the
                   2405: # exact padding. Since the terminal uses xoff/xon this is intended
                   2406: # only for cost computation, so that the terminal will prefer el
                   2407: # or even dl1 which is probably faster!
                   2408: #
                   2409: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   2410: # extra slow on the last line of the window.
                   2411: #
                   2412: # The padding probably should be changed.
                   2413: #
                   2414: hp2626|hp2626a|hp2626p|2626|2626a|2626p|2626A|2626P|hp 2626,
                   2415:        da, db,
                   2416:        lm#0, pb#19200,
                   2417:        ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
                   2418:        is2=\E&j@\r, rin=\E&r%p1%dU,
                   2419:        use=hp+pfk+cr, use=hp+labels, use=scrhp,
                   2420:
                   2421: # This entry is for sysline. It allocates a 23 line window with
                   2422: # a 115 line workspace for regular use, and a 1 line window for
                   2423: # the status line.
                   2424: #
                   2425: # This assumes port 2 is being used.
                   2426: # Turn off horizontal line, Create ws #1 with 115 lines,
                   2427: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   2428: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   2429: # Note that this clears the tabs so it must be done by tset before
                   2430: # it sets the tabs.
                   2431: #
                   2432: hp2626-s|2626-s|hp 2626 using only 23 lines,
                   2433:        eslok, hs,
                   2434:        lines#23,
                   2435:        fsl=\E&d@\E&w7f2p1I\E&w4f1I,
                   2436:        is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
                   2437:        tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
                   2438:        use=hp2626,
                   2439: # Force terminal back to 24 lines after being 23.
                   2440: hp2626-ns|2626-ns|hp 2626 using all 24 lines,
                   2441:        is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626,
                   2442: # Various entries useful for small windows on 2626.
                   2443: hp2626-12|2626-12|hewlett-packard 2626 12 lines,
                   2444:        lines#12, use=hp2626,
                   2445: hp2626-12x40|2626-12x40|hewlett-packard 2626 12 lines 40 columns,
                   2446:        cols#40, lines#12, use=hp2626,
                   2447: hp2626-x40|2626-x40|hewlett-packard 2626 40 columns,
                   2448:        cols#40, use=hp2626,
                   2449: hp2626-12-s|2626-12-s|hewlett-packard 2626 11 lines plus status,
                   2450:        lines#11, use=hp2626-s,
                   2451:
                   2452: #
                   2453: # hp2627 color tubes from University of Wisconsin
                   2454: #
                   2455: hp2627a-rev|hp 2627 with reverse video colors,
                   2456:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   2457:        is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
                   2458:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
                   2459:        smul=\E&dD\E&v1S,
                   2460:        use=hp2621-nl,
                   2461: hp2627a|2627|hp 2627 color terminal with no labels,
                   2462:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   2463:        is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
                   2464:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
                   2465:        rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
                   2466:        use=hp2621-nl,
                   2467: hp2627c|hp 2627 color (cyan) terminal with no labels,
                   2468:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   2469:        is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
                   2470:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   2471:        use=hp2627a,
                   2472:
                   2473: # 2640a doesn't have the Y cursor addressing feature, and C is
                   2474: # memory relative instead of screen relative, as we need.
                   2475: #
                   2476: hp2640a|2640a|hp 2640a,
                   2477:        cup@, rmkx@, smkx@, use=hp2645,
                   2478:
                   2479: hp2640b|hp2644a|hp 264x series,
                   2480:        rmkx@, smkx@, use=hp2645,
                   2481:
                   2482: # This terminal should be used at 4800 baud or less. It needs padding for
                   2483: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   2484: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   2485: # software to support it.
                   2486: hp2645|hp45|HP 2645 series,
                   2487:        pb#9600,
                   2488:        blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
                   2489:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   2490:        ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
                   2491:        kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
                   2492:        rmkx=\E&s0A,
                   2493:        sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c,
                   2494:        sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD,
                   2495:        use=hpgeneric,
                   2496: # You should use this terminal at 4800 baud or less.
                   2497: hp2648|hp2648a|2648a|2648A|2648|HP 2648a graphics terminal,
                   2498:        clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
                   2499:        dch1=\EP$<7>, ip=$<5>,
                   2500:        use=hp2645,
                   2501:
                   2502: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   2503: # clreol standout problem. It also has graphics capabilities and
                   2504: # a touch screen, which we don't describe here.
                   2505: hp150|hewlett packard Model 150,
                   2506:        use=hp2622,
                   2507:
                   2508: # Hp 2382a terminals, "the little ones." They don't have any
                   2509: # alternate character set support and sending out ^N/^O will
                   2510: # leave the screen blank.
                   2511: hp2382a|hp2382|hewlett packard 2382a,
                   2512:        da, db,
                   2513:        lh#1, lm#48,
                   2514:        acsc@,
                   2515:        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   2516:        rmacs@,
                   2517:        sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c,
                   2518:        sgr0=\E&d@, smacs@,
                   2519:        use=hp+labels, use=scrhp,
                   2520:
                   2521: hp2621-a|hp2621a-a|2621-a|hp2621 with fn as arrows,
                   2522:        use=hp+pfk+arrows, use=hp2621-fl,
                   2523:
                   2524: # newer hewlett packard terminals
                   2525:
                   2526: newhpkeyboard|generic entry for HP extended keyboard,
                   2527:        kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2528:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   2529:        kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
                   2530:        kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
                   2531:        use=hp+pfk-cr,
                   2532:
                   2533: newhp|generic entry for new hewlett packard terminals,
                   2534:        am, bw, mir, xhp, xon,
                   2535:        cols#80, lines#24, pb#4800,
                   2536:        acsc=T1R!U2S"W3O#V4P$t5u6w7v8\072'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\0724>q\\\054x.n/,
                   2537:        bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
                   2538:        cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
                   2539:        dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
                   2540:        invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
                   2541:        pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
                   2542:        pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
                   2543:        pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
                   2544:        rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
                   2545:        sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;,
                   2546:        sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
                   2547:        tbc=\E3,
                   2548:        use=newhpkeyboard,
                   2549:
                   2550: memhp|memory relative addressing for new HP ttys,
                   2551:        vt#6,
                   2552:        clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
                   2553:        cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
                   2554:        home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
                   2555:        mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
                   2556:
                   2557: scrhp|screen relative addressing for new HP ttys,
                   2558:        clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
                   2559:        cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
                   2560:        cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
                   2561:        home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
                   2562:        mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
                   2563:
                   2564: hp+labels|"standard" label info for new HP ttys,
                   2565:        lh#2, lw#8, nlab#8,
                   2566:        pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   2567:        rmln=\E&j@, smln=\E&jB,
                   2568:
                   2569: hp+printer|"standard" printer info for HP ttys,
                   2570:        ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
                   2571:
                   2572:
                   2573: # The new hp2621b is kind of a cross between the old 2621 and the
                   2574: # new 262x series of machines. It has dip-switched options.
                   2575: # The firmware has a bug in it such that if you give it a null
                   2576: # length label, the following character is eaten!
                   2577: hp2621b|2621b|hp 2621b with old style keyboard,
                   2578:        lh#1, lm#48, lw#8, nlab#8,
                   2579:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   2580:        kind=\ET, kll=\EF, kri=\ES,
                   2581:        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r,
                   2582:        smln=\E&jB,
                   2583:        use=hp2621,
                   2584:
                   2585: hp2621b-p|2621b-p|hp 2621b with printer,
                   2586:        use=hp+printer, use=hp2621b,
                   2587:
                   2588: # hp2621b - new 2621b with new extended keyboard
                   2589: # these are closer to the new 26xx series than the other 2621b
                   2590: hp2621b-kx|2621b-kx|hp 2621b with extended keyboard,
                   2591:        use=newhpkeyboard, use=hp2621b,
                   2592:
                   2593: hp2621b-kx-p|2621b-kx-p|hp 2621b with new keyboard & printer,
                   2594:        use=hp+printer, use=hp2621b-kx,
                   2595:
                   2596: # Some assumptions are made in the following entries.
                   2597: # These settings are NOT set up by the initialization strings.
                   2598: #
                   2599: #    Port Configuration
                   2600: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   2601: #
                   2602: #    Terminal Configuration
                   2603: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   2604: # XmitFnctn(A)=No              InhEolWrp=No
                   2605: #
                   2606: #
                   2607: # Hp 2622a & hp2623a display and graphics terminals
                   2608: #
                   2609: hp2622|hp2622a|2622|2622a|hp 2622,
                   2610:        da, db,
                   2611:        lm#0, pb#19200,
                   2612:        is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
                   2613:
                   2614: # The 2623 is a 2622 with extra graphics hardware.
                   2615: hp2623|hp2623a|2623|2623a|hp 2623,
                   2616:        use=hp2622,
                   2617:
                   2618: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
                   2619:        use=hp+printer, use=hp2624,
                   2620:
                   2621: # The hewlett packard B can have an optional extra 6 pages of memory.
                   2622: hp2624-10p|hp2624a-10p|hp2624b-10p|2624-10p|2624a-10p|2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
                   2623:        lm#240, use=hp2624,
                   2624:
                   2625: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
                   2626:        lm#240, use=hp2624b-p,
                   2627:
                   2628: # Color manipulations for HP terminals
                   2629: hp+color|hp with colors,
                   2630:        ccc,
                   2631:        colors#16, ncv#17, pairs#7,
                   2632:        initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a\n%?%p3%{1000}%=%t1%e.%p3%d%;b\n%?%p4%{1000}%=%t1%e.%p4%d%;c\n%?%p5%{1000}%=%t1%e.%p5%d%;x\n%?%p6%{1000}%=%t1%e.%p6%d%;y\n%?%p7%{1000}%=%t1%e.%p7%d%;z\n%p1%dI,
                   2633:        oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
                   2634:        op=\E&v0S, scp=\E&v%p1%dS,
                   2635:
                   2636: # <is2> sets the screen to be 80 columns wide
                   2637: hp2397a|2397a|hp2397|2397|hewlett packard 2397A color terminal,
                   2638:        is2=\E&w6f80X,
                   2639:        use=memhp, use=hp+labels, use=hp+color,
                   2640:
                   2641: #  HP 700/44 Setup parameters:
                   2642: # Terminal Mode                HP-PCterm
                   2643: # Inhibit Auto Wrap    NO
                   2644: # Status Line          Host Writable
                   2645: # PC Character Set     YES
                   2646: # Twenty-Five Line Mode        YES
                   2647: # XON/XOFF             @128 or 64 (sc)
                   2648: # Keycode Mode                 NO   or YES (sc)
                   2649: # Backspace Key                BS or BS/DEL
                   2650: #
                   2651: # <is2>        sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
                   2652: # \E\\? does not turn off keycode mode
                   2653: # <smsc>       sets alternate start/stop; keycode on
                   2654: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
                   2655:        am, eo, xenl, xon,
                   2656:        cols#80, lines#25,
                   2657:        acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263,
                   2658:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
                   2659:        cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   2660:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   2661:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
                   2662:        ind=^J,
                   2663:        is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
                   2664:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   2665:        kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
                   2666:        kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
                   2667:        kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
                   2668:        kpp=\E[5~, rmam=\E[?7l,
                   2669:        rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
                   2670:        rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   2671:        smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
                   2672:        smul=\E[4m, xoffc=g, xonc=e,
                   2673: #
                   2674: hp2392|2392|2393|239x series,
                   2675:        cols#80,
                   2676:        cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
                   2677:        kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
                   2678:        kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
                   2679:        rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
                   2680:        use=hpsub,
                   2681:
                   2682: hpsub|hp terminals -- capability subset,
                   2683:        am, da, db, mir, xhp, xon,
                   2684:        lines#24,
                   2685:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   2686:        cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
                   2687:        ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
                   2688:        is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
                   2689:        kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmir=\ER, rmkx=\E&s0A,
                   2690:        rmso=\E&d@, sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
                   2691:
                   2692: # hpex:
                   2693: #      May be used for most 24 x 80 hp terminals,
                   2694: # but has no padding added, so may allow runover in some terminals at high
                   2695: # baud rates.  Will not work for 2640a or 2640b terminals, 98x6 and 98x5
                   2696: # terminal emulators or 98x6 consoles.
                   2697: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   2698: # last line, and underline capabilities.
                   2699: #
                   2700: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:" -- esr)
                   2701: hpex|hp extended capabilites,
                   2702:        cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
                   2703:        kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&d@, smir=\EQ,
                   2704:        smul=\E&dD, vpa=\E&a%p1%dY,
                   2705:        use=hpsub,
                   2706:
                   2707: # HP 236 console
                   2708: # From: <ddavis@ic.berkeley.edu>
                   2709: hp236|hp236 internal terminal emulator,
                   2710:        am,
                   2711:        cols#80, lines#24,
                   2712:        clear=\EF, cnorm=\EDE, cub1=^H,
                   2713:        cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
                   2714:        dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
                   2715:        sgr0=\ECI, smso=\EBI,
                   2716:
                   2717: # This works on a hp300 console running Utah 4.3 BSD
                   2718: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   2719: hp300h|HP Catseye console,
                   2720:        am, da, db, mir, xhp,
                   2721:        cols#128, lines#51, lm#0, xmc#0,
                   2722:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
                   2723:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   2724:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
                   2725:        if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
                   2726:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   2727:        rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
                   2728:        smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
                   2729:        vpa=\E&a%p1%dY,
                   2730: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   2731: hp9837|hp98720|hp98721|HP 9000/300 workstations,
                   2732:        am, da, db, mir, xhp,
                   2733:        cols#128, it#8, lines#46, lm#0,
                   2734:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
                   2735:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   2736:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   2737:        il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
                   2738:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   2739:        ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
                   2740:        kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
                   2741:        sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
                   2742:        tbc=\E3, vpa=\E&a%p1%dY,
                   2743: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
                   2744: # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
                   2745: # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
                   2746: hp98550|hp98550a|HP 9000 Series 300 color console,
                   2747:        am, da, db, mir, xhp,
                   2748:        cols#128, it#8, lines#49, lm#0,
                   2749:        acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
                   2750:        clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   2751:        cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
                   2752:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   2753:        if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
                   2754:        kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2755:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   2756:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   2757:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   2758:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
                   2759:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   2760:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
                   2761:        smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   2762: # From: Victor Duchovni <vic@fine.princeton.edu>
                   2763: # (hp700-wy: removed obsolete ":nl=^J:";
                   2764: # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
                   2765: hp700-wy|HP700/41 emulating wyse30,
                   2766:        am, bw, mir, msgr,
                   2767:        cols#80, it#8, lines#24, xmc#1,
                   2768:        cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   2769:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   2770:        dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
                   2771:        if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
                   2772:        is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
                   2773:        kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
                   2774:        kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
                   2775:        ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
                   2776:        sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
                   2777:        smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
                   2778: # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
                   2779: hp70092|70092a|70092A|hp70092a|hp70092A|HP 700/92,
                   2780:        am, da, db, xhp,
                   2781:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
                   2782:        acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei,
                   2783:        clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   2784:        cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
                   2785:        dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
                   2786:        kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2787:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   2788:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   2789:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   2790:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB,
                   2791:        ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@,
                   2792:        rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ,
                   2793:        smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3,
                   2794:        vpa=\E&a%p1%dY,
                   2795:
                   2796: bobcat|sbobcat|HP 9000 model 300 console,
                   2797:        am, da, db, mir, xhp,
                   2798:        cols#128, it#8, lines#47, xmc#0,
                   2799:        cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   2800:        cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>,
                   2801:        ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>,
                   2802:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   2803:        khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@,
                   2804:        rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB,
                   2805:        smul=\E&dD, vpa=\E&a%dY$<6/>,
                   2806: gator-t|HP 9000 model 237 emulating extra-tall AAA,
                   2807:        lines#94, use=gator,
                   2808: gator|HP 9000 model 237 emulating AAA,
                   2809:        bw, km, mir, ul,
                   2810:        cols#128, it#8, lines#47,
                   2811:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
                   2812:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
                   2813:        dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
                   2814:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
                   2815:        ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
                   2816:        il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   2817:        rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
                   2818:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   2819: gator-52|HP 9000 model 237 emulating VT52,
                   2820:        cols#128, lines#47, use=vt52,
                   2821: gator-52t|HP 9000 model 237 emulating extra-tall VT52,
                   2822:        lines#94, use=gator-52,
                   2823:
                   2824: #### Honeywell-Bull
                   2825: #
                   2826: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
                   2827: #
                   2828:
                   2829: # Honeywell Bull terminal.  Its cursor and function keys send single
                   2830: # control characters and it has standout/underline glitch.  Most programs
                   2831: # do not like these features/bugs.  Visual bell is realized by flashing the
                   2832: # "keyboard locked" LED.
                   2833: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
                   2834:        cols#80, lines#25,
                   2835:        clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
                   2836:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
                   2837:        flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
                   2838:        kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
                   2839: dku7003|Honeywell Bull DKU 7003 all features described,
                   2840:        msgr,
                   2841:        xmc#1,
                   2842:        blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
                   2843:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   2844:        use=dku7003-dumb,
                   2845:
                   2846: #### Lear-Siegler (adm)
                   2847: #
                   2848: # These guys are long since out of the terminals business, but
                   2849: # in 1995 many current terminals still have an adm type as one of their
                   2850: # emulations (usually their stupidest, and usually labeled adm3, though
                   2851: # these `adm3' emulations normally have adm3a+ capabilities).
                   2852: #
                   2853: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are
                   2854: # reputed to have had the weird `feature' that sending them a ^G would trigger
                   2855: # a diagnostic dump to screen if one of the more obscure RS-232 pins
                   2856: # (variously reported as 22 or as `Ring Indicator') was being held high during
                   2857: # receipt of the ^G.  If you have a real ADM and think you've run into this,
                   2858: # check it out with a breakout box and tell us if this rumor is correct!
                   2859: # A quick fix might be to drop back to a cheesy 4-wire cable.
                   2860: #
                   2861:
                   2862: adm1a|adm1|lsi adm1a,
                   2863:        am,
                   2864:        cols#80, lines#24,
                   2865:        bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2866:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
                   2867:        ind=^J,
                   2868: adm2|lsi adm2,
                   2869:        am,
                   2870:        cols#80, lines#24,
                   2871:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2872:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   2873:        dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J,
                   2874:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   2875: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   2876: adm3|lsi adm3,
                   2877:        am,
                   2878:        cols#80, lines#24,
                   2879:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   2880: # The following ADM-3A switch settings are assumed for normal operation:
                   2881: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   2882: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   2883: # Other switches may be set for operator convenience or communication
                   2884: # requirements.  I recommend
                   2885: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   2886: #      ETX_OFF         EOT_OFF
                   2887: # Most of these terminals required an option ROM to support lower case display.
                   2888: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   2889: # socket, you may be out of luck.
                   2890: #
                   2891: # (adm3a: removed obsolete ":ma=^K^P:" -- esr)
                   2892: adm3a|lsi adm3a,
                   2893:        am,
                   2894:        cols#80, lines#24,
                   2895:        bel=^G, clear=\032$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2896:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
                   2897:        ind=^J,
                   2898: adm3a+|adm3a plus,
                   2899:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, use=adm3a,
                   2900: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
                   2901: adm5|lsi adm5,
                   2902:        xmc#1,
                   2903:        bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
                   2904:        rmso=\EG, smso=\EG,
                   2905:        use=adm3a+,
                   2906: # A lot of terminals other than adm12s use these.  Wherever you see
                   2907: # use=adm+sgr with some of its capabilities disabled, try the
                   2908: # disabled ones.  They may well work but not have been documented or
                   2909: # expressed in the using entry.  We'd like to cook up an <sgr> but the
                   2910: # <rmacs>/<smacs> sequences of the using entries vary too much.
                   2911: adm+sgr|adm style highlight capabilities,
                   2912:        invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
                   2913:        smso=\EG4, smul=\EG8,
                   2914: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
                   2915: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
                   2916: # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
                   2917: # be ^Z, according to his entry.
                   2918: # (adm11: <smul>=\EG4 was obviously erroneous because it also said
                   2919: # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
                   2920: adm11|LSI ADM-11,
                   2921:        am, hs,
                   2922:        cols#80, lines#24,
                   2923:        bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, cud1=^J,
                   2924:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   2925:        dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, kbs=^H,
                   2926:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf2=^AA\r,
                   2927:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   2928:        kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
                   2929:        use=adm+sgr,
                   2930: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   2931: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
                   2932: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
                   2933: # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
                   2934: # -- esr)
                   2935: adm12|lsi adm12,
                   2936:        am, mir,
                   2937:        cols#80, lines#24,
                   2938:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2939:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   2940:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE,
                   2941:        is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1,
                   2942:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   2943:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   2944:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq,
                   2945:        use=adm+sgr,
                   2946: # (adm20: removed obsolete ":kn#7:" -- esr)
                   2947: adm20|lear siegler adm20,
                   2948:        am,
                   2949:        cols#80, it#8, lines#24,
                   2950:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
                   2951:        cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW,
                   2952:        dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE,
                   2953:        kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
                   2954:        sgr0=\E(, smso=\E),
                   2955: adm21|lear siegler adm21,
                   2956:        xmc#1,
                   2957:        bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET,
                   2958:        ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H,
                   2959:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   2960:        use=adm+sgr, use=adm3a,
                   2961: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
                   2962: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
                   2963: # removed bogus-looking \200 from before <cup>. -- esr)
                   2964: adm22|lsi adm22,
                   2965:        am,
                   2966:        cols#80, lines#24,
                   2967:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2968:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   2969:        dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
                   2970:        is2=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200,
                   2971:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
                   2972:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   2973:        kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   2974:        lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E),
                   2975: # ADM 31 DIP Switches
                   2976: #
                   2977: # This information comes from two versions of the manual for the
                   2978: # Lear-Siegler ADM 31.
                   2979: #
                   2980: # Main board:
                   2981: #                  rear of case
                   2982: #   +-||||-------------------------------------+
                   2983: #   + S1S2                              ||S    +
                   2984: #   +                                   ||3    +
                   2985: #   +                                          +
                   2986: #   +                                ||S       +
                   2987: #   +                                ||4       +
                   2988: #   +                                          +
                   2989: #   +                                          +
                   2990: #   +                                          +
                   2991: #   +                                          +
                   2992: #   +                                          +
                   2993: # +-+                                          +-+
                   2994: # +                                              +
                   2995: # +                               S5 S6 S7       +
                   2996: # +                               == == ==       +
                   2997: # +----------------------------------------------+
                   2998: #            front of case (keyboard)
                   2999: #
                   3000: #  S1 - Data Rate - Modem
                   3001: #  S2 - Data Rate - Printer
                   3002: # ------------------------
                   3003: # Data Rate   Setting
                   3004: # -------------------
                   3005: # 50          0 0 0 0
                   3006: # 75          1 0 0 0
                   3007: # 110         0 1 0 0
                   3008: # 134.5       1 1 0 0
                   3009: # 150         0 0 1 0
                   3010: # 300         1 0 1 0
                   3011: # 600         0 1 1 0
                   3012: # 1200        1 1 1 0
                   3013: # 1800        0 0 0 1
                   3014: # 2000        1 0 0 1
                   3015: # 2400        0 1 0 1
                   3016: # 3600        1 1 0 1
                   3017: # 4800        0 0 1 1
                   3018: # 7200        1 0 1 1
                   3019: # 9600        0 1 1 1
                   3020: # x           1 1 1 1
                   3021: #
                   3022: # S3 - Interface/Printer/Attributes
                   3023: # ---------------------------------
                   3024: # Printer Busy Control
                   3025: # sw1   sw2   sw3
                   3026: # ---------------
                   3027: # off   off   off   Busy not active, CD disabled
                   3028: # off   off   on    Busy not active, CD enabled
                   3029: # off   on    off   Busy active on J5-20, CD disabled
                   3030: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   3031: # on    off   on    Busy active on J5-19, CD enabled
                   3032: #
                   3033: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   3034: #
                   3035: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   3036: #
                   3037: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   3038: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   3039: #
                   3040: # sw7   ON - steady cursor - Factory Setting
                   3041: #       OFF - blinking cursor
                   3042: #
                   3043: # sw8   ON causes selected attribute character to be displayed
                   3044: #       OFF causes SPACE to be displayed instead - Factory Setting
                   3045: #
                   3046: # S4 - Interface
                   3047: # --------------
                   3048: # Modem Interface
                   3049: # S3    S4    S4    S4    S4
                   3050: # sw4   sw1   sw2   sw3   sw4
                   3051: # ---------------------------
                   3052: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   3053: #                               Current Loop disabled - Factory Setting
                   3054: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   3055: #                               disabled
                   3056: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   3057: #                               Current Loop Disabled
                   3058: #
                   3059: # sw5   ON disables dot stretching mode - Factory Setting
                   3060: #       OFF enables dot stretching mode
                   3061: # sw6   ON enables blanking function
                   3062: #       OFF enables underline function - Factory Setting
                   3063: # sw7   ON causes NULLS to be displayed as NULLS
                   3064: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   3065: #
                   3066: # S5 - Word Structure
                   3067: # -------------------
                   3068: # sw1   ON enables BREAK key - Factory Setting
                   3069: #       OFF disables BREAK key
                   3070: # sw2   ON selects 50Hz monitor refresh rate
                   3071: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   3072: #
                   3073: # Modem Port Selection
                   3074: # sw3   sw4   sw5
                   3075: # ---------------
                   3076: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   3077: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   3078: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   3079: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   3080: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   3081: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   3082: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   3083: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
                   3084: #
                   3085: # sw6   ON  sends bit 8 a 1 (mark)
                   3086: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   3087: # sw7   ON  selects Block Mode
                   3088: #       OFF selects Conversation Mode - Factory Setting
                   3089: # sw8   ON  selects Full Duplex operation
                   3090: #       OFF selects Half Duplex operation - Factory Setting
                   3091: #
                   3092: # S6 - Printer
                   3093: # ------------
                   3094: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   3095: #
                   3096: # Printer Port Selection
                   3097: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   3098: #
                   3099: # sw8   ON   enables Printer Port
                   3100: #       OFF disables Printer Port - Factory Setting
                   3101: #
                   3102: # S7 - Polling Address
                   3103: # --------------------
                   3104: # sw1-7 Establish ASCII character which designates terminal polling address
                   3105: #       ON  = logic 0
                   3106: #       OFF = logic 1 - Factory Setting
                   3107: # sw8   ON   enables Polling Option
                   3108: #       OFF disables Polling Option - Factory Setting
                   3109: #
                   3110: #
                   3111: # On some older ADM 31s, S4 does not exist, and S5-sw6 is not defined.
                   3112: #
                   3113: # This adm31 entry uses underline as the standout mode.
                   3114: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   3115: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   3116: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   3117: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
                   3118: adm31|lsi adm31 with sw6 set for underline mode,
                   3119:        am, mir,
                   3120:        cols#80, lines#24,
                   3121:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3122:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3123:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0,
                   3124:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   3125:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   3126:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
                   3127:        rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
                   3128: adm31-old|o31|old adm31,
                   3129:        rmul@, smso=\EG4, smul@, use=adm31,
                   3130: # ADM36 in native mode (not VT52 emulation mode)
                   3131: # Hmmm...this looks a lot like an incomplete and slightly botched description
                   3132: # of a vt100 emulator.  Might be worth trying vt100 on this type and seeing
                   3133: # if it flies.  Assuming there are any of these left alive...
                   3134: # (adm36: I added <rmam>/<smam> based on the initialization string;
                   3135: # also added <sgr0>=\E[m -- esr)
                   3136: adm36|lsi adm36,
                   3137:        am, mir,
                   3138:        cols#80, lines#24,
                   3139:        clear=\E[H\E[2J, cub1=^H, cuf1=\E[D,
                   3140:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[1M, ed=\E[0J,
                   3141:        el=\E[0K, il1=\E[1L$<100>,
                   3142:        is2=\E[6;?7h\E[4;20;?1;?3;?6;?4l\E(B\E)B\E>,
                   3143:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\E[A, rmam=\E[?7l,
                   3144:        rmir=\E[4l, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   3145: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   3146: adm42|lsi adm42,
                   3147:        am,
                   3148:        cols#80, lines#24,
                   3149:        bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3150:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3151:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I,
                   3152:        il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J,
                   3153:        kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@,
                   3154:        smir=\Eq, smul@,
                   3155:        use=adm+sgr,
                   3156: # The following termcap for the Lear Siegler ADM-42 leaves the
                   3157: # "system line" at the bottom of the screen blank (for those who
                   3158: # find it distracting otherwise)
                   3159: adm42-ns|lsi adm-42 with no system line,
                   3160:        cbt=\EI\EF \011, clear=\E;\EF \011,
                   3161:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011,
                   3162:        dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011,
                   3163:        el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011,
                   3164:        smir=\Eq\EF \011,
                   3165:        use=adm42,
                   3166: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
                   3167: # The insert mode of this terminal is commented out because it's broken for our
                   3168: # purposes in that it will shift the position of every character on the page,
                   3169: # not just the cursor line!
                   3170: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
                   3171: adm1178|1178|lsi adm1178,
                   3172:        am,
                   3173:        cols#80, lines#24, xmc#1,
                   3174:        bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
                   3175:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3176:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
                   3177:        home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
                   3178:        kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
                   3179:        sgr0=\E), smso=\EG4, smul=\EG1,
                   3180:
                   3181: #### Prime
                   3182: #
                   3183: # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
                   3184: # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
                   3185: #
                   3186:
                   3187: # Standout mode is dim reverse-video.
                   3188: pt100|pt200|wren|fenix|prime pt100/pt200,
                   3189:        am, bw, mir, msgr,
                   3190:        cols#80, it#8, lines#24,
                   3191:        cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   3192:        cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
                   3193:        cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, cuu1=\EM,
                   3194:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, ed=\E[J\E[r,
                   3195:        el=\E[K\E[t, flash=\E$$<200/>\E$P, home=\E$B, ht=^I,
                   3196:        il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   3197:        kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, rmir=\E[4l,
                   3198:        rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   3199:        smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
                   3200:        smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
                   3201: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
                   3202:        cols#132,
                   3203:        cup=\E[%i%p1%d;%p2%dH, use=pt100,
                   3204: pt250|Prime PT250,
                   3205:        rmso@, smso@, use=pt100,
                   3206: pt250w|Prime PT250 in 132-column mode,
                   3207:        rmso@, smso@, use=pt100w,
                   3208:
                   3209: #### Qume (qvt)
                   3210: #
                   3211: #      Qume, Inc.
                   3212: #      3475-A North 1st Street
                   3213: #      San Jose CA 95134
                   3214: #      Vox: (800)-457-4447
                   3215: #      Fax: (408)-473-1510
                   3216: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   3217: #
                   3218: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   3219: # group and production division.
                   3220: #
                   3221: # Discontinued Qume models:
                   3222: #
                   3223: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   3224: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   3225: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   3226: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   3227: # ANSI-compatible terminals with the qvt323 and qvt61.
                   3228: #
                   3229: # Current Qume models (as of February 1995):
                   3230: #
                   3231: # All current Qume terminals have ANSI-compatible operation modes.
                   3232: # Qume is still producing the qvt62, which features emulations for other
                   3233: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   3234: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
                   3235: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
                   3236: # model is the qvt520, which is vt420-compatible.
                   3237: #
                   3238: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   3239:
                   3240: qvt101|qvt108|qume qvt 101 and QVT 108,
                   3241:        xmc#1, use=qvt101+,
                   3242:
                   3243: # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
                   3244: # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
                   3245: # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
                   3246: # What seems to be going on here is that this entry was designed so that
                   3247: # the normal highlight is bold and standout is dim plus something else
                   3248: # (reverse-video maybe?  But then, are there two <rev> sequences?)
                   3249: qvt101+|qvt101p|qume qvt 101 PLUS product,
                   3250:        am, bw, hs, ul,
                   3251:        cols#80, lines#24, xmc#0,
                   3252:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J,
                   3253:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3254:        dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
                   3255:        flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
                   3256:        ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
                   3257:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET,
                   3258:        kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   3259:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   3260:        khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(,
                   3261:        smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef,
                   3262:        use=adm+sgr,
                   3263: qvt102|qume qvt 102,
                   3264:        cnorm=\E., use=qvt101,
                   3265: # (qvt103: added <rmam>/<smam> based on init string -- esr)
                   3266: qvt103|qume qvt 103,
                   3267:        am, xenl, xon,
                   3268:        cols#80, it#8, lines#24, vt#3,
                   3269:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   3270:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   3271:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   3272:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   3273:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   3274:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   3275:        hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   3276:        kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
                   3277:        rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
                   3278:        rmso=\E[m$<2>, rmul=\E[m$<2>,
                   3279:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   3280:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   3281:        sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
                   3282:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   3283: qvt103-w|qume qvt103 132 cols,
                   3284:        cols#132, lines#24,
                   3285:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
                   3286: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
                   3287:        am, hs, mir, msgr,
                   3288:        cols#80, lines#24, xmc#0,
                   3289:        bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H,
                   3290:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   3291:        cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey,
                   3292:        el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I,
                   3293:        hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX,
                   3294:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r,
                   3295:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   3296:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   3297:        mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8,
                   3298:        tbc=\E3, tsl=\Eg\Ef,
                   3299:        use=adm+sgr,
                   3300: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
                   3301:        lines#25, use=qvt119+,
                   3302: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
                   3303:        cols#132,
                   3304:        is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
                   3305: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
                   3306:        lines#25, use=qvt119+,
                   3307: qvt203|qvt203+|qume qvt 203 Plus,
                   3308:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
                   3309:        ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
                   3310:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   3311:        kf9=\E[28~, rmir=\E[4l, smir=\E[4h,
                   3312:        use=qvt103,
                   3313: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
                   3314:        cols#132, lines#24,
                   3315:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
                   3316: #
                   3317: #      Since a command is present for enabling 25 data lines,
                   3318: #      a specific terminfo entry may be generated for the 203.
                   3319: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   3320: #      be selected in the status line (setup line 9).
                   3321: #
                   3322: qvt203-25|QVT 203 PLUS with 25 by 80 column mode,
                   3323:        cols#80, lines#25,
                   3324:        is2=\E[=40h\E[?3l, use=qvt203,
                   3325: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
                   3326:        cols#132, lines#25,
                   3327:        rs2=\E[?3h\E[=40h, use=qvt203,
                   3328:
                   3329: #### Televideo (tvi)
                   3330: #
                   3331: #      TeleVideo
                   3332: #      550 East Brokaw Road
                   3333: #      PO Box 49048    95161
                   3334: #      San Jose CA 95112
                   3335: #      Vox: (408)-954-8333
                   3336: #      Fax: (408)-954-0623
                   3337: #
                   3338: #
                   3339: # There are some tvi terminals that require incredible amounts of padding and
                   3340: # some that don't.  I'm assuming 912 and 920 are the old slow ones,
                   3341: # and 912b, 912c, 920b, 920c are the new ones that don't need padding.
                   3342: #
                   3343: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   3344: # Televideo terminals are ANSI and PC-ANSI compatible.
                   3345:
                   3346: tvi803|televideo 803,
                   3347:        clear=\E*$<10>, use=tvi950,
                   3348:
                   3349: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
                   3350: # Switch settings are:
                   3351: #
                   3352: # S1  1 2 3 4
                   3353: #     D D D D  9600
                   3354: #     D D D U    50
                   3355: #     D D U D    75
                   3356: #     D D U U   110
                   3357: #     D U D D   135
                   3358: #     D U D U   150
                   3359: #     D U U D   300
                   3360: #     D U U U   600
                   3361: #     U D D D  1200
                   3362: #     U D D U  1800
                   3363: #     U D U D  2400
                   3364: #     U D U U  3600
                   3365: #     U U D D  4800
                   3366: #     U U D U  7200
                   3367: #     U U U D  9600
                   3368: #     U U U U 19200
                   3369: #
                   3370: # S1  5 6 7 8
                   3371: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   3372: #     U D X U  7N2
                   3373: #     U U D D  7O1
                   3374: #     U U D U  7O2
                   3375: #     U U U D  7E1
                   3376: #     U U U U  7E2
                   3377: #     D D X D  8N1
                   3378: #     D D X U  8N2
                   3379: #     D U D D  8O1
                   3380: #     D U U U  8E2
                   3381: #
                   3382: # S1  9  Autowrap
                   3383: #     U  on
                   3384: #     D  off
                   3385: #
                   3386: # S1 10  CR/LF
                   3387: #     U  do CR/LF when CR received
                   3388: #     D  do CR when CR received
                   3389: #
                   3390: # S2  1  Mode
                   3391: #     U  block
                   3392: #     D  conversational
                   3393: #
                   3394: # S2  2  Duplex
                   3395: #     U  half
                   3396: #     D  full
                   3397: #
                   3398: # S2  3  Hertz
                   3399: #     U  50
                   3400: #     D  60
                   3401: #
                   3402: # S2  4  Edit mode
                   3403: #     U  local
                   3404: #     D  duplex
                   3405: #
                   3406: # S2  5  Cursor type
                   3407: #     U  underline
                   3408: #     D  block
                   3409: #
                   3410: # S2  6  Cursor down key
                   3411: #     U  send ^J
                   3412: #     D  send ^V
                   3413: #
                   3414: # S2  7  Screen colour
                   3415: #     U  green on black
                   3416: #     D  black on green
                   3417: #
                   3418: # S2  8  DSR status (pin 6)
                   3419: #     U  disconnected
                   3420: #     D  connected
                   3421: #
                   3422: # S2  9  DCD status (pin 8)
                   3423: #     U  disconnected
                   3424: #     D  duplex
                   3425: #
                   3426: # S2 10  DTR status (pin 20)
                   3427: #     U  disconnected
                   3428: #     D  duplex
                   3429: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
                   3430: # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
                   3431: tvi910|televideo model 910,
                   3432:        am, msgr,
                   3433:        cols#80, it#8, lines#24, xmc#1,
                   3434:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3435:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
                   3436:        home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I,
                   3437:        if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H,
                   3438:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
                   3439:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   3440:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   3441:        vpa=\E[%p1%{32}%+%c, use=adm+sgr,
                   3442: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   3443: # as subsequently hacked over by someone at SCO
                   3444: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   3445: #
                   3446: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   3447: #
                   3448: # S1  1 2 3 4:
                   3449: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   3450: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   3451: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   3452: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   3453: #
                   3454: # S1  5 6 7 8:
                   3455: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   3456: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   3457: #     D U D D  8O1     D U U U  8E2
                   3458: #
                   3459: # S1  9  Autowrap            (U = on, D = off)
                   3460: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   3461: # S2  1  Mode                (U = block, D = conversational)
                   3462: # S2  2  Duplex              (U =  half, D = full)
                   3463: # S2  3  Hertz               (U = 50, D = 60)
                   3464: # S2  4  Edit mode           (U = local, D = duplex)
                   3465: # S2  5  Cursor type         (U = underline, D = block)
                   3466: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   3467: # S2  7  Screen colour       (U = green on black, D = black on green)
                   3468: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   3469: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   3470: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   3471: #
                   3472: tvi910+|910+|televideo 910+,
                   3473:        dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>,
                   3474:        kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
                   3475:        kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
                   3476:        ll=\E=7 ,
                   3477:        use=tvi910,
                   3478:
                   3479: # (tvi912: removed obsolete ":ma=^K^P^L :" -- esr)
                   3480: tvi912|tvi914|tvi920|old televideo 912/914/920,
                   3481:        am,
                   3482:        cols#80, it#8, lines#24, xmc#1,
                   3483:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3484:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3485:        dl1=\ER$<33*>, ed=\Ey, el=\ET, home=^^, ht=^I, hts=\E1,
                   3486:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE$<33*>,
                   3487:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   3488:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   3489:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   3490:        rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, tbc=\E3,
                   3491: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   3492: # The 920 has this plus real function keys that xmit different things.
                   3493: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
                   3494: tvi912c|tvi912b|912c|912b|tvi|new televideo 912,
                   3495:        dl1=\ER$<5*>, il1=\EE$<5*>,
                   3496:        use=tvi912,
                   3497: # set to page 1 when entering curses application (\E-17 )
                   3498: # reset to page 0 when exiting curses application (\E-07 )
                   3499: tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages,
                   3500:        rmcup=\E-07 , smcup=\E-17 ,
                   3501:        use=tvi912,
                   3502: # We got some new tvi912c terminals that act really weird on the regular
                   3503: # termcap, so one of our gurus worked this up. Seems that cursor
                   3504: # addressing is broken.
                   3505: tvi912cc|tvi912 at cowell college,
                   3506:        cup@, use=tvi912c,
                   3507:
                   3508: # Here are the switch settings for the TVI 920c:
                   3509: #
                   3510: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   3511: # 2: 9600      3: 4800         4: 2400         5: 1200
                   3512: # 6:  600      7:  300         8:  150         9:   75
                   3513: # 10: 110
                   3514: #
                   3515: # S2 UART/Terminal options:
                   3516: #              Up                      Down
                   3517: # 1:           Not used                Not allowed
                   3518: # 2:   Alternate character set   Standard character set
                   3519: # 3:       Full duplex             Half duplex
                   3520: # 4:       50 Hz refresh           60 Hz refresh
                   3521: # 5:         No parity              Send parity
                   3522: # 6:        2 stop bits             1 stop bit
                   3523: # 7:        8 data bits             7 data bits
                   3524: # 8:           Not used                Not allowed on Rev E or lower
                   3525: # 9:        Even parity             Odd parity
                   3526: # 10:      Steady cursor           Blinking cursor
                   3527: #      (On Rev E or lower, use W25 instead of switch 10.)
                   3528: #
                   3529: # S5 UART/Terminal options:
                   3530: #              Open                    Closed
                   3531: # 1:   P3-6 Not connected      DSR received on P3-6
                   3532: # 2:   P3-8 Not connected      DCD received on P3-8
                   3533: #
                   3534: # 3 Open, 4 Open:              P3-20 Not connected
                   3535: # 3 Open, 4 Closed:    DTR on when terminal is on
                   3536: # 3 Closed, 4 Open:    DTR is connected to RTS
                   3537: # 3 Closed, 4 Closed:  Not allowed
                   3538: #
                   3539: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   3540: #              all data transmitted out of the modem port (P3) will also be
                   3541: #              transmitted out of the printer port (P4).
                   3542: #
                   3543: # 6 Open, 7 Open:              Not allowed
                   3544: # 6 Open, 7 Closed:    20ma current loop input
                   3545: # 6 Closed, 7 Open:    RS232 input
                   3546: # 6 Closed, 7 Closed:  Not allowed
                   3547: #
                   3548: # Jumper options:
                   3549: # If the jumper is installed, the effect will occur (the next time the terminal
                   3550: # is switched on).
                   3551: #
                   3552: # S4/W31:      Enables automatic LF upon receipt of CR from
                   3553: #              remote or keyboard.
                   3554: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   3555: #              installed, a carriage return is sent.
                   3556: # S4/W33:      Disables automatic carriage return in column 80.
                   3557: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   3558: #              installed, Extension Mode is selected.
                   3559: #
                   3560: tvi920b|tvi920c|new televideo 920,
                   3561:        dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r,
                   3562:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   3563:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   3564:        use=tvi912,
                   3565:
                   3566: # Televideo 921 and variants
                   3567: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
                   3568: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
                   3569: # also added empty <acsc> to suppress tic warning -- esr)
                   3570: tvi921|televideo model 921 with sysline same as page & real vi function,
                   3571:        am, hs, xenl, xhp,
                   3572:        cols#80, lines#24, xmc#0,
                   3573:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   3574:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
                   3575:        cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
                   3576:        el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
                   3577:        if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@,
                   3578:        is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H,
                   3579:        kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>,
                   3580:        ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%,
                   3581:        rmir=, smacs=\E$, smir=, tsl=\Ef\EG0,
                   3582:        use=adm+sgr,
                   3583: # without the beeper
                   3584: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
                   3585: # also added empty <acsc> to suppress tic warning -- esr)
                   3586: tvi92B|televideo model 921 with sysline same as page & real vi function,
                   3587:        am, hs, xenl, xhp,
                   3588:        cols#80, lines#24, xmc#0,
                   3589:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   3590:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
                   3591:        cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
                   3592:        el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I,
                   3593:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   3594:        invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
                   3595:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   3596:        kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
                   3597:        nel=^M^J, rmacs=\E%, rmir=, smacs=\E$, smir=, tsl=\Ef\EG0,
                   3598:        use=adm+sgr,
                   3599: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3600: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
                   3601:        dl1=\ER$<2*/>, il1=\EE$<2*/>,
                   3602:        is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
                   3603:        kil1=\EE$<2*/>,
                   3604:        use=tvi92B,
                   3605:
                   3606: # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
                   3607: # in from a BSD termcap file because it looks like they do something the
                   3608: # old ones skip -- esr)
                   3609: tvi924|televideo tvi924,
                   3610:        am, bw, hs, in, mir, msgr, xenl, xon,
                   3611:        cols#80, it#8, lines#24, wsl#80, xmc#0,
                   3612:        bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0,
                   3613:        cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c,
                   3614:        cub1=^H, cud1=^V, cuf1=^L,
                   3615:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1,
                   3616:        dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et,
                   3617:        flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1,
                   3618:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   3619:        invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0,
                   3620:        kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   3621:        kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r,
                   3622:        kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r,
                   3623:        kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
                   3624:        kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
                   3625:        kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4,
                   3626:        lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10,
                   3627:        pfkey=\E|%p1%'1'%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr,
                   3628:
                   3629: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   3630: #
                   3631: # Here are the settings for the external (baud) switches (S1):
                   3632: #
                   3633: #             Position         Baud
                   3634: # 7    8       9       10              [Printer]
                   3635: # 1    2       3       4               [Main RS232]
                   3636: # -----------------------------------------------------
                   3637: # D    D       D       D       9600
                   3638: # D    D       D       U         50
                   3639: # D    D       U       D         75
                   3640: # D    D       U       U        110
                   3641: # D    U       D       D        135
                   3642: # D    U       D       U        150
                   3643: # D    U       U       D        300
                   3644: # D    U       U       U        600
                   3645: # U    D       D       D       1200
                   3646: # U    D       D       U       1800
                   3647: # U    D       U       D       2400
                   3648: # U    D       U       U       3600
                   3649: # U    U       D       D       4800
                   3650: # U    U       D       U       7200
                   3651: # U    U       U       D       9600
                   3652: # U    U       U       U       19200
                   3653: #
                   3654: #
                   3655: # Settings for word length and stop-bits (S1)
                   3656: #
                   3657: #  Position    Description
                   3658: # 5    6
                   3659: # ---------------------------
                   3660: # U    -       7-bit word
                   3661: # D    -       8-bit word
                   3662: # -    U       2 stop bits
                   3663: # -    D       1 stop bit
                   3664: #
                   3665: #
                   3666: # S2 (external) settings
                   3667: #
                   3668: # Position     Up      Dn      Description
                   3669: # --------------------------------------------
                   3670: # 1            X               Local edit
                   3671: #                      X       Duplex edit (transmit editing keys)
                   3672: # --------------------------------------------
                   3673: # 2            X               912/920 emulation
                   3674: #                      X       925
                   3675: # --------------------------------------------
                   3676: # 3                    X
                   3677: # 4                    X       No parity
                   3678: # 5                    X
                   3679: # --------------------------------------------
                   3680: # 3                    X
                   3681: # 4                    X       Odd parity
                   3682: # 5            X
                   3683: # --------------------------------------------
                   3684: # 3                    X
                   3685: # 4            X               Even parity
                   3686: # 5            X
                   3687: # --------------------------------------------
                   3688: # 3            X
                   3689: # 4                    X       Mark parity
                   3690: # 5            X
                   3691: # --------------------------------------------
                   3692: # 3            X
                   3693: # 4            X               Space parity
                   3694: # 5            X
                   3695: # --------------------------------------------
                   3696: # 6            X               White on black display
                   3697: #                      X       Black on white display
                   3698: # --------------------------------------------
                   3699: # 7                    X       Half Duplex
                   3700: # 8                    X
                   3701: # --------------------------------------------
                   3702: # 7            X               Full Duplex
                   3703: # 8                    X
                   3704: # --------------------------------------------
                   3705: # 7                    X       Block mode
                   3706: # 8            X
                   3707: # --------------------------------------------
                   3708: # 9                    X       50 Hz
                   3709: #              X               60 Hz
                   3710: # --------------------------------------------
                   3711: # 10           X               CR/LF (Auto LF)
                   3712: #                      X       CR only
                   3713: #
                   3714: # S3 (internal switch) settings:
                   3715: #
                   3716: # Position     Up      Dn      Description
                   3717: # --------------------------------------------
                   3718: # 1            X               Keyclick off
                   3719: #                      X       Keyclick on
                   3720: # --------------------------------------------
                   3721: # 2                    X       English
                   3722: # 3                    X
                   3723: # --------------------------------------------
                   3724: # 2                    X       German
                   3725: # 3            X
                   3726: # --------------------------------------------
                   3727: # 2            X               French
                   3728: # 3                    X
                   3729: # --------------------------------------------
                   3730: # 2            X               Spanish
                   3731: # 3            X
                   3732: # --------------------------------------------
                   3733: # 4                    X       Blinking block cursor
                   3734: # 5                    X
                   3735: # --------------------------------------------
                   3736: # 4                    X       Blinking underline cursor
                   3737: # 5            X
                   3738: # --------------------------------------------
                   3739: # 4            X               Steady block cursor
                   3740: # 5                    X
                   3741: # --------------------------------------------
                   3742: # 4            X               Steady underline cursor
                   3743: # 5            X
                   3744: # --------------------------------------------
                   3745: # 6            X               Screen blanking timer (ON)
                   3746: #                      X       Screen blanking timer (OFF)
                   3747: # --------------------------------------------
                   3748: # 7            X               Page attributes
                   3749: #                      X       Line attributes
                   3750: # --------------------------------------------
                   3751: # 8            X               DCD disconnected
                   3752: #                      X       DCD connected
                   3753: # --------------------------------------------
                   3754: # 9            X               DSR disconnected
                   3755: #                      X       DSR connected
                   3756: # --------------------------------------------
                   3757: # 10           X               DTR Disconnected
                   3758: #                      X       DTR connected
                   3759: # --------------------------------------------
                   3760: #
                   3761: # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
                   3762: tvi925|925|televideo 925,
                   3763:        am, bw, hs, ul,
                   3764:        cols#80, lines#24, xmc#1,
                   3765:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V,
                   3766:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3767:        cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
                   3768:        flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1,
                   3769:        ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z,
                   3770:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   3771:        ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   3772:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   3773:        kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3,
                   3774:        tsl=\Eh\Ef,
                   3775:        use=adm+sgr,
                   3776:
                   3777: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   3778: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   3779: # for additional capabilities,
                   3780: # The following tvi descriptions from B:pjphar and virus!mike
                   3781: # is for all 950s.  It sets the following attributes:
                   3782: # full duplex (\EDF)           write protect off (\E()
                   3783: # conversation mode (\EC)      graphics mode off (\E%)
                   3784: # white on black (\Ed)         auto page flip off (\Ew)
                   3785: # turn off status line (\Eg)   clear status line (\Ef\r)
                   3786: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   3787: # edit mode (\Er)              load blank char to space (\Ee\040)
                   3788: # line edit mode (\EO)         enable buffer control (^O)
                   3789: # protect mode off (\E\047)    duplex edit keys (\El)
                   3790: # program unshifted send key to send line all (\E016)
                   3791: # program shifted send key to send line unprotected (\E004)
                   3792: # set the following to nulls:
                   3793: #      field delimiter (\Ex0\200\200)
                   3794: #      line delimiter (\Ex1\200\200)
                   3795: #      start-protected field delimiter (\Ex2\200\200)
                   3796: #      end-protected field delimiter (\Ex3\200\200)
                   3797: # set end of text delimiter to carriage return/null (\Ex4\r\200)
                   3798: #
                   3799: #                     TVI 950 Switch Setting Reference Charts
                   3800: #
                   3801: #                                     TABLE 1:
                   3802: #
                   3803: #      S1     1     2     3     4     5     6     7     8     9    10
                   3804: #          +-----------------------+-----+-----+-----------------------+
                   3805: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   3806: #          |                       |Bits |Bits |                       |
                   3807: #   +------+-----------------------+-----+-----+-----------------------+
                   3808: #   |  Up  |        See            |  7  |  2  |        See            |
                   3809: #   +------+-----------------------+-----+-----+-----------------------+
                   3810: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   3811: #   +------+-----------------------+-----+-----+-----------------------+
                   3812: #
                   3813: #
                   3814: #      S2     1     2     3     4     5     6     7     8     9    10
                   3815: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   3816: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   3817: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3818: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   3819: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3820: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   3821: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3822: #
                   3823: #                                    TABLE 2:
                   3824: #
                   3825: #             +-----------+-----+-----+-----+-----+-----------+
                   3826: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   3827: #             +-----------+-----+-----+-----+-----+           |
                   3828: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   3829: #             +-----------+-----+-----+-----+-----+-----------+
                   3830: #                         |  D  |  D  |  D  |  D  |   9600    |
                   3831: #                         |  U  |  D  |  D  |  D  |     50    |
                   3832: #                         |  D  |  U  |  D  |  D  |     75    |
                   3833: #                         |  U  |  U  |  D  |  D  |    110    |
                   3834: #                         |  D  |  D  |  U  |  D  |    135    |
                   3835: #                         |  U  |  D  |  U  |  D  |    150    |
                   3836: #                         |  D  |  U  |  U  |  D  |    300    |
                   3837: #                         |  U  |  U  |  U  |  D  |    600    |
                   3838: #                         |  D  |  D  |  D  |  U  |   1200    |
                   3839: #                         |  U  |  D  |  D  |  U  |   1800    |
                   3840: #                         |  D  |  U  |  D  |  U  |   2400    |
                   3841: #                         |  U  |  U  |  D  |  U  |   3600    |
                   3842: #                         |  D  |  D  |  U  |  U  |   4800    |
                   3843: #                         |  U  |  D  |  U  |  U  |   7200    |
                   3844: #                         |  D  |  U  |  U  |  U  |   9600    |
                   3845: #                         |  U  |  U  |  U  |  U  |  19200    |
                   3846: #                         +-----+-----+-----+-----+-----------+
                   3847: #
                   3848: #                                    TABLE 3:
                   3849: #                         +-----+-----+-----+-----------+
                   3850: #                         |  3  |  4  |  5  |   Parity  |
                   3851: #                         +-----+-----+-----+-----------+
                   3852: #                         |  X  |  X  |  D  |    None   |
                   3853: #                         |  D  |  D  |  U  |     Odd   |
                   3854: #                         |  D  |  U  |  U  |    Even   |
                   3855: #                         |  U  |  D  |  U  |    Mark   |
                   3856: #                         |  U  |  U  |  U  |   Space   |
                   3857: #                         +-----+-----+-----+-----------+
                   3858: #                                 X = don't care
                   3859: #
                   3860: #                                     CHART:
                   3861: #                         +-----+-----+-----------------+
                   3862: #                         |  7  |  8  | Communication   |
                   3863: #                         +-----+-----+-----------------+
                   3864: #                         |  D  |  D  |  Half Duplex    |
                   3865: #                         |  D  |  U  |  Full Duplex    |
                   3866: #                         |  U  |  D  |     Block       |
                   3867: #                         |  U  |  U  |     Local       |
                   3868: #                         +-----+-----+-----------------+
                   3869: #
                   3870: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
                   3871: # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
                   3872: # should be present and all tvi native modes use the same string for this.
                   3873: # Finally, note that BSD has cud1=^V. -- esr)
                   3874: tvi950|950|televideo 950,
                   3875:        am, hs, mir, msgr, xenl, xon,
                   3876:        cols#80, it#8, lines#24, xmc#1,
                   3877:        acsc=d\rc\014e\nb\011i\013, bel=^G, cbt=\EI, clear=\E*,
                   3878:        cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3879:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3880:        dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
                   3881:        fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
                   3882:        invis@,
                   3883:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\Ef\r,
                   3884:        kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
                   3885:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
                   3886:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   3887:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   3888:        kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X,
                   3889:        rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   3890:        use=adm+sgr,
                   3891: #
                   3892: # is for 950 with two pages adds the following:
                   3893: #      set 48 line page (\E\\2)
                   3894: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3895: #      set local (no send) edit keys (\Ek)
                   3896: #
                   3897: # two page 950 adds the following:
                   3898: #      when entering ex, set 24 line page (\E\\1)
                   3899: #      when exiting ex, reset 48 line page (\E\\2)
                   3900: #                       place cursor at 0,24,1 (\E-07 )
                   3901: #      set duplex (send) edit keys (\El) when entering vi
                   3902: #      set local (no send) edit keys (\Ek) when exiting vi
                   3903: #
                   3904: tvi950-2p|950-2p|televideo950 w/2 pages,
                   3905:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 \011,
                   3906:        rmcup=\E\\2\E-07 , rmkx=\Ek, smcup=\E\\1\E-07 , smkx=\El,
                   3907:        use=tvi950,
                   3908: #
                   3909: # is for 950 with four pages adds the following:
                   3910: #      set 96 line page (\E\\3)
                   3911: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3912: #
                   3913: # four page 950 adds the following:
                   3914: #      when entering ex, set 24 line page (\E\\1)
                   3915: #      when exiting ex, reset 96 line page (\E\\3)
                   3916: #                       place cursor at 0,24,1 (\E-07 )
                   3917: #
                   3918: tvi950-4p|950-4p|televideo950 w/4 pages,
                   3919:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 \011,
                   3920:        rmcup=\E\\3\E-07 , rmkx=\Ek, smcup=\E\\1\E-07 , smkx=\El,
                   3921:        use=tvi950,
                   3922: #
                   3923: # <is2> for reverse video 950 changes the following:
                   3924: #      set reverse video (\Ed)
                   3925: #
                   3926: # set vb accordingly (\Ed ...delay... \Eb)
                   3927: #
                   3928: tvi950-rv|950-rv|televideo950 rev video,
                   3929:        flash=\Ed$<200/>\Eb,
                   3930:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200, use=tvi950,
                   3931:
                   3932: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
                   3933: tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages,
                   3934:        flash=\Ed$<200/>\Eb,
                   3935:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 ,
                   3936:        rmcup=\E\\2\E-07 , rmkx=\Ek, smcup=\E\\1\E-07 , smkx=\El,
                   3937:        use=tvi950,
                   3938:
                   3939: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
                   3940: tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages,
                   3941:        flash=\Ed$<200/>\Eb,
                   3942:        is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 ,
                   3943:        rmcup=\E\\3\E-07 , rmkx=\Ek, smcup=\E\\1\E-07 , smkx=\El,
                   3944:        use=tvi950,
                   3945: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
                   3946: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   3947: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
                   3948: # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
                   3949: # the :ko: string had :cl: in it, which means that one of the original
                   3950: # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
                   3951: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   3952: # ko implies -- esr)
                   3953: # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
                   3954: # also work.
                   3955: tvi955|televideo 955,
                   3956:        mc5i, msgr@,
                   3957:        it#8, xmc@,
                   3958:        acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2,
                   3959:        civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
                   3960:        cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
                   3961:        is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
                   3962:        knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%,
                   3963:        rmam=\E[=7l, rmxon=^N,
                   3964:        rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r,
                   3965:        sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
                   3966:        use=tvi950,
                   3967: tvi955-w|955-w|televideo955 w/132 cols,
                   3968:        cols#132,
                   3969:        is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
                   3970: # use half-intensity as normal mode, full intensity as <bold>
                   3971: tvi955-hb|955-hb|televideo955 half-bright,
                   3972:        bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El,
                   3973:        sgr0=\EG0\E[=5h,
                   3974:        use=tvi955,
                   3975: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
                   3976: # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
                   3977: # also added empty <acsc> to suppress tic warning -- esr)
                   3978: tvi970|televideo 970,
                   3979:        da, db, mir, msgr,
                   3980:        cols#80, it#8, lines#24,
                   3981:        acsc=, cbt=\E[Z, clear=\E[H\E[2J, cub1=^H, cud1=\ED,
                   3982:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, cuu1=\EM, cvvis=\E[1Q,
                   3983:        dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, ed=\E[0J, el=\E[0K,
                   3984:        flash=\E[5;m$<200/>\E[0;m, ht=^I, il1=\E[L,
                   3985:        is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J,
                   3986:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   3987:        kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f,
                   3988:        kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B,
                   3989:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smacs=\E(B,
                   3990:        smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   3991: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   3992: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
                   3993: # padding is needed, but adapted from the tvi920c termcap.  The <smso> and
                   3994: # <smul> strings are klutzy, but at least use no screen space.
                   3995: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>. -- esr)
                   3996: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
                   3997: tvipt|televideo personal terminal,
                   3998:        am,
                   3999:        cols#80, lines#24,
                   4000:        cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
                   4001:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>,
                   4002:        el=\ET, home=^^, if=/usr/share/tabset/stdcrt,
                   4003:        il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
                   4004:        kcuf1=^L, kcuu1=^K, rmso=\EF, rmul=\EF, smam=\Ev,
                   4005:        smso=\EG1@A\EH, smul=\EG1B@\EH,
                   4006:
                   4007: #### Visual (vi)
                   4008: #
                   4009: # In September 1993, Visual Technology of Westboro, Massachusetts,
                   4010: # merged with White Pine Software of Nashua, New Hampshire.
                   4011: #
                   4012: # White Pine Software may be contacted at +1 603/886-9050.
                   4013: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
                   4014: #
                   4015:
                   4016: # vi50 is from University of Wisconsin
                   4017: # This is a provisional vi50 termcap entry.  It was copied from vi500
                   4018: # entry.  Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
                   4019: # disguise; <kf7>-<kf9> are really l1-l3.  No highlighting enabled at present.
                   4020: vi50|visual 50,
                   4021:        am, msgr,
                   4022:        cols#80, it#8, lines#24,
                   4023:        cbt=\Ez$<4/>, clear=\Ev, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   4024:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   4025:        dl1=\EM$<3*/>, ed=\Ek, el=\EK$<16/>, home=\EH, ht=^I,
                   4026:        il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   4027:        kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE,
                   4028:        kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, nel=^M^J,
                   4029: # this one was BSD & SCO's vi50
                   4030: vi50adm|visual 50 in adm3a mode,
                   4031:        am, msgr,
                   4032:        cols#80, it#8, lines#24,
                   4033:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4034:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
                   4035:        ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
                   4036:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
                   4037:        rmso=\ET, smso=\EU,
                   4038: # From: Jeff Siegal <jbs@athena.mit.edu>
                   4039: vi55|Visual 55,
                   4040:        am, mir, msgr,
                   4041:        cols#80, it#8, lines#24,
                   4042:        clear=\Ev, csr=\E_%p1%'A'%+%c%p2%'A'%+%c, cub1=^H,
                   4043:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   4044:        cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   4045:        il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED,
                   4046:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET,
                   4047:        smir=\Ea, smso=\EU,
                   4048:
                   4049: # The Visual 200 beeps when you type a character in insert mode.
                   4050: # This is a horribly obnoxious misfeature, and some of the entries
                   4051: # below try to get around the problem by ignoring the feature or
                   4052: # turning it off when inputting a character.  They are said not to
                   4053: # work well at 300 baud.  (You could always cut the wire to the bell!)
                   4054: # (vi200: this used to use ich1=\Ei\s\010\Ej but it's more effective to
                   4055: # use <smir>/<rmir> directly -- esr)
                   4056: # From: <mike@brl-vgr> Mon Nov 14 08:34:29 1983
                   4057: vi200|vis200|visual 200 with function keys,
                   4058:        am,
                   4059:        cols#80, it#8, lines#24,
                   4060:        bel=^G, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, cud1=^J,
                   4061:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   4062:        cvvis=\Ed, dch1=\EO$<4*>, dl1=\EM$<4*>, ed=\Ey,
                   4063:        el=\Ex$<4*>, home=\EH, ht=^I, il1=\EL, ind=^J,
                   4064:        is2=\E3\Eb\Ej\E\\\El\EG\Ec\Ek, kcub1=\ED, kcud1=\EB,
                   4065:        kcuf1=\EC, kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E ,
                   4066:        kf4=\E!, kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&,
                   4067:        khome=\EH, ri=\EI, rmir=\Ej, rmso=\E3, smir=\Ei, smso=\E4,
                   4068: # The older Visuals didn't come with function keys. This entry uses
                   4069: # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
                   4070: # If your version of vi doesn't support function keys you may want
                   4071: # to use vi200-f.
                   4072: vi200-f|visual|visual 200 no function keys,
                   4073:        is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
                   4074:        kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w,
                   4075:        kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@,
                   4076:        use=vi200,
                   4077: vi200-rv|visual 200 reverse video,
                   4078:        cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
                   4079:
                   4080: # the function keys are programmable but we don't reprogram them to their
                   4081: # default values with <is2> because programming them is very verbose. maybe
                   4082: # an initialization file should be made for the 300 and they could be stuck
                   4083: # in it.
                   4084: # (vi300: added <rmam>/<smam> based on init string -- esr)
                   4085: vi300|visual 300 ansi x3.64,
                   4086:        am, bw, mir, xenl,
                   4087:        cols#80, lines#24,
                   4088:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   4089:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   4090:        dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   4091:        il1=\E[L, ind=^J,
                   4092:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
                   4093:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   4094:        kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\,
                   4095:        kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\,
                   4096:        kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l,
                   4097:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   4098:        smso=\E[1m, smul=\E[4m,
                   4099: # some of the vi300s have older firmware that has the command
                   4100: # sequence for setting editing extent reversed.
                   4101: vi300-old|visual 300 with old firmware (set edit extent reversed),
                   4102:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
                   4103:        use=vi300,
                   4104:
                   4105: # Visual 500 prototype entry from University of Wisconsin.
                   4106: # The best place to look for the escape sequences is page A1-1 of the
                   4107: # Visual 500 manual.  The initialization sequence given here may be
                   4108: # overkill, but it does leave out some of the initializations which can
                   4109: # be done with the menus in set-up mode.
                   4110: # The :xp: line below is so that emacs can understand the padding requirements
                   4111: # of this slow terminal.  :xp: is 10 time the padding factor.
                   4112: # (vi500: removed unknown :xp#4: termcap;
                   4113: # also added empty <acsc> to suppress tic warning -- esr)
                   4114: vi500|visual 500,
                   4115:        am, mir, msgr,
                   4116:        cols#80, it#8, lines#33,
                   4117:        acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
                   4118:        csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
                   4119:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   4120:        dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>,
                   4121:        el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>,
                   4122:        ind=^J,
                   4123:        is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
                   4124:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   4125:        khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
                   4126:        rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D,
                   4127:
                   4128: # The visual 550 is a visual 300 with tektronix graphics,
                   4129: # and with 33 lines. clear screen is modified here to
                   4130: # also clear the graphics.
                   4131: vi550|visual 550 ansi x3.64,
                   4132:        lines#33,
                   4133:        clear=\030\E[H\E[2J, use=vi300,
                   4134:
                   4135: vi603|visual603|visual 603,
                   4136:        hs, mir,
                   4137:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   4138:        csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C,
                   4139:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   4140:        dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L,
                   4141:        ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
                   4142:        rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   4143:        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~,
                   4144:        use=vt100,
                   4145:
                   4146: #### Wyse (wy)
                   4147: #
                   4148: #      Wyse Technology
                   4149: #      3471 North First Street
                   4150: #      San Jose, CA 95134
                   4151: #      Vox: (408)-473-1200
                   4152: #      Fax: (408) 473-1222
                   4153: #      Web: http://www.wyse.com
                   4154: #
                   4155: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
                   4156: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
                   4157: # obvious address, http://www.wyse.com.
                   4158: #
                   4159: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
                   4160: # They now own the Qume and Amdek brands, too.  So these are the people to
                   4161: # talk with about all Link, Qume, and Amdek terminals.
                   4162: #
                   4163: # Wyse has a BBS containing termcap and terminfo stuff for their terminals
                   4164: # (though this may not last long -- I expect the Web will kill it off by
                   4165: # mid-1997 or so).  According to their tech support, at 800-800-9973, it's
                   4166: # at 408-922-4400 thru 4405.  The 4400 modem is flaky as of 5/96, so
                   4167: # call 4401 etc.  Come in at 9600 hard; don't use autospeed sense.
                   4168: #
                   4169: # All the following entries until (but not including) wy520 are direct from
                   4170: # Wyse technical support and represent their best knowledge as of January 1995.
                   4171: # I canceled the bel capacities in the vb entries.
                   4172: # I made two trivial syntax fixes in the wyse30 entry.
                   4173: # I made some entries relative to adm+sgr.
                   4174: #
                   4175: #
                   4176: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   4177:
                   4178: #         Although the Wyse 30 can support more than one attribute
                   4179: #      it requires magic cookies to do so.  Many applications do not
                   4180: #      function well with magic cookies.  The following terminfo uses
                   4181: #      the protect mode to support one attribute (dim) without cookies.
                   4182: #      If more than one attribute is needed then the wy30-mc terminfo
                   4183: #      should be used.
                   4184: #
                   4185: wy30|wyse30|Wyse 30,
                   4186:        am, bw, hs, mc5i, mir, msgr, xon,
                   4187:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   4188:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   4189:        civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
                   4190:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4191:        cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
                   4192:        dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
                   4193:        fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
                   4194:        ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
                   4195:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4196:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
                   4197:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4198:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
                   4199:        kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
                   4200:        mc5=^X, nel=^M^J, pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4201:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
                   4202:        rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   4203:        sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4204:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   4205:        smso=\E`7\E), tbc=\E0, tsl=\EF,
                   4206: #
                   4207: #      This terminal description uses the non-hidden attribute mode
                   4208: #      (with magic cookie).
                   4209: #
                   4210: # (wy30-mc: added <smcup> to suppress tic warning --esr)
                   4211: wy30-mc|wyse30-mc|wyse 30 with magic cookies,
                   4212:        msgr@,
                   4213:        ma@, xmc#1,
                   4214:        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
                   4215:        rmcup=\EG0,
                   4216:        sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4217:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
                   4218:        use=wy30, use=adm+sgr,
                   4219: #      The mandatory pause used by <flash> does not work with
                   4220: #      older versions of terminfo.  If you see this effect then
                   4221: #      unset xon and delete the / from the delay.
                   4222: #      i.e. change $<100/> to $<100>
                   4223: wy30-vb|wyse30-vb|wyse 30 visible bell,
                   4224:        bel@, use=wy30,
                   4225: #
                   4226: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   4227: #      Normal) without magic cookies by using the protect mode.
                   4228: #      The following description uses this feature, but when more
                   4229: #      than one attribute is put on the screen at once, all attributes
                   4230: #      will be changed to be the same as the last attribute given.
                   4231: #         The Wyse 50 can support more attributes when used with magic
                   4232: #      cookies.  The wy50-mc terminal description uses magic cookies
                   4233: #      to correctly handle multiple attributes on a screen.
                   4234: #
                   4235: wy50|wyse50|Wyse 50,
                   4236:        am, bw, hs, mc5i, mir, msgr, xon,
                   4237:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   4238:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   4239:        civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
                   4240:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4241:        cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
                   4242:        ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   4243:        home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
                   4244:        is1=\E`\072\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{,
                   4245:        kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   4246:        kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r,
                   4247:        kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r,
                   4248:        kf15=^AN\r, kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   4249:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   4250:        khome=^^, kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP,
                   4251:        krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
                   4252:        pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4253:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
                   4254:        ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   4255:        sgr=%?%p1%p3%|%t\E`6\E)\n%e%p5%p8%|%t\E`7\E)%e\E(%;\n%?%p9%t\EH\002%e\EH\003%;,
                   4256:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   4257:        smso=\E`6\E), tbc=\E0, tsl=\EF,
                   4258: #
                   4259: #      This terminal description uses the non-hidden attribute mode
                   4260: #      (with magic cookie).
                   4261: #
                   4262: #      The mandatory pause used by flash does not work with some
                   4263: #      older versions of terminfo.  If you see this effect then
                   4264: #      unset <xon> and delete the / from the delay.
                   4265: #      i.e. change $<100/> to $<100>
                   4266: # (wy50-mc: added <smcup> to suppress tic warning --esr)
                   4267: wy50-mc|wyse50-mc|wyse 50 with magic cookies,
                   4268:        msgr@,
                   4269:        ma@, xmc#1,
                   4270:        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
                   4271:        rmcup=\EG0,
                   4272:        sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4273:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
                   4274:        smso=\EGt, use=wy50,
                   4275:        use=adm+sgr,
                   4276: wy50-vb|wyse50-vb|wyse 50 visible bell,
                   4277:        bel@, use=wy50,
                   4278: wy50-w|wyse50-w|wyse 50 132-column,
                   4279:        cols#132, lw#7, nlab#16, wsl#97,
                   4280:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50,
                   4281: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
                   4282:        bel@,
                   4283:        use=wy50-w,
                   4284: #
                   4285: #      The Wyse 350 is a Wyse 50 with color.
                   4286: #      Unfortunately this means that it has magic cookies.
                   4287: #      The color attributes are designed to overlap the reverse, dim and
                   4288: #      underline attributes.  This is nice for monochrome applications
                   4289: #      because you can make underline stuff green (or any other color)
                   4290: #      but for true color applications it's not so hot because you cannot
                   4291: #      mix color with reverse, dim or underline.
                   4292: #          To further complicate things one of the attributes must be
                   4293: #      black (either the foreground or the background).  In reverse video
                   4294: #      the background changes color with black letters.  In normal video
                   4295: #      the foreground changes colors on a black background.
                   4296: #          This terminfo uses some of the more advanced features of curses
                   4297: #      to display both color and blink.  In the final analysis I am not
                   4298: #      sure that the wy350 runs better with this terminfo than it does
                   4299: #      with the wy50 terminfo (with user adjusted colors).
                   4300: #
                   4301: #      The mandatory pause used by flash does not work with
                   4302: #      older versions of terminfo.  If you see this effect then
                   4303: #      unset xon and delete the / from the delay.
                   4304: #      i.e. change $<100/> to $<100>
                   4305: #
                   4306: # Bug: The <op> capability resets attributes.
                   4307: wy350|wyse350|Wyse 350,
                   4308:        am, bw, hs, mc5i, mir, xon,
                   4309:        colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
                   4310:        wsl#45, xmc#1,
                   4311:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   4312:        cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   4313:        cub1=^H, cud1=^J, cuf1=^L,
                   4314:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
                   4315:        dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
                   4316:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   4317:        il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\072\E`9$<30>,
                   4318:        is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
                   4319:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   4320:        ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   4321:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   4322:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4323:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4324:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   4325:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
                   4326:        pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4327:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
                   4328:        rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
                   4329:        setf=%?%p1%{0}%=%t%{76}\n%e%p1%{1}%=%t%{64}\n%e%p1%{2}%=%t%{8}\n%e%p1%{3}%=%t%{72}\n%e%p1%{4}%=%t%{4}\n%e%p1%{5}%=%t%{68}\n%e%p1%{6}%=%t%{12}\n%e%p1%{7}%=%t%{0}\n%;%PC\n\EG%gC%gA%+%'0'%+%c,
                   4330:        sgr=%{0}%?%p4%t%{2}%|%;\n%?%p7%t%{1}%|%;%PA\n\EG%?%gC%t%gC%e\n%{0}%?%p1%t%{4}%|%;\n%?%p2%t%{8}%|%;\n%?%p3%t%{4}%|%;\n%?%p5%t%{64}%|%;\n%;%gA%+%'0'%+%c\n%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4331:        sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
                   4332:        smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF,
                   4333:        use=adm+sgr,
                   4334: wy350-vb|wyse350-vb|wyse 350 visible bell,
                   4335:        bel@, use=wy350,
                   4336: wy350-w|wyse350-w|wyse 350 132-column,
                   4337:        cols#132, lw#7, nlab#16, wsl#97,
                   4338:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350,
                   4339: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
                   4340:        bel@,
                   4341:        use=wy350-w,
                   4342: #
                   4343: #      This terminfo description is untested.
                   4344: #
                   4345: wy100|wyse 100,
                   4346:        hs, mir,
                   4347:        cols#80, lines#24, xmc#1,
                   4348:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4349:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4350:        dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
                   4351:        invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4352:        kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   4353:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
                   4354:        rmir=\Er, smir=\Eq, tsl=\EF,
                   4355:        use=adm+sgr,
                   4356: #
                   4357: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   4358: #      This terminal does not need padding up to 9600 baud!
                   4359: #      <msgr> should be set but the clear screen fails when in
                   4360: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   4361: #      then set <msgr>.
                   4362: #
                   4363: wy120|wyse120|wy150|wyse150|Wyse 120/150,
                   4364:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   4365:        cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
                   4366:        acsc=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   4367:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   4368:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4369:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   4370:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   4371:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
                   4372:        hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   4373:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4374:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4375:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4376:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4377:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4378:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4379:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4380:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   4381:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
                   4382:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4383:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4384:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
                   4385:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
                   4386:        rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\072$<70>,
                   4387:        rs3=\EwG\Ee($<100>,
                   4388:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   4389:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4390:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt,
                   4391:        smxon=\Ec21\ntbc=\E0, tsl=\EF, use=adm+sgr,
                   4392: #
                   4393: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
                   4394:        cols#132, lw#7, nlab#16, wsl#97,
                   4395:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   4396:        rs2=\E`;$<70>, use=wy120,
                   4397: #
                   4398: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
                   4399:        lh@, lines#25, lw@, nlab@,
                   4400:        pln@, rs3=\EwG\Ee)$<100>, use=wy120,
                   4401: #
                   4402: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
                   4403:        lh@, lines#25, lw@, nlab@,
                   4404:        pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
                   4405: #
                   4406: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
                   4407:        bel@,
                   4408:        use=wy120,
                   4409: #
                   4410: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
                   4411:        bel@,
                   4412:        use=wy120-w,
                   4413: #
                   4414: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   4415: #      The reset strings are slow and the pad times very depending
                   4416: #      on other parameters such as font loading.  I have tried
                   4417: #      to follow the following outline:
                   4418: #
                   4419: #              <rs1> -> set personality
                   4420: #              <rs2> -> set number of columns
                   4421: #              <rs3> -> set number of lines
                   4422: #              <is1> -> select the proper font
                   4423: #              <is2> -> do the initialization
                   4424: #              <is3> -> set up display memory (2 pages)
                   4425: #
                   4426: #      The Wyse 60's that have vt100 emulation are slower than the
                   4427: #      older Wyse 60's.  This change happened mid-1987.
                   4428: #      The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
                   4429: #
                   4430: #      The meta key is only half right.  This terminal will return the
                   4431: #      high order bit set when you hit CTRL-function_key
                   4432: #
                   4433: #      It may be useful to assign two function keys with the
                   4434: #      values  \E=(\s  look at old data in page 1
                   4435: #              \E=W,   look at bottom of page 1
                   4436: #      where \s is a space ( ).
                   4437: #
                   4438: #      Note:
                   4439: #         The Wyse 60 runs faster when the XON/XOFF
                   4440: #         handshake is turned off.
                   4441: #
                   4442: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4443: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4444: wy60|wyse60|Wyse 60,
                   4445:        am, bw, hs, km, mc5i, mir, msgr,
                   4446:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
                   4447:        acsc=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   4448:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
                   4449:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4450:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4451:        dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
                   4452:        ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   4453:        home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
                   4454:        ip=$<3>, is1=\EcB0\EcC1,
                   4455:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4456:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4457:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4458:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4459:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4460:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4461:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4462:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   4463:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
                   4464:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4465:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4466:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
                   4467:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
                   4468:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
                   4469:        rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
                   4470:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   4471:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4472:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   4473:        tbc=\E0, tsl=\EF,
                   4474:        use=adm+sgr,
                   4475: #
                   4476: wy60-w|wyse60-w|wyse 60 132-column,
                   4477:        cols#132, lw#7, nlab#16, wsl#97,
                   4478:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
                   4479:        rs2=\EeF$<150>\E`;$<150>, use=wy60,
                   4480: #
                   4481: wy60-25|wyse60-25|wyse 60 80-column 25-lines,
                   4482:        lh@, lines#25, lw@, nlab@,
                   4483:        pln@, rs3=\EwG\Ee)$<200>, use=wy60,
                   4484: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
                   4485:        lh@, lines#25, lw@, nlab@,
                   4486:        pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
                   4487: #
                   4488: wy60-42|wyse60-42|wyse 60 80-column 42-lines,
                   4489:        lines#42,
                   4490:        clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
                   4491:        dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
                   4492:        ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
                   4493:        ri=\Ej$<10>, rs3=\Ee*$<150>,
                   4494:        use=wy60,
                   4495: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
                   4496:        cols#132, lw#7, nlab#16, wsl#97,
                   4497:        clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   4498:        dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
                   4499:        nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>,
                   4500:        use=wy60-42,
                   4501: #
                   4502: wy60-43|wyse60-43|wyse 60 80-column 43-lines,
                   4503:        lh@, lines#43, lw@, nlab@,
                   4504:        pln@, rs3=\Ee+$<150>, use=wy60-42,
                   4505: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
                   4506:        lh@, lines#43, lw@, nlab@,
                   4507:        pln@, rs3=\Ee+$<150>, use=wy60-42-w,
                   4508: #
                   4509: wy60-vb|wyse60-vb|Wyse 60 visible bell,
                   4510:        bel@, use=wy60,
                   4511: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
                   4512:        bel@,
                   4513:        use=wy60-w,
                   4514:
                   4515: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   4516: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   4517: #      setup parameter controls the number of lines on the screen.
                   4518: #      For the Wyse 99GT the "lines" setup parameter controls the
                   4519: #      number of lines in a page.  The screen can display 25 lines max.
                   4520: #          The Wyse-99GT also has personalities for the VT220 and
                   4521: #      Tektronix 4014.  But this has no bearing on the native mode.
                   4522: #
                   4523: #      (msgr) should be set but the clear screen fails when in
                   4524: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   4525: #      then set msgr, else use msgr@.
                   4526: #
                   4527: #      u0 -> enter Tektronix mode
                   4528: #      u1 -> exit Tektronix mode
                   4529: #
                   4530: wy99gt|wyse99gt|Wyse 99gt,
                   4531:        msgr@,
                   4532:        clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
                   4533:        el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
                   4534:        il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
                   4535:        ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\072$<150>, smcup=\Ew1,
                   4536:        u0=\E~>\E8, u1=\E[42h,
                   4537:        use=wy60,
                   4538: #
                   4539: wy99gt-w|wyse99gt-w|wyse 99gt 132-column,
                   4540:        cols#132, lw#7, nlab#16, wsl#97,
                   4541:        clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   4542:        dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt,
                   4543: #
                   4544: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
                   4545:        lh@, lines#25, lw@, nlab@,
                   4546:        pln@, rs2=\E`\072$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
                   4547: #
                   4548: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
                   4549:        lh@, lines#25, lw@, nlab@,
                   4550:        pln@, rs2=\E`;$<150>, use=wy99gt-w,
                   4551: #
                   4552: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
                   4553:        bel@, use=wy99gt,
                   4554: #
                   4555: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
                   4556:        bel@,
                   4557:        use=wy99gt-w,
                   4558: #
                   4559: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   4560: #      The reset strings are slow and the pad times very depending
                   4561: #      on other parameters such as font loading.  I have tried
                   4562: #      to follow the following outline:
                   4563: #
                   4564: #              <rs1> -> set personality
                   4565: #              <rs2> -> set number of columns
                   4566: #              <rs3> -> set number of lines
                   4567: #              <is1> -> select the proper font
                   4568: #              <is2> -> do the initialization
                   4569: #              <is3> -> set up display memory (2 pages)
                   4570: #
                   4571: #      The display memory may be used for either text or graphics.
                   4572: #      When "Display Memory = Shared" the terminal will have more pages
                   4573: #      but garbage may be left on the screen when you switch from
                   4574: #      graphics to text.  If "Display Memory = Unshared" then the
                   4575: #      text area will be only one page long.
                   4576: #
                   4577: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4578: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4579: wy160|wyse160|Wyse 160,
                   4580:        am, bw, hs, km, mc5i, mir, msgr,
                   4581:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
                   4582:        acsc=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   4583:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
                   4584:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4585:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
                   4586:        dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
                   4587:        el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
                   4588:        hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
                   4589:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4590:        is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4591:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4592:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4593:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4594:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4595:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4596:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   4597:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
                   4598:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4599:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4600:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
                   4601:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
                   4602:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
                   4603:        rs2=\E`\072$<100>, rs3=\EwG\Ee($<140>,
                   4604:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   4605:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4606:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   4607:        tbc=\E0, tsl=\EF,
                   4608:        use=adm+sgr,
                   4609: #
                   4610: wy160-w|wyse160-w|wyse 160 132-column,
                   4611:        cols#132, lw#7, nlab#16, wsl#90,
                   4612:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
                   4613:        rs2=\EeF$<150>\E`;$<150>, use=wy160,
                   4614: #
                   4615: wy160-25|wyse160-25|wyse 160 80-column 25-lines,
                   4616:        lh@, lines#25, lw@, nlab@,
                   4617:        pln@, rs3=\EwG\Ee)$<200>, use=wy160,
                   4618: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
                   4619:        lh@, lines#25, lw@, nlab@,
                   4620:        pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
                   4621: #
                   4622: wy160-42|wyse160-42|wyse 160 80-column 42-lines,
                   4623:        lines#42,
                   4624:        clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
                   4625:        ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
                   4626:        rs3=\Ee*$<150>,
                   4627:        use=wy160,
                   4628: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
                   4629:        cols#132, lw#7, nlab#16, wsl#90,
                   4630:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
                   4631:        rs2=\EeF$<150>\E`;$<150>,
                   4632:        use=wy160-42,
                   4633: #
                   4634: wy160-43|wyse160-43|wyse 160 80-column 43-lines,
                   4635:        lh@, lines#43, lw@, nlab@,
                   4636:        pln@, rs3=\Ee+$<150>, use=wy160-42,
                   4637: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
                   4638:        lh@, lines#43, lw@, nlab@,
                   4639:        pln@, rs3=\Ee+$<150>, use=wy160-42-w,
                   4640: #
                   4641: wy160-vb|wyse160-vb|Wyse 160 visible bell,
                   4642:        bel@, use=wy160,
                   4643: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
                   4644:        bel@,
                   4645:        use=wy160-w,
                   4646: #
                   4647: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   4648: #
                   4649: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   4650: #      Underline) without magic cookies.  The following description
                   4651: #      uses this capability, but when more than one attribute is
                   4652: #      put on the screen at once, all attributes will be changed
                   4653: #      to be the same as the last attribute given.
                   4654: #         The Wyse 75 can support more attributes when used with magic
                   4655: #      cookies.  The wy75-mc terminal description uses magic cookies
                   4656: #      to correctly handle multiple attributes on a screen.
                   4657: #
                   4658: wy75|wyse75|wyse 75,
                   4659:        am, hs, mc5i, mir, msgr, xenl, xon,
                   4660:        cols#80, lines#24, ma#1, pb#1201, wsl#78,
                   4661:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   4662:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
                   4663:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
                   4664:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   4665:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   4666:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
                   4667:        dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
                   4668:        dl1=\E[M, dsl=\E[>\\\054\001\001\E[>-\001\001,
                   4669:        ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
                   4670:        enacs=\E)0, flash=\E[30h\E\\\054\E[30l$<250>, fsl=^A,
                   4671:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   4672:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   4673:        ind=\n$<2>, ip=$<1>,
                   4674:        is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
                   4675:        is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy,
                   4676:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   4677:        kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM,
                   4678:        kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   4679:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   4680:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
                   4681:        kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
                   4682:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   4683:        khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
                   4684:        kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
                   4685:        mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
                   4686:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
                   4687:        rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
                   4688:        sc=\E7,
                   4689:        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%;,
                   4690:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   4691:        smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
                   4692:        tbc=\E[3g, tsl=\E[>\\\054\001,
                   4693: #
                   4694: #      This terminal description uses the non-hidden attribute mode
                   4695: #      (with magic cookie).
                   4696: #
                   4697: wy75-mc|wyse75-mc|wyse 75 with magic cookies,
                   4698:        msgr@,
                   4699:        ma@, xmc#1,
                   4700:        blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
                   4701:        rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
                   4702:        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%;,
                   4703:        sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
                   4704:        use=wy75,
                   4705: wy75-vb|wyse75-vb|wyse 75 with visible bell,
                   4706:        pb@,
                   4707:        bel@, use=wy75,
                   4708: wy75-w|wyse75-w|wyse 75 in 132 column mode,
                   4709:        cols#132, wsl#130,
                   4710:        rs2=\E[35h\E[?3h$<80>, use=wy75,
                   4711: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
                   4712:        pb@,
                   4713:        bel@, use=wy75-w,
                   4714: #
                   4715: #      Wyse 85 emulating a vt220 7 bit mode.
                   4716: #              24 line screen with status line.
                   4717: #
                   4718: #      The vt220 mode permits more function keys but it wipes out
                   4719: #      the escape key.  I strongly recommend that <f11> be set to
                   4720: #      escape (esc).
                   4721: #      The terminal may have to be set for 8 data bits and 2 stop
                   4722: #      bits for the arrow keys to work.
                   4723: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
                   4724: #      <dch> and <ich> work best when XON/XOFF is set.  <ich> and
                   4725: #      <dch> leave trash on the screen when used without XON/XOFF.
                   4726: #
                   4727: wy85|wyse85|wyse 85,
                   4728:        am, hs, mc5i, mir, msgr, xenl, xon,
                   4729:        cols#80, it#8, lines#24, wsl#80,
                   4730:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   4731:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   4732:        clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
                   4733:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   4734:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   4735:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   4736:        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
                   4737:        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
                   4738:        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
                   4739:        enacs=\E)0, flash=\E[30h\E\\\054\E[30l$<300>,
                   4740:        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
                   4741:        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
                   4742:        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
                   4743:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
                   4744:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   4745:        kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   4746:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP,
                   4747:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   4748:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   4749:        kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
                   4750:        kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   4751:        kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
                   4752:        knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
                   4753:        lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   4754:        ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   4755:        rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p,
                   4756:        rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7,
                   4757:        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%;,
                   4758:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   4759:        smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   4760:        tsl=\E[40h\E7\E[25;%i%p1%dH,
                   4761: #
                   4762: #      Wyse 85 with visual bell.
                   4763: wy85-vb|wyse85-vb|wyse 85 with visible bell,
                   4764:        bel@, flash=\E[30h\E\\\054\E[30l$<300>, use=wy85,
                   4765: #
                   4766: #      Wyse 85 in 132-column mode.
                   4767: wy85-w|wyse85-w|wyse 85 in 132-column mode,
                   4768:        cols#132, wsl#132,
                   4769:        rs2=\E[35h\E[?3h$<70>, use=wy85,
                   4770: #
                   4771: #      Wyse 85 in 132-column mode with visual bell.
                   4772: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
                   4773:        bel@,
                   4774:        use=wy85-w,
                   4775: #
                   4776: #      Wyse 185 emulating a vt320 7 bit mode.
                   4777: #
                   4778: #      This terminal always displays 25 lines.  These lines may be used
                   4779: #      as 24 data lines and a terminal status line (top or bottom) or
                   4780: #      25 data lines.  The 48 and 50 line modes change the page size
                   4781: #      and not the number of lines on the screen.
                   4782: #
                   4783: #      The Compose Character key can be used as a meta key if changed
                   4784: #      by set-up.
                   4785: #
                   4786: wy185|wyse185|wyse 185,
                   4787:        am, hs, km, mc5i, mir, msgr, xenl, xon,
                   4788:        cols#80, it#8, lines#24, wsl#80,
                   4789:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   4790:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   4791:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   4792:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   4793:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   4794:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   4795:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
                   4796:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   4797:        dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
                   4798:        el=\E[K, el1=\E[1K, enacs=\E)0,
                   4799:        flash=\E[30h\E\\\054\E[30l$<100>, fsl=\E[1;24r\E8,
                   4800:        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
                   4801:        ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
                   4802:        ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   4803:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
                   4804:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   4805:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   4806:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM,
                   4807:        kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   4808:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   4809:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   4810:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   4811:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   4812:        khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   4813:        kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
                   4814:        mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>,
                   4815:        rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>,
                   4816:        rmso=\E[27m, rmul=\E[24m,
                   4817:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   4818:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   4819:        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%;,
                   4820:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   4821:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   4822:        tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
                   4823: #
                   4824: #      Wyse 185 with 24 data lines and top status (terminal status)
                   4825: wy185-24|wyse185-24|wyse 185 with 24 data lines,
                   4826:        hs@,
                   4827:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185,
                   4828: #
                   4829: #      Wyse 185 with visual bell.
                   4830: wy185-vb|wyse185-vb|wyse 185+flash,
                   4831:        bel@, use=wy185,
                   4832: #
                   4833: #      Wyse 185 in 132-column mode.
                   4834: wy185-w|wyse185-w|wyse 185 in 132-column mode,
                   4835:        cols#132, wsl#132,
                   4836:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   4837:        ip=$<7>, rs2=\E[35h\E[?3h,
                   4838:        use=wy185,
                   4839: #
                   4840: #      Wyse 185 in 132-column mode with visual bell.
                   4841: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
                   4842:        bel@, use=wy185-w,
                   4843:
                   4844: # wy325 terminfo entries
                   4845: # Done by Joe H. Davis        3-9-92
                   4846:
                   4847: # lines 25  columns 80
                   4848: #
                   4849: wy325|wyse325|Wyse epc,
                   4850:        am, bw, hs, mc5i, mir,
                   4851:        cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
                   4852:        acsc=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   4853:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   4854:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4855:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   4856:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   4857:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   4858:        il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   4859:        is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4860:        is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4861:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4862:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4863:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4864:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4865:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
                   4866:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   4867:        mc0=\EP, mc4=^T, mc5=\Ed#,
                   4868:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4869:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4870:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
                   4871:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
                   4872:        rs1=\E~!\E~4$<30>, rs2=\EeF\E`\072$<70>,
                   4873:        rs3=\EwG\Ee($<100>,
                   4874:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   4875:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4876:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
                   4877:        tsl=\EF,
                   4878:        use=adm+sgr,
                   4879:
                   4880: #
                   4881: # lines 24  columns 80  vb
                   4882: #
                   4883: wy325-vb|wyse325-vb|wyse-325 with visual bell,
                   4884:        bel@, use=wy325,
                   4885:
                   4886: #
                   4887: # lines 24  columns 132
                   4888: #
                   4889: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
                   4890:        cols#132, lw#7, nlab#16, wsl#97,
                   4891:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   4892:        rs2=\E`;$<70>, use=wy325,
                   4893: #
                   4894: # lines 25  columns 80
                   4895: #
                   4896: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
                   4897:        lh@, lines#25, lw@, nlab@,
                   4898:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   4899: #
                   4900: # lines 25  columns 132
                   4901: #
                   4902: wy325-25w|wyse325-25w|wy325 132 columns,
                   4903:        lh@, lines#25, lw@, nlab@,
                   4904:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   4905: #
                   4906: # lines 25  columns 132  vb
                   4907: #
                   4908: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
                   4909:        bel@,
                   4910:        use=wy325-w,
                   4911:
                   4912: #
                   4913: # lines 42  columns 80
                   4914: #
                   4915: wy325-42|wyse325-42|wyse-325 42 lines,
                   4916:        lh@, lines#42, lw@, nlab@,
                   4917:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   4918: #
                   4919: # lines 42  columns 132
                   4920: #
                   4921: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
                   4922:        lh@, lines#42, lw@, nlab@,
                   4923:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   4924: #
                   4925: # lines 42  columns 132  vb
                   4926: #
                   4927: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
                   4928:        bel@,
                   4929:        use=wy325-w,
                   4930: #
                   4931: # lines 43  columns 80
                   4932: #
                   4933: wy325-43|wyse325-43|wyse-325 43 lines,
                   4934:        lh@, lines#43, lw@, nlab@,
                   4935:        pln@, use=wy325,
                   4936: #
                   4937: # lines 43  columns 132
                   4938: #
                   4939: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
                   4940:        lh@, lines#43, lw@, nlab@,
                   4941:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   4942: #
                   4943: # lines 43  columns 132  vb
                   4944: #
                   4945: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
                   4946:        bel@,
                   4947:        use=wy325-w,
                   4948:
                   4949: #      Wyse 370 -- 24 line screen with status line.
                   4950: #
                   4951: #      The terminal may have to be set for 8 data bits and 2 stop
                   4952: #      bits for the arrow keys to work.
                   4953: #
                   4954: #      If you change keyboards the terminal will send different
                   4955: #      escape sequences.
                   4956: #      The following definition is for the basic terminal without
                   4957: #      function keys.
                   4958: #
                   4959: #      <u0> -> enter Tektronix 4010/4014 mode
                   4960: #      <u1> -> exit  Tektronix 4010/4014 mode
                   4961: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   4962: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   4963: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   4964: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
                   4965: #
                   4966: # Bug: The <op> capability resets attributes.
                   4967: wy370-nk|wyse 370 without function keys,
                   4968:        am, ccc, hs, mc5i, mir, msgr, xenl, xon,
                   4969:        colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
                   4970:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   4971:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   4972:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   4973:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   4974:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   4975:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   4976:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
                   4977:        dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   4978:        dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
                   4979:        el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
                   4980:        flash=\E[30h\E\\\054\E[30l$<300>, fsl=\E[1;24r\E8,
                   4981:        home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
                   4982:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   4983:        ind=\n$<2>,
                   4984:        initc=\E[66;%p1%d;\n%?%p2%{250}%<%t%{0}\n%e%p2%{500}%<%t%{16}\n%e%p2%{750}%<%t%{32}%e%{48}%;\n%?%p3%{250}%<%t%{0}\n%e%p3%{500}%<%t%{4}\n%e%p3%{750}%<%t%{8}%e%{12}%;\n%?%p4%{250}%<%t%{0}\n%e%p4%{500}%<%t%{1}\n%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw,
                   4985:        invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
                   4986:        is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
                   4987:        is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
                   4988:        mc5=\E[5i,
                   4989:        oc=\E[60w\E[63;0w\n\E[66;1;4w\n\E[66;2;13w\n\E[66;3;16w\n\E[66;4;49w\n\E[66;5;51w\n\E[66;6;61w\n\E[66;7;64w,
                   4990:        op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
                   4991:        rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
                   4992:        rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
                   4993:        rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
                   4994:        rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
                   4995:        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%;,
                   4996:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   4997:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   4998:        tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
                   4999:        u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
                   5000:        u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
                   5001: #
                   5002: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   5003: #      This is the default 370.
                   5004: #
                   5005: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
                   5006:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5007:        kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
                   5008:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   5009:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
                   5010:        kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   5011:        kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
                   5012:        knp=\E[U, kpp=\E[V,
                   5013:        use=wy370-nk,
                   5014: #
                   5015: #      Function key set for the VT-320 (and wy85) compatible keyboard
                   5016: #
                   5017: wy370-105k|Wyse 370 with 105 key keyboard,
                   5018:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,
                   5019:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5020:        kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   5021:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   5022:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   5023:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5024:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   5025:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   5026:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   5027:        use=wy370-nk,
                   5028: #
                   5029: #      Function key set for the PC compatible keyboard
                   5030: #
                   5031: wy370-EPC|Wyse 370 with 102 key keyboard,
                   5032:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5033:        kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   5034:        kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   5035:        kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   5036:        khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V,
                   5037:        use=wy370-nk,
                   5038: #
                   5039: #      Wyse 370 with visual bell.
                   5040: wy370-vb|Wyse 370 with visible bell,
                   5041:        bel@, use=wy370,
                   5042: #
                   5043: #      Wyse 370 in 132-column mode.
                   5044: wy370-w|Wyse 370 in 132-column mode,
                   5045:        cols#132, wsl#132,
                   5046:        rs2=\E[35h\E[?3h$<70>, use=wy370,
                   5047: #
                   5048: #      Wyse 370 in 132-column mode with visual bell.
                   5049: wy370-wvb|Wyse 370 with visible bell 132-columns,
                   5050:        flash=\E[30h\E\\\054\E[30l$<300>,
                   5051:        use=wy370-w,
                   5052: wy370-rv|Wyse 370 reverse video,
                   5053:        rs3=\E[32h\E[?5h, use=wy370,
                   5054: #
                   5055: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   5056: #
                   5057: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
                   5058:        am, os,
                   5059:        cols#74, lines#35,
                   5060:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1= ,
                   5061:        cup=\035%{3040}%{89}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037,
                   5062:        cuu1=^K, ff=^L,
                   5063:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   5064:        home=^]7`x @\037,
                   5065:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   5066:        is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
                   5067: #
                   5068: #      Wyse 160 Tektronix 4010/4014 emulator,
                   5069: #
                   5070: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
                   5071:        cup=\035%{3103}%{91}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037,
                   5072:        home=^]8`g @\037,
                   5073:        use=wy99gt-tek,
                   5074: #
                   5075: #      Wyse 370 Tektronix 4010/4014 emulator,
                   5076: #
                   5077: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
                   5078:        am, os,
                   5079:        cols#80, lines#36,
                   5080:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1= ,
                   5081:        cup=\035%{775}%{108}%p1%*%{5}%/%-%Py\n%p2%{64}%*%{4}%+%{5}%/%Px\n%gy%{32}%/%{31}%&%{32}%+%c\n%gy%{31}%&%{96}%+%c\n%gx%{32}%/%{31}%&%{32}%+%c\n%gx%{31}%&%{64}%+%c\037,
                   5082:        cuu1=^K, ff=^L,
                   5083:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   5084:        home=^]8g @\037,
                   5085:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   5086:        is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
                   5087:        nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
                   5088:
                   5089: # Vendor-supplied Wyse entries end here.
                   5090:
                   5091: #
                   5092: #TITLE:  TERMINFO ENTRY WY520
                   5093: #DATE:   8/5/93
                   5094: # The WY520 terminfo is based on the WY285 entry published on the WYSE
                   5095: # BBS with the addition of more function keys and special keys.
                   5096: #
                   5097: #               rs1 -> set personality
                   5098: #               rs2 -> set number of columns
                   5099: #               rs3 -> set number of lines
                   5100: #               is1 -> select the proper font
                   5101: #               is2 -> do the initialization
                   5102: #               is3 -> If this string is empty then rs3 gets sent.
                   5103: #
                   5104: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
                   5105: #       - The BS key is programmed to generate BS in smcup since
                   5106: #         is2 doesn't seem to work.
                   5107: #       - Remove and shift/Remove: delete a character
                   5108: #       - Insert : enter insert mode
                   5109: #       - Find   : delete to end of file
                   5110: #       - Select : clear a line
                   5111: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
                   5112: #       - F14 : Home key
                   5113: #       - Bottom status line (host writable line) is used.
                   5114: #       - smkx,rmkx are removed because this would put the numeric
                   5115: #         keypad in Dec application mode which doesn't seem to work
                   5116: #         with SCO applications.
                   5117: #
                   5118: wy520|wyse520|wyse 520,
                   5119:        am, hs, km, mc5i, mir, xenl, xon,
                   5120:        cols#80, it#8, lines#24, wsl#80,
                   5121:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5122:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   5123:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   5124:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   5125:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5126:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5127:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
                   5128:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
                   5129:        ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
                   5130:        enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
                   5131:        hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
                   5132:        il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   5133:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
                   5134:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy,
                   5135:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   5136:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
                   5137:        kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   5138:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   5139:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   5140:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5141:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   5142:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   5143:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   5144:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   5145:        ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
                   5146:        rmso=\E[m, rmul=\E[24m,
                   5147:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   5148:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   5149:        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%;,
                   5150:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
                   5151:        smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   5152:        tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
                   5153:        vpa=\E[%i%p1%dd,
                   5154: #
                   5155: #       Wyse 520 with 24 data lines and status (terminal status)
                   5156: wy520-24|wyse520-24|wyse 520 with 24 data lines,
                   5157:        hs@,
                   5158:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520,
                   5159: #
                   5160: #       Wyse 520 with visual bell.
                   5161: wy520-vb|wyse520-vb|wyse 520 with visible bell,
                   5162:        flash=\E[30h\E\\\054\E[30l$<100>, use=wy520,
                   5163: #
                   5164: #       Wyse 520 in 132-column mode.
                   5165: wy520-w|wyse520-w|wyse 520 in 132-column mode,
                   5166:        cols#132, wsl#132,
                   5167:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   5168:        ip=$<7>, rs2=\E[35h\E[?3h,
                   5169:        use=wy520,
                   5170: #
                   5171: #       Wyse 520 in 132-column mode with visual bell.
                   5172: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
                   5173:        flash=\E[30h\E\\\054\E[30l$<100>,
                   5174:        use=wy520-w,
                   5175: #
                   5176: #
                   5177: #       Wyse 520 emulating a vt420 7 bit mode.
                   5178: #       The DEL key is programmed to generate BS in is2.
                   5179: #       With EPC keyboard.
                   5180: #       - 'End' key will clear till end of line on EPC keyboard
                   5181: #       - Shift/End : ignored.
                   5182: #       - Insert : enter insert mode.
                   5183: #       - Delete : delete a character (have to change interrupt character
                   5184: #                  to CTRL-C: stty intr '^c') for it to work since the
                   5185: #                  Delete key sends 7FH.
                   5186: wy520-epc|wyse520-epc|wyse 520 with EPC kb,
                   5187:        kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
                   5188:        kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
                   5189:        use=wy520,
                   5190: #
                   5191: #       Wyse 520 with 24 data lines and status (terminal status)
                   5192: #       with EPC keyboard.
                   5193: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines,
                   5194:        hs@,
                   5195:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc,
                   5196: #
                   5197: #       Wyse 520 with visual bell.
                   5198: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell,
                   5199:        flash=\E[30h\E\\\054\E[30l$<100>,
                   5200:        use=wy520-epc,
                   5201: #
                   5202: #       Wyse 520 in 132-column mode.
                   5203: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode,
                   5204:        cols#132, wsl#132,
                   5205:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   5206:        ip=$<7>, rs2=\E[35h\E[?3h,
                   5207:        use=wy520-epc,
                   5208: #
                   5209: #       Wyse 520 in 132-column mode with visual bell.
                   5210: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns,
                   5211:        flash=\E[30h\E\\\054\E[30l$<100>,
                   5212:        use=wy520-epc-w,
                   5213: #
                   5214: #       Wyse 520 in 80-column, 36 lines
                   5215: wy520-36|wyse520-36|wyse 520 with 36 data lines,
                   5216:        hs@,
                   5217:        lines#36,
                   5218:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520,
                   5219: #
                   5220: #       Wyse 520 in 80-column, 48 lines
                   5221: wy520-48|wyse520-48|wyse 520 with 48 data lines,
                   5222:        hs@,
                   5223:        lines#48,
                   5224:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520,
                   5225: #
                   5226: #       Wyse 520 in 132-column, 36 lines
                   5227: wy520-36w|wyse520-36w|wyse 520 with 36 data lines,
                   5228:        cols#132, wsl#132,
                   5229:        rs2=\E[?3h,
                   5230:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36,
                   5231: #
                   5232: #       Wyse 520 in 132-column, 48 lines
                   5233: wy520-48w|wyse520-48w|wyse 520 with 48 data lines,
                   5234:        cols#132, wsl#132,
                   5235:        rs2=\E[?3h,
                   5236:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48,
                   5237: #
                   5238: #
                   5239: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
                   5240: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines,
                   5241:        hs@,
                   5242:        lines#36,
                   5243:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc,
                   5244: #
                   5245: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
                   5246: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines,
                   5247:        hs@,
                   5248:        lines#48,
                   5249:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc,
                   5250: #
                   5251: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
                   5252: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines,
                   5253:        cols#132, wsl#132,
                   5254:        rs2=\E[?3h,
                   5255:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc,
                   5256: #
                   5257: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
                   5258: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines,
                   5259:        cols#132, wsl#132,
                   5260:        rs2=\E[?3h,
                   5261:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc,
                   5262:
                   5263: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
                   5264: # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
                   5265: # file and we don't know what <hts> is -- esr)
                   5266: wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
                   5267:        am,
                   5268:        cols#80, it#8, lines#24,
                   5269:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   5270:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
                   5271:        dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
                   5272:        is2=\E`\072\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J,
                   5273:        kcuf1=^F, kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er,
                   5274:        rmso=^O, rmul=^O, rs1=\E`\072\E`9\017\Er, sgr0=^O,
                   5275:        smir=\Eq, smso=^N, smul=^N,
                   5276:
                   5277: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
                   5278:        is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
                   5279:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   5280:        khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>,
                   5281:        use=wy75,
                   5282:
                   5283: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   5284: wy100q|Wyse 100 for Quotron,
                   5285:        cols#80, lines#24, xmc#1,
                   5286:        cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
                   5287:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   5288:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
                   5289:        is2=\E`\072\200\EC\EDF\E0\E'\E(\EA21, kcub1=^H,
                   5290:        kcud1=^J, kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq,
                   5291:        use=adm+sgr,
                   5292:
                   5293: #### Kermit terminal emulations
                   5294: #
                   5295: # Obsolete Kermit versions may be listed in the section describing obsolete
                   5296: # non-ANSI terminal emulators later in the file.
                   5297: #
                   5298:
                   5299: # KERMIT standard all versions.
                   5300: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   5301: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   5302: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   5303: kermit|standard kermit,
                   5304:        cols#80, lines#24,
                   5305:        clear=\EE, cub1=^H, cuf1=\EC,
                   5306:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   5307:        el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n,
                   5308:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   5309: kermit-am|standard kermit plus auto-margin,
                   5310:        am,
                   5311:        is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit,
                   5312: # IBMPC Kermit 1.2.
                   5313: # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
                   5314: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   5315: # line).
                   5316: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   5317: pckermit|pckermit12|UCB IBMPC Kermit 1.2,
                   5318:        am,
                   5319:        lines#25,
                   5320:        clear=\EH\EJ, ed@, el@,
                   5321:        is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
                   5322: # IBMPC Kermit 1.20
                   5323: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   5324: # Initialization must escape from that region by cursor position to line 24.
                   5325: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
                   5326: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
                   5327: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   5328: pckermit120|UCB IBMPC Kermit 1.20,
                   5329:        it#8, lines#24,
                   5330:        cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I,
                   5331:        il1=\EL,
                   5332:        is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
                   5333:        rmir@, rmso=\Eq, smir@, smso=\Ep,
                   5334:        use=kermit,
                   5335: # MS-DOS Kermit 2.27 for the IBMPC
                   5336: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   5337: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   5338: # Initialization must escape from that region by cursor position to line 24.
                   5339: # Does not use am: because autowrap is lost when kermit dropped and restarted.
                   5340: # Reverse video for standout like H19.
                   5341: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   5342: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   5343: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
                   5344:        am@,
                   5345:        cols#80, it#8, lines#24,
                   5346:        clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   5347:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   5348:        cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK,
                   5349:        home=\EH, ht=^I, il1=\EL,
                   5350:        is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
                   5351:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek,
                   5352:        rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep,
                   5353: # MS-DOS Kermit 2.27 with automatic margins
                   5354: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   5355: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
                   5356:        am,
                   5357:        cvvis=\EO\Eq\EG\EvK5,
                   5358:        is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227,
                   5359: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
                   5360: # Automatic margins now default.  Use ansi <sgr> for highlights.
                   5361: # Define function keys.
                   5362: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   5363: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   5364: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
                   5365:        am,
                   5366:        bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
                   5367:        is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
                   5368:        kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
                   5369:        kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m,
                   5370:        sgr0=\E[m, smso=\E[1m, smul=\E[4m,
                   5371:        use=mskermit227,
                   5372: # This was designed for a VT320 emulator, but it is probably a good start
                   5373: # at support for the VT320 itself.
                   5374: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
                   5375: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
                   5376: vt320-k3|MS-Kermit 3.00's vt320 emulation,
                   5377:        am, eslok, hs, km, mir, msgr, xenl,
                   5378:        cols#80, it#8, lines#49, pb#9600, vt#3,
                   5379:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5380:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   5381:        clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
                   5382:        csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H,
                   5383:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5384:        cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5385:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   5386:        dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                   5387:        flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
                   5388:        fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   5389:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   5390:        is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
                   5391:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~,
                   5392:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5393:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
                   5394:        kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8,
                   5395:        rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l,
                   5396:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   5397:        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$~,
                   5398:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   5399:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   5400:        tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
                   5401: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
                   5402: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
                   5403: # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
                   5404: vt320-k311|dec vt320 series as defined by kermit 3.11,
                   5405:        am, eslok, hs, mir, msgr, xenl, xon,
                   5406:        cols#80, it#8, lines#24, vt#3,
                   5407:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5408:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   5409:        clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
                   5410:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5411:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5412:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5413:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   5414:        dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
                   5415:        flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
                   5416:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
                   5417:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   5418:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   5419:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5420:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   5421:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   5422:        rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O,
                   5423:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   5424:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   5425:        smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   5426:        smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
                   5427:
                   5428: ######## NON-ANSI TERMINAL EMULATIONS
                   5429: #
                   5430:
                   5431: #### Avatar
                   5432: #
                   5433: # These entries attempt to describe Avatar, a terminal emulation used with
                   5434: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   5435: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   5436: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   5437: # in the BBS world.
                   5438: #
                   5439: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   5440: # models that terminfo knows about.  An Avatar color attribute is the
                   5441: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   5442: #
                   5443: # I wrote these entries while looking at the Avatar spec.  I don't have
                   5444: # the facilities to test them.  Let me know if they work, or don't.
                   5445: #
                   5446: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   5447: # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
                   5448: # tell ncurses that the corresponding highlights exist; it should use <sgr>,
                   5449: # which is the only method that will actually work for multiple highlights.)
                   5450: avatar0|avatar terminal emulator level 0,
                   5451:        am, bce, msgr,
                   5452:        cols#80, it#8, lines#25,
                   5453:        blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
                   5454:        cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
                   5455:        ind=^J, invis=^V^A\200, rep=\031%p1%c%p2%d, rev=^A^Vp,
                   5456:        rs2=^L,
                   5457:        sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;,
                   5458:        sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A,
                   5459:        use=klone+acs,
                   5460: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   5461: avatar0+|avatar terminal emulator level 0+,
                   5462:        dch1=^V^N, rmir=\026\n\200\200\200\200, smir=^V^I, use=avatar0,
                   5463: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   5464: avatar|avatar1|avatar terminal emulator level 1,
                   5465:        civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
                   5466:        rmam=^V", rmir=^V^P, smam=^V$,
                   5467:        use=avatar0+,
                   5468:
                   5469: ######## OLDER TERMINAL TYPES
                   5470: #
                   5471: # This section is devoted to older commercial terminal brands that are now
                   5472: # discontinued, but known to be still in use or represented by emulations.
                   5473: #
                   5474:
                   5475: #### AT&T (att, tty)
                   5476: #
                   5477: # This section also includes Teletype-branded VDTs.
                   5478: #
                   5479: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems; for
                   5480: # details, see the header comment on the ADDS section.
                   5481: #
                   5482: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   5483: # removed.
                   5484: #
                   5485: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
                   5486:        am, eo, mir, msgr, xon,
                   5487:        cols#80, it#8, lines#24,
                   5488:        bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   5489:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5490:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5491:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   5492:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   5493:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J,
                   5494:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   5495:        kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r,
                   5496:        kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r,
                   5497:        kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r,
                   5498:        kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H,
                   5499:        kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   5500:        rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h,
                   5501:        smso=\E[7m,
                   5502: att2350|AT&T 2350 Video Information Terminal 80 column mode,
                   5503:        mc0@, mc4@, mc5@,
                   5504:        use=att2300,
                   5505:
                   5506: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   5507: # Seems upward compatible with vt100, plus ins/del line/char.
                   5508: # On sgr, the protection parameter is ignored.
                   5509: # No check is made to make sure that only 3 parameters are output.
                   5510: #      standout= reverse + half-intensity = 3 | 5.
                   5511: #      bold= reverse + underline = 2 | 3.
                   5512: # note that half-bright blinking doesn't look different from normal blinking.
                   5513: # NOTE:you must program the function keys first, label second!
                   5514: # (att4410: a BSD entry has been seen with the following capabilities:
                   5515: # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
                   5516: # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
                   5517: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
                   5518:        am, hs, mir, msgr, xon,
                   5519:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   5520:        acsc=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\\\054\\\054..,
                   5521:        bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
                   5522:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   5523:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
                   5524:        dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I,
                   5525:        ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0,
                   5526:        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,
                   5527:        kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5528:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
                   5529:        kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H,
                   5530:        ll=\E[24H, nel=^M^J,
                   5531:        pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s,
                   5532:        pln=\E[%p1%d;00q%p2%\072-16s, rc=\E8, rev=\E[7m, ri=\EM,
                   5533:        rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
                   5534:        sc=\E7,
                   5535:        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%;,
                   5536:        sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
                   5537:        tsl=\E7\E[25;%p1%{1}%+%dH,
                   5538:
                   5539: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
                   5540:        cols#132, wsl#132,
                   5541:        is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
                   5542:
                   5543: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
                   5544:        pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s,
                   5545:        use=att5410v1,
                   5546:
                   5547: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
                   5548:        cols#132, wsl#132,
                   5549:        is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
                   5550:
                   5551: # 5410 in terms of a vt100
                   5552: # (v5410: added <rmam>/<smam> based on init string -- esr)
                   5553: v5410|5410 in terms of a vt100,
                   5554:        am, mir, msgr, xon,
                   5555:        cols#80, it#8, lines#24, vt#3,
                   5556:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5557:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   5558:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   5559:        cub1=^H, cud1=^J, cuf1=\E[C$<2>,
                   5560:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
                   5561:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   5562:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
                   5563:        il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   5564:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   5565:        kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
                   5566:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
                   5567:        kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,
                   5568:        rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
                   5569:        rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   5570:        sc=\E7,
                   5571:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   5572:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   5573:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   5574:
                   5575: #
                   5576: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   5577: # even! the 5420 has three modes: scroll, window or page mode
                   5578: # this terminfo should work in scroll or window mode, but doesn't
                   5579: # take advantage of any of the differences between them.
                   5580: #
                   5581: # Has memory below (2 lines!)
                   5582: # 3 pages of memory (plus some spare)
                   5583: # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
                   5584: # <hpa>, <hts> would work for these, but these work in both scroll and window
                   5585: # mode... Unset insert character so insert mode works
                   5586: # <is1> sets 80 column mode,
                   5587: # <is2> escape sequence:
                   5588: # 1) turn off all fonts
                   5589: # 2) function keys off, keyboard lock off, control display off,
                   5590: #    insert mode off, erasure mode off,
                   5591: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   5592: # 4) reset origin mode
                   5593: # 5) set line wraparound
                   5594: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   5595: # 7) clear margins
                   5596: # 8) program ENTER to transmit ^J,
                   5597: # We use \212 to program the ^J because a bare ^J will get translated by
                   5598: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   5599: #     1      2            3              4     5     6    7  8
                   5600: # <is3> set screen color to black,
                   5601: # No representation in terminfo for the delete word key: kdw1=\Ed
                   5602: # Key capabilities assume the power-up send sequence...
                   5603: # This <rmcup> is not strictly necessary, but it helps maximize
                   5604: # memory usefulness: <rmcup=\Ez>,
                   5605: # Alternate sgr0:      <sgr0=\E[m\EW^O>,
                   5606: # 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%;>,
                   5607: # smkx programs the SYS PF keys to send a set sequence.
                   5608: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
                   5609: # This string causes them to send the strings <kf1>-<kf8>
                   5610: # when pressed in SYS PF mode.
                   5611: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
                   5612: att4415|tty5420|att5420|AT&T 4415/5420 80 cols,
                   5613:        db, mir, xon,
                   5614:        lh#2, lm#78, lw#8, nlab#8, wsl#55,
                   5615:        cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD,
                   5616:        cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx,
                   5617:        cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP,
                   5618:        dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD,
                   5619:        flash=\E[?5h$<200>\E[?5l, home=\E[x,
                   5620:        hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@,
                   5621:        il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>,
                   5622:        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,
                   5623:        is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
                   5624:        kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd,
                   5625:        kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   5626:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
                   5627:        kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   5628:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i,
                   5629:        mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt,
                   5630:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s,
                   5631:        pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, prot=\EV,
                   5632:        rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
                   5633:        rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
                   5634:        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%;,
                   5635:        sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
                   5636:        smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
                   5637:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   5638:        use=att4410,
                   5639:
                   5640: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
                   5641:        cols#132, lm#54, wsl#97,
                   5642:        is1=\E[?3h$<100>, use=att4415,
                   5643:
                   5644: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
                   5645:        flash=\E[?5l$<200>\E[?5h, is3=\E[?5h,
                   5646:        use=att4415,
                   5647:
                   5648: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
                   5649:        cols#132, lm#54, wsl#97,
                   5650:        flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, use=att4415,
                   5651:
                   5652: # Note that this mode permits programming USER PF KEYS and labels
                   5653: # However, when you program user pf labels you have to reselect
                   5654: # user pf keys to make them appear!
                   5655: att4415+nl|4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
                   5656:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5657:        pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
                   5658:        pln=\E[%p1%d;0;0;1q%p2%\072-16.16s,
                   5659:
                   5660: att4415-nl|4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
                   5661:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5662:        use=att4415+nl, use=att4415,
                   5663:
                   5664: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
                   5665:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5666:        use=att4415+nl, use=att4415-rv,
                   5667:
                   5668: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
                   5669:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5670:        use=att4415+nl, use=att4415-w,
                   5671:
                   5672: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
                   5673:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5674:        use=att4415+nl, use=att4415-w-rv,
                   5675:
                   5676: att5420_2|AT&T 5420 model 2 80 cols,
                   5677:        am, db, hs, mir, msgr, xon,
                   5678:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   5679:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5680:        blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
                   5681:        cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5682:        cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
                   5683:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j,
                   5684:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   5685:        dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K,
                   5686:        el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   5687:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   5688:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
                   5689:        invis=\E[8m,
                   5690:        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,
                   5691:        kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
                   5692:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
                   5693:        kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe,
                   5694:        kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H,
                   5695:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
                   5696:        kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   5697:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i,
                   5698:        mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J,
                   5699:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~,
                   5700:        pln=\E[%p1%d;0;0;0q%p2%\072-16.16s\E~, prot=\EV,
                   5701:        rc=\E8, rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O,
                   5702:        rmkx=\E[19;0j, rmln=\E|, rmso=\E[m, rmul=\E[m,
                   5703:        rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
                   5704:        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%;,
                   5705:        sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~,
                   5706:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   5707:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   5708: att5420_2-w|AT&T 5420 model 2 in 132 column mode,
                   5709:        cols#132,
                   5710:        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,
                   5711:
                   5712: att4418|att5418|AT&T 5418 80 cols,
                   5713:        am, xon,
                   5714:        cols#80, lines#24,
                   5715:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5716:        bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD,
                   5717:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   5718:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   5719:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
                   5720:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
                   5721:        ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J,
                   5722:        is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@,
                   5723:        kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h,
                   5724:        kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I,
                   5725:        kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E,
                   5726:        kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j,
                   5727:        kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8,
                   5728:        rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7,
                   5729:        sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
                   5730: att4418-w|att5418-w|AT&T 5418 132 cols,
                   5731:        cols#132,
                   5732:        is1=\E[?3h, use=att5418,
                   5733:
                   5734: att4420|tty4420|teletype 4420,
                   5735:        da, db, eo, msgr, ul, xon,
                   5736:        cols#80, lines#24, lm#72,
                   5737:        bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC,
                   5738:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   5739:        dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7 ,
                   5740:        kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC,
                   5741:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH,
                   5742:        kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET,
                   5743:        lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~,
                   5744:        rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
                   5745:
                   5746: #  The following is a termcap entry for the Teletype 4424
                   5747: #  asynchronous keyboard-display terminal.  It supports
                   5748: #  the vi editor.  The terminal must be "set up" as follows,
                   5749: #
                   5750: #      HIGHLIGHT DEFINITION    3-TONE
                   5751: #      DISPLAY FUNCTION        GROUP III
                   5752: #
                   5753: #  The second entry below provides limited (a la adm3a)
                   5754: #  operation under GROUP II.
                   5755: #
                   5756: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   5757: #      and HIGHLIGHT DEFINITION 3-TONE
                   5758: # The terminal has either bold or blink, depending on options
                   5759: #
                   5760: att4424|tty4424|teletype 4424,
                   5761:        am, xon,
                   5762:        cols#80, lines#24,
                   5763:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5764:        bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M,
                   5765:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5766:        cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
                   5767:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA,
                   5768:        dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM,
                   5769:        ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   5770:        ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h,
                   5771:        kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5772:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   5773:        khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~,
                   5774:        rmul=\EZ,
                   5775:        sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
                   5776:        sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smcup=\E[1m, smso=\E},
                   5777:        smul=\E\\, tbc=\EF,
                   5778:
                   5779: att4424-1|tty4424-1|teletype 4424 in display function group I,
                   5780:        kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@,
                   5781:        use=att4424,
                   5782:
                   5783: # This entry is not one of AT&T's official ones, it was translated from the
                   5784: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   5785: # I have no idea why this is -- older firmware version, maybe?
                   5786: # The following two lines are the comment originally attached to the entry:
                   5787: # This entry appears to avoid the top line - I have no idea why.
                   5788: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   5789: att4424m|tty4424m|teletype 4424M,
                   5790:        am, da, db, mir,
                   5791:        cols#80, it#8, lines#23,
                   5792:        bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   5793:        cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP,
                   5794:        dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>,
                   5795:        is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   5796:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   5797:        kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m,
                   5798:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   5799:
                   5800: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   5801: # is quite similar, except for some minor differences. No page
                   5802: # mode, for example, so all of the <cup> sequences used above have
                   5803: # to change back to what's being used for the 5410. Many of the
                   5804: # option settings have changed their numbering as well.
                   5805: #
                   5806: # This has been tested on a preliminary model.
                   5807: #
                   5808: # (att5425: added <rmam>/<smam> based on the init string -- esr)
                   5809: att5425|tty5425|att4425|AT&T 4425/5425,
                   5810:        am, da, db, hs, mir, msgr, xenl, xon,
                   5811:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   5812:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5813:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   5814:        clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M,
                   5815:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5816:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5817:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5818:        cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   5819:        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J,
                   5820:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   5821:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   5822:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   5823:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
                   5824:        invis=\E[8m, is1=\E<\E[?3l$<100>,
                   5825:        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,
                   5826:        is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J,
                   5827:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   5828:        kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc,
                   5829:        kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
                   5830:        kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T,
                   5831:        kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
                   5832:        nel=^M^J,
                   5833:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   5834:        pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, prot=\EV, rc=\E8,
                   5835:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
                   5836:        rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
                   5837:        rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
                   5838:        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%;,
                   5839:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   5840:        smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
                   5841:        smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
                   5842:        vpa=\E[%p1%{1}%+%dd,
                   5843:
                   5844: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
                   5845:        smkx=\E[21;1j\E[25;4j\Eent,
                   5846:        use=att4425,
                   5847:
                   5848: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
                   5849:        cols#132, lm#54, wsl#97,
                   5850:        is1=\E[?3h$<100>, use=tty5425,
                   5851:
                   5852: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   5853: # I also added <rmam>/<smam> -- esr)
                   5854: att4426|tty4426|teletype 4426S,
                   5855:        am, da, db, xon,
                   5856:        cols#80, lines#24, lm#48,
                   5857:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5858:        bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
                   5859:        cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   5860:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   5861:        cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP,
                   5862:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H,
                   5863:        hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^,
                   5864:        il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS,
                   5865:        is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO,
                   5866:        kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   5867:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                   5868:        kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H,
                   5869:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT,
                   5870:        rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
                   5871:        rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0,
                   5872:        smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g,
                   5873:        vpa=\E[%p1%dd,
                   5874:
                   5875: # Terminfo entry for the AT&T 510 A Personal Terminal
                   5876: # Function keys 9 - 16 are available only after the
                   5877: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   5878: # 9 corresponds to the leftmost touch target on the screen,
                   5879: # function key 16 corresponds to the rightmost.
                   5880: #
                   5881: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   5882: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
                   5883: att510a|510a|bct510a|510A|AT&T 510A Personal Terminal,
                   5884:        am, mir, msgr, xenl, xon,
                   5885:        cols#80, lh#2, lines#24, lw#7, nlab#8,
                   5886:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b,
                   5887:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   5888:        civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
                   5889:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,
                   5890:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   5891:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP,
                   5892:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
                   5893:        el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I,
                   5894:        hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l,
                   5895:        is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z,
                   5896:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm,
                   5897:        kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh,
                   5898:        kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe,
                   5899:        kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T,
                   5900:        mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE,
                   5901:        pln=\E[%p1%dp%p2%\072-16s, rc=\E8, rev=\E[7m, ri=\EM,
                   5902:        rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7,
                   5903:        sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;,
                   5904:        sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m,
                   5905:        smul=\E[4m, tbc=\E[3g,
                   5906:
                   5907: # Terminfo entry for the AT&T 510 D Personal Terminal
                   5908: # Function keys 9 through 16 are accessed by bringing up the
                   5909: # system blocks.
                   5910: # Function key 9 corresponds to the leftmost touch target on the screen,
                   5911: # function key 16 corresponds to the rightmost.
                   5912: #
                   5913: # There are problems with soft key labeling.  These are due to
                   5914: # strangenesses in the native terminal that are impossible to
                   5915: # describe in a terminfo.
                   5916: att510d|510d|bct510d|510D|AT&T 510D Personal Terminal,
                   5917:        am, da, db, mir, msgr, xenl, xon,
                   5918:        cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
                   5919:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b,
                   5920:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   5921:        clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
                   5922:        cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,
                   5923:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   5924:        cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P,
                   5925:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
                   5926:        el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H,
                   5927:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   5928:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
                   5929:        invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212,
                   5930:        kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                   5931:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd,
                   5932:        kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
                   5933:        kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
                   5934:        kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2,
                   5935:        mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\072, nel=\EE,
                   5936:        pln=\E[%p1%dp%p2%\072-16s, rc=\E8,
                   5937:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   5938:        rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
                   5939:        rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|,
                   5940:        rs2=\E[5;0|, sc=\E7,
                   5941:        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%;,
                   5942:        sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
                   5943:        smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
                   5944:        smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
                   5945:
                   5946: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
                   5947: att500|att513|500bct|513bct|AT&T 513 using page mode,
                   5948:        am, chts, mir, msgr, xenl, xon,
                   5949:        cols#80, lh#2, lines#24, lw#8, nlab#8,
                   5950:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b,
                   5951:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   5952:        clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
                   5953:        csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5954:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5955:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5956:        cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m,
                   5957:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   5958:        enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
                   5959:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   5960:        indn=\E[%p1%dE, invis=\E[8m,
                   5961:        is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
                   5962:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   5963:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   5964:        kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
                   5965:        kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
                   5966:        kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
                   5967:        kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw,
                   5968:        kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd,
                   5969:        kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5970:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent,
                   5971:        kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   5972:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm,
                   5973:        khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
                   5974:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   5975:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   5976:        kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
                   5977:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
                   5978:        mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i,
                   5979:        nel=\EE,
                   5980:        pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s,
                   5981:        pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s,
                   5982:        pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
                   5983:        pln=\E[%p1%dp%p2%\072-16s, rc=\E8,
                   5984:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   5985:        rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
                   5986:        rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
                   5987:        rmul=\E[m,
                   5988:        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,
                   5989:        rs2=\E[5;0|, sc=\E7,
                   5990:        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%;,
                   5991:        sgr0=\E[m\017, smacs=^N, smir=\E[4h,
                   5992:        smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
                   5993:        smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
                   5994:
                   5995: # 01-07-88
                   5996: # printer must be set to EMUL ANSI to accept ESC codes
                   5997: # <cuu1> stops at top margin
                   5998: # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
                   5999: #      and alt font ascii,wrap on,tabs cleared
                   6000: # <is2> disables newline on LF,Emphasized off
                   6001: # The <u0> capability sets form length
                   6002: att5310|att5320|AT&T Model 53210 or 5320 matrix printer,
                   6003:        xhpa, xvpa,
                   6004:        bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10,
                   6005:        orhi#100, orl#12, orvi#72,
                   6006:        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%;,
                   6007:        cr=^M,
                   6008:        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%;,
                   6009:        cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1= , cuu1=\EM,
                   6010:        ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
                   6011:        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%;,
                   6012:        rshm=\E[m,
                   6013:        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(}%;,
                   6014:        smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds,
                   6015:        smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m,
                   6016:        u0=\E[%p1%dt, vpa=\E[%p1%dd,
                   6017:
                   6018: # 5620 terminfo  (2.0 or later ROMS with char attributes)
                   6019: # assumptions: <ind> (scroll forward one line) is only done at screen bottom
                   6020: # Be aware that older versions of the dmd have a firmware bug that affects
                   6021: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
                   6022: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
                   6023: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
                   6024:        am, npc, xon,
                   6025:        cols#88, it#8, lines#70,
                   6026:        bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H,
                   6027:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   6028:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   6029:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   6030:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   6031:        indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   6032:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J,
                   6033:        pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T,
                   6034:        rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7,
                   6035:        sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   6036: att5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
                   6037:        lines#24, use=att5620,
                   6038: att5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
                   6039:        lines#34, use=att5620,
                   6040:
                   6041: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
                   6042: #
                   6043: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
                   6044: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
                   6045: att605|605bct|AT&T 605  80 column  102key keyboard,
                   6046:        am, eo, xon,
                   6047:        cols#80, lines#24, lw#8, nlab#8, wsl#80,
                   6048:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6049:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   6050:        cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   6051:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   6052:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   6053:        el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   6054:        il1=\E[L, ind=^J, invis=\E[8m,
                   6055:        is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017,
                   6056:        kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J,
                   6057:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   6058:        kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq,
                   6059:        kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD,
                   6060:        kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH,
                   6061:        kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
                   6062:        kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe,
                   6063:        kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx,
                   6064:        kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv,
                   6065:        kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
                   6066:        kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh,
                   6067:        kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@,
                   6068:        kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H,
                   6069:        mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   6070:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   6071:        pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, rc=\E8, rev=\E[7m,
                   6072:        rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
                   6073:        rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016,
                   6074:        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
                   6075:        tsl=\E7\E[25;%i%p1%dx,
                   6076: att605-pc|605bct-pc|ATT 605 in pc term mode,
                   6077:        acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263,
                   6078:        cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
                   6079:        dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z,
                   6080:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   6081:        kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N,
                   6082:        kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
                   6083:        kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I,
                   6084:        rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g,
                   6085:        xonc=e,
                   6086:        use=att605,
                   6087: att605-w|605bct-w|AT&T 605-w 132 column 102 key keyboard,
                   6088:        cols#132, wsl#132,
                   6089:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605,
                   6090: # (att610: I added <rmam>/<smam> based on the init string.  I also
                   6091: # added <indn> and <rin> because the BSD file says the 615s have them,
                   6092: # and the 615 is like a 610 with a big keyboard, and most of their other
                   6093: # smart terminals support the same sequence -- esr)
                   6094: att610|610bct|AT&T 610; 80 column; 98key keyboard,
                   6095:        am, eslok, hs, mir, msgr, xenl, xon,
                   6096:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   6097:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6098:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6099:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   6100:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6101:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6102:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6103:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6104:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   6105:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
                   6106:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   6107:        indn=\E[%p1%dS, invis=\E[8m,
                   6108:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
                   6109:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
                   6110:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6111:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   6112:        kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   6113:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   6114:        kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i,
                   6115:        nel=\EE,
                   6116:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   6117:        pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, rc=\E8, rev=\E[7m,
                   6118:        ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
                   6119:        rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
                   6120:        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%;,
                   6121:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6122:        smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
                   6123: att610-w|610bct-w|AT&T 610; 132 column; 98key keyboard,
                   6124:        cols#132, wsl#132,
                   6125:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610,
                   6126:
                   6127: att610-103k|610-103k|610bct-103k|AT&T 610; 80 column; 103key keyboard,
                   6128:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   6129:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   6130:        kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
                   6131:        kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
                   6132:        kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
                   6133:        kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   6134:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
                   6135:        kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx,
                   6136:        khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl,
                   6137:        knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V,
                   6138:        kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq,
                   6139:        krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo,
                   6140:        kslt=\ENI, kspd=\EOp, kund=\EOs,
                   6141:        use=att610,
                   6142: att610-103k-w|610-103k-w|610bct-103k-w|AT&T 610; 132 column; 103key keyboard,
                   6143:        cols#132, wsl#132,
                   6144:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k,
                   6145: att615|615mt|AT&T 615; 80 column; 98key keyboard,
                   6146:        kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   6147:        kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   6148:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   6149:        kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   6150:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   6151:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   6152:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM,
                   6153:        use=att610,
                   6154: att615-w|615-w|615mt-w|AT&T 615; 132 column; 98key keyboard,
                   6155:        kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   6156:        kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   6157:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   6158:        kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   6159:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   6160:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   6161:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM,
                   6162:        use=att610-w,
                   6163: att615-103k|615-103k|615mt-103k|AT&T 615; 80 column; 103key keyboard,
                   6164:        kLFT=\E[ A, kRIT=\E[ @,
                   6165:        use=att610-103k,
                   6166: att615-103k-w|615-103k-w|615mt-103k-w|AT&T 615; 132 column; 103key keyboard,
                   6167:        kLFT=\E[ A, kRIT=\E[ @,
                   6168:        use=att610-103k-w,
                   6169: # (att620: I added <rmam>/<smam> based on the init string and
                   6170: # <rin>/<indn> from a BSD termcap -- esr)
                   6171: att620|620mtg|AT&T 620; 80 column; 98key keyboard,
                   6172:        am, eslok, hs, mir, msgr, xenl, xon,
                   6173:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   6174:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6175:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6176:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   6177:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6178:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6179:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6180:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6181:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   6182:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
                   6183:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   6184:        indn=\E[%p1%dS, invis=\E[8m,
                   6185:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
                   6186:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H,
                   6187:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6188:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   6189:        kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   6190:        kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI,
                   6191:        kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
                   6192:        kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ,
                   6193:        kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy,
                   6194:        kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf,
                   6195:        kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
                   6196:        kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   6197:        kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H,
                   6198:        mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   6199:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   6200:        pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, rc=\E8, rev=\E[7m,
                   6201:        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
                   6202:        rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
                   6203:        rs2=\Ec\E[?3l, sc=\E7,
                   6204:        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%;,
                   6205:        sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h,
                   6206:        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
                   6207:        tsl=\E7\E[25;%i%p1%dx,
                   6208: att620-w|620-w|620mtg-w|AT&T 620; 132 column; 98key keyboard,
                   6209:        cols#132, wsl#132,
                   6210:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620,
                   6211: att620-103k|620-103k|620mtg-103k|AT&T 620; 80 column; 103key keyboard,
                   6212:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   6213:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   6214:        kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
                   6215:        kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
                   6216:        kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
                   6217:        kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   6218:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
                   6219:        kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
                   6220:        kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@,
                   6221:        kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@,
                   6222:        kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@,
                   6223:        kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi,
                   6224:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   6225:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   6226:        kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB,
                   6227:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs,
                   6228:        use=att620,
                   6229:
                   6230: att620-103k-w|620-103k-w|620mtg-103k-w|AT&T 620; 132 column; 103key keyboard,
                   6231:        cols#132, wsl#132,
                   6232:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k,
                   6233:
                   6234: # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
                   6235: att630|5630|5630DMD|630MTG|AT&T 630 windowing terminal,
                   6236:        am, da, db, mir, msgr, npc, xon,
                   6237:        cols#80, it#8, lines#60, lm#0,
                   6238:        bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M,
                   6239:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   6240:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   6241:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   6242:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   6243:        el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   6244:        il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m,
                   6245:        kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   6246:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M,
                   6247:        kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt,
                   6248:        kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy,
                   6249:        kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~,
                   6250:        kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i,
                   6251:        mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
                   6252:        rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
                   6253:        rmul=\E[m, rs2=\Ec, sc=\E7,
                   6254:        sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m,
                   6255:        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   6256: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
                   6257:        lines#24, use=att630,
                   6258:
                   6259: # This entry was modified 3/13/90 by JWE.
                   6260: # fixes include additions of <enacs>, correcting <rep>, and modification
                   6261: # of <kHOM>.  (See comments below)
                   6262: # att730 has status line of 80 chars
                   6263: # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
                   6264: # the <kf25> and up keys are used for shifted system Fkeys
                   6265: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
                   6266: # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
                   6267: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
                   6268: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
                   6269: # 102, 102+1, or 122 key keyboards
                   6270: #       kHOM=\E[2J,
                   6271: # (att730: I added <rmam>/<smam> based on the init string -- esr)
                   6272: att730|730MTG|AT&T 730 windowing terminal,
                   6273:        am, da, db, eslok, hs, mir, msgr, npc, xenl, xon,
                   6274:        cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80,
                   6275:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6276:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6277:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   6278:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6279:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6280:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6281:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6282:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   6283:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
                   6284:        home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
                   6285:        ind=\ED, invis=\E[8m,
                   6286:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
                   6287:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
                   6288:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6289:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   6290:        kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw,
                   6291:        kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{,
                   6292:        kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD,
                   6293:        kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH,
                   6294:        kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
                   6295:        kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf,
                   6296:        kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ,
                   6297:        kf45=\EO[, kf46=\EO , kf47=\EO], kf48=\EO\^, kf5=\EOg,
                   6298:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   6299:        kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
                   6300:        mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   6301:        pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%\072-2d  %e;0;3q%;%p2%s,
                   6302:        pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%\072-16.16s%p2%s,
                   6303:        pln=\E[%p1%d;0;0;0q%p2%\072-16.16s, rc=\E8,
                   6304:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
                   6305:        rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
                   6306:        rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
                   6307:        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%;,
                   6308:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6309:        smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
                   6310:        swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
                   6311: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
                   6312:        lines#41, use=att730,
                   6313: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
                   6314:        lines#24, use=att730,
                   6315: att730r|730MTGr|AT&T 730 rev video windowing terminal Version,
                   6316:        flash=\E[?5l$<200>\E[?5h,
                   6317:        is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730,
                   6318: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
                   6319:        lines#41, use=att730r,
                   6320: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
                   6321:        lines#24, use=att730r,
                   6322:
                   6323: # The following represents the screen layout along with the associated
                   6324: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   6325: # not appear on the screen but are shown to reference the bezel buttons.
                   6326: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   6327: # position relative to the screen.
                   6328: #
                   6329: #
                   6330: #
                   6331: #      +----------------------------------------------------------------+
                   6332: #      |                                                                |
                   6333: # XXXX | kf0                                                       kf24 | XXXX
                   6334: #      |                                                                |
                   6335: #      |                                                                |
                   6336: # XXXX | kf1                                                       kf23 | XXXX
                   6337: #      |                                                                |
                   6338: #      |                                                                |
                   6339: # XXXX | kf2                                                       kf22 | XXXX
                   6340: #      |                                                                |
                   6341: #      |                                                                |
                   6342: # XXXX | kf3                                                       kf21 | XXXX
                   6343: #      |                                                                |
                   6344: #      |                                                                |
                   6345: # XXXX | kf4                                                       kf20 | XXXX
                   6346: #      |                                                                |
                   6347: #      |                                                                |
                   6348: # XXXX | kf5                                                       kf19 | XXXX
                   6349: #      |                                                                |
                   6350: #      |                                                                |
                   6351: # XXXX | kf6                                                       kf18 | XXXX
                   6352: #      |                                                                |
                   6353: #      |                                                                |
                   6354: # XXXX |                                                                | XXXX
                   6355: #      |                                                                |
                   6356: #      |                                                                |
                   6357: #      +----------------------------------------------------------------+
                   6358: #
                   6359: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   6360: #
                   6361: # Note: XXXX represents the screen buttons
                   6362: #                                                          CMD   REDRAW
                   6363: #
                   6364: #                                                          MAIL
                   6365: #
                   6366: # version 1 note:
                   6367: #      The character string sent by key 'kf26' may be user programmable
                   6368: #       to send either \E[16s, or \E[26s.
                   6369: #       The character string sent by key 'krfr' may be user programmable
                   6370: #       to send either \E[17s, or \E[27s.
                   6371: #
                   6372: # Depression of the "CMD" key sends    \E!    (kcmd)
                   6373: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   6374: # "REDRAW" same as "REFRESH" (krfr)
                   6375: #
                   6376: # "kf" functions adds carriage return to output string if terminal is in
                   6377: # 'new line' mode.
                   6378: #
                   6379: # The following are functions not covered in the table above:
                   6380: #
                   6381: #       Set keyboard character (SKC): \EPn1;Pn2w
                   6382: #                       Pn1= 0 Back Space key
                   6383: #                       Pn1= 1 Break key
                   6384: #                       Pn2=   Program char (hex)
                   6385: #
                   6386: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   6387: #                       Pn1=     Window number (1-39)
                   6388: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   6389: #
                   6390: #       Screen Selection (SSL): \E[Pnu
                   6391: #                       Pn= Window number
                   6392: #
                   6393: #       Set Terminal Modes (SM): \E[Pnh
                   6394: #                       Pn= 3 Graphics mode
                   6395: #                       Pn= > Cursor blink
                   6396: #                       Pn= < Enter new line mode
                   6397: #                       Pn= = Enter reverse insert/replace mode
                   6398: #                       Pn= ? Enter no scroll mode
                   6399: #
                   6400: #       Reset Terminal Mode (RM): \E[Pnl
                   6401: #                       Pn= 3 Exit graphics mode
                   6402: #                       Pn= > Exit cursor blink
                   6403: #                       Pn= < Exit new line mode
                   6404: #                       Pn= = Exit reverse insert/replace mode
                   6405: #                       Pn= ? Exit no scroll mode
                   6406: #
                   6407: #       Screen Status Report (SSR): \E[Pnp
                   6408: #                       Pn= 0 Request current window number
                   6409: #                       Pn= 1 Request current window dimensions
                   6410: #
                   6411: #       Device Status Report (DSR): \E[6n    Request cursor position
                   6412: #
                   6413: #       Call Status Report (CSR): \E[Pnv
                   6414: #                       Pn= 0 Call failed
                   6415: #                       Pn= 1 Call successful
                   6416: #
                   6417: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   6418: #                       Pn1= Button number to be loaded
                   6419: #                       Pn2= Character count of "string"
                   6420: #                       Pn3= Key mode being loaded:
                   6421: #                               0= Unshifted
                   6422: #                               1= Shifted
                   6423: #                               2= Control
                   6424: #                       String= Text string (15 chars max)
                   6425: #
                   6426: #       Screen Number Report (SNR): \E[Pnp
                   6427: #                       Pn= Screen number
                   6428: #
                   6429: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   6430: #                       Pn1= Number of rows available in window
                   6431: #                       Pn2= Number of columns available in window
                   6432: #
                   6433: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
                   6434: #                       Pn1= "Y" Position of cursor
                   6435: #                       Pn2= "X" Position of cursor
                   6436: #
                   6437: #       Request Answer Back (RAB): \E[c
                   6438: #
                   6439: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   6440: #                       *=  0 No printer available
                   6441: #                       *=  2 Printer available
                   6442: #                       V=  Software version number
                   6443: #                       SV= Software sub version number
                   6444: #      (printer-available field not documented in v1)
                   6445: #
                   6446: #       Screen Alignment Aid: \En
                   6447: #
                   6448: #       Bell (lower pitch): \E[x
                   6449: #
                   6450: #       Dial Phone Number: \EPdstring\
                   6451: #                       string= Phone number to be dialed
                   6452: #
                   6453: #       Set Phone Labels: \EPpstring\
                   6454: #                       string= Label for phone buttons
                   6455: #
                   6456: #       Set Clock: \EPchour;minute;second\
                   6457: #
                   6458: #       Position Clock: \EPsY;X\
                   6459: #                       Y= "Y" coordinate
                   6460: #                       X= "X" coordinate
                   6461: #
                   6462: #       Delete Clock: \Epr\
                   6463: #
                   6464: #       Programming The Function Buttons: \EPfPn;string\
                   6465: #                       Pn= Button number (00-06, 18-24)
                   6466: #                                         (kf00-kf06, kf18-kf24)
                   6467: #                       string= Text to sent on button depression
                   6468: #
                   6469: # The following in version 2 only:
                   6470: #
                   6471: #       Request For Local Directory Data: \EPp12;\
                   6472: #
                   6473: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   6474: #
                   6475: #      Request for Local Directory Data in print format: \EPp13;\
                   6476: #
                   6477: #      Enable 'Prt on Line' mode: \022 (DC2)
                   6478: #
                   6479: #      Disable 'Prt on Line' mode: \024 (DC4)
                   6480: #
                   6481:
                   6482: # 05-Aug-86:
                   6483: # The following Terminfo entry describes functions which are supported by
                   6484: # the AT&T 5430/pt505 terminal software version 2 and later.
                   6485: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
                   6486:        am, xon,
                   6487:        cols#80, it#8, lines#24,
                   6488:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6489:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
                   6490:        cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
                   6491:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6492:        cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6493:        cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   6494:        dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E2K, home=\E[H, ht=^I,
                   6495:        il=\E[%p1%dL, il1=\E[L, ind=^J,
                   6496:        is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
                   6497:        kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6498:        kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s,
                   6499:        kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s,
                   6500:        kf22=\E[22s, kf23=\E[23s, kf24=\E24s, kf26=\E26s,
                   6501:        kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s,
                   6502:        krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   6503:        rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m,
                   6504:        rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m,
                   6505:        smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m,
                   6506:
                   6507: # The following Terminfo entry describes functions which are supported by
                   6508: # the AT&T 5430/pt505 terminal software version 1.
                   6509: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
                   6510:        lines#24,
                   6511:        mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
                   6512: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
                   6513:        lines#22, use=att505,
                   6514: #
                   6515: # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
                   6516: # This cut mark helps make life less painful for people running ncurses tic
                   6517: # on machines with relatively little RAM.  The file can be broken in half here
                   6518: # cleanly and compiled in sections -- no `use' references cross this cut
                   6519: # going forward.
                   6520: #
                   6521:
                   6522: #### Ampex (Dialogue)
                   6523: #
                   6524: # Yes, these are the same people who are better-known for making audio- and
                   6525: # videotape.  I'm told they are located in Redwood City, CA.
                   6526: #
                   6527:
                   6528: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
                   6529: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   6530: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
                   6531:        am, bw, ul,
                   6532:        cols#80, it#8, lines#24,
                   6533:        bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J,
                   6534:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   6535:        dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1,
                   6536:        ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
                   6537:        smso=\Ej, smul=\El, tbc=\E3,
                   6538: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
                   6539: ampex175|ampex d175,
                   6540:        am,
                   6541:        cols#80, lines#24,
                   6542:        bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   6543:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   6544:        dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J,
                   6545:        is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   6546:        kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K,
                   6547:        rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El,
                   6548: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   6549: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   6550: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   6551: # mode), this key can be used as the erase key; I find I like this. Because
                   6552: # some people and some systems may not, there is another termcap ("ampex175")
                   6553: # that suppresses this little eccentricity by omitting the relevant capability.
                   6554: ampex175-b|ampex d175 using left arrow for erase,
                   6555:        kbs=^_,
                   6556:        use=ampex175,
                   6557: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
                   6558: # (ampex210: removed obsolete ":kn#10:" -- esr)
                   6559: ampex210|a210|ampex a210,
                   6560:        am, hs, xenl,
                   6561:        cols#80, it#8, lines#24, xmc#1,
                   6562:        cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
                   6563:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   6564:        dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX,
                   6565:        fsl=\E.2, home=^^, ht=^I, ich1=\EQ,
                   6566:        if=/usr/share/tabset/std, il1=\EE, invis@,
                   6567:        is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H,
                   6568:        kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   6569:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   6570:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^,
                   6571:        tsl=\E.0\Eg\E}\Ef, use=adm+sgr,
                   6572: # (ampex219: I added <rmam>/<smam> based on the init string,
                   6573: # and moved the padding to be *after* the caps -- esr)
                   6574: ampex219|ampex-219|amp219|Ampex with Automargins,
                   6575:        hs, xenl,
                   6576:        cols#80, it#8, lines#24,
                   6577:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z,
                   6578:        clear=\E[H\E[2J$<50>, cr=^M, csr=%i\E[%p1%2d;%p2%2dr,
                   6579:        cub1=^H, cud1=\E[B, cuf1=\E[C$<2>,
                   6580:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dim=\E[1m,
                   6581:        ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, ind=^J,
                   6582:        is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   6583:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~,
                   6584:        kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
                   6585:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
                   6586:        rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>,
                   6587:        rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h,
                   6588:        smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>,
                   6589: ampex219w|ampex-219w|amp219w|Ampex 132 cols,
                   6590:        cols#132, lines#24,
                   6591:        bel=^G, cr=^M, cud1=^J, cvvis=\E[?3h, ind=^J,
                   6592:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
                   6593: # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
                   6594: ampex232|ampex-232|Ampex Model 232,
                   6595:        am,
                   6596:        cols#80, lines#24, xmc#1,
                   6597:        cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V,
                   6598:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   6599:        dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET,
                   6600:        flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>,
                   6601:        invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L,
                   6602:        kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
                   6603:        kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
                   6604:        kf9=^AI\r, khome=^^,
                   6605:        use=adm+sgr,
                   6606: # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
                   6607: ampex232w|Ampex Model 232 / 132 columns,
                   6608:        cols#132, lines#24,
                   6609:        is2=\E\034Eg\El, use=ampex232,
                   6610:
                   6611: #### Ann Arbor (aa)
                   6612: #
                   6613: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
                   6614: # numbers of function keys.  At least some used monitors in portrait mode,
                   6615: # allowing up to 76-character screen heights!  They can't be found on the Web;
                   6616: # I fear they're long dead.  R.I.P.
                   6617: #
                   6618:
                   6619:
                   6620: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   6621: # Highly modified 6/22 by Mike O'Brien.
                   6622: # split out into several for the various screen sizes by dave-yost@rand
                   6623: # Modifications made 3/82 by Mark Horton
                   6624: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
                   6625: # status line moved to top of screen, <flash> removed 5/82
                   6626: # Some unknown person at SCO then hacked the init strings to make them more
                   6627: # efficient.
                   6628: #
                   6629: # assumes the following setup:
                   6630: #   A menu: 0000 1010  0001 0000
                   6631: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   6632: #   C menu: 56   66   0    0    9600  0110 1100
                   6633: #   D menu: 0110 1001   1   0
                   6634: #
                   6635: #      Briefly, the settings are for the following modes:
                   6636: #         (values are for bit set/clear with * indicating our preference
                   6637: #          and the value used to test these termcaps)
                   6638: #      Note that many of these settings are irrelevent to the terminfo
                   6639: #      and are just set to the default mode of the terminal as shipped
                   6640: #      by the factory.
                   6641: #
                   6642: # A menu: 0000 1010  0001 0000
                   6643: #      Block/underline cursor*
                   6644: #      blinking/nonblinking cursor*
                   6645: #      key click/no key click*
                   6646: #      bell/no bell at column 72*
                   6647: #
                   6648: #      key pad is cursor control*/key pad is numeric
                   6649: #      return and line feed/return for <cr> key *
                   6650: #      repeat after .5 sec*/no repeat
                   6651: #      repeat at 25/15 chars per sec. *
                   6652: #
                   6653: #      hold data until pause pressed/process data unless pause pressed*
                   6654: #      slow scroll/no slow scroll*
                   6655: #      Hold in area/don't hold in area*
                   6656: #      functions keys have default*/function keys disabled on powerup
                   6657: #
                   6658: #      show/don't show position of cursor during page transmit*
                   6659: #      unused
                   6660: #      unused
                   6661: #      unused
                   6662: #
                   6663: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   6664: #      Baud rate (9600*)
                   6665: #
                   6666: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   6667: #      1 stop bit*/2 stop bits
                   6668: #      parity error detection off*/on
                   6669: #
                   6670: #      keyboard local/on line*
                   6671: #      half/full duplex*
                   6672: #      disable/do not disable keyboard after data transmission*
                   6673: #
                   6674: #      transmit entire page/stop transmission at cursor*
                   6675: #      transfer/do not transfer protected characters*
                   6676: #      transmit all characters/transmit only selected characters*
                   6677: #      transmit all selected areas/transmit only 1 selected area*
                   6678: #
                   6679: #      transmit/do not transmit line separators to host*
                   6680: #      transmit/do not transmit page tab stops tabs to host*
                   6681: #      transmit/do not transmit column tab stop tabs to host*
                   6682: #      transmit/do not transmit graphics control (underline,inverse..)*
                   6683: #
                   6684: #      enable*/disable auto XON/XOFF control
                   6685: #      require/do not require receipt of a DC1 from host after each LF*
                   6686: #      pause key acts as a meta key/pause key is pause*
                   6687: #      unused
                   6688: #
                   6689: #      unused
                   6690: #      unused
                   6691: #      unused
                   6692: #      unused
                   6693: #
                   6694: #      XON character (17*)
                   6695: #      XOFF character (19*)
                   6696: #
                   6697: # C menu: 56   66   0    0    9600  0110 1100
                   6698: #      number of lines to print data on (printer) (56*)
                   6699: #
                   6700: #      number of lines on a sheet of paper (printer) (66*)
                   6701: #
                   6702: #      left margin (printer) (0*)
                   6703: #
                   6704: #      number of pad chars on new line to printer (0*)
                   6705: #
                   6706: #      printer baud rate (9600*)
                   6707: #
                   6708: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   6709: #      printer stop bits: 2*/1
                   6710: #      print/do not print guarded areas*
                   6711: #
                   6712: #      new line is: 01=LF,10=CR,11=CRLF*
                   6713: #      unused
                   6714: #      unused
                   6715: #
                   6716: # D menu: 0110 1001   1   0
                   6717: #      LF is newline/LF is down one line, same column*
                   6718: #      wrap to preceding line if move left from col 1*/don't wrap
                   6719: #      wrap to next line if move right from col 80*/don't wrap
                   6720: #      backspace is/is not destructive*
                   6721: #
                   6722: #      display*/ignore DEL character
                   6723: #      display will not/will scroll*
                   6724: #      page/column tab stops*
                   6725: #      erase everything*/erase unprotected only
                   6726: #
                   6727: #      editing extent: 0=display,1=line*,2=field,3=area
                   6728: #
                   6729: #      unused
                   6730: #
                   6731:
                   6732: annarbor4080|aa4080|ann arbor 4080,
                   6733:        am,
                   6734:        cols#80, lines#40,
                   6735:        bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_,
                   6736:        cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c,
                   6737:        cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H,
                   6738:        kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P,
                   6739:
                   6740: # If you're using the GNU termcap library, add
                   6741: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
                   6742: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   6743: # capability, arguments are:
                   6744: #   1. Total number of lines on the screen.
                   6745: #   2. Number of lines above desired scroll region.
                   6746: #   3. Number of lines below (outside of) desired scroll region.
                   6747: #   4. Total number of lines on the screen, the same as the first parameter.
                   6748: # The generic Ann Arbor entry is the only one that uses this.
                   6749: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
                   6750:        am, km, mc5i, mir, xon,
                   6751:        cols#80, it#8,
                   6752:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   6753:        clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   6754:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   6755:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6756:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   6757:        el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
                   6758:        hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
                   6759:        il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
                   6760:        is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
                   6761:        kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   6762:        kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
                   6763:        kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
                   6764:        kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
                   6765:        kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
                   6766:        kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
                   6767:        khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
                   6768:        mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
                   6769:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
                   6770:        rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
                   6771:        rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
                   6772:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   6773:        sgr0=\E[m,
                   6774:        smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
                   6775:        smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   6776:        vpa=\E[%p1%{1}%+%dd,
                   6777:
                   6778: aaa+rv|ann arbor ambassador in reverse video,
                   6779:        blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
                   6780:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
                   6781:        rs1=\E[H\E[7m\E[J$<156>,
                   6782:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   6783:        sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
                   6784: # Ambassador with the DEC option, for partial vt100 compatibility.
                   6785: aaa+dec|ann arbor ambassador in dec vt100 mode,
                   6786:        acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
                   6787:        csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
                   6788:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
                   6789:        smacs=^O,
                   6790: aaa-18|ann arbor ambassador/18 lines,
                   6791:        lines#18,
                   6792:        is2=\E7\E[60;0;0;18p\E8,
                   6793:        rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, use=aaa+unk,
                   6794: aaa-18-rv|ann arbor ambassador/18 lines+reverse video,
                   6795:        use=aaa+rv, use=aaa-18,
                   6796: aaa-20|ann arbor ambassador/20 lines,
                   6797:        lines#20,
                   6798:        is2=\E7\E[60;0;0;20p\E8,
                   6799:        rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, use=aaa+unk,
                   6800: aaa-22|ann arbor ambassador/22 lines,
                   6801:        lines#22,
                   6802:        is2=\E7\E[60;0;0;22p\E8,
                   6803:        rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, use=aaa+unk,
                   6804: aaa-24|ann arbor ambassador/24 lines,
                   6805:        lines#24,
                   6806:        is2=\E7\E[60;0;0;24p\E8,
                   6807:        rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, use=aaa+unk,
                   6808: aaa-24-rv|ann arbor ambassador/24 lines+reverse video,
                   6809:        use=aaa+rv, use=aaa-24,
                   6810: aaa-26|ann arbor ambassador/26 lines,
                   6811:        lines#26,
                   6812:        is2=\E7\E[60;0;0;26p\E8,
                   6813:        rmcup=\E[60;0;0;26p\E[26;1H\E[K,
                   6814:        smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
                   6815: aaa-28|ann arbor ambassador/28 lines,
                   6816:        lines#28,
                   6817:        is2=\E7\E[60;0;0;28p\E8,
                   6818:        rmcup=\E[60;0;0;28p\E[28;1H\E[K,
                   6819:        smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
                   6820: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
                   6821:        eslok, hs,
                   6822:        lines#29,
                   6823:        dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   6824:        fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
                   6825:        rmcup=\E[60;1;0;30p\E[29;1H\E[K,
                   6826:        smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
                   6827:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   6828:        use=aaa+unk,
                   6829: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
                   6830:        use=aaa+rv, use=aaa-30-s,
                   6831: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
                   6832:        rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   6833:        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
                   6834: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context,
                   6835:        rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   6836:        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
                   6837: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
                   6838:        lines#30,
                   6839:        is2=\E7\E[60;0;0;30p\E8,
                   6840:        rmcup=\E[60;0;0;30p\E[30;1H\E[K,
                   6841:        smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
                   6842: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
                   6843:        use=aaa+rv, use=aaa-30,
                   6844: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
                   6845:        rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
                   6846:        use=aaa-30,
                   6847: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
                   6848:        rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
                   6849:        use=aaa+rv, use=aaa-30,
                   6850: aaa-36|ann arbor ambassador/36 lines,
                   6851:        lines#36,
                   6852:        is2=\E7\E[60;0;0;36p\E8,
                   6853:        rmcup=\E[60;0;0;36p\E[36;1H\E[K,
                   6854:        smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
                   6855: aaa-36-rv|ann arbor ambassador/36 lines+reverse video,
                   6856:        use=aaa+rv, use=aaa-36,
                   6857: aaa-40|ann arbor ambassador/40 lines,
                   6858:        lines#40,
                   6859:        is2=\E7\E[60;0;0;40p\E8,
                   6860:        rmcup=\E[60;0;0;40p\E[40;1H\E[K,
                   6861:        smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
                   6862: aaa-40-rv|ann arbor ambassador/40 lines+reverse video,
                   6863:        use=aaa+rv, use=aaa-40,
                   6864: aaa-48|ann arbor ambassador/48 lines,
                   6865:        lines#48,
                   6866:        is2=\E7\E[60;0;0;48p\E8,
                   6867:        rmcup=\E[60;0;0;48p\E[48;1H\E[K,
                   6868:        smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
                   6869: aaa-48-rv|ann arbor ambassador/48 lines+reverse video,
                   6870:        use=aaa+rv, use=aaa-48,
                   6871: aaa-60-s|ann arbor ambassador/59 lines+status,
                   6872:        eslok, hs,
                   6873:        lines#59,
                   6874:        dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   6875:        fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
                   6876:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   6877:        use=aaa+unk,
                   6878: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
                   6879:        use=aaa+rv, use=aaa-60-s,
                   6880: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
                   6881:        use=aaa+dec, use=aaa+rv, use=aaa-60-s,
                   6882: aaa-60|ann arbor ambassador/60 lines,
                   6883:        lines#60,
                   6884:        is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk,
                   6885: aaa-60-rv|ann arbor ambassador/60 lines+reverse video,
                   6886:        use=aaa+rv, use=aaa-60,
                   6887: aaa-db|ann arbor ambassador 30/destructive backspace,
                   6888:        cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h,
                   6889:        use=aaa-30,
                   6890:
                   6891: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
                   6892:        lines#33,
                   6893:        flash=\E[>59h$<100>\E[>59l,
                   6894:        is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
                   6895:        rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p,
                   6896:        use=aaa+unk,
                   6897: guru+rv|guru changes for reverse video,
                   6898:        flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
                   6899: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
                   6900:        use=guru+rv, use=guru-33,
                   6901: guru+s|guru status line,
                   6902:        eslok, hs,
                   6903:        dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
                   6904:        rmcup=\E[255;1p\E[255;1H\E[K,
                   6905:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   6906: guru-nctxt|guru with no saved context,
                   6907:        smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
                   6908: guru-s|guru-33-s|ann arbor guru/33 lines+status,
                   6909:        lines#32,
                   6910:        is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
                   6911:        smcup=\E[33;1p\E[255;1H\E[K,
                   6912:        use=guru+s, use=guru+unk,
                   6913: guru-24|ann arbor guru 24 lines,
                   6914:        cols#80, lines#24,
                   6915:        is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk,
                   6916: guru-44|ann arbor guru 44 lines,
                   6917:        cols#97, lines#44,
                   6918:        is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk,
                   6919: guru-44-s|ann arbor guru/44 lines+status,
                   6920:        lines#43,
                   6921:        is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
                   6922:        smcup=\E[44;1p\E[255;1H\E[K,
                   6923:        use=guru+s, use=guru+unk,
                   6924: guru-76|guru with 76 lines by 89 cols,
                   6925:        cols#89, lines#76,
                   6926:        is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   6927: guru-76-s|ann arbor guru/76 lines+status,
                   6928:        cols#89, lines#75,
                   6929:        is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
                   6930:        smcup=\E[76;1p\E[255;1H\E[K,
                   6931:        use=guru+s, use=guru+unk,
                   6932: guru-76-lp|guru-lp|guru with page bigger than line printer,
                   6933:        cols#134, lines#76,
                   6934:        is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   6935: guru-76-w|guru 76 lines by 178 cols,
                   6936:        cols#178, lines#76,
                   6937:        is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   6938: guru-76-w-s|ann arbor guru/76 lines+status+wide,
                   6939:        cols#178, lines#75,
                   6940:        is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
                   6941:        smcup=\E[76;1p\E[255;1H\E[K,
                   6942:        use=guru+s, use=guru+unk,
                   6943: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
                   6944:        cols#178, lines#76,
                   6945:        is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk,
                   6946: aaa-rv-unk|ann arbor unknown type,
                   6947:        lh#0, lw#0, nlab#0,
                   6948:        blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
                   6949:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
                   6950:        rs1=\E[H\E[7m\E[J,
                   6951:        sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   6952:        sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
                   6953:
                   6954: #### Applied Digital Data Systems (adds)
                   6955: #
                   6956: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   6957: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   6958: # terminals was merged again.  Then AT&T sold the terminal business to
                   6959: # SunRiver.  The engineers from Teletype, AT&T terminals, ADDS,
                   6960: # and NCR (who are still there as of early 1995) are at:
                   6961: #
                   6962: #      SunRiver Data Systems
                   6963: #      100 Marcus Boulevard
                   6964: #      Hauppauge, NY 11788-3762
                   6965: #      Vox: (800)-231-5445
                   6966: #      Fax: (516)-342-7378
                   6967: #
                   6968: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
                   6969: # In 1995 SunRiver acquired DEC's terminals business.
                   6970: #
                   6971:
                   6972: # Regent: lowest common denominator, works on all regents.
                   6973: # (regent: renamed ":bc:" to ":le:" -- esr)
                   6974: regent|Adds Regent Series,
                   6975:        am,
                   6976:        cols#80, lines#24,
                   6977:        bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
                   6978:        home=\EY  , ind=^J, ll=^A,
                   6979: # Regent 100 has a bug where if computer sends escape when user is holding
                   6980: # down shift key it gets confused, so we avoid escape.
                   6981: regent100|Adds Regent 100,
                   6982:        xmc#1,
                   6983:        bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c,
                   6984:        kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
                   6985:        kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
                   6986:        lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
                   6987:        sgr0=\E0@, smso=\E0P, smul=\E0`,
                   6988:        use=regent,
                   6989: regent20|Adds Regent 20,
                   6990:        bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent,
                   6991: regent25|Adds Regent 25,
                   6992:        bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20,
                   6993: regent40|Adds Regent 40,
                   6994:        xmc#1,
                   6995:        bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
                   6996:        kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
                   6997:        kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
                   6998:        lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
                   6999:        smul=\E0`,
                   7000:        use=regent25,
                   7001: regent40+|Adds Regent 40+,
                   7002:        is2=\EB, use=regent40,
                   7003: regent60|regent200|Adds Regent 60,
                   7004:        dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
                   7005:        rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
                   7006:        use=regent40+,
                   7007: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
                   7008: # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
                   7009: viewpoint|addsviewpoint|adds viewpoint,
                   7010:        am,
                   7011:        cols#80, lines#24,
                   7012:        bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
                   7013:        cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   7014:        cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
                   7015:        ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   7016:        kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
                   7017:        rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
                   7018: # Some viewpoints have bad ROMs that foo up on ^O
                   7019: screwpoint|adds viewpoint with ^O bug,
                   7020:        cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
                   7021:
                   7022: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
                   7023: # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
                   7024: # Theory; the 3a+ wants \E0%c to set highlights, where normal=01000000,
                   7025: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   7026: # invis=01000100 and %c is the logical or of desired attributes.
                   7027: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   7028: vp3a+|viewpoint3a+|adds viewpoint 3a+,
                   7029:        am, bw,
                   7030:        cols#80, it#8, lines#24,
                   7031:        civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J,
                   7032:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   7033:        ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   7034:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(,
                   7035:        sgr=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E),
                   7036:        sgr0=\E(, smso=\E0Q\E),
                   7037: vp60|viewpoint60|addsvp60|adds viewpoint60,
                   7038:        use=regent40,
                   7039: #
                   7040: # adds viewpoint 90 - from cornell
                   7041: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   7042: #        insert mode. This unfortunately puts the viewpoint90 IN insert
                   7043: #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
                   7044: #   -    :ei=:im=: must be present in the termcap translation.)
                   7045: #   -    <xhp> indicates glitch that attributes stick to location
                   7046: #   -    <msgr> means it's safe to move in standout mode
                   7047: #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
                   7048: #               the status line
                   7049: # Function key and label capabilities merged in from SCO.
                   7050: vp90|viewpoint90|adds viewpoint 90,
                   7051:        bw, msgr, xhp,
                   7052:        cols#80, lines#24,
                   7053:        clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
                   7054:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
                   7055:        dl1=\El, ed=\Ek, el=\EK, home=\EY  , ht=^I, ich1=\EF \EF\025,
                   7056:        ind=^J, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   7057:        kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, kf2=^B3\r, kf3=^B4\r,
                   7058:        kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, kf8=^B9\r,
                   7059:        kf9=^B\072\r, khome=^A, lf0=F1, lf1=F2, lf10=F11, lf2=F3,
                   7060:        lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^A,
                   7061:        rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, sgr0=\ER\E0@\EV,
                   7062:        smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
                   7063: # Note: if return acts weird on a980, check internal switch #2
                   7064: # on the top chip on the CONTROL pc board.
                   7065: adds980|a980|adds consul 980,
                   7066:        am,
                   7067:        cols#80, lines#24,
                   7068:        bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
                   7069:        cuf1=\E^E01, cup=\013%p1%'@'%+%c\E\005%p2%2d,
                   7070:        dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
                   7071:        kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
                   7072:        kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
                   7073:
                   7074: #### C. Itoh Electronics
                   7075: #
                   7076: # As of 1995 these people no longer make terminals (they're still in the
                   7077: # printer business).  Their terminals were all clones of the DEC VT series.
                   7078: # They're located in Orange County, CA.
                   7079: #
                   7080:
                   7081: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   7082: #           the delay times and do an auto tab set rather than the indirect
                   7083: #           file used in vt100.
                   7084: cit80|cit-80|citoh 80,
                   7085:        am,
                   7086:        cols#80, lines#24,
                   7087:        clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C,
                   7088:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
                   7089:        ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   7090:        kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
                   7091: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
                   7092: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   7093: cit101|citc|C.itoh fast vt100,
                   7094:        am, xenl,
                   7095:        cols#80, lines#24,
                   7096:        bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C,
                   7097:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U,
                   7098:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
                   7099:        flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
                   7100:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
                   7101:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   7102:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   7103:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
                   7104:        smul=\E[4m,
                   7105: # CIE Terminals CIT-500 from BRL
                   7106: # The following SET-UP modes are assumed for normal operation:
                   7107: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
                   7108: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
                   7109: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
                   7110: # Other SET-UP modes may be set for operator convenience or communication
                   7111: # requirements.
                   7112: # Hardware tabs are assumed to be set every 8 columns; they can be set up
                   7113: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
                   7114: # "stty ixon -ixany" to enable DC3/DC1 flow control!
                   7115: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
                   7116: cit500|CIE Terminals CIT-500,
                   7117:        mir, msgr, xon,
                   7118:        cols#80, it#8, lines#64, vt#3,
                   7119:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   7120:        clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7121:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   7122:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7123:        cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   7124:        ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
                   7125:        il1=\E[L, ind=^J, is2=\E<\E)0, kIC=\E[4h, kbs=^H, kcbt=\E[Z,
                   7126:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P,
                   7127:        kdl1=\E[M, ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
                   7128:        kf3=\EOS, kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY,
                   7129:        kf9=\EOZ, khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l,
                   7130:        lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17,
                   7131:        lf7=F18, lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8,
                   7132:        rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
                   7133:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   7134:        rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
                   7135:        sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   7136:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   7137:
                   7138: # C. Itoh printers begin here
                   7139: citoh|ci8510|8510|c.itoh 8510a,
                   7140:        cols#80, it#8,
                   7141:        bold=\E!, cub1@,
                   7142:        is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.,
                   7143:        rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
                   7144:        smul=\EX,
                   7145:        use=lpr,
                   7146: citoh-pica|citoh in pica,
                   7147:        is1=\EN, use=citoh,
                   7148: citoh-elite|citoh in elite,
                   7149:        cols#96,
                   7150:        is1=\EE,
                   7151:        is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089., use=citoh,
                   7152: citoh-comp|citoh in compressed,
                   7153:        cols#136,
                   7154:        is1=\EQ,
                   7155:        is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129., use=citoh,
                   7156: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
                   7157: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
                   7158:        cols#32767,
                   7159:        is1=\EP, use=citoh,
                   7160: citoh-6lpi|citoh in 6 lines per inch mode,
                   7161:        is3=\EA, use=citoh,
                   7162: citoh-8lpi|citoh in 8 lines per inch mode,
                   7163:        lines#88,
                   7164:        is3=\EB, use=citoh,
                   7165:
                   7166: #### Control Data (cdc)
                   7167: #
                   7168:
                   7169: cdc456|cdc 456 terminal,
                   7170:        am,
                   7171:        cols#80, lines#24,
                   7172:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   7173:        cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
                   7174:        el=^V, home=^Y, il1=\EL, ind=^J,
                   7175: #
                   7176: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
                   7177: #
                   7178: # Part of the long initialization string defines the "DOWN" key to the left
                   7179: # of the tab key to send an ESC.  The real ESC key is position way out in right
                   7180: # field.
                   7181: #
                   7182: # The termcap won't work in 132 column mode due to the way it it moves the
                   7183: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
                   7184: # handle the 721 in 132 column mode.
                   7185: #
                   7186: # Personal preference: the key definitions have been commented out by a
                   7187: # period before the name.  Remove them if you want.
                   7188: #
                   7189: # (cdc721: changed :ri: to :sr: -- esr)
                   7190: cdc721-esc|Control Data 721,
                   7191:        am, bw, msgr, xon,
                   7192:        cols#80, it#8, lines#30,
                   7193:        bel=^G, blink=^N, cbt=^^^K, clear=^L, cr=^M, cub1=^H, cud1=^Z,
                   7194:        cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
                   7195:        dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, ht=^I,
                   7196:        hts=^^^RW, ich1=^^O, il1=^^R, ind=\036W =\036U,
                   7197:        invis=^^^R[,
                   7198:        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,
                   7199:        kbs=^H, kcub1=^H, kcud1=^J, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t,
                   7200:        kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, ll=^B =,
                   7201:        nel=\r\036W =\036U, rev=^^D, ri=\036W =\036V, rmir=,
                   7202:        rmso=^^E, rmul=^], sgr0=\017\025\035\036E\036\022\\,
                   7203:        smir=, smso=^^D, smul=^\, tbc=^^^RY,
                   7204:
                   7205: #### Getronics
                   7206: #
                   7207: # Getronics is a Dutch electronics company that at one time was called
                   7208: # `Geveke' and made async terminals; but (according to the company itself!)
                   7209: # they've lost all their documentation on the command set.  The hardware
                   7210: # documentation suggests the terminals were actually manufactured by a
                   7211: # Taiwanese electronics company named Cal-Comp.  There are known
                   7212: # to have been at least two models, the 33 and the 50.
                   7213: #
                   7214:
                   7215: # The 50 seems to be a top end vt220 clone, with the addition of a higher
                   7216: # screen resolution, a larger screen, at least 1 page of memory above and
                   7217: # below the screen, apparently pages of memory right and left of the screen
                   7218: # which can be panned, and about 75 function keys (15 function keys x normal,
                   7219: # shift, control, func A, func B). It also has more setup possibilities than
                   7220: # the vt220. The monitor case is dated November 1978 and the keyboard case is
                   7221: # May 1982.
                   7222: #
                   7223: # The vt100 emulation works as is.  The entry below describes the rather
                   7224: # non-conformant (but more featureful) ANSI mode.
                   7225: #
                   7226: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
                   7227: visa50|geveke visa 50 terminal in ansi 80 character mode,
                   7228:        bw, mir, msgr,
                   7229:        cols#80, lines#25,
                   7230:        acsc=0_aaffggjjkkllmmnnqqttuuvvwwxxh ooss, bel=^G,
                   7231:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
                   7232:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   7233:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   7234:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7235:        dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
                   7236:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
                   7237:        hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   7238:        il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
                   7239:        is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
                   7240:        ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
                   7241:        kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                   7242:        kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
                   7243:        kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
                   7244:        kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
                   7245:        lf3=A insert line, lf4=A delete line, lf5=A clear,
                   7246:        lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
                   7247:        lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
                   7248:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
                   7249:        rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
                   7250:        smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
                   7251:        vpa=\E[%i%p1%dd,
                   7252:
                   7253: #### Human Designed Systems (Concept)
                   7254: #
                   7255: #      Human Designed Systems
                   7256: #      400 Fehley Drive
                   7257: #      King of Prussia, PA 19406
                   7258: #      Vox: (610)-277-8300
                   7259: #      Fax: (610)-275-5739
                   7260: #      Net: support@hds.com
                   7261: #
                   7262: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   7263: # the character-terminal business now (1995) and making X terminals.  In
                   7264: # particular, the whole `Concept' line described here was discontinued long
                   7265: # ago.
                   7266: #
                   7267:
                   7268: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   7269: # Extensive changes to c108 by arpavax:eric Feb 1982
                   7270: # Some unknown person at SCO then translated it to terminfo.
                   7271: #
                   7272: # There seem to be a number of different versions of the C108 PROMS
                   7273: # (with bug fixes in its Z-80 program).
                   7274: #
                   7275: # The first one that we had would lock out the keyboard of you
                   7276: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   7277: # Try that on your C108 and see if it sends a ^S when you type it.
                   7278: # If so, you have an old version of the PROMs.
                   7279: #
                   7280: # You should configure the C108 to send ^S/^Q before running this.
                   7281: # It is much faster (at 9600 baud) than the c100 because the delays
                   7282: # are not fixed.
                   7283: # new status line display entries for c108-8p:
                   7284: # <is3> - init str #3 - setup term for status display -
                   7285: # set programmer mode, select window 2, define window at last
                   7286: # line of memory, set bkgnd stat mesg there, select window 0.
                   7287: #
                   7288: # <tsl> - to status line - select window 2, home cursor, erase to
                   7289: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   7290: #
                   7291: # <fsl> - from status line - 1/2 bright off, select window 0
                   7292: #
                   7293: # <dsl> - disable status display - set bkgnd status mesg with
                   7294: # illegal window #
                   7295: #
                   7296: # There are probably more function keys that should be added but
                   7297: # I don't know what they are.
                   7298: #
                   7299: # No delays needed on c108 because of ^S/^Q handshaking
                   7300: #
                   7301: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
                   7302:        is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n,
                   7303:        rmcup=\Ev  \001\177p\Ep\r\n,
                   7304:        use=c108-4p,
                   7305: c108-4p|concept108-4p|concept 108 w/4 pages,
                   7306:        eslok, hs, xon,
                   7307:        pb@,
                   7308:        acsc=l\\qLkTxUmMjE, cnorm=\Ew, cr=^M,
                   7309:        cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
                   7310:        cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z ,
                   7311:        ind=^J, is1=\EK\E!\E F,
                   7312:        is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n,
                   7313:        rmacs=\Ej , rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!,
                   7314:        smcup=\EU\Ev  8p\Ep\r\E\025,
                   7315:        tsl=\E z"\E?\E\005\EE\Ea %+ , use=c100,
                   7316: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
                   7317:        rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r,
                   7318:        use=c108-rv-4p,
                   7319: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
                   7320:        flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
                   7321:        use=c108-4p,
                   7322: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
                   7323:        cols#132,
                   7324:        is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n,
                   7325:        smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
                   7326:
                   7327: # Concept 100:
                   7328: # These have only window relative cursor addressing, not screen
                   7329: # relative. To get it to work right here, smcup/rmcup (which
                   7330: # were invented for the concept) lock you into a one page
                   7331: # window for screen style programs.
                   7332: #
                   7333: # To get out of the one page window, we use a clever trick:
                   7334: # we set the window size to zero ("\Ev    " in rmcup) which the
                   7335: # terminal recognizes as an error and resets the window to all
                   7336: # of memory.
                   7337: #
                   7338: # This trick works on c100 but does not on c108, sigh.
                   7339: #
                   7340: # Some tty drivers use cr3 for concept, others use nl3, hence
                   7341: # the delays on cr and ind below. This padding is only needed at
                   7342: # 9600 baud and up.  One or the other is commented out depending on
                   7343: # local conventions.
                   7344: #
                   7345: # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
                   7346: # less than 6 but more than 2 will work.
                   7347: #
                   7348: # Note: can't use function keys f7-f10 because they are
                   7349: # indistinguishable from arrow keys (!), also, del char and
                   7350: # clear eol use xon/xoff so they probably won't work very well.
                   7351: #
                   7352: # Also note that we don't define insrt/del char/delline/eop/send
                   7353: # because they don't transmit unless we reset them - I figured
                   7354: # it was a bad idea to clobber their definitions.
                   7355: #
                   7356: # The <mc5> sequence changes the escape character to ^^ so that
                   7357: # escapes will be passed through to the printer. Only trouble
                   7358: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   7359: # Unfortunately, if you're sending raster bits through to be
                   7360: # plotted, any character you choose will be likely, so we lose.
                   7361: #
                   7362: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   7363: # cannot be # in is2 because it will hang a c100 with no printer
                   7364: # if sent twice.
                   7365: c100|concept100|concept|c104|c100-4p|hds concept 100,
                   7366:        am, eo, mir, ul, xenl,
                   7367:        cols#80, lines#24, pb#9600, vt#8,
                   7368:        bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
                   7369:        cub1=^H, cud1=^J, cuf1=\E=,
                   7370:        cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
                   7371:        dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
                   7372:        ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
                   7373:        ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
                   7374:        is1=\EK,
                   7375:        is2=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo!\200\E\007!\E\010A@ \E4#\072"\E\072a\E4#;"\E\072b\E4#<"\E\072c,
                   7376:        is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
                   7377:        kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
                   7378:        kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
                   7379:        kf4=\E8, kf5=\E9, kf6=\E\072a, kf7=\E\072b, kf8=\E\072c,
                   7380:        khome=\E?, khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[,
                   7381:        knp=\E-, kpp=\E., kri=\E\\, krmir=\E\200,
                   7382:        mc4=\036o \E\EQ!\EYP\027,
                   7383:        mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
                   7384:        rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
                   7385:        rmcup=\Ev    $<6>\Ep\r\n, rmir=\E  , rmkx=\Ex, rmso=\Ed,
                   7386:        rmul=\Eg, sgr0=\EN@, smcup=\EU\Ev  8p\Ep\r\E\025$<16>,
                   7387:        smir=\E^P, smkx=\EX, smso=\ED, smul=\EG,
                   7388: c100-rv|c100-rv-4p|concept100-rv|c100 rev video,
                   7389:        cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
                   7390:        smso=\EE,
                   7391:        use=c100,
                   7392: oc100|oconcept|c100-1p|old 1 page concept 100,
                   7393:        in,
                   7394:        is3@, use=c100,
                   7395:
                   7396: # <ht> through <el> included to specify padding needed in raw mode.
                   7397: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
                   7398: avt-ns|concept avt no status line,
                   7399:        am, eo, mir, ul, xenl, xon,
                   7400:        cols#80, it#8, lines#24, lm#192,
                   7401:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   7402:        clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M,
                   7403:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7404:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7405:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7406:        cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
                   7407:        dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
                   7408:        hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
                   7409:        ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
                   7410:        invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l,
                   7411:        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\0720\07232!r\E[0*w\E[w\E2\r\n\E[2;27!t,
                   7412:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   7413:        kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   7414:        kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
                   7415:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   7416:        pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
                   7417:        prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
                   7418:        ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l,
                   7419:        rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, sc=\E7,
                   7420:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   7421:        sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,
                   7422:        smir=\E1, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
                   7423:        tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,
                   7424: avt-rv-ns|concept avt in reverse video mode/no status line,
                   7425:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
                   7426:        use=avt-ns,
                   7427: avt-w-ns|concept avt in 132 column mode/no status line,
                   7428:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
                   7429:        use=avt-ns,
                   7430: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
                   7431:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
                   7432:        smcup=\E[H\E[1;24;1;132w,
                   7433:        use=avt-ns,
                   7434:
                   7435: # Concept AVT with status line. We get the status line using the
                   7436: # "Background status line" feature of the terminal. We swipe the
                   7437: # first line of memory in window 2 for the status line, keeping
                   7438: # 191 lines of memory and 24 screen lines for regular use.
                   7439: # The first line is used instead of the last so that this works
                   7440: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   7441: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   7442: #
                   7443: avt+s|concept avt status line changes,
                   7444:        eslok, hs,
                   7445:        lm#191,
                   7446:        dsl=\E[0*w, fsl=\E[1;1!w,
                   7447:        is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
                   7448:        rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
                   7449:        tsl=\E[2;1!w\E[;%p1%dH\E[2K,
                   7450: avt|avt-s|concept-avt|avt w/80 columns,
                   7451:        use=avt+s, use=avt-ns,
                   7452: avt-rv|avt-rv-s|avt reverse video w/sl,
                   7453:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s,
                   7454:        use=avt-ns,
                   7455: avt-w|avt-w-s|concept avt 132 cols+status,
                   7456:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s,
                   7457:        use=avt-ns,
                   7458: avt-w-rv|avt-w-rv-s|avt wide+status+rv,
                   7459:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
                   7460:        smcup=\E[H\E[1;24;1;132w,
                   7461:        use=avt+s, use=avt-ns,
                   7462:
                   7463: #### Contel Business Systems.
                   7464: #
                   7465:
                   7466: # Contel c300 and c320 terminals.
                   7467: contel300|contel320|c300|Contel Business Systems C-300 or C-320,
                   7468:        am, in, xon,
                   7469:        cols#80, lines#24, xmc#1,
                   7470:        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   7471:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   7472:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   7473:        el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
                   7474:        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
                   7475:        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   7476:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
                   7477:        rmso=\E!\200, sgr0=\E!\200, smso=\E!\r, tbc=\E3,
                   7478: # Contel c301 and c321 terminals.
                   7479: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
                   7480:        flash@, ich1@, ip@, rmso=\E!\200$<20>, smso=\E!\r$<20>,
                   7481:        use=contel300,
                   7482:
                   7483: #### Data General (dg)
                   7484: #
                   7485: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   7486: # the terminals group at Data General was shut down in 1991; all these
                   7487: # terminals have thus been discontinued.
                   7488: #
                   7489:
                   7490: # According to the 4.4BSD termcap file, the dg200 <cup> should be the
                   7491: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   7492: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   7493: # maybe they were originally nuls (which would fit).
                   7494: dg200|data general dasher 200,
                   7495:        am, bw,
                   7496:        cols#80, lines#24,
                   7497:        bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
                   7498:        cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
                   7499:        kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
                   7500:        kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
                   7501:        kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
                   7502:        smso=^^D, smul=^T,
                   7503: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   7504: # courtesy of Carlos Rucalde of Vantage Software, Inc.
                   7505: # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
                   7506: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   7507: dg211|Data General d211,
                   7508:        cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
                   7509:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
                   7510:        rmso=\036E$<\200/>, smcup=^L^R, smso=\036D$<5/>,
                   7511:        use=dg200,
                   7512:
                   7513: # dg450 from cornell
                   7514: dg450|dg6134|data general 6134,
                   7515:        cub1@, cuf1=^X, use=dg200,
                   7516:
                   7517: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   7518: # having a command to move straight down from any position on the bottom line
                   7519: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   7520: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   7521: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   7522: # backspace on all terminals.  This is not so in DG mode.
                   7523: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
                   7524: # grounds that there is no matching ":ml:"
                   7525: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
                   7526: dg460-ansi|Data General Dasher 460 in ANSI-mode,
                   7527:        am, msgr, ul,
                   7528:        cols#80, it#8, lines#24,
                   7529:        blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   7530:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
                   7531:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   7532:        il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, kcub1=\E[D,
                   7533:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z,
                   7534:        kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, kf4=\E[005z,
                   7535:        kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, kf8=\E[009z,
                   7536:        kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4,
                   7537:        lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, ri=\E[T,
                   7538:        rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   7539: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   7540: # Data General 605x
                   7541: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   7542: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
                   7543: # This also matches a posted description of something called A `Dasher 100'
                   7544: # so there's a dg100 alias here.
                   7545: # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
                   7546: dg6053|dg100|data general 6053,
                   7547:        am, bw, ul,
                   7548:        cols#80, lines#24,
                   7549:        bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
                   7550:        cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H,
                   7551:        ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W,
                   7552:        kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w,
                   7553:        kf7=^^x, kf8=^^y, khome=^H, nel=^M^Z, rmcup=^L, rmso=\200^^E,
                   7554:        rmul=^U, smcup=^L^R, smso=\200\200\200\200\200\036D,
                   7555:        smul=^T,
                   7556:
                   7557: #### Datamedia (dm)
                   7558: #
                   7559:
                   7560: cs10|colorscan|Datamedia Color Scan 10,
                   7561:        msgr,
                   7562:        cols#80, lines#24,
                   7563:        bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   7564:        cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   7565:        ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   7566:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m,
                   7567:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   7568: cs10-w|Datamedia Color Scan 10 with 132 columns,
                   7569:        cols#132,
                   7570:        cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
                   7571:
                   7572: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
                   7573: dm1520|dm1521|datamedia 1520,
                   7574:        am, xenl,
                   7575:        cols#80, it#8, lines#24,
                   7576:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
                   7577:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   7578:        home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
                   7579:        khome=^Y,
                   7580: dm2500|datamedia2500|datamedia 2500,
                   7581:        cols#80, lines#24,
                   7582:        bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
                   7583:        cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
                   7584:        dch1=\020\010\030\035$<10*>,
                   7585:        dl1=\020\032\030\035$<10*>, el=^W, home=^B,
                   7586:        ich1=\020\034\030\035$<10*>,
                   7587:        il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377,
                   7588:        rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^],
                   7589:        smdc=^P, smir=^P, smso=^N,
                   7590: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
                   7591: # also, has a meta-key.
                   7592: # From: <goldberger@su-csli.arpa>
                   7593: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   7594: dmchat|dmchat version of datamedia 2500,
                   7595:        km,
                   7596:        dl1=\020\032\030\035$<2/>,
                   7597:        il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
                   7598: # (dm3025: ":MT:" changed to ":km:" -- esr)
                   7599: dm3025|datamedia 3025a,
                   7600:        km,
                   7601:        cols#80, it#8, lines#24,
                   7602:        bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   7603:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
                   7604:        dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
                   7605:        home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>,
                   7606:        is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP,
                   7607:        smir=\EP, smso=\EO1,
                   7608: dm3045|datamedia 3045a,
                   7609:        am, eo, km@, ul, xenl,
                   7610:        dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA,
                   7611:        kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
                   7612:        kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r,
                   7613:        khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
                   7614:        use=dm3025,
                   7615: # Datamedia DT80 soft switches:
                   7616: # 1    0=Jump  1=Smooth
                   7617: #      Autorepeat      0=off  1=on
                   7618: #      Screen          0=Dark 1=light
                   7619: #      Cursor          0=u/l  1=block
                   7620: #
                   7621: # 2    Margin Bell     0=off  1=on
                   7622: #      Keyclick        0=off  1=on
                   7623: #      Ansi/VT52       0=VT52 1=Ansi
                   7624: #      Xon/Xoff        0=Off  1=On
                   7625: #
                   7626: # 3    Shift3          0=Hash 1=UK Pound
                   7627: #      Wrap            0=Off  1=On
                   7628: #      Newline         0=Off  1=On
                   7629: #      Interlace       0=Off  1=On
                   7630: #
                   7631: # 4    Parity          0=Odd  1=Even
                   7632: #      Parity          0=Off  1=On
                   7633: #      Bits/Char       0=7    1=8
                   7634: #      Power           0=60Hz 1=50Hz
                   7635: #
                   7636: # 5    Line Interface  0=EIA  1=Loop
                   7637: #      Aux Interface   0=EIA  1=Loop
                   7638: #      Local Copy      0=Off  1=On
                   7639: #      Spare
                   7640: #
                   7641: # 6    Aux Parity      0=Odd  1=Even
                   7642: #      Aux Parity      0=Off  1=On
                   7643: #      Aux Bits/Char   0=7    1=8
                   7644: #      CRT Saver       0=Off  1=On
                   7645: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   7646: dm80|dmdt80|dt80|datamedia dt80/1,
                   7647:        clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
                   7648:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   7649:        home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM,
                   7650:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   7651:        use=vt100,
                   7652: # except in 132 column mode, where it needs a little padding.
                   7653: # This is still less padding than the vt100, and you can always turn on
                   7654: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   7655: # reverse video.
                   7656: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
                   7657:        cols#132,
                   7658:        clear=\E[H\E[2J$<50/>, cud1=^J,
                   7659:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>,
                   7660:        ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
                   7661: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   7662: dt80-sas|Datamedia DT803/DTX for SAS usage,
                   7663:        am, bw,
                   7664:        cols#80, lines#24,
                   7665:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   7666:        bel=^G, clear=^L, cr=^M,
                   7667:        csr=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2,
                   7668:        cub1=^H, cud1=\EB, cuf1=^\,
                   7669:        cup=\E=%p2%' '%+%c%p1%' '%+%c, cuu1=^_, dl1=\EM, ed=^K,
                   7670:        el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB,
                   7671:        is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J,
                   7672:        kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N,
                   7673:        rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF,
                   7674:        smso=\E$2\004, tbc=\E'0,
                   7675:
                   7676: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
                   7677: # These aren't end-all Excel termcaps; but do insert/delete char/line
                   7678: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
                   7679: # The naming convention has been bent somewhat, with the use of E? (where
                   7680: # E is for 'Excel') as # a name.  This was done to distinguish the entries
                   7681: # from the other Datamedias in use here, and yet to associate a model of
                   7682: # the Excel terminals with the regular datamedia terminals that share
                   7683: # major characteristics.
                   7684: excel62|excel64|datamedia Excel 62,
                   7685:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   7686:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   7687:        use=dt80,
                   7688: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
                   7689:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   7690:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   7691:        use=dt80w,
                   7692: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
                   7693:        dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
                   7694:        kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
                   7695:        smir=\E[4h,
                   7696:        use=dt80,
                   7697:
                   7698: #### Falco
                   7699: #
                   7700: #      Falco Data Products
                   7701: #      440 Potrero Avenue
                   7702: #      Sunnyvale, CA 940864-196
                   7703: #      Vox: (800)-325-2648
                   7704: #      Fax: (408)-745-7860
                   7705: #      Net: techsup@charm.sys.falco.com
                   7706: #
                   7707: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   7708: # emulations of DEC VT-series, Wyse, and Televideo types.
                   7709:
                   7710: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
                   7711: # This terminal was released around 1983 and was discontinued long ago.
                   7712: # The standout and underline highlights are the same.
                   7713: falco|ts1|ts-1|falco ts-1,
                   7714:        am,
                   7715:        cols#80, it#8, lines#24,
                   7716:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   7717:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   7718:        dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
                   7719:        ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   7720:        kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0,
                   7721:        smir=\Eq, smso=\Eg1, smul=\Eg1,
                   7722: falco-p|ts1p|ts-1p|falco ts-1 with paging option,
                   7723:        am, da, db, mir, msgr, ul,
                   7724:        cols#80, it#8, lines#24,
                   7725:        bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B,
                   7726:        cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
                   7727:        dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
                   7728:        il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
                   7729:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er,
                   7730:        rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq,
                   7731:        smso=\Eg4, smul=\Eg1,
                   7732: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
                   7733: ts100|ts100-sp|falco ts100-sp,
                   7734:        am, mir, msgr, xenl, xon,
                   7735:        cols#80, it#8, lines#24, vt#3,
                   7736:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7737:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   7738:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7739:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   7740:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   7741:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   7742:        cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
                   7743:        el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
                   7744:        ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
                   7745:        ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn,
                   7746:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM,
                   7747:        kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   7748:        kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   7749:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   7750:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   7751:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   7752:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   7753:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   7754:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   7755: ts100-ctxt|falco ts-100 saving context,
                   7756:        rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
                   7757:
                   7758: #### Florida Computer Graphics
                   7759: #
                   7760:
                   7761: # Florida Computer Graphics Beacon System, using terminal emulator program
                   7762: # "host.com", as provided by FCG.  This description is for an early release
                   7763: # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
                   7764: # commented out.
                   7765:
                   7766: # From: David Bryant <cbosg!djb> 1/7/83
                   7767: beacon|FCG Beacon System,
                   7768:        am, da, db,
                   7769:        cols#80, lines#32,
                   7770:        bel=\ESTART\r\E37\r\EEND\r$<1>,
                   7771:        blink=\ESTART\r\E61\0541\r\EEND\r, clear=\EZ$<10>,
                   7772:        cr=^M, cub1=^H, cud1=^J, cuf1=\EV,
                   7773:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU,
                   7774:        dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE,
                   7775:        ind=^J, rev=\ESTART\r\E59\0541\r\EEND\r,
                   7776:        rmso=\ESTART\r\E70\0540\r\EEND\r$<20>,
                   7777:        rmul=\ESTART\r\E60\0540\r\EEND\r,
                   7778:        sgr0=\ESTART\r\E78\r\E70\0540\r\EEND\r$<20>,
                   7779:        smcup=\ESTART\r\E2\0540\r\E12\r\EEND\r$<10>,
                   7780:        smso=\ESTART\r\E70\0546\r\EEND\r$<20>,
                   7781:        smul=\ESTART\r\E60\0541\r\EEND\r,
                   7782:
                   7783: #### Fluke
                   7784: #
                   7785:
                   7786: # The 1720a differences from ANSI: no auto margin, destructive
                   7787: # tabs, # of lines, funny highlighting and underlining
                   7788: f1720|f1720a|fluke 1720A,
                   7789:        xt,
                   7790:        cols#80, lines#16, xmc#1,
                   7791:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   7792:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J,
                   7793:        el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^],
                   7794:        kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   7795:        smso=\E[7m, smul=\E[4m,
                   7796:
                   7797: #### Liberty Electronics (Freedom)
                   7798: #
                   7799: #      Liberty Electronics
                   7800: #      48089 Fremont Blvd
                   7801: #      Fremont CA 94538
                   7802: #      Vox: (510)-623-6000
                   7803: #      Fax: (510)-623-7021
                   7804:
                   7805: # From: <faletti@berkeley.edu>
                   7806: # (f100: added empty <acsc> to suppress a tic warning;
                   7807: # made this relative to adm+sgr -- note that <invis> isn't
                   7808: # known to work for f100 but does on the f110. --esr)
                   7809: f100|freedom|freedom100|freedom model 100,
                   7810:        am, bw, hs, mir, msgr, xon,
                   7811:        cols#80, lines#24,
                   7812:        acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J,
                   7813:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   7814:        dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
                   7815:        flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c,
                   7816:        ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>,
                   7817:        is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V,
                   7818:        kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r,
                   7819:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   7820:        kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er,
                   7821:        smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   7822:        vpa=\E[%p1%{32}%+%c, use=adm+sgr,
                   7823: f100-rv|freedom-rv|freedom 100 in reverse video,
                   7824:        flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
                   7825: # The f110 and f200 have problems with vi(1).  They use the ^V
                   7826: # code for the down cursor key. When kcud1 is defined in terminfo
                   7827: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   7828: # is lost! It cannot be remapped in vi because it is necessary to enter
                   7829: # a ^V to to quote the ^V that is being remapped!!!
                   7830: #
                   7831: # f110/f200 users will have to decide whether
                   7832: # to lose the down cursor key or the quoting capability. We will opt
                   7833: # initially for leaving the quoting capability out, since use of VI
                   7834: # is not generally applicable to most interactive applications
                   7835: # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
                   7836: f110|freedom110|Liberty Freedom 110,
                   7837:        bw@, eslok,
                   7838:        it#8, wsl#80,
                   7839:        blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
                   7840:        cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r,
                   7841:        flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW,
                   7842:        kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ,
                   7843:        kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO,
                   7844:        smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef,
                   7845:        use=f100,
                   7846: f110-14|Liberty Freedom 110 14inch,
                   7847:        dch1@, use=f110,
                   7848: f110-w|Liberty Freedom 110 - 132 cols,
                   7849:        cols#132, use=f110,
                   7850: f110-14w|Liberty Freedom 110 14in/132 cols,
                   7851:        cols#132,
                   7852:        dch1@, use=f110,
                   7853: # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   7854: f200|freedom200|Liberty Freedom 200,
                   7855:        am, eslok, hs, mir, msgr, xon,
                   7856:        cols#80, it#8, lines#24, wsl#80,
                   7857:        acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0,
                   7858:        clear=^Z, cnorm=\E.1, cr=^M,
                   7859:        csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
                   7860:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   7861:        cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY,
                   7862:        el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^,
                   7863:        hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
                   7864:        kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   7865:        kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   7866:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   7867:        kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
                   7868:        ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<,
                   7869:        tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c,
                   7870:        use=adm+sgr,
                   7871: f200-w|Liberty Freedom 200 - 132 cols,
                   7872:        cols#132, use=f200,
                   7873: # The f200 has the ability to reprogram the down cursor key. The key is
                   7874: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
                   7875: # so powering the terminal off and on will not cause the change to be lost.
                   7876: f200vi|Liberty Freedom 200 for vi,
                   7877:        flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
                   7878: f200vi-w|Liberty Freedom 200 - 132 cols for vi,
                   7879:        cols#132, use=f200vi,
                   7880:
                   7881: #### GraphOn (go)
                   7882: #
                   7883: #      Graphon Corporation
                   7884: #      544 Division Street
                   7885: #      Campbell, CA 95008
                   7886: #      Vox: (408)-370-4080
                   7887: #      Fax: (408)-370-5047
                   7888: #      Net: troy@graphon.com (Troy Morrison)
                   7889: #
                   7890: #
                   7891: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   7892: # including one odd hybrid that starts out life on power-up as a character
                   7893: # terminal, than can be switched to X graphics mode (driven over the serial
                   7894: # line) by an escape sequence.  No info on this beast yet.
                   7895: # (go140: I added <rmam>/<smam> based on the init string -- esr)
                   7896: go140|graphon go-140,
                   7897:        cols#80, it#8, lines#24,
                   7898:        clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C,
                   7899:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   7900:        ed=\E[J$<10/>, el=\E[K, ht=^I,
                   7901:        if=/usr/share/tabset/vt100, il1=\E[L,
                   7902:        is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
                   7903:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   7904:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
                   7905:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
                   7906:        rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   7907:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   7908: go140w|graphon go-140 in 132 column mode,
                   7909:        am,
                   7910:        cols#132,
                   7911:        is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140,
                   7912: # Hacked up vt200 termcap to handle GO-225/VT220
                   7913: # From: <edm@nwnexus.WA.COM>
                   7914: # (go225: I added <rmam>/<smam> based on the init string -- esr)
                   7915: go225|go-225|Graphon 225,
                   7916:        am, mir, xenl,
                   7917:        cols#80, it#8, lines#25, vt#3,
                   7918:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   7919:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   7920:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   7921:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED,
                   7922:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H,
                   7923:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   7924:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
                   7925:        rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
                   7926:        rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>,
                   7927:        rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w,
                   7928:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r,
                   7929:        smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
                   7930:
                   7931: #### Harris (Beehive)
                   7932: #
                   7933: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   7934: # Their terminal group is ancient history now (1995) though the parent
                   7935: # company is still in business.
                   7936: #
                   7937:
                   7938: # Beehive documentation is undated and marked Preliminary and has no figures
                   7939: # so we must have early Superbee2 (Model 600, according to phone conversation
                   7940: # with mfr.). It has proved reliable except for some missing padding
                   7941: # (notably after \EK and <nl> at bottom of screen).
                   7942: #
                   7943: # The key idea is that AEP mode is poison for <cup> & that US's in
                   7944: # the local memory should be avoided like the plague. That means
                   7945: # that the 2048 character local buffer is used as 25 lines of 80
                   7946: # characters, period. No scrolling local memory, folks. It also
                   7947: # appears that we cannot use naked INS LINE feature since it uses
                   7948: # US. The sbi fakes <il1> with an 80-space insert that may be too
                   7949: # slow at low speeds; also spaces get converted to \040 which is
                   7950: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   7951: #
                   7952: # The <nl> string is designed for last line of screen ONLY; cup to
                   7953: # 25th line corrects the motion inherent in scrolling to Page 1.
                   7954: #
                   7955: # There is one understood bug. It is that the screen appears to
                   7956: # pop to a new (blank) page after a <nel>, or leave a half-line
                   7957: # ellipsis to a quad that is the extra 48 memory locations. The
                   7958: # data received is dumped into memory but not displayed.  Not to
                   7959: # worry if <cup> is being used; the lines not displayed will be,
                   7960: # whenever the cursor is moved up there. Since <cup> is addressed
                   7961: # relative to MEMORY of window, nothing is lost; but beware of
                   7962: # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
                   7963: # therefore, is setenv MORE -c .
                   7964: #
                   7965: # WARNING: Not all features tested.
                   7966: #
                   7967: # Timings are assembled from 3 sources. Some timings may reflect
                   7968: # SB2/Model 300 that were used if more conservative.
                   7969: # Tested on a Model 600 at 1200 and 9600 bd.
                   7970: #
                   7971: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   7972: # placed on the keyboard and useless because of AEP, is made
                   7973: # into a backspace key. In use ESC must be pressed twice (to send)
                   7974: # and sending ^C must be prefixed by ESC to avoid that weird
                   7975: # transmit mode associated with ENTER key.
                   7976: #
                   7977: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   7978: # the screen, then it has dropped into ENTER mode; hit
                   7979: # RESET--ONLINE--!tset.
                   7980: #
                   7981: # As delivered this machine has a FATAL feature that will throw
                   7982: # it into that strange transmit state (SPOW) if the space bar is
                   7983: # hit after a CR is received, but before receiving a LF (or a
                   7984: # few others).
                   7985: #
                   7986: # The circuits MUST be modified to eliminate the SPOW latch.
                   7987: # This is done by strapping on chip A46 of the I/O board; cut
                   7988: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   7989: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   7990: # With this modification absurdly high timings on cr are
                   7991: # unnecessary.
                   7992: #
                   7993: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   7994: # not AEP!
                   7995: #
                   7996: sb1|beehive superbee,
                   7997:        am, bw, da, db, mir, ul, xsb,
                   7998:        cols#80, lines#25, xmc#1,
                   7999:        bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r,
                   8000:        cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
                   8001:        cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>,
                   8002:        el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1,
                   8003:        il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>,
                   8004:        ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED,
                   8005:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK,
                   8006:        kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
                   8007:        kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO,
                   8008:        krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmir=\ER, rmso=\E_3,
                   8009:        rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, smso=\E_1,
                   8010:        smul=\E_0, tbc=\E3,
                   8011: sbi|superbee|beehive superbee at Indiana U.,
                   8012:        xsb,
                   8013:        cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1,
                   8014: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   8015: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   8016: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   8017: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   8018: # the switch in the back set to CRLF instead of AEP.  This description
                   8019: # is tested on the sb2 but should work on all with either switch setting.
                   8020: # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
                   8021: # the other two if you want to try to hit that tiny escape key.
                   8022: # This description is tricky: being able to use cup depends on there being
                   8023: # 2048 bytes of memory and the hairy <nl> string.
                   8024: superbee-xsb|beehive super bee,
                   8025:        am, da, db, xsb,
                   8026:        cols#80, it#8, lines#25,
                   8027:        clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J,
                   8028:        cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
                   8029:        dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
                   8030:        home=\EH, ht=^I, hts=\E1,
                   8031:        ind=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET,
                   8032:        is2=\EH\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   8033:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
                   8034:        kf8=\Ew, khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
                   8035: # This loses on lines > 80 chars long, use at your own risk
                   8036: superbeeic|super bee with insert char,
                   8037:        ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
                   8038: sb2|sb3|fixed superbee,
                   8039:        xsb@, use=superbee,
                   8040:
                   8041: # Reports are that most of these Beehive entries (except superbee) have not
                   8042: # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
                   8043:
                   8044: # (bee: <ich1> was empty, which is obviously bogus -- esr)
                   8045: beehive|bee|harris beehive,
                   8046:        am, mir,
                   8047:        cols#80, lines#24,
                   8048:        cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   8049:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   8050:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>,
                   8051:        kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   8052:        kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
                   8053:        krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@,
                   8054:        smir=\EQ, smso=\EdP, smul=\Ed`,
                   8055: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
                   8056: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
                   8057: # look at those spaces in <rmso>/<smso>.  Seems strange to me...
                   8058: # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
                   8059: # really care, cook up one using ^F -- esr)
                   8060: beehive3|bh3m|beehiveIIIm|harris beehive 3m,
                   8061:        am,
                   8062:        cols#80, it#8, lines#20,
                   8063:        bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
                   8064:        dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
                   8065:        il1=\023$<160>, ind=^J, ll=^E^K, rmso= ^_, smso=^] ,
                   8066: beehive4|bh4|beehive 4,
                   8067:        am,
                   8068:        cols#80, lines#24,
                   8069:        bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   8070:        cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J,
                   8071: microb|microbee|micro bee series,
                   8072:        am,
                   8073:        cols#80, it#8, lines#24,
                   8074:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8075:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   8076:        el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   8077:        kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   8078:        kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@,
                   8079:        rmul=\Ed@, sgr0=\Ed@, smso= \EdP, smul=\Ed`,
                   8080:
                   8081: # 8675, 8686, and bee from Cyrus Rahman
                   8082: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   8083: ha8675|harris 8675,
                   8084:        is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
                   8085:        kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei,
                   8086:        kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H,
                   8087:        kf8=\177, kf9=\Ee,
                   8088:        use=bee,
                   8089: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   8090: # in :is: -- esr)
                   8091: ha8686|harris 8686,
                   8092:        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#,
                   8093:        kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003,
                   8094:        kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003,
                   8095:        kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003,
                   8096:        kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(,
                   8097:        use=bee,
                   8098:
                   8099: #### Hazeltine
                   8100: #
                   8101: # Hazeltine appears to be out of the business now (1995).  These guys were
                   8102: # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
                   8103: # They have a hazeltine.com domain and can be reached at:
                   8104: #
                   8105: #      Hazeltine
                   8106: #      450 East Pulaski Road
                   8107: #      Greenlawn, New York 11740
                   8108: #
                   8109: # As late as 1993, manuals for the terminal product line could still be
                   8110: # purchased from:
                   8111: #
                   8112: #      TRW Customer Service Division
                   8113: #      15 Law Drive
                   8114: #      P.O. Box 2076
                   8115: #      Fairfield, NJ 07007-2078
                   8116: #
                   8117:
                   8118: # Since <cuf1> is blank, when you want to erase something you
                   8119: # are out of luck.  You will have to do ^L's a lot to
                   8120: # redraw the screen.  h1000 is untested.  It doesn't work in
                   8121: # vi - this terminal is too dumb for even vi.  (The code is
                   8122: # there but it isn't debugged for this case.)
                   8123: hz1000|hazeltine 1000,
                   8124:        cols#80, lines#12,
                   8125:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1= , home=^K,
                   8126:        ind=^J,
                   8127: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   8128: hz1420|hazeltine 1420,
                   8129:        am,
                   8130:        cols#80, lines#24,
                   8131:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
                   8132:        cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
                   8133:        ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
                   8134:        smso=\E^_,
                   8135: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   8136: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   8137: # receive tildes.
                   8138: hz1500|hazeltine 1500,
                   8139:        am, hz,
                   8140:        cols#80, lines#24,
                   8141:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
                   8142:        cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%'`'%+%c%p1%'`'%+%c,
                   8143:        cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R,
                   8144:        il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P,
                   8145:        kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
                   8146: # h1510 assumed to be in sane escape mode.  Else use h1500.
                   8147: # (h1510: early versions of this entry apparently had "<rmso=\E^_>,
                   8148: # <smso=\E^Y>, but these caps were commented out in 8.3; also,
                   8149: # removed incorrect and overridden ":do=^J:" -- esr)
                   8150: hz1510|hazeltine 1510,
                   8151:        am,
                   8152:        cols#80, lines#24,
                   8153:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
                   8154:        cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
                   8155:        el=\E^O, il1=\E^Z, ind=^J,
                   8156: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
                   8157: hz1520|hazeltine 1520,
                   8158:        am, hz,
                   8159:        cols#80, lines#24,
                   8160:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
                   8161:        cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O,
                   8162:        home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
                   8163: # Note: the h1552 appears to be the first Hazeltine terminal which
                   8164: # is not braindamaged.  It has tildes and backprimes and everything!
                   8165: # Be sure the auto lf/cr switch is set to cr.
                   8166: hz1552|hazeltine 1552,
                   8167:        cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue,
                   8168:        lf2=red, lf3=green,
                   8169:        use=vt52,
                   8170: hz1552-rv|hazeltine 1552 reverse video,
                   8171:        cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
                   8172: # Note: h2000 won't work well because of a clash between upper case and ~'s.
                   8173: hz2000|hazeltine 2000,
                   8174:        am,
                   8175:        cols#74, lines#27,
                   8176:        bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J,
                   8177:        cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R,
                   8178:        il1=~\032$<6>, ind=^J, pad=\177,
                   8179: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   8180: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   8181: # to work ok. There is one problem though if one types a lot of garbage
                   8182: # characters very fast vi seems not able to keep up and hangs while trying
                   8183: # to insert. That's in insert mode while trying to insert in the middle of
                   8184: # a line. It might be because the Esprit doesn't have insert char and delete
                   8185: # char as a built in function. Vi has to delete to end of line and then
                   8186: # redraw the rest of the line.
                   8187: esprit|Hazeltine Esprit I,
                   8188:        am, bw,
                   8189:        cols#80, lines#24,
                   8190:        bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K,
                   8191:        cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
                   8192:        ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H,
                   8193:        kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J,
                   8194:        kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J,
                   8195:        kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R,
                   8196:        lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
                   8197:        rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_,
                   8198: esprit-am|hazeltine esprit auto-margin,
                   8199:        am, use=esprit,
                   8200:
                   8201: #### IBM
                   8202: #
                   8203:
                   8204: ibm327x|line mode IBM 3270 style,
                   8205:        gn,
                   8206:        clear=^M^J, el=^M, home=^M,
                   8207:
                   8208: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
                   8209: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
                   8210: # (ibm3101: <if=/usr/share/tabset/ibm3101> removed, no such file -- esr)
                   8211: ibm3101|i3101|IBM 3101-10,
                   8212:        am, xon,
                   8213:        cols#80, lines#24,
                   8214:        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8215:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   8216:        el=\EI, home=\EH, ht=^I, hts=\E0, ind=^J, kbs=^H, kcub1=\ED,
                   8217:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\E1,
                   8218: #   Received from the IBM terminals division (given to DRB)
                   8219: #   June 1988 for PS/2 OS 2.2.3 cut
                   8220: ibm3151|i3151|IBM 3151,
                   8221:        rmso=\E4@, rmul=\E4@,
                   8222:        sgr=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c,
                   8223:        sgr0=\E4@, smso=\E4A, smul=\E4B,
                   8224:        use=ibm3163,
                   8225: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
                   8226: # I've commented out or translated some IBM extensions.
                   8227: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
                   8228:        am, mir, msgr,
                   8229:        cols#80, it#8, lines#24,
                   8230:        acsc=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356,
                   8231:        bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
                   8232:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   8233:        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
                   8234:        invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1,
                   8235:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
                   8236:        kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r,
                   8237:        kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r,
                   8238:        kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r,
                   8239:        kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r,
                   8240:        kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r,
                   8241:        kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
                   8242:        kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
                   8243:        ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, rmul=\E4@,
                   8244:        sgr=\E4%'@'%?%p1%t%'A'%|%;\n%?%p2%t%'B'%|%;\n%?%p3%t%'A'%|%;\n%?%p4%t%'D'%|%;\n%?%p5%t%'@'%|%;\n%?%p6%t%'H'%|%;\n%?%p7%t%'P'%|%;%c\n%?%p9%t\E>A%e\E<@%;,
                   8245:        sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
                   8246:
                   8247: # How the 3164 sgr string works:
                   8248: #      %{32}           # push space for no special video characteristics
                   8249: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   8250: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   8251: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   8252: #      %c              # pop Pa1
                   8253: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   8254: #      %c              # pop Pa2
                   8255: #      %{64}           # use only black background for now
                   8256: #      %c              # pop Pa3
                   8257: ibm3164|i3164|IBM 3164,
                   8258:        blink=\E4D, bold=\E4H,
                   8259:        sgr=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c,
                   8260:        sgr0=\E4@,
                   8261:        use=ibm3163,
                   8262:
                   8263: ibmaed|IBM Experimental display,
                   8264:        am, eo, msgr,
                   8265:        cols#80, it#8, lines#52,
                   8266:        clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
                   8267:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   8268:        dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
                   8269:        il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   8270:        rmso=\E0, sgr0=\E0, smso=\E0,
                   8271: ibm-apl|apl|IBM apl terminal simulator,
                   8272:        lines#25, use=dm1520,
                   8273: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   8274: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   8275: ibmmono|ibm5151|IBM workstation monochrome,
                   8276:        eslok, hs,
                   8277:        bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
                   8278:        invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
                   8279:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
                   8280:        khome=\EH, kich1=\200, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
                   8281:        lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
                   8282:        sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101,
                   8283: ibmega|ibm5154|IBM Enhanced Color Display,
                   8284:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   8285:        nel=^M^J,
                   8286:        use=ibmmono,
                   8287: ibmega-c|ibm5154-c|IBM Enhanced Color Display,
                   8288:        rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, use=ibmmono,
                   8289: ibmvga-c|IBM VGA display color termcap,
                   8290:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   8291:        nel=^M^J,
                   8292:        use=ibmega-c,
                   8293: ibmvga|IBM VGA display,
                   8294:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   8295:        nel=^M^J,
                   8296:        use=ibmega,
                   8297: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   8298: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display,
                   8299:        lines#32,
                   8300:        dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
                   8301: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   8302: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display,
                   8303:        lines#31,
                   8304:        dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
                   8305: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
                   8306:        lines#31,
                   8307:        dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c,
                   8308: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   8309: # also in /usr/lpp/bos/bsdsysadmin.
                   8310: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   8311: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   8312: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
                   8313: # I also added <rmam>/<smam> based on the terminal reset string.
                   8314: # There was an unknown boolean ":ht:" which I assume was meant to set hardware
                   8315: # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
                   8316: # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
                   8317: ibm8512|ibm8513|hft-c|IBM High Function Terminal,
                   8318:        am, mir, msgr,
                   8319:        cols#80, it#8, lines#25,
                   8320:        acsc=, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cub1=\E[D,
                   8321:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   8322:        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                   8323:        home=\E[H, il=\E[%p1%dL, il1=\E[L, is2=\Eb\E[m\017\E[?7h,
                   8324:        kcud1=\E[B, kcuu1=\E[A, kf0=\E[010q, kf1=\E[001q,
                   8325:        kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q,
                   8326:        kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\E[009q,
                   8327:        khome=\E[H, rc=\E[u, rev=\E[7m, rmacs=^O, rmam=\E[?7l,
                   8328:        rmcup=\E[20h, rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   8329:        rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
                   8330:        smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
                   8331:        smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   8332: hft|AIWS High Function Terminal,
                   8333:        am, xon,
                   8334:        cols#80, lines#25,
                   8335:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   8336:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   8337:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   8338:        ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
                   8339:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8340:        kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
                   8341:        kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
                   8342:        kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
                   8343:        ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m,
                   8344:        sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m,
                   8345: ibm-system1|system1|ibm system/1 computer,
                   8346:        am, xt,
                   8347:        cols#80, lines#24,
                   8348:        bel=^G, clear=^Z, cub1=^H, cuf1=^\,
                   8349:        cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
                   8350:        ind=^J,
                   8351:
                   8352: # From: <pryor@math.berkeley.edu>
                   8353: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display,
                   8354:        eslok, hs,
                   8355:        lines#33,
                   8356:        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono,
                   8357: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display,
                   8358:        eslok, hs,
                   8359:        lines#33,
                   8360:        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c,
                   8361: ibm8514|IBM 8514 color display,
                   8362:        eslok, hs,
                   8363:        lines#41,
                   8364:        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
                   8365:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
                   8366:        use=ibmega,
                   8367: ibm8514-c|IBM 8514 color display,
                   8368:        eslok, hs,
                   8369:        lines#41,
                   8370:        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
                   8371:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
                   8372:        use=ibmega-c,
                   8373:
                   8374: #
                   8375: # AIX entries.  IBM ships these with AIX 3.
                   8376: # AIX extension caps are commented out,
                   8377: # except for box1 which has been translated to an <acsc> string.
                   8378: #
                   8379: aixterm-m|IBM AIXterm Monochrome Terminal Emulator,
                   8380:        eslok, hs,
                   8381:        acsc=llqqkkxxjjmmwwuuvvttnn, bold=\E[1m, dsl=\E[?E,
                   8382:        fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
                   8383:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   8384:        sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT,
                   8385:        use=ibm6153,
                   8386: aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator,
                   8387:        eslok, hs,
                   8388:        bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
                   8389:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   8390:        tsl=\E[?%p1%dT,
                   8391:        use=ibm6153,
                   8392: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
                   8393:        acsc@,
                   8394:        use=aixterm-m,
                   8395:
                   8396: #### Infoton/General Terminal Corp.
                   8397: #
                   8398:
                   8399: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   8400: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
                   8401:        am,
                   8402:        cols#80, lines#24,
                   8403:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8404:        cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
                   8405:        ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
                   8406:        ind=^J, rmso=\Ea, smso=\Eb,
                   8407: i400|infoton 400,
                   8408:        am,
                   8409:        cols#80, lines#25,
                   8410:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   8411:        cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A,
                   8412:        dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
                   8413:        il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
                   8414: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   8415: addrinfo,
                   8416:        am,
                   8417:        cols#80, lines#24,
                   8418:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
                   8419:        cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H,
                   8420:        ind=^J, ll=^H^\,
                   8421: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
                   8422: infoton,
                   8423:        am,
                   8424:        cols#80, lines#24,
                   8425:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
                   8426:        ed=^K, ind=^J, ll=^H^\,
                   8427:
                   8428: #### Interactive Systems Corp
                   8429: #
                   8430: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   8431: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   8432: # bought out by Sun.
                   8433: #
                   8434:
                   8435: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
                   8436: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
                   8437: # ":le=^_:" later overridden -- esr)
                   8438: intext|Interactive Systems Corporation modified owl 1200,
                   8439:        am,
                   8440:        cols#80, it#8, lines#24, xmc#1,
                   8441:        bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J,
                   8442:        cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\,
                   8443:        dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>,
                   8444:        el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H,
                   8445:        kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
                   8446:        kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r,
                   8447:        kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<,
                   8448:        rmkx=^V9, rmso=^V# , smir=^V;, smkx=\036\072\264\026%,
                   8449:        smso=^V$\054,
                   8450: intext2|intextii|INTERACTIVE modified owl 1251,
                   8451:        am, bw, ul,
                   8452:        cols#80, lines#24, xmc#0,
                   8453:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B,
                   8454:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   8455:        dl1=\E[M, ed=\E[J, el=\E[K,
                   8456:        flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
                   8457:        hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S,
                   8458:        kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r,
                   8459:        kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r,
                   8460:        kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
                   8461:        khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO,
                   8462:        lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
                   8463:        lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D,
                   8464:        smul=\E[18 D,
                   8465:
                   8466: #### Kimtron (abm, kt)
                   8467: #
                   8468: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   8469: # enter bold mode, enter reverse mode, turn off all attributes.
                   8470: #
                   8471:
                   8472: # Kimtron ABM 85 added by Dual Systems
                   8473: # (abm85: removed duplicated ":kd=^J:" -- esr)
                   8474: abm85|Kimtron ABM 85,
                   8475:        am, bw, msgr,
                   8476:        cols#80, it#8, lines#24, xmc#1,
                   8477:        cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
                   8478:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   8479:        dl1=\ER, ed=\Ey, el=\Et, ht=^I,
                   8480:        if=/usr/share/tabset/stdcrt, il1=\EE,
                   8481:        is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H,
                   8482:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek,
                   8483:        rmul=\Em, smir=\EQ, smso=\Ej, smul=\El,
                   8484: # Kimtron ABM 85H added by Dual Systems.
                   8485: # Some notes about the 85h entries:
                   8486: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
                   8487: #    firmware revs prior to SP51
                   8488: # 2) Make sure to use 85h entry if the terminal is in 85H mode and the
                   8489: #    85e entry if it is in 920 emulation mode. They are incompatible in
                   8490: #    some places and NOT software settable i.e., <is2> can't fix it)
                   8491: # 3) In 85h mode, the arrow keys and special functions transmit when
                   8492: #    the terminal is in dup-edit, and work only locally in local-edit.
                   8493: #    Vi won't swallow `del char' for instance, but <smcup> turns on
                   8494: #    dup-edit anyway so that the arrow keys will work right. If the
                   8495: #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
                   8496: #    <is2>.  Note that 920E mode does not have software commands to toggle
                   8497: #    between dup and local edit, so you get whatever was set last on the
                   8498: #    terminal.
                   8499: # 4) <flash> attribute is nice, but seems too slow to work correctly
                   8500: #    (\Eb<pad>\Ed)
                   8501: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
                   8502: #    are selected, the <xmc@> entry should be removed.
                   8503: # 6) auto new-line should be on (selectable from setup mode only)
                   8504: #
                   8505: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
                   8506: abm85h|Kimtron ABM 85H native mode,
                   8507:        hs,
                   8508:        xmc@,
                   8509:        bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
                   8510:        fsl=^M, invis@,
                   8511:        is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El,
                   8512:        kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef,
                   8513:        use=adm+sgr, use=abm85,
                   8514: abm85e|Kimtron ABM 85H in 920E mode,
                   8515:        xmc@,
                   8516:        bel=^G, dim=\E), flash@,
                   8517:        is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
                   8518:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ,
                   8519:        use=abm85,
                   8520: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
                   8521:        xmc@,
                   8522:        bel=^G, dim=\E),
                   8523:        is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
                   8524:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ,
                   8525:        use=abm85,
                   8526: # From: <malman@bbn-vax.arpa>
                   8527: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
                   8528: kt7|kimtron model kt-7,
                   8529:        am,
                   8530:        cols#80, it#8, lines#24,
                   8531:        cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
                   8532:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   8533:        dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
                   8534:        if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E",
                   8535:        kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
                   8536:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
                   8537:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   8538:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   8539:        kich1=\EQ, kil1=\EE, tsl=\Ef,
                   8540:        use=adm+sgr,
                   8541:
                   8542: #### Microterm (act, mime)
                   8543: #
                   8544: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   8545: # The default mime is assumed to be in enhanced act iv mode.
                   8546: #
                   8547:
                   8548: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
                   8549: # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
                   8550: # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
                   8551: # since Sytek insists ^S means xoff.
                   8552: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   8553: act4|microterm|microterm act iv,
                   8554:        am,
                   8555:        cols#80, lines#24,
                   8556:        bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
                   8557:        cup=\024%p1%{24}%+%c%p2%p2%?%'/'%>%t%'0'%+%;%'P'%+%c,
                   8558:        cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>,
                   8559:        ed=\037$<2.2*/>, el=\036$<.1*/>, home=^],
                   8560:        il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X,
                   8561:        kcuu1=^Z,
                   8562: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   8563: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   8564: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   8565: act5|microterm5|microterm act v,
                   8566:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, use=act4,
                   8567: # Mimes using brightness for standout.  Half bright is really dim unless
                   8568: # you turn up the brightness so far that lines show up on the screen.
                   8569: mime-fb|full bright mime1,
                   8570:        is2=^S\E, rmso=^S, smso=^Y, use=mime,
                   8571: mime-hb|half bright mime1,
                   8572:        is2=^Y\E, rmso=^Y, smso=^S, use=mime,
                   8573: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
                   8574: # the more plausible ":do=^J:" -- esr)
                   8575: # uc was at one time disabled to get around a curses bug, be wary of it
                   8576: mime|mime1|mime2|mimei|mimeii|microterm mime1,
                   8577:        am,
                   8578:        cols#80, it#8, lines#24, vt#9,
                   8579:        bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
                   8580:        cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%'0'%+%;%'P'%+%c,
                   8581:        cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>,
                   8582:        il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K,
                   8583:        kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U,
                   8584: # These termcaps (for mime 2a) put the terminal in low intensity mode
                   8585: # since high intensity mode is so obnoxious.
                   8586: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
                   8587:        am,
                   8588:        cols#80, lines#24,
                   8589:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   8590:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED,
                   8591:        dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
                   8592:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
                   8593:        kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7,
                   8594:        smir=\EE, smso=\E\072, smul=\E6,
                   8595: # This is the preferred mode (but ^X can't be used as a kill character)
                   8596: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
                   8597:        cols#80, it#8, lines#24,
                   8598:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8599:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
                   8600:        dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
                   8601:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED,
                   8602:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
                   8603:        rmul=\E5, smir=^O, smso=\E8, smul=\E4,
                   8604: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   8605: mime3a|mime1 emulating 3a,
                   8606:        am@,
                   8607:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
                   8608: mime3ax|mime-3ax|mime1 emulating enhanced 3a,
                   8609:        it#8,
                   8610:        dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, use=mime3a,
                   8611: # Wed Mar  9 18:53:21 1983
                   8612: # We run our terminals at 2400 baud, so there might be some timing problems at
                   8613: # higher speeds. The major improvements in this model are the terminal now
                   8614: # scrolls down and insert mode works without redrawing the rest of the line
                   8615: # to the right of the cursor. This is done with a bit of a kludge using the
                   8616: # exit graphics mode to get out of insert, but it does not appear to hurt
                   8617: # anything when using vi at least. If you have some users using act4s with
                   8618: # programs that use curses and graphics mode this could be a problem.
                   8619: mime314|mm314|mime 314,
                   8620:        am,
                   8621:        cols#80, lines#24,
                   8622:        clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z,
                   8623:        dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H,
                   8624:        kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S,
                   8625: # Microterm mime 340 from University of Wisconsin
                   8626: mm340|mime340|mime 340,
                   8627:        cols#80, lines#24,
                   8628:        clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   8629:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   8630:        dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
                   8631:        el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\054,
                   8632:        kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J,
                   8633: # This came from University of Wisconsin marked "astro termcap for jooss".
                   8634: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   8635: # also added <rmam>/<smam> based  on the init string -- esr)
                   8636: mt4520-rv|micro-term 4520 reverse video,
                   8637:        am, hs, msgr, xenl, xon,
                   8638:        cols#80, it#8, lines#24, wsl#80,
                   8639:        bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
                   8640:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   8641:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8642:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8643:        cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   8644:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h,
                   8645:        fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   8646:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   8647:        is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J,
                   8648:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8649:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   8650:        ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100,
                   8651:        ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m,
                   8652:        rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
                   8653:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   8654:        tbc=\E[g, tsl=\E[25;1H,
                   8655:
                   8656: # Fri Aug  5 08:11:57 1983
                   8657: # This entry works for the ergo 4000 with the following setups:
                   8658: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   8659: # setup a & c.
                   8660: #
                   8661: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   8662: # Be advised that very early versions DO NOT WORK RIGHT !!
                   8663: # Microterm does have a ROM exchange program- use it or lose big
                   8664: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
                   8665: ergo4000|microterm ergo 4000,
                   8666:        da, db, msgr,
                   8667:        cols#80, lines#66,
                   8668:        bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B,
                   8669:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   8670:        dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>,
                   8671:        el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>,
                   8672:        is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>,
                   8673:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   8674:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3,
                   8675:        lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l,
                   8676:        rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>,
                   8677:        smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>,
                   8678:        smso=\E[7m$<20>,
                   8679:
                   8680: #### NCR
                   8681: #
                   8682: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   8683: # For what happened to that group, see the ADDS section.
                   8684: #
                   8685: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   8686: #
                   8687:
                   8688: # NCR7900 DIP switches:
                   8689: #
                   8690: # Switch A:
                   8691: # 1-4 - Baud Rate
                   8692: # 5   - Parity (Odd/Even)
                   8693: # 6   - Don't Send or Do Send Spaces
                   8694: # 7   - Parity Enable
                   8695: # 8   - Stop Bits (One/Two)
                   8696: #
                   8697: # Switch B:
                   8698: # 1   - Upper/Lower Shift
                   8699: # 2   - Typewriter Shift
                   8700: # 3   - Half Duplex / Full Duplex
                   8701: # 4   - Light/Dark Background
                   8702: # 5-6 - Carriage Return Without / With Line Feed
                   8703: # 7   - Extended Mode
                   8704: # 8   - Suppress Keyboard Display
                   8705: #
                   8706: # Switch C:
                   8707: # 1   - End of line entry disabled/enabled
                   8708: # 2   - Conversational mode / (Local?) Mode
                   8709: # 3   - Control characters displayed / not displayed
                   8710: # 4   - (2-wire?) / 4-wire communications
                   8711: # 5   - RTS on and off for each character
                   8712: # 6   - (50Hz?) / 60 Hz
                   8713: # 7   - Exit after level zero diagnostics
                   8714: # 8   - RS-232 interface
                   8715: #
                   8716: # Switch D:
                   8717: # 1   - Reverse Channel (yes / no)
                   8718: # 2   - Manual answer (no / yes)
                   8719: # 3-4 - Cursor appearance
                   8720: # 5   - Communication Rate
                   8721: # 6   - Enable / Disable EXT turnoff
                   8722: # 7   - Enable / Disable CR turnoff
                   8723: # 8   - Enable / Disable backspace
                   8724: #
                   8725: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
                   8726: ncr7900i|7900i|ncr7900|7900|ncr 7900 model 1,
                   8727:        am, bw, ul,
                   8728:        cols#80, lines#24, xmc#1,
                   8729:        bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   8730:        cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J,
                   8731:        is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F,
                   8732:        kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@,
                   8733:        rmul=\E0@,
                   8734:        sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
                   8735:        sgr0=\E0@, smso=\E0Q, smul=\E0`,
                   8736: ncr7900iv|ncr 7900 model 4,
                   8737:        am, bw, eslok, hs,
                   8738:        cols#80, lines#24,
                   8739:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   8740:        cup=\013%p1%'@'%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1,
                   8741:        fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H,
                   8742:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET,
                   8743:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   8744:        khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J,
                   8745:        tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
                   8746: ncr7901|7901|ncr 7901 model,
                   8747:        am, bw, ul,
                   8748:        cols#80, lines#24,
                   8749:        bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M,
                   8750:        cub1=^H, cud1=^J, cuf1=^F,
                   8751:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A,
                   8752:        ed=\Ek, el=\EK,
                   8753:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J,
                   8754:        is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   8755:        khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O,
                   8756:        sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016,
                   8757:        sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
                   8758:        vpa=\013%p1%'@'%+%c,
                   8759:
                   8760: #### Perkin-Elmer (Owl)
                   8761: #
                   8762: # These are official terminfo entries from within Perkin-Elmer.
                   8763: #
                   8764:
                   8765: bantam|pe550|pe6100|perkin elmer 550,
                   8766:        cols#80, lines#24,
                   8767:        bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8768:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   8769:        el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA,
                   8770: fox|pe1100|perkin elmer 1100,
                   8771:        am,
                   8772:        cols#80, lines#24,
                   8773:        bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
                   8774:        cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   8775:        ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003,
                   8776:        home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3,
                   8777: owl|pe1200|perkin elmer 1200,
                   8778:        am, in,
                   8779:        cols#80, lines#24,
                   8780:        bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
                   8781:        cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   8782:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   8783:        el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
                   8784:        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
                   8785:        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   8786:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
                   8787:        rmso=\E!\200, sgr0=\E!\200, smso=\E!^H, tbc=\E3,
                   8788: pe1251|pe6300|pe6312|perkin elmer 1251,
                   8789:        am,
                   8790:        cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
                   8791:        bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   8792:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   8793:        ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J,
                   8794:        kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
                   8795:        kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
                   8796: # (pe7000m: this had
                   8797: #      rmul=\E!\0, smul=\E!\040,
                   8798: # which is probably wrong, it collides with kf0
                   8799: pe7000m|perkin elmer 7000 series monochrome monitor,
                   8800:        am,
                   8801:        cols#80, lines#24,
                   8802:        bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
                   8803:        cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   8804:        ed=\EJ, el=\EI, home=\EH, ind=^J,
                   8805:        is1=\E!\200\EW  7o\Egf\ES7 , kbs=^H, kcub1=\E!V,
                   8806:        kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\200, kf1=\E!^A,
                   8807:        kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
                   8808:        kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
                   8809:        ll=\ES7 , ri=\ER,
                   8810: pe7000c|perkin elmer 7000 series colour monitor,
                   8811:        is1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7 , rmso=\Eb0,
                   8812:        rmul=\E!\200, smso=\Eb2, smul=\E! ,
                   8813:        use=pe7000m,
                   8814:
                   8815: #### Sperry Univac
                   8816: #
                   8817: # Sperry Univac has merged with Burroughs to form Unisys.
                   8818: #
                   8819:
                   8820: # This entry is for the Sperry UTS30 terminal running the TTY
                   8821: # utility under control of CP/M Plus 1R1. The functionality
                   8822: # provided is comparable to the DEC vt100.
                   8823: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
                   8824: uts30|sperry uts30 with cp/m@1R1,
                   8825:        am, bw, hs,
                   8826:        cols#80, lines#24, wsl#40,
                   8827:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8828:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L,
                   8829:        cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c,
                   8830:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
                   8831:        cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH,
                   8832:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM,
                   8833:        dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H,
                   8834:        ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
                   8835:        ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H,
                   8836:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
                   8837:        rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI,
                   8838:        rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m,
                   8839:        rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   8840:        sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m,
                   8841:        smul=\E[4m, tsl=\E], uc=\EPB,
                   8842:
                   8843: #### Tandem
                   8844: #
                   8845: # Tandem builds these things for use with its line of fault-tolerant
                   8846: # transaction-processing computers.  They aren't generally available
                   8847: # on the merchant market, and so are fairly uncommon.
                   8848: #
                   8849:
                   8850: tandem6510|adm3a repackaged by Tandem,
                   8851:        use=adm3a,
                   8852:
                   8853: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   8854: # have a fourth digit after 653 that designates minor variants.  These are
                   8855: # natively block-mode and rather ugly, but they have a character mode which
                   8856: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
                   8857: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   8858: # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
                   8859: tandem653|t653x|Tandem 653x multipage terminal,
                   8860:        am, da, db, hs,
                   8861:        cols#80, lines#24, wsl#64, xmc#1,
                   8862:        clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
                   8863:        cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r,
                   8864:        ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6 ,
                   8865:        rmul=\E6 , sgr0=\E6 , smso=\E6$, smul=\E60, tsl=\Eo,
                   8866:
                   8867: #### Tandy/Radio Shack
                   8868: #
                   8869: # Tandy has a line of VDTs distinct from its microcomputers.
                   8870: #
                   8871:
                   8872: dmterm|deskmate terminal,
                   8873:        am, bw,
                   8874:        cols#80, lines#24,
                   8875:        bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H,
                   8876:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   8877:        cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   8878:        ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB,
                   8879:        kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4,
                   8880:        kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0,
                   8881:        khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6,
                   8882:        lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@,
                   8883:        use=adm+sgr,
                   8884: dt100|dt-100|Tandy DT-100 terminal,
                   8885:        xon,
                   8886:        cols#80, lines#24, xmc#1,
                   8887:        acsc=kkllmmjjnnwwvvttuuqqxx, bel=^G, civis=\E[?25l,
                   8888:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   8889:        csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   8890:        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   8891:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   8892:        il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
                   8893:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i,
                   8894:        kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
                   8895:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H,
                   8896:        knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5,
                   8897:        lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
                   8898:        sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
                   8899: dt100w|dt-100w|Tandy DT-100 terminal (wide mode),
                   8900:        cols#132, use=dt100,
                   8901: dt110|Tandy DT-110 emulating ansi,
                   8902:        xon,
                   8903:        cols#80, lines#24,
                   8904:        acsc=kkllmmjjnnwwvvuuttqqxx, bel=^G, civis=\E[?25l,
                   8905:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   8906:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,
                   8907:        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,
                   8908:        dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H,
                   8909:        ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B,
                   8910:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
                   8911:        kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~,
                   8912:        kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~,
                   8913:        khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1,
                   8914:        lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
                   8915:        lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   8916:        smacs=^N, smso=\E[7m, smul=\E[4m,
                   8917: pt210|TRS-80 PT-210 printing terminal,
                   8918:        hc, os,
                   8919:        cols#80,
                   8920:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   8921:
                   8922: #### Tektronix (tek)
                   8923: #
                   8924: # Tektronix tubes are graphics terminals.  Most of them use modified
                   8925: # oscilloscope technology incorporating a long-persistence green phosphor,
                   8926: # and support vector graphics on a main screen with an attached "dialogue
                   8927: # area" for interactive text.
                   8928: #
                   8929:
                   8930: tek|tek4012|4012|tektronix 4012,
                   8931:        os,
                   8932:        cols#75, lines#35,
                   8933:        bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J,
                   8934:        ff=\014$<1000>, is2=\E^O,
                   8935: # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   8936: tek4013|4013|tektronix 4013,
                   8937:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012,
                   8938: tek4014|4014|tektronix 4014,
                   8939:        cols#81, lines#38,
                   8940:        is2=\E\017\E9, use=tek4012,
                   8941: # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   8942: tek4015|4015|tektronix 4015,
                   8943:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014,
                   8944: tek4014-sm|4014-sm|tektronix 4014 in small font,
                   8945:        cols#121, lines#58,
                   8946:        is2=\E\017\E\072, use=tek4014,
                   8947: # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   8948: tek4015-sm|4015-sm|tektronix 4015 in small font,
                   8949:        acsc=, rmacs=\E^O, smacs=\E^N,
                   8950:        use=tek4014-sm,
                   8951: tek4023|4023|tex|tektronix 4023,
                   8952:        am,
                   8953:        cols#80, lines#24, vt#4,
                   8954:        bel=^G, clear=\E\014$<4>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   8955:        cup=\034%p2%{32}%+%c%p1%{32}%+%c, ind=^J, rmso=^_@,
                   8956:        smso=^_P,
                   8957: # It is recommended that you run the 4025 at 4800 baud or less;
                   8958: # various bugs in the terminal appear at 9600.  It wedges at the
                   8959: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   8960: # on keyboard don't work.  You have to hit BREAK twice to get
                   8961: # one break at any speed - this is a documented feature.
                   8962: # Can't use cursor motion because it's memory relative, and
                   8963: # because it only works in the workspace, not the monitor.
                   8964: # Same for home. Likewise, standout only works in the workspace.
                   8965: #
                   8966: # <el> was commented out since vi and rogue seem to work better
                   8967: # simulating it with lots of spaces!
                   8968: #
                   8969: # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
                   8970: # and didn't seem necessary.
                   8971: #
                   8972: tek4024|tek4025|tek4027|tektronix 4024/4025/4027,
                   8973:        am, da, db,
                   8974:        cols#80, it#8, lines#34, lm#0,
                   8975:        bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M,
                   8976:        cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r,
                   8977:        cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r,
                   8978:        cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r,
                   8979:        dl=\037dli %p1%d\r\006, dl1=\037dli\r\006,
                   8980:        ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010,
                   8981:        il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r,
                   8982:        ind=^F^J,
                   8983:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   8984:        rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r,
                   8985:        smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r,
                   8986: tek4025-17|4025-17|4027-17|tek 4025 17 line window,
                   8987:        lines#17, use=tek4025,
                   8988: tek4025-17-ws|4025-17-ws|4025-17ws|4027-17ws|4027-17-ws|tek 4025 17 line window in workspace,
                   8989:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r,
                   8990:        rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r,
                   8991:        smso=\037att e\r,
                   8992:        use=tek4025-17,
                   8993: tek4025-ex|tek4027-ex|tek 4025/4027 w/!,
                   8994:        is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r,
                   8995:        rmcup=\037com 33\r, smcup=!com 31\r,
                   8996:        use=tek4025,
                   8997: # Tektronix 4025a
                   8998: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   8999: # The following status modes are assumed for normal operation (replace the
                   9000: # initial "!" by whatever the current command character is):
                   9001: #      !COM 29                 # NOTE: changes command character to GS (^])
                   9002: #      ^]DUP
                   9003: #      ^]ECH R
                   9004: #      ^]EOL
                   9005: #      ^]RSS T
                   9006: #      ^]SNO N
                   9007: #      ^]STO 9 17 25 33 41 49 57 65 73
                   9008: # Other modes may be set according to communication requirements.
                   9009: # If the command character is inadvertently changed, termcap can't restore it.
                   9010: # Insert-character cannot be made to work on both top and bottom rows.
                   9011: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
                   9012: # There also seems to be a problem with vertical motion, perhaps involving
                   9013: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   9014: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   9015: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   9016: # work any more. -- esr)
                   9017: tek4025a|4025a|Tektronix 4025A,
                   9018:        am, bw, da, db, xon,
                   9019:        cols#80, it#8, lines#34,
                   9020:        bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^],
                   9021:        cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;,
                   9022:        cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;,
                   9023:        cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;,
                   9024:        dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;,
                   9025:        el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I,
                   9026:        il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;,
                   9027:        tbc=\035sto;,
                   9028: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   9029: # Here's the command file that I use to get rogue to work on the 4025.
                   9030: # It should work with any program using the old curses (e.g. it better
                   9031: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   9032: # see the cursor.)
                   9033: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
                   9034: tek4025-cr|4025-cr|tek 4025 for curses and rogue,
                   9035:        am,
                   9036:        cols#80, it#8, lines#33,
                   9037:        clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;,
                   9038:        cup=\037jum%i%p1%d\054%p2%d;, cuu1=^K, ht=^I, ind=^F^J,
                   9039:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   9040:        rmcup=\037wor 0, smcup=\037wor 33h,
                   9041: # next two lines commented out since curses only allows 128 chars, sigh.
                   9042: #      :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:\
                   9043: #      :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:
                   9044: tek4025ex|4025ex|4027ex|tek 4025 w/!,
                   9045:        is2=\037com 33\r\n!sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r,
                   9046:        rmcup=\037com 33\r, smcup=!com 31\r,
                   9047:        use=tek4025,
                   9048: tek4105|4105|tektronix 4105,
                   9049:        am, mir, msgr, ul, xenl, xt,
                   9050:        cols#79, it#8, lines#29,
                   9051:        acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z,
                   9052:        clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C,
                   9053:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P,
                   9054:        dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   9055:        il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m,
                   9056:        is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B,
                   9057:        kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T,
                   9058:        rmacs=\E[m, rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[=0;<1m,
                   9059:        sgr0=\E[=0;<1m, smacs=\E[1m, smcup=\E%!1\E[?6l\E[2J,
                   9060:        smir=\E[4h, smso=\E[=2;<3m, smul=\E[=5;<2m, tbc=\E[1g,
                   9061:
                   9062: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
                   9063: tek4105-30|4105-30|4015 emulating 30 line vt100,
                   9064:        am, mir, msgr, xenl, xon,
                   9065:        cols#80, it#8, lines#30, vt#3,
                   9066:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   9067:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   9068:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   9069:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   9070:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   9071:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   9072:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   9073:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
                   9074:        ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
                   9075:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
                   9076:        kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   9077:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   9078:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   9079:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   9080:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   9081:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   9082:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   9083:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   9084:
                   9085: tek4107|tek4109|4107|4109|tektronix terminals 4107 4109,
                   9086:        am, mir, msgr, ul, xenl, xt,
                   9087:        cols#79, it#8, lines#29,
                   9088:        bel=^G, blink=\E%!1\E[5m$<2>\E%!0,
                   9089:        bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M,
                   9090:        cub1=^H, cud1=^J, cuf1=\EC,
                   9091:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3,
                   9092:        dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J,
                   9093:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   9094:        rev=\E%!1\E[7m$<2>\E%0, ri=\EI,
                   9095:        rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
                   9096:        sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0,
                   9097:        sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
                   9098:        smul=\E%!1\E[4m$<2>\E%!0,
                   9099: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   9100: # see the note attached to tek4207.
                   9101: tek4207-s|Tektronix 4207 with sysline but no memory,
                   9102:        eslok, hs,
                   9103:        dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
                   9104:        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,
                   9105:        is2=\E7\E[?6l\E[2K\E[?6h\E8,
                   9106:        tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
                   9107:
                   9108: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   9109: # look good for screen editing.  In the dialog area, you can't move the cursor
                   9110: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   9111: # is no way to scroll.
                   9112: #
                   9113: # Note that there is a floppy for free from Tek that makes the
                   9114: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   9115: # an expected enhancement that will use ANSI standard sequences.
                   9116: #
                   9117: # 4112 in non-dialog area pretending to scroll. It really wraps
                   9118: # but vi is said to work (more or less) in this mode.
                   9119: #
                   9120: # 'vi' works reasonably well with this entry.
                   9121: #
                   9122: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
                   9123:        am,
                   9124:        cols#80, lines#34,
                   9125:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J,
                   9126:        rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0,
                   9127: # The 4112 with the ANSI compatibility enhancement
                   9128: tek4112|tek4114|tektronix 4110 series,
                   9129:        am, db,
                   9130:        cols#80, lines#34,
                   9131:        cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C,
                   9132:        cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M,
                   9133:        ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
                   9134:        ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8,
                   9135:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   9136: tek4112-nd|4112-nd|4112 not in dialog area,
                   9137:        cuu1=^K, use=tek4112,
                   9138: tek4112-5|4112-5|4112 in 5 line dialog area,
                   9139:        lines#5, use=tek4112,
                   9140: # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
                   9141: # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
                   9142: # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
                   9143: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   9144: # to be 4-digit octal -- esr)
                   9145: tek4113|tektronix 4113 color graphics with 5 line dialog area,
                   9146:        am, da, eo,
                   9147:        cols#80, lines#5,
                   9148:        clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
                   9149:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
                   9150:        is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
                   9151: tek4113-34|4113-34|tektronix 4113 color graphics with 34 line dialog area,
                   9152:        lines#34,
                   9153:        is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
                   9154: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   9155: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   9156: # :vb: needs enough delay to let you see the background color being toggled.
                   9157: tek4113-nd|4113-nd|tektronix 4113 color graphics with no dialog area,
                   9158:        am, eo,
                   9159:        cols#80, it#8, lines#34,
                   9160:        clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
                   9161:        cvvis=\ELZ\EKA0,
                   9162:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
                   9163:        home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @,
                   9164:        ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0,
                   9165: # This entry is from Tek. Inc.  (Brian Biehl)
                   9166: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
                   9167: otek4115|Tektronix 4115,
                   9168:        am, da, db, eo,
                   9169:        cols#80, it#8, lines#34,
                   9170:        cbt=\E[Z, clear=\E[H\E[2J,
                   9171:        cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B,
                   9172:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   9173:        cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   9174:        el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100,
                   9175:        il1=\E[L,
                   9176:        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,
                   9177:        kbs=^H, ri=\EM, rmam=\E[?7l,
                   9178:        rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l,
                   9179:        rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   9180:        smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m,
                   9181:        smul=\E[4m,
                   9182: tek4115|newer tektronix 4115 entry with more ANSI capabilities,
                   9183:        am, xon,
                   9184:        cols#80, lines#34,
                   9185:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   9186:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   9187:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   9188:        cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
                   9189:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
                   9190:        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   9191:        il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D,
                   9192:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   9193:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
                   9194:        rmso=\E[m, rmul=\E[m,
                   9195:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   9196:        sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   9197:        vpa=\E[%p1%{1}%+%dd,
                   9198: # The tek4125 emulates a vt100 incorrectly - the scrolling region
                   9199: # command is ignored.  The following entry replaces <csr> with the needed
                   9200: # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
                   9201: # chokes on; and adds a lot of initialization for the tek dialog area.
                   9202: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   9203: # Steve Jacobson 8/85
                   9204: # (tek4125: there were two "\!"s in the is that I replaced with "\E!" -- esr)
                   9205: tek4125|tektronix 4125,
                   9206:        lines#34,
                   9207:        csr@, dl1=\E[1M, il1=\E[1L,
                   9208:        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,
                   9209:        rc@, sc@, smir=\E1, smkx=\E=,
                   9210:        use=vt100,
                   9211:
                   9212: # From: <jcoker@ucbic>
                   9213: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   9214: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
                   9215: # note that if jcoker wasn't confused you may be able to use this one. -- esr)
                   9216: tek4207|Tektronix 4207 graphics terminal with memory,
                   9217:        am, bw, mir, ul, xenl,
                   9218:        cols#80, it#8, lines#32,
                   9219:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>,
                   9220:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   9221:        cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J,
                   9222:        el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>,
                   9223:        il1=\E[L$<3/>,
                   9224:        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,
                   9225:        kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H,
                   9226:        rev=\E[7m, rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f,
                   9227:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J,
                   9228:        smso=\E[7m, smul=\E[4m,
                   9229:
                   9230: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
                   9231: # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
                   9232: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   9233: tek4404|tektronix 4404,
                   9234:        cols#80, it#8, lines#32,
                   9235:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
                   9236:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   9237:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M,
                   9238:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L,
                   9239:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8,
                   9240:        rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l,
                   9241:        rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m,
                   9242:        smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h,
                   9243:        smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
                   9244: # Some unknown person wrote:
                   9245: # I added the is string - straight Unix has ESC ; in the login
                   9246: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   9247: # mode). The is string here cleans up a few things (but not
                   9248: # everything).
                   9249: ct8500|tektronix ct8500,
                   9250:        am, bw, da, db,
                   9251:        cols#80, lines#25,
                   9252:        bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J,
                   9253:        cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER,
                   9254:        dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\,
                   9255:        il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E ,
                   9256:        rmul=\E , sgr0=\E , smso=\E$, smul=\E!,
                   9257:
                   9258: # Tektronix 4205 terminal.
                   9259: #
                   9260: # am is not defined because the wrap around occurs not when the char.
                   9261: # is placed in the 80'th column, but when we are attempting to type
                   9262: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   9263: # version of xenl, perhaps am + xenl would work!)
                   9264: #
                   9265: # Bold, dim, and standout are simulated by colors and thus not allowed
                   9266: # with colors.  The tektronix color table is mapped into the RGB color
                   9267: # table by setf/setb. All colors are reset to factory specifications by oc.
                   9268: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
                   9269: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   9270: # interval then maps into pre-defined value.
                   9271: tek4205|4205|tektronix 4205,
                   9272:        ccc, mir, msgr,
                   9273:        colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63,
                   9274:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   9275:        bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z,
                   9276:        clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
                   9277:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   9278:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9279:        dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
                   9280:        ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
                   9281:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
                   9282:        initc=\E%%!0\n\ETF4\n%?%p1%{0}%=%t0\n%e%p1%{1}%=%t4\n%e%p1%{2}%=%t3\n%e%p1%{3}%=%t5\n%e%p1%{4}%=%t2\n%e%p1%{5}%=%t6\n%e%p1%{6}%=%t7\n%e1%;\n%?%p2%{125}%<%t0\n%e%p2%{250}%<%tA2\n%e%p2%{375}%<%tA?\n%e%p2%{500}%<%tC8\n%e%p2%{625}%<%tD4\n%e%p2%{750}%<%tE1\n%e%p2%{875}%<%tE\072\n%eF4%;\n%?%p3%{125}%<%t0\n%e%p3%{250}%<%tA2\n%e%p3%{375}%<%tA?\n%e%p3%{500}%<%tC8\n%e%p3%{625}%<%tD4\n%e%p3%{750}%<%tE1\n%e%p3%{875}%<%tE\072\n%eF4%;\n%?%p4%{125}%<%t0\n%e%p4%{250}%<%tA2\n%e%p4%{375}%<%tA?\n%e%p4%{500}%<%tC8\n%e%p4%{625}%<%tD4\n%e%p4%{750}%<%tE1\n%e%p4%{875}%<%tE\072\n%eF4%;\n\E%%!1,
                   9283:        invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
                   9284:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
                   9285:        kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
                   9286:        kf7=\ES,
                   9287:        oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1,
                   9288:        op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l,
                   9289:        rmso=\E[=0;<1m, rmul=\E[24m,
                   9290:        setb=\E[=%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;,
                   9291:        setf=\E[<%?%p1%{0}%=%t0m\n%e%p1%{1}%=%t4m\n%e%p1%{2}%=%t3m\n%e%p1%{3}%=%t5m\n%e%p1%{4}%=%t2m\n%e%p1%{5}%=%t6m\n%e%p1%{6}%=%t7m\n%e1m%;,
                   9292:        sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
                   9293:        smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
                   9294:        smul=\E[4m, tbc=\E[1g,
                   9295:
                   9296: #### Teletype (tty)
                   9297: #
                   9298: # These are the hardcopy Teletypes from before AT&T bought the company,
                   9299: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   9300: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   9301: # Teletype-branded VDTs are listed in the AT&T section.
                   9302: #
                   9303: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   9304: # other programs still default to emitting codes for the Model 37.
                   9305: #
                   9306:
                   9307: tty33|tty35|model 33 or 35 teletype,
                   9308:        hc, os, xon,
                   9309:        cols#72,
                   9310:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   9311: tty37|model 37 teletype,
                   9312:        hc, os, xon,
                   9313:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
                   9314:        ind=^J,
                   9315:
                   9316: # There are known to be at least three flavors of the tty40, all seem more
                   9317: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   9318: # awful braindamage, such as printing a visible newline indicator after each
                   9319: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   9320: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   9321: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   9322: # it - it's null here to prevent it from showing the BL character.
                   9323: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
                   9324: # a "newline" style terminal (-crmode) vi figures all it needs is nl
                   9325: # to get crlf, even if <cr> is not ^M.)
                   9326: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   9327: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
                   9328:        xon,
                   9329:        cols#80, lines#24,
                   9330:        clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB,
                   9331:        cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>,
                   9332:        ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1,
                   9333:        ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^],
                   9334:        kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4,
                   9335:        rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>,
                   9336: tty43|model 43 teletype,
                   9337:        am, hc, os, xon,
                   9338:        cols#132,
                   9339:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
                   9340:
                   9341: #### Tymshare
                   9342: #
                   9343:
                   9344: # You can add <is2=\E<> to put this 40-column mode, though I can't
                   9345: # for the life of me think why anyone would want to.
                   9346: scanset|sc410|sc415|Tymshare Scan Set,
                   9347:        am, bw, msgr,
                   9348:        cols#80, lines#24,
                   9349:        acsc=l<m-k4j%q\\\054x5, bel=^G, clear=\EH\EJ, cr=^M,
                   9350:        cub1=^H, cud1=^J, cuf1=^I,
                   9351:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
                   9352:        home=\EH, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   9353:        mc0=\E;3, mc4=\E;0, mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B,
                   9354:        smacs=^N,
                   9355:
                   9356: #### Volker-Craig (vc)
                   9357: #
                   9358: # If you saw a Byte Magazine cover with a terminal on it during the early
                   9359: # 1980s, it was probably one of these.  Carl Helmers liked them because
                   9360: # they could crank 19.2 and were cheap (that is, until he tried to program
                   9361: # one...)
                   9362: #
                   9363:
                   9364: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   9365: # every other linefeed.
                   9366: vc303|vc103|vc203|volker-craig 303,
                   9367:        am,
                   9368:        cols#80, lines#24,
                   9369:        bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   9370:        cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I,
                   9371:        kcuu1=^N, ll=\017$<1>W,
                   9372: vc303a|vc403a|volker-craig 303a,
                   9373:        clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
                   9374:        home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
                   9375: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   9376: vc404|volker-craig 404,
                   9377:        am,
                   9378:        cols#80, lines#24,
                   9379:        bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   9380:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   9381:        ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J,
                   9382:        kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
                   9383: vc404-s|volker-craig 404 w/standout mode,
                   9384:        cud1=^J, rmso=^O, smso=^N, use=vc404,
                   9385: # From: <wolfgang@cs.sfu.ca>
                   9386: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
                   9387: vc414|vc414h|Volker-Craig 414H in sane escape mode.,
                   9388:        am,
                   9389:        cols#80, lines#24,
                   9390:        clear=\E\034$<40>, cud1=\E^K, cuf1=^P,
                   9391:        cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3,
                   9392:        dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R,
                   9393:        ich1=\E\072, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K,
                   9394:        kcuf1=^P, kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
                   9395:        kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1,
                   9396:        lf1=PF2, lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8,
                   9397:        rmso=\E^_, smso=\E^Y,
                   9398: vc415|volker-craig 415,
                   9399:        clear=^L, use=vc404,
                   9400:
                   9401: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   9402: #
                   9403:
                   9404: #### IBM PC and clones
                   9405: #
                   9406:
                   9407: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   9408: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   9409: # doesn't support scrolling regions, ignores add line commands, and ignores
                   9410: # delete line commands. Consequently, the resulting behavior looks like a
                   9411: # crude adm3a-type terminal.
                   9412: # Steve Jacobson 8/85
                   9413: pcplot|pc-plot terminal emulation program,
                   9414:        xenl@,
                   9415:        csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
                   9416: # (kaypro: removed obsolete ":ma=^K^P:" -- esr)
                   9417: kaypro|kaypro2|kaypro II,
                   9418:        am,
                   9419:        cols#80, lines#24,
                   9420:        clear=\032$<1/>, cub1=^H, cuf1=^L,
                   9421:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
                   9422:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   9423:
                   9424: # From IBM, Thu May  5 19:35:27 1983
                   9425: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
                   9426:        am,
                   9427:        cols#80, lines#24,
                   9428:        bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\,
                   9429:        cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, smir=\200R,
                   9430:
                   9431: #### Apple
                   9432: #
                   9433:
                   9434: appleII|apple ii plus,
                   9435:        am,
                   9436:        cols#80, it#8, lines#24,
                   9437:        clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
                   9438:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6,
                   9439:        ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I,
                   9440:        is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N,
                   9441:        smso=^O,
                   9442: # Originally by Gary Ford 21NOV83
                   9443: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   9444: apple-80|apple II with smarterm 80 col,
                   9445:        am, bw,
                   9446:        cols#80, lines#24,
                   9447:        cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
                   9448:        cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
                   9449:        ed=\013$<10*/>, el=\035$<10/>, home=^Y,
                   9450: apple-soroc|apple emulating soroc 120,
                   9451:        am,
                   9452:        cols#80, lines#24,
                   9453:        bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   9454:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
                   9455:        home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   9456: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   9457: #   ucbvax!ucsfmis!harrison  .....uucp
                   9458: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   9459: # "These two work.  If you don't have the inverse video chip for the
                   9460: # Apple with videx then remove the :so: and :se: fields."
                   9461: # (apple-videx: this used to be called DaleApple -- esr)
                   9462: apple-videx|Apple with videx videoterm 80 column board with inverse video,
                   9463:        am, xenl,
                   9464:        cols#80, it#8, lines#24,
                   9465:        clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
                   9466:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   9467:        home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y,
                   9468:        rmso=^Z2, sgr0=^Z2, smso=^Z3,
                   9469: lisa|apple lisa console display (black on white),
                   9470:        am, eo, msgr,
                   9471:        cols#88, it#8, lines#32,
                   9472:        acsc=lfmekcjdttuvvuwsqax`nb, civis=\E[5h, clear=^L,
                   9473:        cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   9474:        cuu1=\E[A, cvvis=\E[5l, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   9475:        el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
                   9476:        is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   9477:        kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                   9478:        sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m,
                   9479: liswb|apple lisa console display (white on black),
                   9480:        is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
                   9481:        smso=\E[m, smul=\E[4m, use=lisa,
                   9482: mac|macintosh|Macintosh with MacTerminal,
                   9483:        xenl,
                   9484:        dch1=\E[P$<7/>, dl1=\E[M$<20/>, ich1=\E[@$<9/>,
                   9485:        il1=\E[L$<20/>, ip=$<7/>,
                   9486:        use=vt100,
                   9487:
                   9488: #### Radio Shack/Tandy
                   9489: #
                   9490:
                   9491: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   9492: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   9493: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   9494: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
                   9495:        am,
                   9496:        cols#80, it#8, lines#24,
                   9497:        bel=^G, blink=^_", bold=\E\072^A, civis=^E ,
                   9498:        clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
                   9499:        cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
                   9500:        dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
                   9501:        kcuf1=^I, kcuu1=^L, rev=^_ , rmso=^_!, rmul=^_#,
                   9502:        sgr0=\037!\E\072\200, smso=^_ , smul=^_",
                   9503: # (trs2: removed obsolete ":nl=^_:" -- esr)
                   9504: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
                   9505:        am, msgr,
                   9506:        cols#80, it#8, lines#24,
                   9507:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
                   9508:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B,
                   9509:        el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\,
                   9510:        kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
                   9511: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
                   9512: # (This had extension capabilities
                   9513: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   9514: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
                   9515: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
                   9516: trs16|trs-80 model 16 console,
                   9517:        am,
                   9518:        cols#80, it#8, lines#24,
                   9519:        acsc=l_mbk`javewcquxs, bel=^G, civis=\ERc, clear=^L,
                   9520:        cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   9521:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   9522:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
                   9523:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   9524:        kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S,
                   9525:        khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
                   9526:        lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@,
                   9527:        smacs=\ERG, smso=\ERD,
                   9528:
                   9529: #### Atari ST
                   9530: #
                   9531:
                   9532: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   9533: atari|atari st,
                   9534:        am,
                   9535:        cols#80, it#8, lines#25,
                   9536:        clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
                   9537:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   9538:        ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB,
                   9539:        kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
                   9540: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   9541: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
                   9542: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
                   9543:        lines#49,
                   9544:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220,
                   9545: # MiNT VT52 emulation. 80 columns, 25 rows.
                   9546: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   9547: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   9548: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
                   9549: # From: Per Persson <pp@pfawww.pp.se>, 27 Feb 1996
                   9550: st52|Atari ST with VT52 emulation,
                   9551:        am, km,
                   9552:        cols#80, lines#25,
                   9553:        bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED,
                   9554:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   9555:        cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
                   9556:        ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
                   9557:        kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M,
                   9558:        kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>,
                   9559:        kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
                   9560:        kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek,
                   9561:        ri=\EI, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq,
                   9562:        smcup=\Ee, smso=\Ep,
                   9563:
                   9564: #### Commodore Business Machines
                   9565: #
                   9566: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   9567: # after years of shaky engineering and egregious mismanagement.  Made one
                   9568: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   9569: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   9570: # ever (most units sold); they can still be found gathering dust in closets
                   9571: # everywhere.
                   9572: #
                   9573:
                   9574: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   9575: # Added a few more entries, converted caret-type control sequence (^x) entries
                   9576: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   9577: #
                   9578: # :as:, :ae:                   Support for alternate character sets.
                   9579: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   9580: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   9581: #     This one appears to fix a problem I always had with a line ending
                   9582: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   9583: #     line tended to disappear and reappear depending on how the screen
                   9584: #     was refreshed. Note that this is probably needed only if you use
                   9585: #     something like a Dnet Fterm with the window sized to some peculiar
                   9586: #     dimension larger than 80 columns.
                   9587: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
                   9588: # (amiga: removed obsolete :kn#10:,
                   9589: # also added empty <acsc> to suppress a warning --esr)
                   9590: amiga-old|Amiga ANSI,
                   9591:        am, bw, xenl,
                   9592:        cols#80, lines#24,
                   9593:        acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
                   9594:        civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD,
                   9595:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   9596:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   9597:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   9598:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   9599:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   9600:        indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED,
                   9601:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, kf1=\E0~,
                   9602:        kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, kf6=\E5~, kf7=\E6~,
                   9603:        kf8=\E7~, kf9=\E8~, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
                   9604:        rmacs=^O, rmso=\E[m, rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N,
                   9605:        smso=\E[7m, smul=\E[4m,
                   9606:
                   9607: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
                   9608: # (amiga: added empty <acsc> to suppress a warning --esr)
                   9609: amiga|Amiga ANSI,
                   9610:        bw, msgr,
                   9611:        cols#80, lines#24,
                   9612:        acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
                   9613:        civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M,
                   9614:        cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
                   9615:        cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
                   9616:        cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
                   9617:        dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
                   9618:        home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S,
                   9619:        indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H,
                   9620:        kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
                   9621:        kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~,
                   9622:        kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
                   9623:        kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
                   9624:        rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m,
                   9625:        rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l,
                   9626:        smso=\2337m, smul=\2334m,
                   9627:
                   9628: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   9629: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   9630: # having a little trouble. I've had to map most of my control characters
                   9631: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   9632: # and create some functions (like cm), but thats life.
                   9633: #      The problem is with the arrow keys - right, and up work fine, but
                   9634: # left deletes the previous character and down I just can't figure out.
                   9635: # Jove knows what I want, but I don't know what it's sending to me (it
                   9636: # isn't thats bound to next-line in jove).
                   9637: #      Anybody got any ideas? Here's my termcap.
                   9638: # DAG -- I changed his "^n" entries to "\n"; see if that works.
                   9639: #
                   9640: commodore|b-128|Commodore B-128 micro,
                   9641:        am, bw,
                   9642:        cols#80, lines#24, pb#150,
                   9643:        bel=^G, clear=\E\006$<10/>, cr=^M, cub1=^H, cud1=^M, cuf1=^F,
                   9644:        cup=\E\013%p1%2d\054%p2%2d\054$<20/>, cuu1=^P,
                   9645:        dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
                   9646:        home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
                   9647:        kbs=^H, kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E,
                   9648:        nel=^M^M, rmir=, smir=,
                   9649:
                   9650: #### North Star
                   9651: #
                   9652: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   9653: northstar|North Star Advantage,
                   9654:        cols#80, lines#24,
                   9655:        bel=^G, clear=\004$<200/>, cr=^M, cub1=^H, cud1=^J,
                   9656:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
                   9657:        el=\016$<200/>, home=\034\032$<200/>, ht=^I, ind=^J,
                   9658:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   9659:
                   9660: #### Osborne
                   9661: #
                   9662: # Thu Jul  7 03:55:16 1983
                   9663: #
                   9664: # As an aside, be careful; it may sound like an anomaly on the
                   9665: # Osborne, but with the 80-column upgrade, it's too easy to
                   9666: # enter lines >80 columns!
                   9667: #
                   9668: # I've already had several comments...
                   9669: # The Osborne-1 with the 80-col option is capable of being
                   9670: # 52, 80, or 104 characters wide; default to 80 for compatibility
                   9671: # with most systems.
                   9672: #
                   9673: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
                   9674: ozzie|osborne|osborne1|osborne 1,
                   9675:        msgr, ul, xt,
                   9676:        cols#104, lines#24,
                   9677:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   9678:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   9679:        dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
                   9680:        kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
                   9681:
                   9682: #
                   9683: # Osborne Executive definition from BRL
                   9684: # Similar to tvi920
                   9685: # Added by David Milligan and Tom Smith (SMU)
                   9686: osexec|Osborne executive,
                   9687:        am,
                   9688:        cols#80, lines#24, xmc#1,
                   9689:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   9690:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   9691:        dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, hts=\E1, ich1=\EQ,
                   9692:        il1=\EE, is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J,
                   9693:        kcuf1=^L, kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r,
                   9694:        kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r,
                   9695:        kf8=^AH\r, kf9=^AI\r, nel=^M^J, rmir=, rmso=\Ek, rmul=\Em,
                   9696:        smir=, smso=\Ej, smul=\El, tbc=\E3,
                   9697:
                   9698: #### Console types for obsolete UNIX clones
                   9699: #
                   9700: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   9701: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
                   9702: # were commercial, Minix an educational tool sold in conjunction with a book.
                   9703: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   9704: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   9705: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   9706: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
                   9707: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   9708: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   9709: # even as single processes under SunOS and the Macintosh OS.
                   9710: #
                   9711:
                   9712: minix|minix console,
                   9713:        cols#80, it#8, lines#25,
                   9714:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
                   9715:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   9716:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   9717:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   9718:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
                   9719:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   9720:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9721:        kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G,
                   9722:        khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
                   9723:        rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   9724:
                   9725: pc-minix|minix console on an Intel box,
                   9726:        use=klone+acs, use=minix,
                   9727:
                   9728: # According to the Coherent 2.3 manual, the PC console is similar
                   9729: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   9730: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   9731: # has blinking and bold.
                   9732: pc-coherent|pcz19|coherent|IBM PC console running Coherent,
                   9733:        am, mir,
                   9734:        cols#80, it#8, lines#25,
                   9735:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   9736:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN,
                   9737:        ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED,
                   9738:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
                   9739:        rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
                   9740:
                   9741: # According to the Venix 1.1 manual, the PC console is similar
                   9742: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   9743: # different strings, (2) enhanced standout, (3) added insert/delete line.
                   9744: # Note in particular that it doesn't have automatic margins.
                   9745: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   9746: # not described here because this derives from an old termcap entry.
                   9747: pc-venix|venix|IBM PC console running Venix,
                   9748:        cols#80, it#8, lines#25,
                   9749:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   9750:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   9751:        ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK,
                   9752:        kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI,
                   9753:
                   9754: #### Miscellaneous microcomputer consoles
                   9755: #
                   9756: # If you know anything more about any of these, please tell me.
                   9757: #
                   9758:
                   9759: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   9760: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   9761: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   9762: basis|BASIS108 computer with terminal translation table active,
                   9763:        clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
                   9764:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
                   9765:        smso=\E(,
                   9766:        use=adm3a,
                   9767: # luna's BMC terminal emulator
                   9768: luna|luna68k|LUNA68K Bitmap console,
                   9769:        cols#88, lines#46, use=ansi-mini,
                   9770: megatek|pegasus workstation terminal emulator,
                   9771:        am, os,
                   9772:        cols#83, lines#60,
                   9773: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   9774: # interface (pre-Macintosh by several years) that went nowhere.
                   9775: xerox820|x820|Xerox 820,
                   9776:        am,
                   9777:        cols#80, lines#24,
                   9778:        bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   9779:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X,
                   9780:        home=^^, ind=^J,
                   9781:
                   9782: #### Videotex and teletext
                   9783: #
                   9784:
                   9785: # standard-issue France Telecom minitel terminal (made by Philips)
                   9786: # (m2-nam: had unknown :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:; also deleted
                   9787: # unnecessary :ug#0:sg#0: and added <acsc> to quiet tic. -- esr)
                   9788: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel,
                   9789:        xenl,
                   9790:        cols#80, it#8, lines#24,
                   9791:        acsc=, clear=\E[H\E[J, cub1=^H, cuf1=\E[C,
                   9792:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   9793:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=^J, ip=$<7/>,
                   9794:        is2=\E[1;24r\E[24;1H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   9795:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   9796:        khome=\E[H, ri=\EM, rmacs=\E(B, rmir=\E[4l, rmso=\E[m,
                   9797:        rmul=\E[m, sgr0=\E[m, smacs=\E(0, smir=\E[4h, smso=\E[7m,
                   9798:        smul=\E[4m,
                   9799:
                   9800: ######## OBSOLETE VDT TYPES
                   9801: #
                   9802: # These terminals are *long* dead -- these entries are retained for
                   9803: # historical interest only.
                   9804:
                   9805: #### Amtek Business Machines
                   9806: #
                   9807:
                   9808: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   9809: # but these caps were commented out in 8.3; also, removed overridden
                   9810: # ":do=^J:" -- esr)
                   9811: abm80|amtek business machines 80,
                   9812:        am, bw,
                   9813:        cols#80, lines#24,
                   9814:        cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
                   9815:        cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
                   9816:        dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
                   9817:
                   9818: #### Bell Labs blit terminals
                   9819: #
                   9820: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   9821: # David Breneman <daveb@dgtl.com> has this to say:
                   9822: #
                   9823: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   9824: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   9825: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   9826: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   9827: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   9828: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   9829: #  world. And the Jerq lived the rest of its days in research, but never
                   9830: #  strayed from those paths.
                   9831: #
                   9832: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   9833: #  it started to be shown outside of the halls of the Bell Labs Research
                   9834: #  organization, the management powers that be decided that the name could
                   9835: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   9836: #
                   9837: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   9838: # 730, and 730+.)
                   9839: #
                   9840:
                   9841: blit|jerq|blit running teletype rom,
                   9842:        am, eo, ul, xon,
                   9843:        cols#87, it#8, lines#72,
                   9844:        bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   9845:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
                   9846:        dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c,
                   9847:        dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!,
                   9848:        il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED,
                   9849:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez,
                   9850:
                   9851: # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
                   9852: cbblit|fixterm|blit running columbus code,
                   9853:        cols#88,
                   9854:        ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d,
                   9855:        rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!,
                   9856:        smul=\EU",
                   9857:        use=blit,
                   9858:
                   9859: oblit|ojerq|first version of blit rom,
                   9860:        am, da, db, eo, mir, ul, xon,
                   9861:        cols#88, it#8, lines#72,
                   9862:        bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   9863:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO,
                   9864:        dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G,
                   9865:        ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER,
                   9866:        smir=\EQ,
                   9867:
                   9868: #### Bolt, Beranek & Newman (bbn)
                   9869: #
                   9870: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   9871: # The parent company, best known as the architects of the Internet, is
                   9872: # still around.
                   9873: #
                   9874:
                   9875: # Entries for the BitGraph terminals.  The problem
                   9876: # with scrolling in vi can only be fixed by getting BBN to put
                   9877: # smarter scroll logic in the terminal or changing vi or padding
                   9878: # scrolls with about 500 ms delay.
                   9879: #
                   9880: # I always thought the problem was related to the terminal
                   9881: # counting newlines in its input buffer before scrolling and
                   9882: # then moving the screen that much. Then vi comes along and
                   9883: # paints lines in on the bottom line of the screen, so you get
                   9884: # this big white gap.
                   9885:
                   9886: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
                   9887:        flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
                   9888:        use=bg2.0,
                   9889: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
                   9890:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
                   9891:        use=bg2.0,
                   9892: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
                   9893:        xenl,
                   9894:        cols#85, lines#64,
                   9895:        bel=^G, clear=\E[H\E[J$<150>, cr=^M,
                   9896:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   9897:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>,
                   9898:        ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>,
                   9899:        ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   9900:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1,
                   9901:        lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7,
                   9902:        sgr0=\E[m, smkx=\E=, smso=\E[7m,
                   9903:
                   9904: bg1.25rv|bbn bitgraph 1.25 (reverse video),
                   9905:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25,
                   9906: bg1.25nv|bbn bitgraph 1.25 (normal video),
                   9907:        flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25,
                   9908: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
                   9909: bg1.25|bbn bitgraph 1.25,
                   9910:        cols#85, lines#64,
                   9911:        bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B,
                   9912:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
                   9913:        dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
                   9914:        il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB,
                   9915:        kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES,
                   9916:        lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l,
                   9917:        rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=,
                   9918:        smso=\E[7m,
                   9919:
                   9920: #### Chromatics
                   9921: #
                   9922:
                   9923: # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
                   9924: # that is smaller than the screen, and puts up a warning message
                   9925: # outside the window. Te erases the warning message, puts the
                   9926: # window back to be the whole screen, and puts the cursor at just
                   9927: # below the small window. I defined <cnorm> and <civis> to really turn
                   9928: # the cursor on and off, but I have taken this out since I don't
                   9929: # like the cursor being turned off when vi exits.
                   9930: cg7900|chromatics|chromatics 7900,
                   9931:        am,
                   9932:        cols#80, lines#40,
                   9933:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^],
                   9934:        cup=\001M%p2%d\\\054%p1%d\\\054, cuu1=^K, dch1=^A<1,
                   9935:        dl1=^A<2, ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J,
                   9936:        ll=^A|,
                   9937:        rmcup=\001W0\\\05440\\\05485\\\05448\\\054\014\001W0\\\0540\\\05485\\\05448\\\054\001M0\\\05440\\\054,
                   9938:        rmso=\001C1\\\054\001c2\\\054,
                   9939:        smcup=\001P0\001O1\001R1\001C4\\\054\001c0\\\054\014\001M0\\\05442\\\054WARNING DOUBLE ENTER ESCAPE and \025\001C1\\\054\001c2\\\054\001W0\\\0540\\\05479\\\05439\\\054,
                   9940:        smso=\001C4\\\054\001c7\\\054, uc=\001\001_\001\200,
                   9941:
                   9942: #### Computer Automation
                   9943: #
                   9944:
                   9945: ca22851|computer automation 22851,
                   9946:        am,
                   9947:        cols#80, lines#24,
                   9948:        bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I,
                   9949:        cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J,
                   9950:        kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^,
                   9951:
                   9952: #### Cybernex
                   9953: #
                   9954:
                   9955: # This entry has correct padding and the undocumented "ri" capability
                   9956: cyb83|xl83|cybernex xl-83,
                   9957:        am,
                   9958:        cols#80, lines#24,
                   9959:        bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   9960:        cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N,
                   9961:        ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H,
                   9962:        kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N,
                   9963: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   9964: cyb110|mdl110|cybernex mdl-110,
                   9965:        am,
                   9966:        cols#80, lines#24,
                   9967:        bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   9968:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   9969:        dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
                   9970:        ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y,
                   9971:        ht=\011$<43>, ich1=\016A\035$<3.5>,
                   9972:        il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF,
                   9973:
                   9974: #### Datapoint
                   9975: #
                   9976: # Datapoint is gone.  They used to be headquartered in Texas.
                   9977: # They created ARCnet, an Ethernet competitor that flourished for a while
                   9978: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   9979: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   9980: #
                   9981:
                   9982: dp3360|datapoint|datapoint 3360,
                   9983:        am,
                   9984:        cols#82, lines#25,
                   9985:        bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
                   9986:        ed=^_, el=^^, home=^], ind=^J,
                   9987:
                   9988: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   9989: #
                   9990: # These entries are DEC's official terminfos for its older terminals.
                   9991: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   9992: # Engineering for more information.  Updated terminfos and termcaps
                   9993: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   9994: #
                   9995:
                   9996: gt40|dec gt40,
                   9997:        os,
                   9998:        cols#72, lines#30,
                   9999:        bel=^G, cr=^M, cub1=^H, cud1=^J,
                   10000: gt42|dec gt42,
                   10001:        os,
                   10002:        cols#72, lines#40,
                   10003:        bel=^G, cr=^M, cub1=^H, cud1=^J,
                   10004: vt50|dec vt50,
                   10005:        cols#80, lines#12,
                   10006:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10007:        cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J,
                   10008: vt50h|dec vt50h,
                   10009:        cols#80, lines#12,
                   10010:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10011:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   10012:        el=\EK, ht=^I, ind=^J, ri=\EI,
                   10013: # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
                   10014: vt61|vt-61|vt61.5|dec vt61,
                   10015:        cols#80, lines#24,
                   10016:        bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J,
                   10017:        cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
                   10018:        cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I,
                   10019:        ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   10020:        ri=\E$<20>I,
                   10021:
                   10022: # The gigi does standout with red!
                   10023: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
                   10024: gigi|vk100|dec gigi graphics terminal,
                   10025:        am, xenl,
                   10026:        cols#84, lines#24,
                   10027:        bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   10028:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   10029:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
                   10030:        el=\E[K, ht=^I, ind=^J,
                   10031:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h,
                   10032:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   10033:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
                   10034:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   10035:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m,
                   10036:        smul=\E[4m,
                   10037:
                   10038: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   10039: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   10040: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   10041: # a format program, so you had to buy pre-formatted floppies from DEC at
                   10042: # a hefty premium!).
                   10043: pro350|decpro|dec pro console,
                   10044:        cols#80, it#8, lines#24,
                   10045:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   10046:        clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
                   10047:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   10048:        el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   10049:        kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI,
                   10050:        kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG,
                   10051:        rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D,
                   10052:
                   10053: dw1|decwriter I,
                   10054:        hc, os,
                   10055:        cols#72,
                   10056:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   10057: dw2|decwriter|dw|decwriter II,
                   10058:        hc, os,
                   10059:        cols#132,
                   10060:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
                   10061:
                   10062: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   10063: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   10064: # \E[w         10 char/in pitch
                   10065: # \E[1;132     full width horizontal margins
                   10066: # \E[2g                clear all tab stops
                   10067: # \E[z         6 lines/in
                   10068: # \E[66t       66 lines/page (for \f)
                   10069: # \E[1;66r     full vertical page can be printed
                   10070: # \E[4g                clear vertical tab stops
                   10071: # \E>          disable alternate keypad mode (so it transmits numbers!)
                   10072: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
                   10073: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   10074: #              a tab stop)
                   10075: #
                   10076: #       The dw3 does standout with wide characters.
                   10077: #
                   10078: dw3|la120|decwriter III,
                   10079:        hc, os,
                   10080:        cols#132,
                   10081:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J,
                   10082:        is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
                   10083:        is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
                   10084:        kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w,
                   10085: dw4|decwriter IV,
                   10086:        am, hc, os,
                   10087:        cols#132,
                   10088:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H,
                   10089:        kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
                   10090:
                   10091: # These aren't official
                   10092: ln03|dec ln03 laser printer,
                   10093:        hc,
                   10094:        cols#80, lines#66,
                   10095:        bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J,
                   10096:        rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m,
                   10097:        smul=\E[4m,
                   10098: ln03-w|dec ln03 laser printer 132 cols,
                   10099:        cols#132,
                   10100:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   10101:        kcud1=^J, nel=^M^J,
                   10102:        use=ln03,
                   10103:
                   10104: #### Delta Data (dd)
                   10105: #
                   10106:
                   10107: # Untested. The cup sequence is hairy enough that it probably needs work.
                   10108: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   10109: # There are BSD-derived termcap entries floating around for this puppy
                   10110: # that are *certainly* wrong.
                   10111: delta|dd5000|delta data 5000,
                   10112:        am,
                   10113:        cols#80, lines#27,
                   10114:        bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y,
                   10115:        cup=\017%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c,
                   10116:        cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J,
                   10117:
                   10118: #### Digital Data Research (ddr)
                   10119: #
                   10120:
                   10121: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
                   10122: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
                   10123:        am, xenl,
                   10124:        cols#80, it#8, lines#24, vt#3,
                   10125:        blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   10126:        clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
                   10127:        cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
                   10128:        cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
                   10129:        ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H,
                   10130:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   10131:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
                   10132:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
                   10133:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
                   10134:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   10135:        sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m,
                   10136:        smul=\E[4m$<2/>,
                   10137:
                   10138: #### Evans & Sutherland
                   10139: #
                   10140:
                   10141: # Jon Leech <leech@cs.unc.edu> tells us:
                   10142: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   10143: # performance 3D vector graphics system with a bunch of specialized hardware.
                   10144: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   10145: # evolutions including (limited) color versions such as the PS330C. PS300s
                   10146: # were effectively obsolete by the late 80s, replaced by raster graphics
                   10147: # systems, although specialized applications like molecular modelling
                   10148: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   10149: # are out of production, though of course E&S is very much alive (in 1996).
                   10150: # (ps300: changed ":pt@:" to "it@" -- esr)
                   10151: #
                   10152: ps300|Picture System 300,
                   10153:        xt,
                   10154:        it@,
                   10155:        rmso@, rmul@, smso@, smul@, use=vt100,
                   10156:
                   10157: #### General Electric (ge)
                   10158: #
                   10159:
                   10160: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
                   10161:        hc, os,
                   10162:        cols#120,
                   10163:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   10164:
                   10165: #### Heathkit/Zenith
                   10166: #
                   10167:
                   10168: # Here is a description of the H19 DIP switches:
                   10169: #
                   10170: # S401
                   10171: # 0-3 = baud rate as follows:
                   10172: #
                   10173: #         3       2       1       0
                   10174: #      ---     ---     ---     ---
                   10175: #         0       0       1       1       300 baud
                   10176: #         0       1       0       1       1200 baud
                   10177: #         1       0       0       0       2400 baud
                   10178: #         1       0       1       0       4800 baud
                   10179: #         1       1       0       0       9600 baud
                   10180: #         1       1       0       1       19.2K baud
                   10181: #
                   10182: # 4 = parity (0 = no parity)
                   10183: # 5 = even parity (0 = odd parity)
                   10184: # 6 = stick parity (0 = normal parity)
                   10185: # 7 = full duplex (0 = half duplex)
                   10186: #
                   10187: # S402
                   10188: # 0 = block cursor (0 = underscore cursor)
                   10189: # 1 = no key click (0 = keyclick)
                   10190: # 2 = wrap at end of line (0 = no wrap)
                   10191: # 3 = auto LF on CR (0 = no LF on CR)
                   10192: # 4 = auto CR on LF (0 = no CR on LF)
                   10193: # 5 = ANSI mode (0 = VT52 mode)
                   10194: # 6 = keypad shifted (0 = keypad unshifted)
                   10195: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   10196: #
                   10197: # Factory Default settings are as follows:
                   10198: #          7 6 5 4 3 2 1 0
                   10199: # S401     1 0 0 0 1 1 0 0
                   10200: # S402     0 0 0 0 0 0 0 0
                   10201: # (h19: I added <rmam>/<smam> based on the init string;
                   10202: # also added empty <acsc> to suppress a tic warning -- esr)
                   10203: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
                   10204:        am, mir, msgr,
                   10205:        cols#80, it#8, lines#24,
                   10206:        acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H,
                   10207:        cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH,
                   10208:        cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>,
                   10209:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
                   10210:        is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
                   10211:        kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
                   10212:        kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
                   10213:        kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
                   10214:        ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,
                   10215:        smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
                   10216: h19-bs|heathkit w/keypad shifted,
                   10217:        rmkx=\Eu, smkx=\Et, use=h19-b,
                   10218: h19-smul|heathkit w/keypad shifted/underscore cursor,
                   10219:        rmkx=\Eu, smkx=\Et,
                   10220:        use=h19-u,
                   10221: # (h19: merged in <ip> from BSDI hp19-e entry>;
                   10222: # also added empty <acsc> to suppress a tic warning --esr)
                   10223: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
                   10224:        am, eslok, hs, mir, msgr,
                   10225:        cols#80, it#8, lines#24,
                   10226:        acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB,
                   10227:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   10228:        cvvis=\Ex4, dch1=\EN, dl1=\EM$<1*>, ed=\EJ, el=\EK,
                   10229:        fsl=\Ek\Ey5, home=\EH, ht=^I, il1=\EL$<1*>, ind=^J,
                   10230:        ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   10231:        kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
                   10232:        kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red,
                   10233:        lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
                   10234:        smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
                   10235: h19-u|heathkit with underscore cursor,
                   10236:        cnorm@, cvvis@, use=h19-b,
                   10237: h19-us|h19us|heathkit w/keypad shifted/underscore cursor,
                   10238:        rmkx=\Eu, smkx=\Et,
                   10239:        use=h19-u,
                   10240: h19-g|h19g|heathkit w/block cursor,
                   10241:        cnorm=\Ex4, use=h19-b,
                   10242: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
                   10243:        lines#60,
                   10244:        dl1=\EM, il1=\EL, use=h19,
                   10245:
                   10246: # The major problem with the Z29 is that it requires more padding than the Z19.
                   10247: #
                   10248: # The problem with declaring an H19 to be synonymous with a Z29 is that
                   10249: # it needs more padding. It especially loses if a program attempts
                   10250: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   10251: # even loses worse if the program attempts to insert tabs at 9600
                   10252: # baud. Adding padding to text that is inserted loses because in
                   10253: # order to make the Z29 not die, one must add so much padding that
                   10254: # whenever the program tries to use insert mode, the effective
                   10255: # rate is about 110 baud.
                   10256: #
                   10257: # What program would want to put the terminal into insert mode
                   10258: # and shove stuff at it at 9600 baud you ask?
                   10259: #
                   10260: # Emacs. Emacs seems to want to do the mathematically optimal
                   10261: # thing in doing a redisplay rather than the practical thing.
                   10262: # When it is about to output a line on top of a line that is
                   10263: # already on the screen, instead of just killing to the end of
                   10264: # the line and outputting the new line, it compares the old line
                   10265: # and the new line and if there are any similarities, it
                   10266: # constructs the new line by deleting the text on the old line
                   10267: # on the terminal that is already there and then inserting new
                   10268: # text into the line to transform it into the new line that is
                   10269: # to be displayed. The Z29 does not react kindly to this.
                   10270: #
                   10271: # But don't cry for too long.... There is a solution. You can make
                   10272: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   10273: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   10274: # line will be really slow", you say. Well there is a sort of a
                   10275: # solution to that too. There is an insert character option on
                   10276: # the Z29 that will insert one character. Unfortunately, it
                   10277: # involves putting the terminal into ansi mode, inserting the
                   10278: # character, and changing it back to H19 mode. All this takes 12
                   10279: # characters. Pretty expensive to insert one character, but it
                   10280: # works. Either Emacs doesn't try to use its inserting hack when
                   10281: # it's only given an insert character ability or the Z29 doesn't
                   10282: # require padding with this (the former is probably more likely,
                   10283: # but I haven't checked it out).
                   10284: # (z29: added empty <acsc> to suppress a tic warning --esr)
                   10285: z29|zenith29|z29b|zenith z29b,
                   10286:        am, msgr,
                   10287:        cols#80, lines#24,
                   10288:        acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, cr=^M,
                   10289:        cub1=^H, cud1=\EB, cuf1=\EC,
                   10290:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A,
                   10291:        cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1>, ed=\EJ$<14>,
                   10292:        el=\EK$<1>, home=\EH, ht=^I, ich1=\E<\E[1@\E[?2h$<1>,
                   10293:        il1=\EL$<1>, ind=\n$<2>, is2=\E<\E[?2h\Ev, kbs=^H,
                   10294:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E~, kf1=\ES,
                   10295:        kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   10296:        kf9=\E0I, khome=\EH, lf0=home, ri=\EI$<2>, rmacs=\EF,
                   10297:        rmso=\Eq, rmul=\Es0, smacs=\EG, smso=\Ep, smul=\Es8,
                   10298: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   10299: # the world is stable. <rs1> causes the terminal to be reset to the state
                   10300: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   10301: # cursor, bc -> block cursor.
                   10302: # From: Mike Meyers
                   10303: # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
                   10304: # looks vt100-compatible -- esr)
                   10305: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
                   10306:        eslok, hs,
                   10307:        cols#80, it#8, lines#24,
                   10308:        bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, cr=^M,
                   10309:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   10310:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   10311:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   10312:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   10313:        dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H,
                   10314:        ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL,
                   10315:        ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
                   10316:        kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS,
                   10317:        kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
                   10318:        kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7,
                   10319:        nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h,
                   10320:        rmso=\E[m, rmul=\E[m,
                   10321:        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,
                   10322:        sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
                   10323:        tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
                   10324: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
                   10325:        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
                   10326:        use=z29a,
                   10327: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
                   10328:        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,
                   10329:        use=z29a,
                   10330: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
                   10331:        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,
                   10332:        use=z29a,
                   10333: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   10334: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
                   10335:        am, eslok, hs, mc5i, mir, msgr, xon,
                   10336:        cols#80, lines#24,
                   10337:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a, bel=^G,
                   10338:        blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
                   10339:        clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
                   10340:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   10341:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   10342:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   10343:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   10344:        dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
                   10345:        fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L,
                   10346:        ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw,
                   10347:        ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D,
                   10348:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS,
                   10349:        kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
                   10350:        kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
                   10351:        mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
                   10352:        rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
                   10353:        rmul=\E[0m, rs2=\E<\Ec\200, sc=\E[s, sgr0=\E[0m,
                   10354:        smacs=\E(0, smir=\E[4h, smkx=\E[>7h, smso=\E[7m,
                   10355:        smul=\E[4m, tbc=\E[3g, tsl=\E[s\E[>1h\E[25;%i%p1%dH,
                   10356:
                   10357: # From: Brad Brahms <Brahms@USC-ECLC>
                   10358: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
                   10359:        cnorm=\Ey4\Em70, cvvis=\Ex4\Em71,
                   10360:        use=z100bw,
                   10361: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
                   10362: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
                   10363:        mir, msgr,
                   10364:        cols#80, it#8, lines#24,
                   10365:        acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB,
                   10366:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>,
                   10367:        cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>,
                   10368:        ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H,
                   10369:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES,
                   10370:        kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   10371:        kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,
                   10372:        smacs=\EF, smir=\E@, smso=\Ep,
                   10373: p19|h19-b with il1/dl1,
                   10374:        dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
                   10375: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
                   10376: # (ztx: removed duplicate :sr: -- esr)
                   10377: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
                   10378:        am, eslok, hs,
                   10379:        cols#80, it#8, lines#24,
                   10380:        clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
                   10381:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   10382:        dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I,
                   10383:        il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>,
                   10384:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES,
                   10385:        kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER,
                   10386:        ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2,
                   10387:        tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
                   10388:
                   10389: #### IMS International (ims)
                   10390: #
                   10391: # There was a company called IMS International located in Carson City,
                   10392: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   10393: # bus/Z80 hardware and a line of terminals called Ultimas.
                   10394:
                   10395: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   10396: ims950-b|bare ims950 no init string,
                   10397:        is2@, use=ims950,
                   10398: # (ims950: removed obsolete ":ko@:" -- esr)
                   10399: ims950|ims televideo 950 emulation,
                   10400:        xenl@,
                   10401:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
                   10402:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@,
                   10403:        use=tvi950,
                   10404: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   10405: ims950-rv|ims tvi950 rev video,
                   10406:        xenl@,
                   10407:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
                   10408:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@,
                   10409:        use=tvi950-rv,
                   10410: ims-ansi|ultima2|ultimaII|IMS Ultima II,
                   10411:        am,
                   10412:        cols#80, it#8, lines#24,
                   10413:        clear=\E[H\E[2J, cub1=^H, cud1=\ED,
                   10414:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K,
                   10415:        ht=^I, if=/usr/share/tabset/vt100,
                   10416:        is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
                   10417:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM,
                   10418:        rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m,
                   10419:        smul=\E[4m,
                   10420:
                   10421: #### Intertec Data Systems
                   10422: #
                   10423: # I think this company is long dead as of 1995.  They made an early CP/M
                   10424: # micro called the "Intertec Superbrain" that was moderately popular,
                   10425: # then sank out of sight.
                   10426: #
                   10427:
                   10428: superbrain|intertec superbrain,
                   10429:        am, bw,
                   10430:        cols#80, lines#24,
                   10431:        bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   10432:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K,
                   10433:        ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U,
                   10434:        kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L,
                   10435: intertube|intertec|Intertec InterTube,
                   10436:        am,
                   10437:        cols#80, lines#25,
                   10438:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   10439:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A,
                   10440:        ind=^J, rmso=\E0@, smso=\E0P,
                   10441: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   10442: # are typing and a command comes in, the keystrokes you type get interspersed
                   10443: # with the command and it messes up
                   10444: intertube2|intertec data systems intertube 2,
                   10445:        cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
                   10446:        el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
                   10447:        ll=^K^X\r, vpa=\013%p1%c,
                   10448:        use=intertube,
                   10449:
                   10450: #### Ithaca Intersystems
                   10451: #
                   10452: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   10453: # past.  They used to be reachable at:
                   10454: #
                   10455: #      Ithaca Intersystems
                   10456: #      1650 Hanshaw Road
                   10457: #      Ithaca, New York 14850
                   10458: #
                   10459: # However, the outfit went bankrupt years ago.
                   10460: #
                   10461:
                   10462: # The Graphos III was a color graphics terminal frome Ithaca Intersystems.
                   10463: # These entries were written (originally in termcap syntax) by Brian Yandell
                   10464: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   10465: # University of Wisconsin.
                   10466:
                   10467: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   10468: # removed <if=/usr/share/tabset/init.graphos> and
                   10469: # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
                   10470: graphos|graphos III,
                   10471:        am, mir,
                   10472:        cols#80, it#8, lines#24,
                   10473:        clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z,
                   10474:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   10475:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10476:        cuu=\E[%p1%dA, cuu1=\E[A,
                   10477:        cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM,
                   10478:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   10479:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   10480:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   10481:        kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l,
                   10482:        rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h,
                   10483:        smir=\E[4h, smso=\E[7m,
                   10484: graphos-30|graphos III with 30 lines,
                   10485:        lines#30,
                   10486:        cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
                   10487:
                   10488: #### Modgraph
                   10489: #
                   10490: # These people used to be reachable at:
                   10491: #
                   10492: #      Modgraph, Inc
                   10493: #      1393 Main Street,
                   10494: #      Waltham, MA 02154
                   10495: #      Vox: (617)-890-5796.
                   10496: #
                   10497: # However, if you call that number today you'll get an insurance company.
                   10498: # I think Modgraph is long gone.
                   10499: #
                   10500:
                   10501: modgraph|mod|modgraph terminal emulating vt100,
                   10502:        xenl@,
                   10503:        cols#80, lines#24,
                   10504:        cvvis=\E\^9;0s\E\^7;1s,
                   10505:        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,
                   10506:        rf@, ri=\EM\E[K$<5/>,
                   10507:        use=vt100,
                   10508: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   10509: modgraph2|modgraph gx-1000 80x24 with keypad not enabled,
                   10510:        am, da, db,
                   10511:        cols#80, it#8, lines#24,
                   10512:        clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>,
                   10513:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>,
                   10514:        ed=\EJ$<50/>, el=\EK$<3/>, ht=^I,
                   10515:        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,
                   10516:        ri=\EI$<5/>,
                   10517:
                   10518: #### Morrow Designs
                   10519: #
                   10520: # This was George Morrow's company.  They started in the late 1970s making
                   10521: # S100-bus machines.  They used to be reachable at:
                   10522: #
                   10523: #        Morrow
                   10524: #        600 McCormick St.
                   10525: #        San Leandro, CA 94577
                   10526: #
                   10527: # but they're long gone now (1995).
                   10528: #
                   10529:
                   10530: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   10531: # Jeff's specimen was dated June 1984.
                   10532: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   10533: mt70|mt-70|Morrow MD-70; native Morrow mode,
                   10534:        am, mir, msgr, xon,
                   10535:        cols#80, it#8, lines#24,
                   10536:        acsc=+z\\\054{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ, bel=^G,
                   10537:        cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
                   10538:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
                   10539:        cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
                   10540:        flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE,
                   10541:        ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r,
                   10542:        kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r,
                   10543:        kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r,
                   10544:        kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r,
                   10545:        kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r,
                   10546:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   10547:        kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_,
                   10548:        rmacs=\E%, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1,
                   10549:        tbc=\E0,
                   10550:        use=adm+sgr,
                   10551:
                   10552: #### Omron
                   10553: #
                   10554: # This company is still around in 1995, manufacturing point-of-sale systems.
                   10555:
                   10556: omron|Omron 8025AG,
                   10557:        am, da, db,
                   10558:        cols#80, lines#24,
                   10559:        bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
                   10560:        cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH,
                   10561:        il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef,
                   10562:
                   10563: #### Ramtek
                   10564: #
                   10565: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   10566: # were competition for things like the Tektronics 4025.
                   10567: #
                   10568:
                   10569: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   10570: # The following SET-UP modes are assumed for normal operation:
                   10571: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   10572: #      NEWLINE_OFF             80_COLUMNS
                   10573: # Other SET-UP modes may be set for operator convenience or communication
                   10574: # requirements; I recommend
                   10575: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   10576: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   10577: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   10578: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   10579: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   10580: rt6221|Ramtek 6221, 80x24,
                   10581:        msgr, xon,
                   10582:        cols#80, it#8, lines#24, vt#3,
                   10583:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
                   10584:        clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
                   10585:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   10586:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   10587:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   10588:        cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
                   10589:        hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   10590:        kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
                   10591:        kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
                   10592:        nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
                   10593:        rmso=\E[m, rmul=\E[m,
                   10594:        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>,
                   10595:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
                   10596:        smul=\E[4m, tbc=\E[3g,
                   10597: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
                   10598: rt6221-w|Ramtek 6221, 160x48,
                   10599:        cols#160, lines#48,
                   10600:        kbs=^H, kcub1=^H, kcud1=^J, ll=\E[48;1H, use=rt6221,
                   10601:
                   10602: #### Selanar
                   10603: #
                   10604:
                   10605: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   10606: # The following SET-UP modes are assumed for normal operation:
                   10607: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   10608: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   10609: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   10610: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   10611: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   10612: # For use with graphics software, all graphics modes should be set to factory
                   10613: # default.  Other SET-UP modes may be set for operator convenience or
                   10614: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   10615: # to enable DC3/DC1 flow control!
                   10616: # I commented out the scrolling capabilities since they are too slow.
                   10617: hirez100|Selanar HiREZ-100,
                   10618:        mir, msgr, xon,
                   10619:        cols#80, it#8, lines#48, vt#3,
                   10620:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   10621:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   10622:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10623:        cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
                   10624:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   10625:        hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H,
                   10626:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
                   10627:        kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
                   10628:        lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
                   10629:        mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
                   10630:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   10631:        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>,
                   10632:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
                   10633:        smul=\E[4m, tbc=\E[3g,
                   10634: hirez100-w|Selanar HiREZ-100 in 132-column mode,
                   10635:        cols#132,
                   10636:        kbs=^H, kcub1=^H, kcud1=^J, use=hirez100,
                   10637:
                   10638: #### Signetics
                   10639: #
                   10640:
                   10641: # From University of Wisconsin
                   10642: vsc|Signetics Vsc Video driver by RMC,
                   10643:        am, msgr,
                   10644:        cols#80, it#8, lines#26,
                   10645:        clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   10646:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   10647:        ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_ ,
                   10648:        rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_ , smul=^_",
                   10649:
                   10650: #### Soroc
                   10651: #
                   10652: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   10653: #
                   10654: # As you may recall, the Soroc logo consisted of their name,
                   10655: # with the letter "S" superimposed over an odd design.   This
                   10656: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   10657: # wedge with rounded corners inside it.   The color was sort of
                   10658: # a metallic gold/yellow.
                   10659: #
                   10660: # If I had been more of a beer drinker it might have been obvious
                   10661: # to me, but it took a clue from their service department to make
                   10662: # me exclaim, "Of course!"   The circular object was the top of
                   10663: # a beer can (the old removable pop-top style) and "Soroc" was an
                   10664: # anagram for "Coors".
                   10665: #
                   10666: # I can just imagine the founders of the company sitting around
                   10667: # one evening, tossing back a few and trying to decide what to
                   10668: # call their new company and what to use for a logo.
                   10669: #
                   10670:
                   10671: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
                   10672: soroc120|iq120|soroc|soroc iq120,
                   10673:        clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J,
                   10674:        kcuf1=^L, kcuu1=^K,
                   10675:        use=adm3a,
                   10676: soroc140|iq140|soroc iq140,
                   10677:        am, mir,
                   10678:        cols#80, lines#24,
                   10679:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10680:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew,
                   10681:        dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J,
                   10682:        kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r,
                   10683:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   10684:        kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8,
                   10685:        rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A,
                   10686:
                   10687: #### Southwest Technical Products
                   10688: #
                   10689: # These guys made an early personal micro called the M6800.
                   10690: # The ct82 was probably its console terminal.
                   10691: #
                   10692:
                   10693: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   10694: swtp|ct82|southwest technical products ct82,
                   10695:        am,
                   10696:        cols#82, lines#20,
                   10697:        bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
                   10698:        cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F,
                   10699:        home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
                   10700:        is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
                   10701:        ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
                   10702:
                   10703: #### Synertek
                   10704: #
                   10705: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   10706: #
                   10707: # Synertek used to make ICs, various 6502-based single-board process
                   10708: # control and hobbyist computers, and assorted peripherals including a
                   10709: # series of small inexpensive terminals (I think they were one of the
                   10710: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   10711: # was only slightly larger than the keyboard).
                   10712: #
                   10713: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   10714: # was a 40x24 terminal that could connect to a standard TV through a
                   10715: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   10716: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   10717: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   10718: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   10719: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   10720: # and I've never had any problems with mine (witness the fact that mine
                   10721: # was made in 1981 and is still working great... I've blown the video
                   10722: # output transistor a couple of times, but it's a 2N2222 :-)
                   10723: #
                   10724: # The KTM-3 (which is what is listed in the terminfo file) was their
                   10725: # attempt at putting a KTM-2 in a box (and some models came with a
                   10726: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   10727: # control and escape sequences are very different. The KTM-3 was always
                   10728: # real broken, at least according to the folks I've talked to about it.
                   10729: #
                   10730: # The padding in the entry is probably off--these terminals were very
                   10731: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   10732: # anyone with any sanity replaced the ROMs with something that provided
                   10733: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   10734: # obviously very primitive... oh, you could get an upgraded ROM from
                   10735: # Synertek for some incredible amount of money, but what hacker with an
                   10736: # EPROM burner would do that? :)
                   10737: #
                   10738: # Sorry I don't have any contact info; I believe they were located in
                   10739: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   10740: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   10741: # business these days.
                   10742: #
                   10743:
                   10744: # Tested, seems to work fine with vi.
                   10745: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
                   10746:        am,
                   10747:        cols#80, lines#24,
                   10748:        clear=^Z, cub1=^H, cuf1=^L,
                   10749:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
                   10750:
                   10751: #### Tab Office Products
                   10752: #
                   10753: #      TAB Products Co. - Palo Alto, California
                   10754: #      Electronic Office Products,
                   10755: #      1451 California Avenue 94304
                   10756: #
                   10757: # I think they're out of business.
                   10758: #
                   10759:
                   10760: # The tab 132 uses xon/xoff, so no padding needed.
                   10761: # <smkx>/<rmkx> have nothing to do with arrow keys.
                   10762: # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
                   10763: # Seems to be no way to get rid of status line.
                   10764: # The manual for this puppy was dated June 1981.  It claims to be VT52-
                   10765: # compatible but looks more vt100-like.
                   10766: tab132|tab|tab132-15|tab 132/15,
                   10767:        da, db,
                   10768:        cols#80, lines#24, lm#96,
                   10769:        cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M,
                   10770:        il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B,
                   10771:        kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@,
                   10772:        use=vt100,
                   10773: tab132-w|tab132 in wide mode,
                   10774:        cols#132,
                   10775:        is2=\E[?7h\E[?3h\E[?5l, use=tab132,
                   10776: tab132-rv|tab132 in reverse-video mode,
                   10777:        is2=\E[?7h\E[?3l\E[?5h, use=tab132,
                   10778: tab132-w-rv|tab132 in reverse-video/wide mode,
                   10779:        is2=\E[?7h\E[?3h\E[?5h,
                   10780:        use=tab132-w,
                   10781:
                   10782:
                   10783: #### Teleray
                   10784: #
                   10785: #      Research Incorporated
                   10786: #      6425 Flying Cloud Drive
                   10787: #      Eden Prairie, MN 55344
                   10788: #      Vox: (612)-941-3300
                   10789: #
                   10790: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   10791: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   10792: # people believe that all the types listed below are very rare now (1995).
                   10793: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   10794: # Model 100) that were ANSI-compatible.
                   10795: #
                   10796: # Note two things called "teleray".  Reorder should move the common one
                   10797: # to the front if you have either.  A dumb teleray with the cursor stuck
                   10798: # on the bottom and no obvious model number is probably a 3700.
                   10799: #
                   10800:
                   10801: t3700|dumb teleray 3700,
                   10802:        cols#80, lines#24,
                   10803:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   10804: t3800|teleray 3800 series,
                   10805:        cols#80, it#8, lines#24,
                   10806:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10807:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
                   10808:        home=\EH, ht=^I, ind=^J, ll=\EY7 ,
                   10809: t1061|teleray|teleray 1061,
                   10810:        am, km, xhp, xt,
                   10811:        cols#80, it#8, lines#24, xmc#1,
                   10812:        bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10813:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   10814:        dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF,
                   10815:        ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
                   10816:        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,
                   10817:        kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7,
                   10818:        kf8=^Z8, rmso=\ER@, rmul=\ER@, smso= \ERD, smul=\ERH,
                   10819:        tbc=\EG,
                   10820: t1061f|teleray 1061 with fast PROMs,
                   10821:        dl1=\EM, il1=\EL, ip@, use=t1061,
                   10822: # "Teleray Arpa Special", officially designated as
                   10823: # "Teleray Arpa network model 10" with "Special feature 720".
                   10824: # This is the new (1981) fast microcode updating the older "arpa" proms
                   10825: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
                   10826: # converts the keypad to programmable function keys, and has other goodies.
                   10827: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   10828: # programs handle such lossage properly.
                   10829: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   10830: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
                   10831: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
                   10832: t10|teleray 10 special,
                   10833:        km, xhp, xt,
                   10834:        cols#80, it#8, lines#24, xmc#2,
                   10835:        clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
                   10836:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   10837:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
                   10838:        ind=\Eq, pad=\200, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
                   10839:        smul=\ERH,
                   10840: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   10841: # back/forth words. Put the function keys (f1-f10) where they can be
                   10842: # found, and turn off the other magic keys along the top row, except
                   10843: # for line/local. Do the magic appropriate to make the page shifts work.
                   10844: # Also toggle ^S/^Q for those of us who use Emacs.
                   10845: t16|teleray 16,
                   10846:        am, da, db, mir, xhp, xt,
                   10847:        cols#80, lines#24,
                   10848:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   10849:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P,
                   10850:        dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L,
                   10851:        ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
                   10852:        kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
                   10853:        rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
                   10854:        rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
                   10855:        smso=\E[7m, smul=\E[4m,
                   10856:
                   10857: #### Texas Instruments (ti)
                   10858: #
                   10859:
                   10860: # The Silent 700 was so called because it was built around a quiet thermal
                   10861: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   10862: # neat for its day.
                   10863: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
                   10864:        hc, os,
                   10865:        cols#80,
                   10866:        bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
                   10867:
                   10868: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
                   10869:        am, xon,
                   10870:        cols#80, it#8, lines#24,
                   10871:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   10872:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
                   10873:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   10874:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
                   10875:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   10876:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   10877:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ,
                   10878:        kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~,
                   10879:        kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m,
                   10880:        ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
                   10881:        smul=\E[4m, tbc=\E[3g,
                   10882: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
                   10883:        am, xon,
                   10884:        cols#80, it#8, lines#24,
                   10885:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   10886:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
                   10887:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   10888:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
                   10889:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   10890:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   10891:        kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>,
                   10892:        kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>,
                   10893:        kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>,
                   10894:        kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM,
                   10895:        rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
                   10896:        smul=\E[4m, tbc=\E[3g,
                   10897: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
                   10898:        cols#132, use=ti924,
                   10899: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
                   10900:        cols#132, use=ti924-8,
                   10901: ti931|Texas Instruments 931 VDT,
                   10902:        am, xon,
                   10903:        cols#80, lines#24,
                   10904:        bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED,
                   10905:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   10906:        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH,
                   10907:        ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H,
                   10908:        is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   10909:        kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3,
                   10910:        kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
                   10911:        kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@,
                   10912:        sgr0=\E4@, smso=\E4A, smul=\E4D,
                   10913: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
                   10914:        csr@, ind=\E[1S, ri=\E[1T,
                   10915:        use=ti924,
                   10916: # (ti926-8: I corrected this from the broken SCO entry -- esr)
                   10917: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
                   10918:        csr@, ind=\2331S, ri=\2331T,
                   10919:        use=ti924-8,
                   10920: ti_ansi|basic entry for ti928,
                   10921:        am, bce, eo, xenl, xon,
                   10922:        colors#8, cols#80, it#8, lines#25, pairs#64,
                   10923:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H,
                   10924:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
                   10925:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   10926:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   10927:        il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   10928:        kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M,
                   10929:        kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
                   10930:        kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
                   10931:        op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
                   10932:        setb=\E[4%p1%dm, setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m,
                   10933:        smul=\E[4m,
                   10934: #
                   10935: #       928 VDT 7 bit control mode
                   10936: #
                   10937: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
                   10938:        kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~,
                   10939:        kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~,
                   10940:        kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
                   10941:        kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
                   10942:        kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~,
                   10943:        use=ti_ansi,
                   10944: #
                   10945: #       928 VDT 8 bit control mode
                   10946: #
                   10947: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
                   10948:        kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~,
                   10949:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~,
                   10950:        kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
                   10951:        kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
                   10952:        kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S,
                   10953:        kpp=\233T, kprt=\23335~,
                   10954:        use=ti_ansi,
                   10955:
                   10956: #### Zentec (zen)
                   10957: #
                   10958:
                   10959: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   10960: # had just <smso>=\EG6 which I think means standout was supposed to be
                   10961: # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
                   10962: # <invis> might work-- esr)
                   10963: zen30|z30|zentec 30,
                   10964:        am, mir, ul,
                   10965:        cols#80, lines#24,
                   10966:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10967:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   10968:        dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
                   10969:        il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6,
                   10970:        smul@,
                   10971:        use=adm+sgr,
                   10972: # (zen50: this had extension capabilities
                   10973: #      :BS=^U:CL=^V:CR=^B:
                   10974: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   10975: # which were also in the original entry -- esr)
                   10976: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   10977: zen50|z50|zentec zephyr,
                   10978:        am,
                   10979:        cols#80, lines#24, xmc#1,
                   10980:        clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   10981:        cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE,
                   10982:        invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   10983:        rmul@, smul@,
                   10984:        use=adm+sgr,
                   10985:
                   10986: ######## OBSOLETE UNIX CONSOLES
                   10987: #
                   10988:
                   10989: #### Apollo consoles
                   10990: #
                   10991: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   10992: # labeled HP700s now.
                   10993: #
                   10994:
                   10995: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   10996: apollo|apollo console,
                   10997:        am, mir,
                   10998:        cols#88, lines#53,
                   10999:        clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
                   11000:        cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL,
                   11001:        ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED,
                   11002:        rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ,
                   11003:        smso=\ES, smul=\EU, vpa=\EO+ ,
                   11004:
                   11005: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   11006: # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
                   11007: # both these capabilities.
                   11008: apollo_15P|apollo 15 inch display,
                   11009:        rmir@, smir@, use=vt132,
                   11010: apollo_19L|apollo 19 inch display,
                   11011:        rmir@, smir@, use=vt132,
                   11012: apollo_color|apollo color display,
                   11013:        rmir@, smir@, use=vt132,
                   11014:
                   11015: #### Fortune Systems consoles
                   11016: #
                   11017: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   11018: # in their day; I (esr) used one myself for a year or so around 1984.
                   11019: # They had no graphics, though, and couldn't compete against Suns and
                   11020: # the like.  R.I.P.
                   11021: #
                   11022:
                   11023: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   11024: # (This had extension capabilities
                   11025: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   11026: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   11027: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   11028: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   11029: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   11030: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   11031: # to force both magic cookie glitches off.  Once upon a time, I
                   11032: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   11033: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   11034: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   11035: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   11036: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   11037: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   11038: fos|fortune|Fortune system,
                   11039:        am, bw,
                   11040:        cols#80, lines#25,
                   11041:        acsc=l m"k(j*v%w#q&x-, bel=^G, blink=\EN, civis=\E],
                   11042:        clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
                   11043:        cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
                   11044:        cvvis=\E\072, dch1=\034W$<5>, dl1=\034R$<15>,
                   11045:        ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z,
                   11046:        ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H,
                   11047:        kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r,
                   11048:        kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
                   11049:        kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r,
                   11050:        khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH,
                   11051:        rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
                   11052:        smso=^\H`, smul=^\HP,
                   11053:
                   11054: #### Masscomp consoles
                   11055: #
                   11056: # Masscomp has gone out of business.  Their product line was purchased by
                   11057: # comany in Georgia (US) called "XS International", parts and service may
                   11058: # still be available through them.
                   11059: #
                   11060:
                   11061: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   11062: masscomp|masscomp workstation console,
                   11063:        km, mir,
                   11064:        cols#80, it#8, lines#24,
                   11065:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   11066:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   11067:        ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H,
                   11068:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l,
                   11069:        rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
                   11070: masscomp1|masscomp large screen version 1,
                   11071:        cols#104, lines#36, use=masscomp,
                   11072: masscomp2|masscomp large screen version 2,
                   11073:        cols#64, lines#21, use=masscomp,
                   11074:
                   11075: #### DEC consoles
                   11076: #
                   11077:
                   11078: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   11079: # The digital uVax II's had a graphic display called a qdss.  It was
                   11080: # supposed to be a high performance graphic accelerator, but it was
                   11081: # late to market and barely appeared before faster dumb frame buffers
                   11082: # appeared.  I have only used this display while running X11.  However,
                   11083: # during bootup, it was in text mode, and probably had a terminal emulator
                   11084: # within it.  And that is what your termcap entry is for.  In graphics
                   11085: # mode the screen size is 1024x864 pixels.
                   11086: qdss|qdcons|qdss glass tty,
                   11087:        am,
                   11088:        cols#128, lines#57,
                   11089:        clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L,
                   11090:        cup=\E=%p1%c%p2%c, cuu1=^K,
                   11091:
                   11092: ######## OTHER OBSOLETE TYPES
                   11093: #
                   11094: # These terminals are *long* dead -- these entries are retained for
                   11095: # historical interest only.
                   11096: #
                   11097:
                   11098: #### Obsolete non-ANSI software emulations
                   11099: #
                   11100:
                   11101: # CTRM terminal emulator
                   11102: # 1. underlining is not allowed with colors: first, is is simulated by
                   11103: # black on white, second, it disables background color manipulations.
                   11104: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   11105: # so we have to save their status in the static registers A, B and H
                   11106: # respectively, to be able to restore them when color changes
                   11107: # (because any color change turns off ALL attributes)
                   11108: # 3. <bold> and <rev> sequences alternate modes,
                   11109: # rather then simply  entering them.  Thus we have to check the
                   11110: # static register B and H to determine the status, before sending the
                   11111: # escape sequence.
                   11112: # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
                   11113: # and then reset colors
                   11114: # 5. implementation of the protect mode would badly penalize the performance.
                   11115: # we would have to use \E&bn sequence to turn off colors (as well as all
                   11116: # other attributes), and keep the status of protect mode in yet another
                   11117: # static variable.  If someone really needs this mode, they would have to
                   11118: # create another terminfo entry.
                   11119: # 6. original color-pair is white on black.
                   11120: # store the information about colors into static registers
                   11121: # 7. set foreground color.  it performs the following steps.
                   11122: #   1) turn off all attributes
                   11123: #   2) turn on the background and video attributes that have been turned
                   11124: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   11125: #   3) turn on foreground attributes
                   11126: #   4) store information about foreground into U,V,W static registers
                   11127: # 8. turn on background: similar to turn on foreground above
                   11128: ctrm|C terminal emulator,
                   11129:        am, bce, xon,
                   11130:        colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0,
                   11131:        pairs#63, pb#19200, vt#6,
                   11132:        bel=^G, blink=\E&dA%{1}%PA,
                   11133:        bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei,
                   11134:        clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11135:        cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM,
                   11136:        ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1,
                   11137:        il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r,
                   11138:        kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
                   11139:        kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
                   11140:        kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
                   11141:        op=\E&bn\E&bB\E&bG\E&bR\n%{0}%PX%{0}%PY%{0}%PZ\n%{1}%PW%{1}%PV%{1}%PU,
                   11142:        rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
                   11143:        setb=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gU%t\E&bR%;\n%?%gV%t\E&bG%;\n%?%gW%t\E&bB%;\n\n%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ\n%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY\n%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX,
                   11144:        setf=\E&bn\n%?%gA%t\E&dA%;\n%?%gB%t\E&dB%;\n%?%gH%t\E&dH%;\n%?%gX%t\E&br%;\n%?%gY%t\E&bg%;\n%?%gZ%t\E&bb%;\n\n%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW\n%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV\n%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU,
                   11145:        sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH\n%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;\n%?%p4%t\E&dA%{1}%PA%;\n%?%p6%t\E&dH%{1}%PH%;\n%?%p2%t\E&dD%;,
                   11146:        sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
                   11147:        smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   11148:
                   11149: # gs6300 - can't use blue foreground, it clashes with underline;
                   11150: # it's simulated with cyan
                   11151: # Bug: The <op> capability probably resets attributes.
                   11152: # (gs6300: commented out <rmln> (no <smln>) --esr)
                   11153: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
                   11154:        am, bce, msgr, xon,
                   11155:        colors#8, cols#80, it#8, lines#24, pairs#63,
                   11156:        acsc=\\\054\\\054..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   11157:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   11158:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   11159:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11160:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   11161:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   11162:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   11163:        is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B,
                   11164:        kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
                   11165:        kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
                   11166:        khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
                   11167:        ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
                   11168:        setf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m,
                   11169:        sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
                   11170:
                   11171: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   11172: # MS-Kermit with Heath-19 emulation mode enabled
                   11173: # (h19k: changed ":pt@:" to ":it@"
                   11174: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
                   11175:        am@, da, db, xt,
                   11176:        it@,
                   11177:        ht@, use=h19-u,
                   11178:
                   11179: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   11180: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   11181: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   11182: # also be reached at support@synergy.com.
                   11183: versaterm|versaterm vt100 emulator for the macintosh,
                   11184:        am, xenl,
                   11185:        cols#80, it#8, lines#24,
                   11186:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   11187:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   11188:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   11189:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   11190:        dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>,
                   11191:        el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>,
                   11192:        il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
                   11193:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
                   11194:        kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>,
                   11195:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
                   11196:        rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>,
                   11197:        sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>,
                   11198:        smul=\E[4m$<2/>,
                   11199:
                   11200: # From: Rick Thomas <ihnp4!btlunix!rbt>
                   11201: # (xtalk: I added <rmam>/<smam> based on the init string.
                   11202: # I also removed <xmc#1> and the trailing \s characters from the highlight
                   11203: # changers, I don't believe these on a VT100-emulating PC display -- esr)
                   11204: xtalk|IBM PC with xtalk communication program (versions up to 3.4),
                   11205:        am, mir, msgr, xon,
                   11206:        cols#80, it#8, lines#24, vt#3,
                   11207:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   11208:        bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   11209:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   11210:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   11211:        cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
                   11212:        el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
                   11213:        il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   11214:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   11215:        kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
                   11216:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
                   11217:        kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   11218:        rmkx=\E[?1l\E>, rmso=\E[m,
                   11219:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
                   11220:        smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
                   11221:        tbc=\E[3g,
                   11222:
                   11223: # The official PC terminal emulator program of the AT&T Product Centers.
                   11224: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   11225: simterm|attpc running simterm,
                   11226:        am,
                   11227:        cols#80, lines#24,
                   11228:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   11229:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER,
                   11230:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
                   11231:        rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smir=\EQ, smso=\E&dB,
                   11232:
                   11233: #### Daisy wheel printers
                   11234: #
                   11235: # This section collects Diablo, DTC, Xerox, Qume, and other daisy
                   11236: # wheel terminals.  These are now largely obsolete.
                   11237: #
                   11238:
                   11239: # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
                   11240: diablo1620|diablo1720|diablo450|ipsi|diablo 1620,
                   11241:        hc, os,
                   11242:        cols#132, it#8,
                   11243:        cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,
                   11244:        ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,
                   11245: diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,
                   11246:        cols#124,
                   11247:        is2=\r        \E9, use=diablo1620,
                   11248: # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
                   11249: diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,
                   11250:        bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,
                   11251:        use=diablo1620,
                   11252: # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such
                   11253: # file -- esr)
                   11254: diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
                   11255:        cols#124,
                   11256:        rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
                   11257: diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,
                   11258:        use=diablo1640-lm,
                   11259: # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
                   11260: # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\200>.
                   11261: # The terminal has tabs, but I'm getting tired of fighting the braindamage.
                   11262: # If no tab is set or the terminal's in a bad mood, it glitches the screen
                   11263: # around all of memory.  Note that return puts a blank ("a return character")
                   11264: # in the space the cursor was at, so we use ^P return (and thus ^P newline for
                   11265: # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
                   11266: # curses won't work (some old BSD versions) because it doesn't clear this bit,
                   11267: # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
                   11268: # I have been unable to get tabs set in all 96 lines - it always leaves at
                   11269: # least one line with no tabs in it, and once you tab through that line,
                   11270: # it completely weirds out.
                   11271: # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
                   11272: dtc382|DTC 382,
                   11273:        am, da, db, xhp,
                   11274:        cols#80, lines#24, lm#96,
                   11275:        bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,
                   11276:        cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,
                   11277:        dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,
                   11278:        home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmir=^Pi,
                   11279:        rmul=^P \200, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,
                   11280: dtc300s|DTC 300s,
                   11281:        hc, os,
                   11282:        cols#132,
                   11283:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
                   11284:        hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
                   11285: gsi|mystery gsi terminal,
                   11286:        hc, os,
                   11287:        cols#132,
                   11288:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,
                   11289:        ind=^J,
                   11290: aj830|aj832|aj|anderson jacobson,
                   11291:        hc, os,
                   11292:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
                   11293:        ind=^J,
                   11294: # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
                   11295: aj510|Anderson-Jacobson model 510,
                   11296:        am, mir,
                   11297:        cols#80, lines#24,
                   11298:        clear=^L, cub1=^H, cuf1=\EX,
                   11299:        cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,
                   11300:        dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,
                   11301:        il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,
                   11302:        kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,
                   11303:        rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,
                   11304:        smul=\E"U,
                   11305: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   11306: # This is incomplete, but it's a start.
                   11307: nec5520|nec|spinwriter|nec 5520,
                   11308:        hc, os,
                   11309:        cols#132, it#8,
                   11310:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,
                   11311:        hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,
                   11312:        kbs=^H, tbc=\E3,
                   11313: qume5|qume|Qume Sprint 5,
                   11314:        hc, os,
                   11315:        cols#80, it#8,
                   11316:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
                   11317:        hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
                   11318: # I suspect the xerox 1720 is the same as the diablo 1620.
                   11319: xerox1720|x1720|x1750|xerox 1720,
                   11320:        hc, os,
                   11321:        cols#132, it#8,
                   11322:        bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,
                   11323:        tbc=\E2,
                   11324:
                   11325: #### Miscellaneous obsolete terminals, manufacturers unknown
                   11326: #
                   11327: # If you have any information about these (like, a manufacturer's name,
                   11328: # and a date on the serial-number plate) please send it!
                   11329:
                   11330: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
                   11331:        am,
                   11332:        cols#73, lines#36,
                   11333:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
                   11334: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
                   11335:        am,
                   11336:        cols#85, lines#39,
                   11337:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
                   11338:        kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7,
                   11339:        kf4=\E8, rmso=\Em^C, smso=\Em^L,
                   11340: cops10|cops|cops-10|cops 10,
                   11341:        am, bw,
                   11342:        cols#80, lines#24,
                   11343:        bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   11344:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V,
                   11345:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   11346:        khome=^Y,
                   11347: # (d132: removed duplicate ":ic=\E5:" -- esr)
                   11348: d132|datagraphix|datagraphix 132a,
                   11349:        da, db, in,
                   11350:        cols#80, lines#30,
                   11351:        bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cud1=^J, cuf1=\El,
                   11352:        cuu1=\Ek, cvvis=\Ex, dch1=\E6, home=\Et, ich1=\E5, il1=\E3,
                   11353:        ind=\Ev, ri=\Ew,
                   11354: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   11355: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   11356: # mode (which is what this entry looks like) and several other lesser-known
                   11357: # emulations.
                   11358: d800|Direct 800/A,
                   11359:        am, da, db, msgr, xhp,
                   11360:        cols#80, it#8, lines#24,
                   11361:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   11362:        bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
                   11363:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   11364:        cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D,
                   11365:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
                   11366:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                   11367:        ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   11368:        smacs=\E[1m, smso=\E[7m, smul=\E[4m,
                   11369: digilog|digilog 333,
                   11370:        cols#80, lines#16,
                   11371:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X,
                   11372:        home=^N, ind=^J,
                   11373: # The DWK was a terminal manufactured in the Soviet Union c.1986
                   11374: dwk|dwk-vt|dwk terminal,
                   11375:        am,
                   11376:        cols#80, it#8, lines#24,
                   11377:        acsc=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\072f'g#~_\\\054Q+\^.M-Sh#I#0\177,
                   11378:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11379:        cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP,
                   11380:        ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
                   11381:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee,
                   11382:        kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
                   11383:        kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh,
                   11384:        kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX,
                   11385:        sgr0=\EX, smacs=\EF, smso=\ET,
                   11386: env230|envision230|envision 230 graphics terminal,
                   11387:        xenl@,
                   11388:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   11389:        sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100,
                   11390: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   11391: # coupler attached, the whole rig fitting in a suitcase and more or less
                   11392: # portable.  Hot stuff for c.1977 :-) -- esr
                   11393: ep48|ep4080|execuport 4080,
                   11394:        am, os,
                   11395:        cols#80,
                   11396:        bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
                   11397: ep40|ep4000|execuport 4000,
                   11398:        cols#136, use=ep4080,
                   11399: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   11400: # Informer series - these are all portable units, resembling older
                   11401: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   11402: # design, but isn't.  The structure is similar to the Direct terminals,
                   11403: # but only half the width.  The entire unit is only about 10" wide.
                   11404: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   11405: # keyboard.  All the keys are crammed together, much like some laptop
                   11406: # PCs today, but perhaps less well organized...all these units have a
                   11407: # bewildering array of plugs on the back, including a built-in modem.
                   11408: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   11409: # color terminals built for IBM bisync protocols.
                   11410: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   11411: ifmr|Informer D304,
                   11412:        am,
                   11413:        cols#80, lines#24,
                   11414:        clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
                   11415:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\,
                   11416:        ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK,
                   11417:        smso=\EJ,
                   11418: # Entry largely based on wy60 and has the features of wy60ak.
                   11419: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
                   11420:        am, bw, hs, km, mir, msgr, ul, xon,
                   11421:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80,
                   11422:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   11423:        cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M,
                   11424:        cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K,
                   11425:        dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r,
                   11426:        ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>,
                   11427:        hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J,
                   11428:        ip=$<3>,
                   11429:        is2=\E`\072\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,
                   11430:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B,
                   11431:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY,
                   11432:        kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   11433:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   11434:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   11435:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   11436:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   11437:        mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>,
                   11438:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   11439:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   11440:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
                   11441:        rmacs=\EH^C, rmam=\Ed., rmir=\Er, rmln=\EA11, rmxon=\Ec20,
                   11442:        rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, rs3=\EwG\Ee($<150>,
                   11443:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   11444:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
                   11445:        smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
                   11446:        smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
                   11447:        uc=\EG8%p1%c\EG0,
                   11448:        use=adm+sgr,
                   11449: teletec|Teletec Datascreen,
                   11450:        am,
                   11451:        cols#80, lines#24,
                   11452:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
                   11453:        home=^^, ind=^J,
                   11454: # Terak made a PDP-11 based machine with a bitmapped display that ran UCSD
                   11455: # Pascal as the native OS. It was quite a nice box, and there were several
                   11456: # at UC Berkeley.
                   11457: terak|Terak emulating Datamedia 1520,
                   11458:        use=dm1520,
                   11459: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   11460: #              This termcap is for the LANPAR Technologies VISION 3220
                   11461: #      terminal.  The function key definitions k0-k5 represent the
                   11462: #      edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   11463: #      NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
                   11464: #      PF4 keys.
                   11465: # (v3220: removed obsolete ":kn#10:",
                   11466: # I added <rmam>/<smam> based on the init string -- esr)
                   11467: v3220|LANPAR Vision II model 3220/3221/3222,
                   11468:        am, mir, xenl,
                   11469:        cols#80, it#8, lines#24,
                   11470:        clear=\E[H\E[J, cub1=^H, cuf1=\E[C,
                   11471:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   11472:        ed=\E[J, el=\E[K, ht=^I, il1=\E[L,
                   11473:        is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B,
                   11474:        kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~,
                   11475:        kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
                   11476:        kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
                   11477:        rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   11478:        smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
                   11479: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   11480: #
                   11481: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   11482: # are present; the symptom is doubled characters in an update using insert.
                   11483: # These applications are technically correct; in both 4.3BSD termcap and
                   11484: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   11485: # unless the terminal needs both.  This requirement is now rare; most ich
                   11486: # sequences do not require previous smir, and most smir insert modes do not
                   11487: # require ich1 before each character.
                   11488: #
                   11489: # For ncurses-based applications this is not a problem, as ncurses uses
                   11490: # one or the other as appropriate but never mixes the two.  Therefore we
                   11491: # have not corrected entries like `linux' and `xterm' that specify both.
                   11492: # If you see doubled characters from these, use the linux-nic and xterm-nic
                   11493: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   11494: #
                   11495:
                   11496: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
                   11497: #
                   11498: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   11499: # ECMA-48 standards are said to be almost identical, but are not the same
                   11500: # as X3.64 (though for practical purposes they are close supersets of it).
                   11501: #
                   11502: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   11503: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   11504: # Coded Character Sets"), include your snail-mail address, and you should
                   11505: # receive the document in due course.  Don't expect an email acknowledgement.
                   11506: #
                   11507: # Related standards include "X3.4-1977: American National Standard Code for
                   11508: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   11509: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
                   11510: # American National Standard for Information Interchange."  I believe (but
                   11511: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   11512: # respectively.
                   11513: #
                   11514:
                   11515: #### VT100/ANSI/ECMA-48
                   11516: #
                   11517: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
                   11518: # and ECMA-48 Control Functions for Coded Character Sets.
                   11519: #
                   11520: # Much of the content of this comment is adapted from a table prepared by
                   11521: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   11522: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   11523: # have been added.  Control functions described in ECMA-48 only are tagged
                   11524: # with * after their names.
                   11525: #
                   11526: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   11527: # sequences.  In the main table, \E stands for an escape (\033) character,
                   11528: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   11529: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   11530: # semicolons.  Parameter meanings for most parametrized sequences are
                   11531: # decribed in the notes.
                   11532: #
                   11533: # Sequence     Sequence                             Parameter   or
                   11534: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   11535: # -----------------------------------------------------------------------------
                   11536: # APC  Applicatn Program Command \E _                -         Delim  -
                   11537: # BEL  Bell *                    ^G                  -         -      bel
                   11538: # BPH  Break Permitted Here *    \E B                -         *      -
                   11539: # BS   Backpace *                ^H                  -         EF     -
                   11540: # CAN  Cancel *                  ^X                  -         -      -   (A)
                   11541: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   11542: # CCH  Cancel Previous Character \E T                -         -      -
                   11543: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   11544: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   11545: # CMD  Coding Method Delimiter * \E
                   11546: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
                   11547: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
                   11548: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
                   11549: # CSI  Control Sequence Intro    \E [                -         Intro  -
                   11550: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
                   11551: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   11552: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   11553: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
                   11554: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
                   11555: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
                   11556: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
                   11557: # DA   Device Attributes         \E [ Pn c           0         -      -
                   11558: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   11559: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   11560: # DCS  Device Control String     \E P                -         Delim  -
                   11561: # DL   Delete Line               \E [ Pn M           1         eF     dl
                   11562: # DLE  Data Link Escape *        ^P                  -         -      -
                   11563: # DMI  Disable Manual Input      \E \                -         Fs     -
                   11564: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   11565: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   11566: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
                   11567: # ECH  Erase Character           \E [ Pn X           1         eF     ech
                   11568: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
                   11569: # EF   Erase in Field            \E [ Ps N           0         eF     -
                   11570: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
                   11571: # EM   Eend of Medium *          ^Y                  -         -      -
                   11572: # EMI  Enable Manual Input       \E b                          Fs     -
                   11573: # ENQ  Enquire                   ^E                  -         -      -
                   11574: # EOT  End Of Transmission       ^D                  -         *      -
                   11575: # EPA  End of Protected Area     \E W                -         -      -   (K)
                   11576: # ESA  End of Selected Area      \E G                -         -      -
                   11577: # ESC  Escape                    ^[                  -         -      -
                   11578: # ETB  End Transmission Block    ^W                  -         -      -
                   11579: # ETX  End of Text               ^C                  -         -      -
                   11580: # FF   Form Feed                 ^L                  -         -      -
                   11581: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   11582: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
                   11583: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
                   11584: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
                   11585: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
                   11586: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   11587: # HPB  Char Position Backward    \E [ j              1         FE     -
                   11588: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   11589: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   11590: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
                   11591: # HTS  Horizontal Tab Set        \E H                -         FE     hts
                   11592: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
                   11593: # ICH  Insert Character          \E [ Pn @           1         eF     ich
                   11594: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   11595: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
                   11596: # IL   Insert Line               \E [ Pn L           1         eF     il
                   11597: # IND  Index                     \E D                -         FE     -
                   11598: # INT  Interrupt                 \E a                -         Fs     -
                   11599: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
                   11600: # IS1  Info Separator #1 *       ^_                  -         *      -
                   11601: # IS2  Info Separator #1 *       ^^                  -         *      -
                   11602: # IS3  Info Separator #1 *       ^]                  -         *      -
                   11603: # IS4  Info Separator #1 *       ^\                  -         *      -
                   11604: # LF   Line Feed                 ^J                  -         -      -
                   11605: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   11606: # LS2  Locking Shift 2 *         \E n                -         -      -
                   11607: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   11608: # LS3  Locking Shift 3 *         \E o                -         -      -
                   11609: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   11610: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
                   11611: # MW   Message Waiting           \E U                -         -      -
                   11612: # NAK  Negative Acknowledge *    ^U                  -         *      -
                   11613: # NBH  No Break Here *           \E C                -         -      -
                   11614: # NEL  Next Line                 \E E                -         FE     nel (D)
                   11615: # NP   Next Page                 \E [ Pn U           1         eF     -
                   11616: # NUL  Null *                    ^@                  -         -      -
                   11617: # OSC  Operating System Command  \E ]                -         Delim  -
                   11618: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   11619: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   11620: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   11621: # PLU  Partial Line Up           \E L                -         FE     -   (U)
                   11622: # PM   Privacy Message           \E ^                -         Delim  -
                   11623: # PP   Preceding Page            \E [ Pn V           1         eF     -
                   11624: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   11625: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   11626: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   11627: # PTX  Parallel Texts *          \E [ \              -         -      -
                   11628: # PU1  Private Use 1             \E Q                -         -      -
                   11629: # PU2  Private Use 2             \E R                -         -      -
                   11630: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   11631: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
                   11632: # RI   Reverse Index             \E M                -         FE     -   (V)
                   11633: # RIS  Reset to Initial State    \E c                -         Fs     -
                   11634: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   11635: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   11636: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   11637: # SCI  Single-Char Introducer    \E Z                -         -      -
                   11638: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   11639: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
                   11640: # SD   Scroll Down               \E [ Pn T           1         eF     rin
                   11641: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   11642: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   11643: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
                   11644: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
                   11645: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
                   11646: # SI   Shift In                  ^O                  -         -      -   (P)
                   11647: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
                   11648: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
                   11649: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   11650: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   11651: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   11652: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
                   11653: # SO   Shift Out                 ^N                  -         -      -   (Q)
                   11654: # SOH  Start Of Heading *        ^A                  -         -      -
                   11655: # SOS  Start of String *         \E X                -         -      -
                   11656: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   11657: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   11658: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
                   11659: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
                   11660: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   11661: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
                   11662: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
                   11663: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   11664: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   11665: # SSA  Start of Selected Area    \E F                -         -      -
                   11666: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   11667: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
                   11668: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   11669: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   11670: # ST   String Terminator         \E \                -         Delim  -
                   11671: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
                   11672: # STS  Set Transmit State        \E S                -         -      -
                   11673: # STX  Start pf Text *           ^B                  -         -      -
                   11674: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
                   11675: # SUB  Substitute *              ^Z                  -         -      -
                   11676: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   11677: # SYN  Synchronous Idle *        ^F                  -         -      -
                   11678: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   11679: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   11680: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
                   11681: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
                   11682: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   11683: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
                   11684: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
                   11685: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   11686: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   11687: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   11688: # VT   Vertical Tabulation *     ^K                  -         FE     -
                   11689: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   11690: #
                   11691: # ---------------------------------------------------------------------------
                   11692: #
                   11693: # Notes:
                   11694: #
                   11695: # Some control characters are listed in the ECMA-48 standard without
                   11696: # being assigned functions relevant to terminal control there (they
                   11697: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   11698: # here anyway for completeness.
                   11699: #
                   11700: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
                   11701: #
                   11702: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
                   11703: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
                   11704: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
                   11705: # preserved the CHA abbreviation.
                   11706: #
                   11707: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
                   11708: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
                   11709: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
                   11710: # CHT abbreviation.
                   11711: #
                   11712: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
                   11713: #
                   11714: # (E) ECNA-48 calls this "Active Position Report" but preserves the CPR
                   11715: # abbreviation.
                   11716: #
                   11717: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   11718: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   11719: # 5 = clear all char tabs, 6 = clear all line tabs.
                   11720: #
                   11721: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   11722: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
                   11723: # Position Absolute" but retains the HVP abbreviation.
                   11724: #
                   11725: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   11726: # abbreviation.
                   11727: #
                   11728: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   11729: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   11730: # DSR, 6 = request CPR response.
                   11731: #
                   11732: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   11733: # 1 = clear from beginning, 2 = clear.
                   11734: #
                   11735: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
                   11736: #
                   11737: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   11738: #
                   11739: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   11740: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
                   11741: # Position Relative" but retains the HPR abbreviation.
                   11742: #
                   11743: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   11744: # abbreviation.
                   11745: #
                   11746: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   11747: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   11748: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   11749: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   11750: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   11751: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   11752: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   11753: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   11754: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   11755: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   11756: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   11757: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   11758: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   11759: # 61-65 = variable highlights for ideograms.
                   11760: #
                   11761: # (P) SI is also called LSO, Locking Shift Zero.
                   11762: #
                   11763: # (Q) SI is also called LS1, Locking Shift One.
                   11764: #
                   11765: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
                   11766: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
                   11767: # Absolute but retains the VPA abbreviation.
                   11768: #
                   11769: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   11770: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   11771: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   11772: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   11773: # 7 = start relay to secondary aux device.
                   11774: #
                   11775: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   11776: # abbreviation.
                   11777: #
                   11778: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   11779: # abbreviation.
                   11780: #
                   11781: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   11782: #
                   11783: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   11784: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   11785: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   11786: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   11787: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   11788: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   11789: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   11790: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   11791: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   11792: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   11793: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   11794: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   11795: # from ECMA-48's 5th edition but are listed here for reference.
                   11796: #
                   11797: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   11798: # alphabets.
                   11799: #
                   11800: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   11801: #
                   11802: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   11803: # abbreviation.
                   11804: #
                   11805: # ---------------------------------------------------------------------------
                   11806: #
                   11807: # Abbreviations:
                   11808: #
                   11809: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   11810: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   11811: #
                   11812: # Delim  a Delimiter
                   11813: #
                   11814: # x/y    identifies a character by position in the ASCII table (column/row)
                   11815: #
                   11816: # eF     editor function (see explanation)
                   11817: #
                   11818: # FE     format effector (see explanation)
                   11819: #
                   11820: # F      is a Final character in
                   11821: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   11822: #             a control sequence (F from 4/0 to 7/14)
                   11823: #
                   11824: # Gs     is a graphic character appearing in strings (Gs ranges from
                   11825: #        2/0 to 7/14) in the ASCII table
                   11826: #
                   11827: # Ce     is a control represented as a single bit combination in the C1 set
                   11828: #        of controls in an 8-bit character set
                   11829: #
                   11830: # C0     the familiar set of 7-bit ASCII control characters
                   11831: #
                   11832: # C1     roughly, the set of control chars available only in 8-bit systems.
                   11833: #        This is too complicated to explain fully here, so read Jim Fleming's
                   11834: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   11835: #
                   11836: # Fe     is a Final character of a 2-character Escape sequence that has an
                   11837: #        equivalent representation in an 8-bit environment as a Ce-type
                   11838: #        (Fe ranges from 4/0 to 5/15)
                   11839: #
                   11840: # Fs     is a Final character of a 2-character Escape sequence that is
                   11841: #        standardized internationally with identical representation in 7-bit
                   11842: #        and 8-bit environments and is independent of the currently
                   11843: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   11844: #
                   11845: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   11846: #        ASCII table
                   11847: #
                   11848: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   11849: #        table
                   11850: #
                   11851: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   11852: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   11853: #
                   11854: # Ps     is a variable number of selective parameters in a control sequence
                   11855: #        with each selective parameter separated from the other by the code
                   11856: #        3/11 (which usually represents a semicolon); Ps ranges from
                   11857: #        3/0 to 3/9 and includes 3/11
                   11858: #
                   11859: # *      Not relevant to terminal control, listed for completeness only.
                   11860: #
                   11861: # Format Effectors versus Editor Functions
                   11862: #
                   11863: # A format effector specifies how following output is to be displayed.
                   11864: # An editor function allows you to modify the display.  Informally
                   11865: # format effectors may be destructive; format effectors should not be.
                   11866: #
                   11867: # For instance, a format effector that moves the "active position" (the
                   11868: # cursor or equivalent) one space to the left would be useful when you want to
                   11869: # create an overstrike, a compound character made of two standard characters
                   11870: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   11871: # format effector, so you can do this. But many systems use it in a
                   11872: # nonstandard fashion, as an editor function, deleting the character to the
                   11873: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   11874: # be an editor function, you cannot predict whether its use will create an
                   11875: # overstrike unless you also know whether the output device is in an "insert
                   11876: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   11877: # its effect can always be predicted. The familiar characters carriage
                   11878: # return, linefeed, formfeed, etc., are defined as format effectors.
                   11879: #
                   11880: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   11881: #
                   11882: # Control sequences implemented in the VT100 are as follows:
                   11883: #
                   11884: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   11885: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   11886: #
                   11887: # plus several private DEC commands.
                   11888: #
                   11889: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   11890: #
                   11891: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   11892: #      Erase from beginning of line to cursor     Esc [ 1 K
                   11893: #      Erase line containing cursor               Esc [ 2 K
                   11894: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   11895: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   11896: #      Erase entire screen                        Esc [ 2 J
                   11897: #
                   11898: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   11899: # Esc [ 2 J, but this is wrong; the default is 0.
                   11900: #
                   11901: # The VT100 responds to receiving the DA (Device Attributes) control
                   11902: #
                   11903: #      Esc [ c    (or Esc [ 0 c)
                   11904: #
                   11905: # by transmitting the sequence
                   11906: #
                   11907: #      Esc [ ? l ; Ps c
                   11908: #
                   11909: # where Ps is a character that describes installed options.
                   11910: #
                   11911: # The VT100's cursor location can be read with the DSR (Device Status
                   11912: # Report) control
                   11913: #
                   11914: #      Esc [ 6 n
                   11915: #
                   11916: # The VT100 reports by transmitting the CPR sequence
                   11917: #
                   11918: #      Esc [ Pl ; Pc R
                   11919: #
                   11920: # where Pl is the line number and Pc is the column number (in decimal).
                   11921: #
                   11922: # The specification for the DEC VT100 is document EK-VT100-UG-003.
                   11923:
                   11924: #### ANSI.SYS
                   11925: #
                   11926: # Here is a description of the color and attribute controls supported in the
                   11927: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
                   11928: # terminal emulators for Intel boxes obey these.
                   11929: #
                   11930: # 0    all attributes off
                   11931: # 1    foreground bright
                   11932: # 4    underscore on
                   11933: # 5    blink on/background bright (not reliable with brown)
                   11934: # 7    reverse-video
                   11935: # 8    set blank (non-display)
                   11936: # 10   set primary font
                   11937: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   11938: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   11939: #
                   11940: #                      Color attribute sets
                   11941: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   11942: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   11943: # Bright black becomes gray.  Bright brown becomes yellow,
                   11944: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
                   11945: #
                   11946: # * If the 5 attribute is on and you set a background color (40-47) it is
                   11947: #   supposed to enable bright background.
                   11948: #
                   11949: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   11950: #   when you try to set a "bright brown" (yellow) background with attribute
                   11951: #   5 (you get a blinking yellow foreground instead).  A few displays
                   11952: #   (including the System V console) support an attribute 6 that undoes this
                   11953: #   braindamage (this is required by iBCS2).
                   11954: #
                   11955: # * Some older versions of ANSI.SYS have a bug that causes thems to require
                   11956: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.
                   11957: #
                   11958: # The entries following are not standalone.  They are meant to be included
                   11959: # via use= in other entries.
                   11960: #
                   11961:
                   11962: #### Intel Binary Compatibility Standard
                   11963: #
                   11964: # For comparison, here are the capabilities implied by the Intel Binary
                   11965: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   11966: # These recommendations are optional.  IBCS2 allows the leading escape to
                   11967: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   11968: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   11969: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   11970: # terminfo entry are followed with the corresponding capability in parens:
                   11971: #
                   11972: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   11973: #      CSI 2h                  lock keyboard
                   11974: #      CSI 2i                  send screen as input
                   11975: #      CSI 2l                  unlock keyboard
                   11976: #      CSI 6m                  enable background color intensity
                   11977: #      CSI <0-2>c              reserved
                   11978: #      CSI <0-59>m             select graphic rendition
                   11979: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   11980: #      CSI <n>;<m>f            cursor to line n and column m
                   11981: #      CSI <n>@        (ich)   insert characters
                   11982: #      CSI <n>A        (cuu)   cursor up n lines
                   11983: #      CSI <n>B        (cud)   cursor down n lines
                   11984: #      CSI <n>C        (cuu)   cursor right n characters
                   11985: #      CSI <n>D        (cud)   cursor left n characters
                   11986: #      CSI <n>E                cursor down n lines and in first column
                   11987: #      CSI <n>F                cursor up n lines and in first column
                   11988: #      CSI <n>G        (hpa)   position cursor at column n-1
                   11989: #      CSI <n>J        (ed)    erase in display
                   11990: #      CSI <n>K        (el)    erase in line
                   11991: #      CSI <n>L        (il)    insert line(s)
                   11992: #      CSI <n>P        (dch)   delete characters
                   11993: #      CSI <n>S        (indn)  scroll up n lines
                   11994: #      CSI <n>T        (rin)   scroll down n lines
                   11995: #      CSI <n>X        (ech)   erase characters
                   11996: #      CSI <n>Z        (cbt)   back up n tab stops
                   11997: #      CSI <n>`                cursor to column n on line
                   11998: #      CSI <n>a        (cuu)   cursor right n characters
                   11999: #      CSI <n>d        (vpa)   cursor to line n
                   12000: #      CSI <n>e                cursor down n lines and in first column
                   12001: #      CSI <n>g        (cbt)   clear all tabs
                   12002: #      CSI <n>z                make virtual terminal n active
                   12003: #      CSI ?7h         (smam)  turn automargin on
                   12004: #      CSI ?7l         (rmam)  turn automargin off
                   12005: #      CSI s                   save cursor position
                   12006: #      CSI u                   restore cursor position to saved value
                   12007: #      CSI =<c>A               set overscan color
                   12008: #      CSI =<c>F               set normal foreground color
                   12009: #      CSI =<c>G               set normal background color
                   12010: #      CSI =<c>H               set reverse foreground color
                   12011: #      CSI =<c>I               set reverse foreground color
                   12012: #      CSI =<c>J               set graphic foreground color
                   12013: #      CSI =<c>K               set graphic foreground color
                   12014: #      CSI =<n>g       (dispc) display n from alternate graphics character set
                   12015: #      CSI =<p>;<d>B           set bell parameters
                   12016: #      CSI =<s>;<e>C           set cursor parameters
                   12017: #      CSI =<x>D               enable/disable intensity of background color
                   12018: #      CSI =<x>E               set/clear blink vs. bold background
                   12019: #      CSI 7           (sc)    (sc) save cursor position
                   12020: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   12021: #      CSI H           (hts)   (hts) set tab stop
                   12022: #      CSI Q<n><string>        define function key string
                   12023: #                              (string must begin and end with delimiter char)
                   12024: #      CSI c           (clear) clear screen
                   12025: #
                   12026: # The lack of any specification for attributes in SGR (among other things)
                   12027: # makes this a wretchedly weak standard. The table above is literally
                   12028: # everything iBSC2 has to say about terminal escape sequences; there is
                   12029: # no further discussion of their meaning or how to set the parameters
                   12030: # in these sequences at all.
                   12031: #
                   12032:
                   12033: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   12034: #
                   12035: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   12036: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   12037: # with the extension names chosen for compatibility with the termcap names
                   12038: # assigned in System V terminfo.  There are some variant extension sets out
                   12039: # there.  We try to describe them here.
                   12040: #
                   12041: # XENIX extensions:
                   12042: #
                   12043: # The XENIX extensions include a set of function-key capabilities as follows:
                   12044: #
                   12045: #       code   XENIX variable name     terminfo name   name clashes?
                   12046: #      ----    -------------------     -------------   -----------------------
                   12047: #      CL      key_char_left
                   12048: #      CR      key_char_right
                   12049: #      CW      key_change_window                       create_window
                   12050: #      EN      key_end                 kend
                   12051: #      HM      key_home                khome
                   12052: #      HP      ??
                   12053: #      LD      key_delete_line         kdl1
                   12054: #      LF      key_linefeed                            label_off
                   12055: #      NU      key_next_unlocked_cell
                   12056: #      PD      key_page_down           knp
                   12057: #      PL      ??
                   12058: #      PN      start_print             mc5
                   12059: #      PR      ??
                   12060: #      PS      stop_print              mc4
                   12061: #      PU      key_page_up             kpp             pulse
                   12062: #      RC      key_recalc                              remove_clock
                   12063: #      RF      key_toggle_ref                          req_for_input
                   12064: #      RT      key_return              kent
                   12065: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   12066: #      WL      key_word_left
                   12067: #      WR      key_word_right
                   12068: #
                   12069: # The XENIX extensions also include the following character-set and highlight
                   12070: # capabilities:
                   12071: #
                   12072: #      XENIX   terminfo        function
                   12073: #      -----   --------        ------------------------------
                   12074: #      GS      smacs           start alternate character set
                   12075: #      GE      rmacs           end alternate character set
                   12076: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   12077: #      bo      blink           begin blink (not used in /etc/termcap)
                   12078: #      be                      end blink (not used in /etc/termcap)
                   12079: #      bb                      blink glitch  (not used in /etc/termcap)
                   12080: #      it      dim             begin dim (not used in /etc/termcap)
                   12081: #      ie                      end dim (not used in /etc/termcap)
                   12082: #      ig                      dim glitch  (not used in /etc/termcap)
                   12083: #
                   12084: # Finally, XENIX also used the following forms-drawing capabilities:
                   12085: #
                   12086: #      single  double  type             ASCII approximation
                   12087: #      ------  ------  -------------    -------------------
                   12088: #      GV      Gv      vertical line             |
                   12089: #      GH      Gv      horizontal line       -   _
                   12090: #      G1      G5      top right corner       _   |
                   12091: #      G2      G6      top left corner       |
                   12092: #      G3      G7      bottom left corner         |_
                   12093: #      G4      G8      bottom right corner   _|
                   12094: #      GD      Gd      down-tick character        T
                   12095: #      GL      Gl      left-tick character   -|
                   12096: #      GR      Gr      right-tick character       |-
                   12097: #      GC      Gc      middle intersection   -|-
                   12098: #      GU      Gu      up-tick character          _|_
                   12099: #
                   12100: # These were invented to take advantage of the IBM PC ROM character set.  One
                   12101: # can compose an acsc string from the single-width characters as follows
                   12102: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
                   12103: # The double forms characters don't fit the SVr4 terminfo model.
                   12104: #
                   12105: # AT&T Extensions:
                   12106: #
                   12107: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   12108: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   12109: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   12110: # set.  Comments in the original, and a little cross-checking with other AT&T
                   12111: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   12112: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   12113: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   12114: # cursor invisible), and CV=:ve: (make cursor normal).
                   12115: #
                   12116: # HP Extensions
                   12117: #
                   12118: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   12119: # have the System V capabilities up to SVr1 level.  After that, it supports
                   12120: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   12121: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   12122: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   12123: # HP binary format incompatible with SVr4's.
                   12124: #
                   12125: # IBM Extensions
                   12126: #
                   12127: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   12128: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   12129: # capabilities following prtr_non with the following special capabilties:
                   12130: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   12131: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   12132: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   12133: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   12134: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   12135: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   12136: # correspond to acsc chars, here is the mapping:
                   12137: #
                   12138: #      box1[0]  = ACS_ULCORNER
                   12139: #      box1[1]  = ACS_HLINE
                   12140: #      box1[2]  = ACS_URCORNER
                   12141: #      box1[3]  = ACS_VLINE
                   12142: #      box1[4]  = ACS_LRCORNER
                   12143: #      box1[5]  = ACS_LLCORNER
                   12144: #      box1[6]  = ACS_TTEE
                   12145: #      box1[7]  = ACS_RTEE
                   12146: #      box1[8]  = ACS_BTEE
                   12147: #      box1[9]  = ACS_LTEE
                   12148: #      box1[10] = ACS_PLUS
                   12149: #
                   12150: # The box2 characters are the double-line versions of these forms graphics.
                   12151: # The AIX binary terminfo format is incompatible with SVr4's.
                   12152: #
                   12153: # Iris console extensions:
                   12154: #
                   12155: # HS is half-intensity start; HE is half-intensity end
                   12156: # CT is color terminal type (for Curses & rogue)
                   12157: # CP is color change escape sequence
                   12158: # CZ are color names (for Curses & rogue)
                   12159: #
                   12160: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   12161: #
                   12162: # TC Extensions:
                   12163: #
                   12164: # There is a set of extended termcaps associated with something
                   12165: # called the "Terminal Control" or TC package created by MainStream Systems,
                   12166: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   12167: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   12168: # that flags color terminals.
                   12169: #
                   12170: ######## CHANGE HISTORY
                   12171: #
                   12172: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   12173: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   12174: # project.
                   12175: #
                   12176: # This file contains all the capability information present in John Kunze's
                   12177: # last version of the termcap master file, except as noted in the change
                   12178: # comments at end of file.  Some information about very ancient obsolete
                   12179: # capabilities has been moved to comments.  Some all-numeric names of older
                   12180: # terminals have been retired.
                   12181: #
                   12182: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   12183: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   12184: # used by BSD curses.
                   12185: #
                   12186: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   12187: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   12188: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   12189: # making perfectly synchronized mistakes which I then failed to catch by
                   12190: # eyeball, the translation was correct and perfectly information-preserving.
                   12191: #
                   12192: # Here is a log of the changes since then:
                   12193: #
                   12194: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   12195: #      * First terminfo master translated from 8.3.
                   12196: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   12197: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   12198: #
                   12199: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   12200: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   12201: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   12202: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   12203: #      * Contact and history info supplied by Qume.
                   12204: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
                   12205: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
                   12206: #      * Added information on X3.64 and VT100 standard escape sequences.
                   12207: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   12208: #      * Added a correct X11R6 xterm entry.
                   12209: #      * Fixed terminfo translations of padding.
                   12210: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   12211: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   12212: #      * Added u6/u7/u8/u9 capabilities.
                   12213: #      * Added PCVT entry.
                   12214: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   12215: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   12216: #        to use reverse-video standout so Emacs will look right.
                   12217: #      * Added el1 capability to ansi.
                   12218: #      * Added smacs/rmacs to ansi.sys.
                   12219: #
                   12220: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   12221: #      * New mt70 entry.
                   12222: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   12223: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   12224: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   12225: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   12226: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   12227: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   12228: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   12229: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   12230: #      * Restored the old minimal-ansi entry, luna needs it.
                   12231: #      * Fixed some incorrect ip and proportional-padding translations.
                   12232: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   12233: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   12234: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   12235: #        to force a particular height.
                   12236: #      * Added beehive4 and reorganized other Harris entries.
                   12237: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   12238: #      * Merged in DEC's official entries for its terminals.  The only old
                   12239: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   12240: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   12241: #        ones from AT&T's SVr3.
                   12242: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   12243: #      * Added teleray 16, vc415, cops10.
                   12244: #      * Merged in many individual capabilities from SCO terminfo files.
                   12245: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   12246: #      * Typo fixes.
                   12247: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   12248: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   12249: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   12250: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   12251: #        simterm, citoh and variants.
                   12252: #      * Replaced sol entry with sol1 and sol2.
                   12253: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   12254: #        terminfo entries.
                   12255: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   12256: #        and dg200 entries using caps from from SCO.
                   12257: #      * Added the usual set of function-key mappings to ANSI entry.
                   12258: #      * Corrected xterm's function-key capabilities.
                   12259: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   12260: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   12261: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   12262: #      * Fix in xterm entry, get the arrow keys right.
                   12263: #      * Change some \0 escapes to \200.
                   12264: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   12265: #      * Added apple (Videx card), adm1a, oadm31.
                   12266: #      * Fixed malformed ampex csr.
                   12267: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   12268: #      * Changed mandatory to advisory padding in many entries.
                   12269: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   12270: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   12271: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   12272: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   12273: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   12274: #        more efficient (but the entries otherwise identical).
                   12275: #      * Added dg211 from Shuford archive.
                   12276: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   12277: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   12278: #      * Pull SCO's padding into vi200 entry.
                   12279: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   12280: #        entries merged in from SCO's descriptions.
                   12281: #      * Fixed old-style prefix padding on zen50, h1500.
                   12282: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   12283: #        entry from SCO's description.
                   12284: #      * Reorganized the special entries.
                   12285: #      * Added lm#0 to cbunix and virtual entries.
                   12286: #
                   12287: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   12288: #      * Restored cdc456tst.
                   12289: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   12290: #      * Added megatek, beacon, microkit.
                   12291: #      * Freeze for ncurses-1.9 release.
                   12292: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   12293: #      * Added historical data for TAB.
                   12294: #      * Comment fixes from David MacKenzie.
                   12295: #      * Added the new BSDI pc3 entry.
                   12296: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   12297: #      * A change in the tic -C logic now ensures that all entries in
                   12298: #        the termcap translation will fit in < 1024 bytes.
                   12299: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   12300: #        from GNU termcap file.  This merges in all their local information.
                   12301: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   12302: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   12303: #      * Added warnings about entries with long translations (restoring
                   12304: #        all the GNU termcaps pushes a few over the edge).
                   12305: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   12306: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   12307: #        number of long (> 1024) termcap translations back to 0.
                   12308: #
                   12309: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   12310: #      * Added kf13-kf20 to Linux entry.
                   12311: #      * Regularize Prime terminal names.
                   12312: #      * Historical data on Synertek.
                   12313: #      * Freeze for ncurses-1.9.1.
                   12314: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   12315: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   12316: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   12317: #      * Name field changes to shorten some long entries.
                   12318: #      * Termcap translation now automatically generates empty rmir/smir
                   12319: #        when ich1/ich is present (copes with an ancient vi bug).
                   12320: #      * Added `screen' entries from FSF's screen-3.6.2.
                   12321: #      * Added linux-nic and xterm-nic entries.
                   12322: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   12323: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   12324: #        eliminating some special-case code in ncurses.
                   12325: #
                   12326: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   12327: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   12328: #        that captures everything unique from it.
                   12329: #      * Added reorder script generator.
                   12330: #      * Freeze for ncurses 1.9.2 release.
                   12331: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   12332: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   12333: #      * Added Olaf Siebert's corrections for adm12.
                   12334: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   12335: #        entries which use it will inherit them automatically.
                   12336: #      * The linux entry can now recognize the center (keypad 5) key.
                   12337: #      * Removed some junk that found its way into Linux acsc.
                   12338: #
                   12339: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   12340: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   12341: #      * xterm doesn't try to use application keypad mode any more.
                   12342: #      * Freeze for ncurses-1.9.3 release.
                   12343: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   12344: #      * Added corrected sun entry from vendor.
                   12345: #      * Added csr capability to linux entry.
                   12346: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   12347: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   12348: #      * Some commented-out caps in long entries come back in, my code
                   12349: #        for computing string-table lengths had a bug in it.
                   12350: #      * pcansi series modified to fit comm-program reality better.
                   12351: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   12352: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   12353: #      * Correct some bad aliases in the pcansi series
                   12354: #      * Added entry for QNX console.
                   12355: #      * Clean up duplicate long names for use with 4.4 library.
                   12356: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   12357: #        this makes the Emacs status line look better.
                   12358: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   12359: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   12360: #      * Minor surgery, mostly on name strings, to shorten termcap version.
                   12361: #
                   12362: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   12363: #      * Added dec-vt100 for use with the EWAN emulator.
                   12364: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   12365: #      * Freeze for 1.9.5 alpha release.
                   12366: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   12367: #      * Changed xterm lines to 24, the X11R6 default.
                   12368: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   12369: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   12370: #        entry (the pryz{|} characters).
                   12371: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   12372: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   12373: #      * I finally figured out how to translate ko capabilities.  Done.
                   12374: #      * Added tvi921 entries from Tim Theisen.
                   12375: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   12376: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   12377: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   12378: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   12379: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   12380: #        by making them relative to use capabilities
                   12381: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   12382: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   12383: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   12384: #        ampex80,
                   12385: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   12386: #        equivalent.
                   12387: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   12388: #        vt100 and ANSI-like terminals.
                   12389: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   12390: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   12391: #        does this now, too.
                   12392: #      * fviewpoint is gone, it duplicated screwpoint.
                   12393: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   12394: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   12395: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   12396: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   12397: #      * No more embedded commas in name fields.
                   12398: #
                   12399: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   12400: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   12401: #      * Introduced klone+* entries for describing Intel-console behavior.
                   12402: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   12403: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   12404: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   12405: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   12406: #        that it was messing up someone's 3270 emulator.
                   12407: #      * Added some longname fields in order to avoid warning messages from
                   12408: #        older tic implementations.
                   12409: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   12410: #        it! (This gives us pi, greater than, less than, and a few more.)
                   12411: #      * Freeze for ncurses-1.9.6 release.
                   12412: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   12413: #      * Add xon to a number of console entries, they're memory-mapped and
                   12414: #        don't need padding.
                   12415: #      * Correct the use dependencies in the ansi series.
                   12416: #      * Hand-translate more XENIX capabilities.
                   12417: #      * Added hpterm entry for HP's X terminal emulator.
                   12418: #      * Added aixterm entries.
                   12419: #      * Shortened four names so everything fits in 14 chars.
                   12420: #
                   12421: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   12422: #      * Added ibcs2 entry and info on iBCS2 standard.
                   12423: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   12424: #      * We can handle the HP meml/memu capability now.
                   12425: #      * Added smacs to klone entries, just as documentation.
                   12426: #      * Carrected ansi.sys and cit-500 entries.
                   12427: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   12428: #      * Make pcansi use the ansi.sys invis capability.
                   12429: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   12430: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   12431: #      * X3.64 has been withdrawn, change some references.
                   12432: #      * Removed function keys from ansi-m entry.
                   12433: #      * Corrected ansi.sys entry.
                   12434: #      * Freeze for ncurses-1.9.7 release.
                   12435: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   12436: #      * Added rmam/smam capabilities to many entries based on init strings.
                   12437: #      * Added correct hpa/vpa to linux.
                   12438: #      * Reduced several entries relative to vt52.
                   12439: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   12440: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   12441: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   12442: #        look flat-out incorrect, garbled, or redundant.  These include the
                   12443: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   12444: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   12445: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   12446: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   12447: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   12448: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   12449: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   12450: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   12451: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   12452: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   12453: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   12454: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   12455: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   12456: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   12457: #        <bgrayson@pine.ece.utexas.edu>.
                   12458: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   12459: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   12460: #      * Added kent=\EOM to xterm entry.
                   12461: #
                   12462: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   12463: #      * Corrected gigi entry.
                   12464: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   12465: #        bad hpa/vpa capabilities.
                   12466: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   12467: #        more speed-dependent NUL-padding!
                   12468: #      * terminfo capabilities in comments bracketed with <>.
                   12469: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
                   12470: #      * Replaced pcvt with the 3.31 pcvt entries.
                   12471: #      * Freeze for 1.9.7a.
                   12472: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   12473: #      * Added emu entry from the X11R6 contrib tape sources.
                   12474: #
                   12475: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   12476: #      * Improved iris-ansi and sun entries.
                   12477: #      * More flash string improvements.
                   12478: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   12479: #      * Added dim to at386.
                   12480: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   12481: #        he's ready to start using the termcap generated from this one.
                   12482: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   12483: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   12484: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   12485: #        att610, att620, att630,
                   12486: #      * Changed hazeltine name prefix from h to hz.
                   12487: #      * Sent t500 to the UFI file.
                   12488: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   12489: #      * Freeze for ncurses 1.9.8 release
                   12490: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   12491: #      * Unfreeze, linux kbs needed to be fixed.
                   12492: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   12493: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   12494: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   12495: #        (The broken ones had been shadowed by sgr.)
                   12496: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   12497: #      * Added documentation on ECMA-48 standard.
                   12498: #      * New Amiga entry.
                   12499: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   12500: #      * More ECMA-48 stuff
                   12501: #      * Corrected typo in minix entry, added pc-minix.
                   12502: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   12503: #      * Added rxvt entry.
                   12504: #      * Added 1.3.x color-change capabilities to linux entry.
                   12505: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   12506: #      * Corrected rxvt entry khome/kend.
                   12507: #      * Corrected linux color change capabilities.
                   12508: #      * NeXT entries from Dave Wetzel.
                   12509: #      * Cleaned up if and rf file names (all in /usr/share now).
                   12510: #      * Changed linux op capability to avoid screwing up a background color
                   12511: #        pair set by setterm.
                   12512: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   12513: #      * Added xterm-sun.
                   12514: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   12515: #      * Added visa50.
                   12516: #
                   12517: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   12518: #      * Another sweep through the Shuford archive looking for new info.
                   12519: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   12520: #      * Added st52 from Per Persson.
                   12521: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   12522: #      * Freeze for 1.9.9.
                   12523: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   12524: #      * FreeBSD console entries from Andrew Chernov.
                   12525: #      * Removed duplicate Atari st52 name.
                   12526: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   12527: #      * xterm doesn't actually have ACS_BLOCK.
                   12528: #      * Change klone+color setf/setb to simpler forms that can be
                   12529: #        translated into termcap.
                   12530: #      * Added xterm1.
                   12531: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   12532: #      * Added color support to bsdos.
                   12533: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   12534: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   12535: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   12536: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   12537: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   12538: #        some aliases to <= 14 chars for portability.
                   12539: #      * Added x68k console
                   12540: #      * Added OTbs to several VT-series entries.
                   12541: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   12542: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   12543: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   12544: #      * kterm correction due to Kenji Rikitake.
                   12545: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   12546: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   12547: #      * Sun console entry correction from J.T. Conklin.
                   12548: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   12549: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   12550: #      * Added smul to linux entry (we never noticed it was missing
                   12551: #        because of sgr!).
                   12552: #      * Added rmln to hp+labels (deduced from other HP entries).
                   12553: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   12554: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   12555: #      * Corrected vt220 acsc.
                   12556: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   12557: #        this corresponds to reality and helps prevent some tic warnings.
                   12558: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   12559: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   12560: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   12561: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   12562: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   12563: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   12564: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   12565: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   12566: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   12567: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   12568: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   12569: #      * Added DWK terminal description.
                   12570: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996)
                   12571: #      * Many entries now have highlights inherited from adm+sgr.
                   12572: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   12573: #      * xtitle and xtitle-twm enable access to the X status line.
                   12574: #      * Added linux-1.3.6 color palette caps in conventional format.
                   12575: #      * Added adm1178 terminal.
                   12576: #      * Move fos and apollo terminals to obsolete category.
                   12577: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   12578: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   12579: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
                   12580: #        cit500, adm11,
                   12581:
                   12582: ######## REORDER
                   12583: #
                   12584: # Older termcap distributions featured a kluge called `reorder' intended to
                   12585: # time-optimize access to selected terminals by moving them to the front of
                   12586: # the file.  This is obsolete under terminfo, but for completeness's sake
                   12587: # we give a reorder script generator here (strip off the leading #s to use).
                   12588: #
                   12589: #: mkreorder --  generate script to optimize access to given terminal types
                   12590: #:
                   12591: #: entries named on command line will be sorted to the front in reverse order
                   12592: #echo "ed -- termcap <<EOF"
                   12593: #for x in $*
                   12594: #do
                   12595: #      echo "/^$x[|:]/;.,/^[a-z#]/-1m0"
                   12596: #done
                   12597: #echo "0a"
                   12598: #echo "."
                   12599: #echo "w termcap.sorted"
                   12600: #echo "q"
                   12601: #echo "EOF"
                   12602: #:end of script
                   12603: #
                   12604: # Invoke this script like this:
                   12605: #
                   12606: #      mkreorder h19 wy60 vt100 >reorder
                   12607: #
                   12608: # The following sets edit modes for GNU EMACS
                   12609: # Local Variables:
                   12610: # fill-prefix:"\t"
                   12611: # fill-column:75
                   12612: # End:
                   12613: ######## SHANTIH!  SHANTIH!  SHANTIH!