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

Annotation of src/share/termtypes/termtypes.master, Revision 1.8

1.1       millert     1: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
                      2: #
                      3: #      Version 10.2.5
1.8     ! millert     4: #      $Date: 1998/12/17 17:25:26 $
1.1       millert     5: #      master 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.  The latest version can always be found at
                     13: # <http://earthspace.net/terminfo>.
                     14: #
                     15: # PURPOSE OF THIS FILE:
                     16: #
                     17: # This file describes the capabilities of various character-cell terminals,
                     18: # as needed by software such as screen-oriented editors.
                     19: #
                     20: # Other terminfo and termcap files exist, supported by various OS vendors
                     21: # or as relics of various older versions of UNIX.  This one is the longest
                     22: # and most comprehensive one in existence.  It subsumes not only the entirety
                     23: # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
                     24: # termcap file, but also large numbers of vendor-maintained termcap and
                     25: # terminfo entries more complete and carefully tested than those in historical
                     26: # termcap/terminfo versions.
                     27: #
                     28: # Pointers to related resources (including the ncurses distribution) may
                     29: # be found at <http://earthspace.net/terminfo>.
                     30: #
                     31: # INTERNATIONALIZATION:
                     32: #
                     33: # This file uses only the US-ASCII character set (no ISO8859 characters).
                     34: #
                     35: # This file assumes a US-ASCII character set. If you need to fix this, start
                     36: # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
                     37: # for your character set.  \E(A and \E)A enables the British character set
                     38: # with the pound sign at position 2/3.
                     39: #
                     40: # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
                     41: # C1 characters are considered the first-byte set of the Japanese encodings,
                     42: # so \E)0 should be avoided in <enacs> and initialization strings.
                     43: #
                     44: # FILE FORMAT:
                     45: #
                     46: # The version you are looking at may be in any of three formats: master
                     47: # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
                     48: # which by the format given in the header above.
                     49: #
                     50: # The master format is accepted and generated by the terminfo tools in the
                     51: # ncurses suite; it differs from stock (System V-compatible) terminfo only
                     52: # in that it admits a group of capabilities (prefixed `OT') equivalent to
                     53: # various obsolete termcap capabilities.  You can, thus, convert from master
                     54: # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
                     55: # you have ncurses `tic -I' is nicer (among other things, it automatically
                     56: # outputs entries in a canonical form).
                     57: #
                     58: # The termcap version is generated automatically from the master version
                     59: # using tic -C.  This filtering leaves in the OT capabilities under their
                     60: # original termcap names.  All translated entries fit within the 1023-byte
                     61: # string-table limit of archaic termcap libraries except where explicitly
                     62: # noted below.  Note that the termcap translation assumes that your termcap
                     63: # library can handle multiple tc capabilities in an entry. 4.4BSD has this
                     64: # capability.  Older versions of GNU termcap, through 1.3, do not.
                     65: #
                     66: # For details on these formats, see terminfo(5) in the ncurses distribution,
                     67: # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
                     68: # curses has been declared obsolete by the caretakers of the 4.4BSD sources
                     69: # as of June 1995; they are encouraging everyone to migrate to ncurses.
                     70: #
                     71: # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
                     72: # no entry in this file has embedded comments.  This is so source translation
                     73: # to termcap only has to carry over leading comments.  Also, no name field
                     74: # contains embedded whitespace (such whitespace confuses rdist).
                     75: #
                     76: # Further note: older versions of this file were often installed with an editor
                     77: # script (reorder) that moved the most common terminal types to the front of
                     78: # the file.  This should no longer be necessary, as the file is now ordered
                     79: # roughly by type frequency with ANSI/VT100 and other common types up front.
                     80: #
                     81: # Some information has been merged in from terminfo files distributed by
                     82: # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
                     83: # comes from vendors who maintain official terminfos for their hardware
                     84: # (notably DEC and Wyse).
                     85: #
                     86: # A detailed change history is included at the end of this file.
                     87: #
                     88: # FILE ORGANIZATION:
                     89: #
                     90: # Comments in this file begin with # - they cannot appear in the middle
                     91: # of a terminfo/termcap entry (this feature had to be sacrificed in order
                     92: # to allow standard terminfo and termcap syntax to be generated cleanly from
                     93: # the master format).  Individual capabilities are commented out by
                     94: # placing a period between the colon and the capability name.
                     95: #
                     96: # The file is divided up into major sections (headed by lines beginning with
                     97: # the string "########") and minor sections (beginning with "####"); do
                     98: #
                     99: #      grep "^####" <file> | more
                    100: #
                    101: # to see a listing of section headings.  The intent of the divisions is
                    102: # (a) to make it easier to find things, and (b) to order the database so
                    103: # that important and frequently-encountered terminal types are near the
                    104: # front (so that you'll get reasonable search efficiency from a linear
                    105: # search of the termcap form even if you don't use reorder).  Minor sections
                    106: # usually correspond to manufacturers or standard terminal classes.
                    107: # Parenthesized words following manufacturer names are type prefixes or
                    108: # product line names used by that manufacturers.
                    109: #
                    110: # HOW TO READ THE ENTRIES:
                    111: #
                    112: # The first name in an entry is the canonical name for the model or
                    113: # type, last entry is a verbose description.  Others are mnemonic synonyms for
                    114: # the terminal.
                    115: #
                    116: # Terminal names look like <manufacturer> <model> - <modes/options>
                    117: # The part to the left of the dash, if a dash is present, describes the
                    118: # particular hardware of the terminal.  The part to the right may be used
                    119: # for flags indicating special ROMs, extra memory, particular terminal modes,
                    120: # or user preferences.
                    121: #
                    122: # All names should be in lower case, for consistency in typing.
                    123: #
                    124: # The following are conventionally used suffixes:
                    125: #      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
                    126: #      -am     Enable auto-margin.
                    127: #      -m      Monochrome.  Suppress color support
                    128: #      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
                    129: #              only support one attribute without magic-cookie lossage.
                    130: #              Their base entry is usually paired with another that
                    131: #              uses magic cookies to support multiple attributes.
                    132: #      -nam    No auto-margin - suppress <am> capability
                    133: #      -nl     No labels - suppress soft labels
                    134: #      -ns     No status line - suppress status line
                    135: #      -rv     Terminal in reverse video mode (black on white)
                    136: #      -s      Enable status line.
                    137: #      -vb     Use visible bell (<flash>) rather than <bel>.
                    138: #      -w      Wide - in 132 column mode.
                    139: # If a name has multiple suffixes and one is a line height, that one should
                    140: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
                    141: #
                    142: # Entries with embedded plus signs are designed to be included through use/tc
                    143: # capabilities, not used as standalone entries.
                    144: #
                    145: # To avoid search clashes, some older all-numeric names for terminals have
                    146: # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
                    147: # All primary names of terminals now have alphanumeric prefixes.
                    148: #
                    149: # Comments marked "esr" are mostly results of applying the termcap-compiler
                    150: # code packaged with ncurses and contemplating the resulting error messages.
                    151: # In many cases, these indicated obvious fixes to syntax garbled by the
                    152: # composers.  In a few cases, I was able to deduce corrected forms for garbled
                    153: # capabilities by looking at context.  All the information in the original
                    154: # entries is preserved in the comments.
                    155: #
                    156: # In the comments, terminfo capability names are bracketed with <> (angle
                    157: # brackets).  Termcap capability names are bracketed with :: (colons).
                    158: #
                    159: # INTERPRETATION OF USER CAPABILITIES
                    160: #
                    161: # The System V Release 4 and XPG4 terminfo format defines ten string
                    162: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
                    163: # certain of these capabilities to describe functions which are not covered
                    164: # by terminfo.  The mapping is as follows:
                    165: #
                    166: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
                    167: #      u8      terminal answerback description
                    168: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
                    169: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
                    170: #
                    171: # The terminal enquire string <u9> should elicit an answerback response
                    172: # from the terminal.  Common values for <u9> will be ^E (on older ASCII
                    173: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
                    174: #
                    175: # The cursor position request (<u7>) string should elicit a cursor position
                    176: # report.  A typical value (for VT100 terminals) is \E[6n.
                    177: #
                    178: # The terminal answerback description (u8) must consist of an expected
                    179: # answerback string.  The string may contain the following scanf(3)-like
                    180: # escapes:
                    181: #
                    182: #      %c      Accept any character
                    183: #      %[...]  Accept any number of characters in the given set
                    184: #
                    185: # The cursor position report (<u6>) string must contain two scanf(3)-style
                    186: # %d format elements.  The first of these must correspond to the Y coordinate
                    187: # and the second to the %d.  If the string contains the sequence %i, it is
                    188: # taken as an instruction to decrement each value after reading it (this is
                    189: # the inverse sense from the cup string).  The typical CPR value is
                    190: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
                    191: #
                    192: # These capabilities are used by tac(1m), the terminfo action checker soon
                    193: # to be distributed with ncurses.
                    194: #
                    195: # TABSET FILES
                    196: #
                    197: # All the entries in this file have been edited to assume that the tabset
                    198: # files directory is /usr/share/tabset, in conformance with the File Hierarchy
                    199: # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
                    200: # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
                    201: #
                    202: # No curses package we know of actually uses these files.  If their location
                    203: # is an issue, you will have to hand-patch the file locations before compiling
                    204: # this file.
                    205: #
                    206: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
                    207: #
                    208: # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
                    209: # character-cell terminals are increasingly replaced by X displays, much of
                    210: # this file is becoming a historical document (this is part of the reason for
                    211: # the new organization, which puts ANSI types, xterm, free-Unix consoles,
                    212: # and vt100 up front in confidence that this will catch 95% of new hardware).
                    213: #
                    214: # For the terminal types still alive, I'd like to have manufacturer's
                    215: # contact data (Internet address and/or snail-mail + phone).
                    216: #
                    217: # I'm also interested in enriching the comments so that the latter portions of
                    218: # the file do in fact become a potted history of VDT technology as seen by
                    219: # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
                    220: # include its live/dead/out-of-the-business status, and for as many
                    221: # terminal types as possible to be tagged with information like years
                    222: # of heaviest use, popularity, and interesting features.
                    223: #
                    224: # I'm especially interested in identifying the obscure entries listed under
                    225: # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
                    226: # wisdom about them gets lost.  If you know a lot about obscure old terminals,
                    227: # please go to the terminfo resource page, grab the UFO file (ufo.ti), and
                    228: # eyeball it for things you can identify and describe.
                    229: #
                    230: # If you have been around long enough to contribute, please read the file
                    231: # with this in mind and send me your annotations.
                    232: #
                    233: # COPYRIGHTS AND OTHER DELUSIONS
                    234: #
                    235: # The BSD ancestor of this file had a standard Regents of the University of
                    236: # California copyright with dates from 1980 to 1993.
                    237: #
                    238: # Some information has been merged in from a terminfo file SCO distributes.
                    239: # It has an obnoxious boilerplate copyright which I'm ignoring because they
                    240: # took so much of the content from the ancestral BSD versions of this file
                    241: # and didn't attribute it, thereby violating the BSD Regents' copyright.
                    242: #
                    243: # Not that anyone should care.  However many valid functions copyrights may
                    244: # serve, putting one on a termcap/terminfo file with hundreds of anonymous
                    245: # contributors makes about as much sense as copyrighting a wall-full of
                    246: # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
                    247: #
                    248: # This file deliberately has no copyright.  It belongs to no one and everyone.
                    249: # If you claim you own it, you will merely succeed in looking like a fool.
                    250: # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
                    251: # There are no guarantees anywhere.  Svaha!
                    252: #
                    253:
                    254: ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
                    255: #
                    256: # This section describes terminal classes and brands that are still
                    257: # quite common.
                    258: #
                    259:
                    260: #### Specials
                    261: #
                    262: # Special "terminals".  These are used to label tty lines when you don't
                    263: # know what kind of terminal is on it.  The characteristics of an unknown
                    264: # terminal are the lowest common denominator - they look about like a ti 700.
                    265: #
                    266:
                    267: dumb|80-column dumb tty,
                    268:        am,
                    269:        cols#80,
                    270:        bel=^G, cr=^M, cud1=^J, ind=^J,
                    271: unknown|unknown terminal type,
                    272:        gn, use=dumb,
                    273: lpr|printer|line printer,
                    274:        hc, os, OTbs,
                    275:        cols#132, lines#66,
                    276:        bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J,
                    277: glasstty|classic glass tty interpreting ASCII control characters,
                    278:        am,
                    279:        cols#80,
                    280:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I,
                    281:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                    282:
                    283: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
                    284: #
                    285: # See the end-of-file comment for more on these.
                    286: #
                    287:
                    288: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    289: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    290: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    291: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    292: # will work with any Intel console, they all seem to have inherited \E[11m
                    293: # from the ANSI.SYS de-facto standard.
                    294: klone+acs|alternate character set for ansi.sys displays,
                    295:        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,
                    296:        rmacs=\E[10m, smacs=\E[11m,
                    297:
                    298: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    299: # console drivers for Intel boxes obey these.  Makes the same assumption
                    300: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
                    301: # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
                    302: klone+sgr|attribute control for ansi.sys displays,
                    303:        blink=\E[5m, bold=\E[1m, invis=\E[8m,
                    304:        rev=\E[7m, rmpch=\E[10m, rmso=\E[m, rmul=\E[m,
                    305:        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,
                    306:        sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
                    307:        use=klone+acs,
                    308:
                    309: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    310: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    311: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    312: # diamond and arrow characters under curses.
                    313: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
                    314:        blink=\E[5m, bold=\E[1m, invis=\E[8m,
                    315:        rev=\E[7m, rmso=\E[m, rmul=\E[m,
                    316:        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,
                    317:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
                    318:        use=klone+acs,
                    319:
                    320: # KOI8-R (RFC1489) acs (alternate character set)
                    321: # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
                    322: klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
                    323:        acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225,
                    324:        rmacs=\E[10m, smacs=\E[11m,
                    325:
                    326: # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
                    327: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    328: # but equivalent strings that don't rely on that coincidence:
                    329: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    330: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    331: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
                    332: # They match a subset of ECMA-48.
                    333: klone+color|color control for ansi.sys and ISO6429-compatible displays,
                    334:        colors#8, ncv#3, pairs#64,
                    335:        op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    336:
                    337: # This is better than klone+color, it doesn't assume white-on-black as the
                    338: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
                    339: ecma+color|color control for ECMA-48-compatible terminals,
                    340:        colors#8, ncv#3, pairs#64,
                    341:        op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    342:
                    343: # Attribute control for ECMA-48-compatible terminals
                    344: ecma+sgr|attribute capabilities for true ECMA-48 terminals,
                    345:        rmso=\E[27m, rmul=\E[24m,
                    346:        use=klone+sgr,
                    347:
                    348: # For comparison, here are all the capabilities implied by the Intel
                    349: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    350: # For more detail on this rather pathetic standard, see the comments
                    351: # near the end of this file.
                    352: ibcs2|Intel Binary Compatibility Standard prescriptions,
                    353:        cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
                    354:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, dch=\E[%p1%dP, dispc=\E=%p1%dg,
                    355:        ech=\E[%p1%dX, hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                    356:        indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7,
                    357:        smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd,
                    358:
                    359: #### ANSI/ECMA-48 terminals and terminal emulators
                    360: #
                    361: # See near the end of this file for details on ANSI conformance.
                    362: # Don't mess with these entries!  Lots of other entries depend on them!
                    363: #
                    364: # This section lists entries in a least-capable to most-capable order.
                    365: # if you're in doubt about what `ANSI' matches yours, try them in that
                    366: # order and back off from the first that breaks.
                    367:
                    368: ansi-mini|any ansi terminal with pessimistic assumptions,
                    369:        OTbs, am,
                    370:        cols#80, it#8, lines#24,
                    371:        clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B,
                    372:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                    373:        el=\E[K, home=\E[H, ht=^I,
                    374:
                    375: # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
                    376: #
                    377: # The following is an entry for the full ANSI 3.64 (1977).  It lacks
                    378: # padding, but most terminals using the standard are "fast" enough
                    379: # not to require any -- even at 9600 bps.  If you encounter problems,
                    380: # try including the padding specifications.
                    381: #
                    382: # Note: the :as: and :ae: specifications are not implemented here, for
                    383: # the available termcap documentation does not make clear WHICH alternate
                    384: # character set to specify.  ANSI 3.64 seems to make allowances for several.
                    385: # Please make the appropriate adjustments to fit your needs -- that is
                    386: # if you will be using alternate character sets.
                    387: #
                    388: # There are very few terminals running the full ANSI 3.64 standard,
                    389: # so I could only test this entry on one verified terminal (Visual 102).
                    390: # I would appreciate the results on other terminals sent to me.
                    391: #
                    392: # Please report comments, changes, and problems to:
                    393: #
                    394: # U.S. MAIL:   Hugh Hansard
                    395: #              Box: 22830
                    396: #              Emory University
                    397: #              Atlanta, GA. 30322.
                    398: #
                    399: # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
                    400: #
                    401: ansi77|ansi 3.64 standard 1977 version,
                    402:        am, mir, OTbs,
                    403:        cols#80, it#8, lines#24,
                    404:        bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                    405:        cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    406:        cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K,
                    407:        home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H,
                    408:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                    409:        kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM,
                    410:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m,
                    411:        smul=\E[4m,
                    412:
                    413: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
                    414: # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
                    415: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
                    416: # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to
                    417: # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
                    418: # to confuse many emulators.  On the other hand, we can count on these programs
                    419: # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured
                    420: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
                    421: # ANSI.SYS influence.
                    422: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    423: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode),
                    424:        OTbs, am, mir, msgr,
                    425:        cols#80, it#8, lines#24,
                    426:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, cud1=\E[B,
                    427:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                    428:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, il1=\E[L, ind=^J,
                    429:        kbs=\b, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                    430:        kcuu1=\E[A, khome=\E[H, tbc=\E[2g,
                    431:        use=klone+sgr-dumb,
                    432: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
                    433:        lines#25, use=pcansi-m,
                    434: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode),
                    435:        lines#33, use=pcansi-m,
                    436: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode),
                    437:        lines#43, use=pcansi-m,
                    438: # The color versions.  All PC emulators do color...
                    439: pcansi|ibm-pc terminal programs claiming to be ansi,
                    440:        use=klone+color, use=pcansi-m,
                    441: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines,
                    442:        lines#25, use=pcansi,
                    443: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines,
                    444:        lines#33, use=pcansi,
                    445: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines,
                    446:        lines#43, use=pcansi,
                    447:
                    448: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
                    449: # If you want pound signs rather than dollars, replace `B' with `A'
                    450: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    451: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    452: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes,
                    453:        mc5i,
                    454:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
                    455:        cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, ech=\E[%p1%dX, el1=\E[1K,
                    456:        hpa=\E[%i%p1%dG, ht=\E[I, ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS,
                    457:        kbs=\b, kcbt=\E[Z, kich1=\E[L,
                    458:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    459:        mc5=\E[5i, mc4=\E[4i,
                    460:        nel=\r\E[S, rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT,
                    461:        s0ds=\E(B, s1ds=\E)B, s2ds=\E*B, s3ds=\E+B,
                    462:        tbc=\E[2g, vpa=\E[%i%p1%dd,
                    463:        use=pcansi-m,
                    464:
                    465: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
                    466: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
                    467: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    468: ansi|ansi/pc-term compatible with color,
                    469:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, u9=\E[c,
                    470:        use=ecma+color, use=klone+sgr, use=ansi-m,
                    471:
                    472: #### Linux consoles
                    473: #
                    474:
                    475: # This entry is good for the 1.2.13 or later version of the Linux console.
                    476: #
                    477: # ***************************************************************************
                    478: # *                                                                         *
                    479: # *                           WARNING:                                      *
                    480: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    481: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    482: # * character. Here are the keymap replacement lines that will set this up: *
                    483: # *                                                                         *
                    484: #      keycode  15 = Tab             Tab
                    485: #              alt     keycode  15 = Meta_Tab
                    486: #              shift   keycode  15 = F26
                    487: #      string F26 ="\033[Z"
                    488: # *                                                                         *
                    489: # * This has to use a key slot which is unfortunate (any unused one will    *
                    490: # * do, F26 is the higher-numbered one).  The change ought to be built      *
                    491: # * into the kernel tables.                                                 *
                    492: # *                                                                         *
                    493: # ***************************************************************************
                    494: #
                    495: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    496: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    497: # not back-portable to SV curses and not supported in ncurses versions before
                    498: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    499: # themselves; this entry assumes that capability.
                    500: #
                    501: linux|linux console,
                    502:        am, bce, eo, mir, msgr, xenl, xon,
                    503:        it#8, ncv@,
                    504:        acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
                    505:        bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h,
                    506:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                    507:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                    508:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
                    509:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                    510:        flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,
                    511:        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                    512:        il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D,
                    513:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
                    514:        kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
                    515:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                    516:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                    517:        kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
                    518:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                    519:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
                    520:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m,
                    521:        rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,
                    522:        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,
                    523:        smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,
                    524:        u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
                    525:        use=klone+sgr, use=ecma+color,
                    526: linux-m|Linux console no color,
                    527:        colors@, pairs@, setab@, setaf@, setb@, setf@, use=linux,
                    528: linux-c-nc|linux console 1.3.x hack for ncurses only,
                    529:        ccc,
                    530:        initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
                    531:        oc=\E]R,
                    532:        use=linux,
                    533: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
                    534: linux-c|linux console 1.3.6+ with private palette for each virtual console,
                    535:        colors#8, pairs#64,
                    536:        ccc,oc=\E]R,
                    537:        initc=\E]P\
                    538:        %?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d\
                    539:        %p2%{255}%&%Pr\
                    540:        %gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;\
                    541:        %gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;\
                    542:        %p3%{255}%&%Pr\
                    543:        %gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;\
                    544:        %gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;\
                    545:        %p4%{255}%&%Pr\
                    546:        %gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;\
                    547:        %gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;,
                    548:        use=linux,
                    549:
                    550: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                    551: linux-nic|linux with ich/ich1 suppressed for non-curses programs,
                    552:        ich@, ich1@, use=linux,
                    553:
                    554: # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
                    555: # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
                    556: linux-koi8|linux with koi8 alternate character set,
                    557:        acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224,
                    558:        use=linux, use=klone+koi8acs,
                    559:
                    560: # Another entry for KOI8-r with Qing Long's acsc.
                    561: # (which one better complies with the standard?)
                    562: linux-koi8r|linux with koi8-r alternate character set,
                    563:        use=linux, use=klone+koi8acs,
                    564:
                    565: #### NetBSD consoles
                    566: #
                    567: # pcvt termcap database entries (corresponding to release 3.31)
                    568: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                    569: #
                    570: # (For the terminfo master file, I translated these into terminfo syntax.
                    571: # Then I dropped all the pseudo-HP entries. we don't want and can't use
                    572: # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
                    573: # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
                    574:
                    575: # NOTE: <ich1> has been taken out of this entry. for reference, it should
                    576: # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
                    577: # (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
                    578: pcvtXX|pcvt vt200 emulator (DEC VT220),
                    579:        am, km, mir, msgr, xenl,
                    580:        it#8, vt#3,
                    581:        acsc=llmmkkiijjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\054\054hh00yyzz,
                    582:        bel=^G, blink=\E[5m, bold=\E[1m,
                    583:        civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h,
                    584:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
                    585:        cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                    586:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    587:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                    588:        dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H,
                    589:        ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                    590:        il1=\E[L, ind=\ED, indn=\E[%p1%dS,
                    591:        is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
                    592:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                    593:        kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
                    594:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~,
                    595:        kf8=\E[25~, khome=\E[1~, kich1=\E[2~, kll=\E[4~,
                    596:        knp=\E[6~, kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m,
                    597:        rf=/usr/share/tabset/vt100, ri=\EM, rin=\E[%p1%dT,
                    598:        rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
                    599:        rmso=\E[27m, rmul=\E[24m,
                    600:        rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                    601:        sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                    602:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                    603:
                    604: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    605: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                    606: #      50 lines entries; 80 columns
                    607: pcvt25|dec vt220 emulation with 25 lines,
                    608:        cols#80, lines#25, is2=\E[1;25r\E[25;1H, use=pcvtXX,
                    609: pcvt28|dec vt220 emulation with 28 lines,
                    610:        cols#80, lines#28, is2=\E[1;28r\E[28;1H, use=pcvtXX,
                    611: pcvt35|dec vt220 emulation with 35 lines,
                    612:        cols#80, lines#35, is2=\E[1;35r\E[35;1H, use=pcvtXX,
                    613: pcvt40|dec vt220 emulation with 40 lines,
                    614:        cols#80, lines#40, is2=\E[1;40r\E[40;1H, use=pcvtXX,
                    615: pcvt43|dec vt220 emulation with 43 lines,
                    616:        cols#80, lines#43, is2=\E[1;43r\E[43;1H, use=pcvtXX,
                    617: pcvt50|dec vt220 emulation with 50 lines,
                    618:        cols#80, lines#50, is2=\E[1;50r\E[50;1H, use=pcvtXX,
                    619:
                    620: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    621: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                    622: #      50 lines entries; 132 columns
                    623: pcvt25w|dec vt220 emulation with 25 lines and 132 cols,
                    624:        cols#132, lines#25, is2=\E[1;25r\E[25;1H, use=pcvtXX,
                    625: pcvt28w|dec vt220 emulation with 28 lines and 132 cols,
                    626:        cols#132, lines#28, is2=\E[1;28r\E[28;1H, use=pcvtXX,
                    627: pcvt35w|dec vt220 emulation with 35 lines and 132 cols,
                    628:        cols#132, lines#35, is2=\E[1;35r\E[35;1H, use=pcvtXX,
                    629: pcvt40w|dec vt220 emulation with 40 lines and 132 cols,
                    630:        cols#132, lines#40, is2=\E[1;40r\E[40;1H, use=pcvtXX,
                    631: pcvt43w|dec vt220 emulation with 43 lines and 132 cols,
                    632:        cols#132, lines#43, is2=\E[1;43r\E[43;1H, use=pcvtXX,
                    633: pcvt50w|dec vt220 emulation with 50 lines and 132 cols,
                    634:        cols#132, lines#50, is2=\E[1;50r\E[50;1H, use=pcvtXX,
                    635:
                    636: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
                    637: # manufactured by Sharp for the Japenese market.
                    638: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
                    639: x68k|x68k-ite|NetBSD/x68k ITE,
                    640:        cols#96, lines#32,
                    641:        khlp=\E[28~, kclr=\E[9~, use=vt220,
                    642:
                    643: #### FreeBSD console entries
                    644: #
                    645: # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
                    646: # Andrey Chernov maintains the FreeBSD termcap distributions.
                    647: #
                    648: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
                    649: # or comment out the :cb: capability in the console entry.
                    650: #
                    651: # Alexander Lukyanov reports:
                    652: # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
                    653: # Now el1 clears not only to the line beginning, but also a large chunk
                    654: # of previous line. But there is another bug - ech does not work at all.
                    655: #
                    656:
                    657: # for syscons
                    658: # common entry without semigraphics
                    659: # Bug: The <op> capability resets attributes.
                    660: # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
                    661: # instance el1 does if the cursor is moved to the right margin first.  Removed
                    662: # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
                    663: #
                    664: # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
                    665: # Note that this disables standout with color.
                    666: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
                    667:        am, bce, bw, eo, msgr, npc,
                    668:        colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64,
                    669:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                    670:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                    671:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    672:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                    673:        dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                    674:        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
                    675:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                    676:        indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                    677:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
                    678:        kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N,
                    679:        kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
                    680:        kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I,
                    681:        nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
                    682:        rmso=\E[m, rs1=\E[x\E[m\Ec, setab=\E[4%p1%dm,
                    683:        setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
                    684: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
                    685:        acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
                    686:        use=cons25w,
                    687: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
                    688:        colors@, pairs@,
                    689:        bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25,
                    690: cons30|ansi80x30|freebsd console (30-line ansi mode),
                    691:        lines#30, use=cons25,
                    692: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
                    693:        lines#30, use=cons25-m,
                    694: cons43|ansi80x43|freebsd console (43-line ansi mode),
                    695:        lines#43, use=cons25,
                    696: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
                    697:        lines#43, use=cons25-m,
                    698: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
                    699:        lines#50, use=cons25,
                    700: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
                    701:        lines#50, use=cons25-m,
                    702: cons60|ansi80x60|freebsd console (60-line ansi mode),
                    703:        lines#60, use=cons25,
                    704: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
                    705:        lines#60, use=cons25-m,
                    706: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
                    707:        acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225,
                    708:        use=cons25w,
                    709: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
                    710:        colors@, pairs@,
                    711:        op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r,
                    712: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
                    713:        lines#50, use=cons25r,
                    714: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
                    715:        lines#50, use=cons25r-m,
                    716: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
                    717:        lines#60, use=cons25r,
                    718: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
                    719:        lines#60, use=cons25r-m,
                    720: # ISO 8859-1 FreeBSD console
                    721: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
                    722:        acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237,
                    723:        use=cons25w,
                    724: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
                    725:        colors@, pairs@,
                    726:        bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1,
                    727: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
                    728:        lines#50, use=cons25l1,
                    729: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
                    730:        lines#50, use=cons25l1-m,
                    731: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
                    732:        lines#60, use=cons25l1,
                    733: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
                    734:        lines#60, use=cons25l1-m,
                    735:
                    736: #### 386BSD and BSD/OS Consoles
                    737: #
                    738:
                    739: # This was the original 386BSD console entry (I think).
                    740: # Some places it's named oldpc3|oldibmpc3.
                    741: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                    742: origpc3|origibmpc3|IBM PC 386BSD Console,
                    743:        am, bw, eo, xon, OTbs,
                    744:        cols#80, lines#25,
                    745:        acsc=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305,
                    746:        bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    747:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J,
                    748:        el=\E[K, home=\E[H, ind=\E[S, kcub1=\E[D,
                    749:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[Y,
                    750:        ri=\E[T, rmso=\E[1;0x\E[2;7x, rmul=\E[1;0x\E[2;7x,
                    751:        sgr0=\E[m\E[1;0x\E[2;7x, smso=\E[1;7x\E[2;0x,
                    752:        smul=\E[1;7x\E[2;0x,
                    753:
                    754: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                    755: oldpc3|oldibmpc3|old IBM PC BSD/386 Console,
                    756:        km, OTbs,
                    757:        lines#25,
                    758:        bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F,
                    759:        dl1=\E[M, ht=^I, il1=\E[L, ind=^J, kbs=^H,
                    760:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    761:        khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G,
                    762:        kpp=\E[I, nel=^M^J, sgr0=\E[=R,
                    763:
                    764: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                    765: # Note, the emulator supports many of the additional console features
                    766: # listed in the iBCS2 (e.g. character-set selection) though not all
                    767: # are described here.  This entry really ought to be upgraded.
                    768: # Also note, the console will also work with fewer lines after doing
                    769: # "stty rows NN", e.g. to use 24 lines.
                    770: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
                    771: # Bug: The <op> capability resets attributes.
                    772: bsdos|BSD/OS console,
                    773:        am, bw, eo, km, xon, OTbs,
                    774:        colors#8, cols#80, it#8, lines#25, pairs#64,
                    775:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
                    776:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                    777:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    778:        cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[=8F, dl=\E[%p1%dM,
                    779:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                    780:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
                    781:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                    782:        kich1=\E[L, kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J,
                    783:        op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m, sc=\E7,
                    784:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m,
                    785:        smso=\E[7m,
                    786: bsdos-bold|IBM PC BSD/386 Console with bold instead of underline,
                    787:        rmul=\E[0m, smul=\E[1m, use=bsdos,
                    788:
                    789: # If you are BSDI, you want the following entries, for the moment.
                    790: # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
                    791: pc3|IBM PC BSD/386 Console,
                    792:        use=bsdos,
                    793: ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline,
                    794:        smul=\E[1m, use=bsdos-bold,
                    795:
                    796: #### DEC VT100 and compatibles
                    797: #
                    798: # DEC terminals from the vt100 forward are collected here. Older DEC terminals
                    799: # and micro consoles can be found in the `obsolete' section.  More details on
                    800: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                    801: # found near the end of this file.
                    802: #
                    803: # Except where noted, these entries are DEC's official terminfos.
                    804: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                    805: # Engineering for more information.  Updated terminfos and termcaps
                    806: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                    807: #
                    808: # In October 1995 DEC sold its terminals business, including the VT and Dorio
                    809: # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
                    810: # its name to Boundless Technologies; see http://www.boundless.com.
                    811: #
                    812:
                    813: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                    814: # certainly includes what DEC called the `Level 1 editing extension' codes;
                    815: # only the very oldest VT100s lacked these and there probably aren't any of
                    816: # those left alive.  To capture these, use one of the VT102 entries.
                    817: #
                    818: # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
                    819: # since the cursor is left in a different position while in the
                    820: # weird state (concept at beginning of next line, vt100 at end
                    821: # of this line) so all versions of vi before 3.7 don't handle
                    822: # <xenl> right on vt100. The correct way to handle <xenl> is when
                    823: # you output the char in column 80, immediately output CR LF
                    824: # and then assume you are in column 1 of the next line. If <xenl>
                    825: # is on, am should be on too.
                    826: #
                    827: # I assume you have smooth scroll off or are at a slow enough baud
                    828: # rate that it doesn't matter (1200? or less). Also this assumes
                    829: # that you set auto-nl to "on", if you set it off use vt100-nam
                    830: # below.
                    831: #
                    832: # The padding requirements listed here are guesses. It is strongly
                    833: # recommended that xon/xoff be enabled, as this is assumed here.
                    834: #
                    835: # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
                    836: # tab settings are in non-volatile memory and don't need to be
                    837: # reset upon login. Also setting the number of columns glitches
                    838: # the screen annoyingly. You can type "reset" to get them set.
                    839: #
                    840: # Here's a diagram of the VT100 keypad keys with their bindings.
                    841: # The top line is the name of the key (some DEC keyboards have the keys
                    842: # labelled somewhat differently, like GOLD instead of PF1, but this is
                    843: # the most "official" name).  The second line is the escape sequence it
                    844: # generates in Application Keypad mode (where "$" means the ESC
                    845: # character).  The third line contains two items, first the mapping of
                    846: # the key in terminfo, and then in termcap.
                    847: #   _______________________________________
                    848: #  |   PF1   |   PF2   |   PF3   |   PF4   |
                    849: #  |   $OP   |   $OQ   |   $OR   |   $OS   |
                    850: #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
                    851: #  |    7         8         9         -    |
                    852: #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
                    853: #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
                    854: #  |    4    |    5    |    6    |    ,    |
                    855: #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
                    856: #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
                    857: #  |    1    |    2    |    3    |         |
                    858: #  |   $Oq   |   $Or   |   $Os   |  enter  |
                    859: #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
                    860: #  |         0         |   .     |         |
                    861: #  |        $Op        |  $On    |         |
                    862: #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
                    863: #
                    864: # And here, for those of you with orphaned VT100s lacking documentation, is
                    865: # a description of the soft switches invoked when you do `Set Up'.
                    866: #
                    867: #  Scroll 0-Jump               Shifted 3   0-#
                    868: #  |      1-Smooth             |           1-British pound sign
                    869: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                    870: #  | |          1-On           | |           1-On
                    871: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                    872: #  | | |      1-Light Bkg      | | |        1-On
                    873: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                    874: #  | | | |      1-Block        | | | |         1-On
                    875: #  | | | |                     | | | |
                    876: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                    877: #                | | | |                     | | | |
                    878: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                    879: #                | | |               1-On    | | |       1-50 Hz
                    880: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                    881: #                | |           1-ANSI        | |                1-8 Bits
                    882: #                | Keyclick 0-Off            | Parity 0-Off
                    883: #                |          1-On             |        1-On
                    884: #                Margin Bell 0-Off           Parity Sense 0-Odd
                    885: #                            1-On                         1-Even
                    886: #
                    887: # The following SET-UP modes are assumed for normal operation:
                    888: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                    889: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                    890: # Other SET-UP modes may be set for operator convenience or communication
                    891: # requirements; I recommend
                    892: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                    893: # Unless you have a graphics add-on such as Digital Engineering's VT640
                    894: # (and even then, whenever it can be arranged!) you should set
                    895: #      INTERLACE_OFF
                    896: #
                    897: # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
                    898: vt100|vt100-am|dec vt100 (w/advanced video),
                    899:        OTbs, am, msgr, xenl, xon,
                    900:        cols#80, lines#24, it#8, vt#3,
                    901:        cr=^M, cud1=^J, ind=^J, bel=^G, clear=\E[H\E[J$<50>, cub1=^H,
                    902:        cup=\E[%i%p1%d;%p2%dH$<5>, cuf1=\E[C$<2>, cuu1=\E[A$<2>,
                    903:        el=\E[K$<3>, el1=\E[1K$<3>, ed=\E[J$<50>, cud=\E[%p1%dB,
                    904:        cuu=\E[%p1%dA, cub=\E[%p1%dD, cuf=\E[%p1%dC,
                    905:        rmso=\E[m$<2>, smso=\E[7m$<2>, smul=\E[4m$<2>, rmul=\E[m$<2>,
                    906:        bold=\E[1m$<2>, rev=\E[7m$<2>, blink=\E[5m$<2>, sgr0=\E[m^O$<2>,
                    907:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
                    908:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                    909:        enacs=\E(B\E)0, smacs=^N, rmacs=^O,
                    910:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                    911:        tbc=\E[3g, hts=\EH, home=\E[H, ht=^I, ri=\EM$<5>,
                    912:        kcuu1=\EOA, kcud1=\EOB, kcuf1=\EOC, kcub1=\EOD, kbs=^H,
                    913:        smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
                    914:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                    915:        kf9=\EOw, kf10=\EOx, kf0=\EOy,
                    916:        kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
                    917:        ka1=\EOq, kb2=\EOr, ka3=\EOs,
                    918:        kc1=\EOp, kc3=\EOn, kent=\EOM,
                    919:        sc=\E7, rc=\E8, csr=\E[%i%p1%d;%p2%dr,
                    920:        rmam=\E[?7l, smam=\E[?7h,
                    921: vt100nam|vt100-nam|vt100 no automargins,
                    922:        am@, xenl@, use=vt100-am,
                    923: vt100-vb|dec vt100 (w/advanced video) & no beep,
                    924:        flash=\E[?5h\E[?5l, bel@,
                    925:        use=vt100,
                    926:
                    927: # Ordinary vt100 in 132 column ("wide") mode.
                    928: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
                    929:        cols#132, lines#24, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h,
                    930:        use=vt100-am,
                    931: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
                    932:        cols#132, lines#14, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, vt@,
                    933:        use=vt100-nam,
                    934:
                    935: # vt100 with no advanced video.
                    936: vt100-nav|vt100 without advanced video option,
                    937:        sgr@, smso=\E[7m, rmso=\E[m, xmc#1,
                    938:        smul@, rmul@, bold@, rev@, blink@, sgr0@, use=vt100,
                    939: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
                    940:        lines#14, cols#132, use=vt100-nav,
                    941:
                    942: # vt100 with one of the 24 lines used as a status line.
                    943: # We put the status line on the top.
                    944: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
                    945:        lines#23, is2=\E7\E[2;24r\E8, clear=\E[2;1H\E[J$<50>, home=\E[2;1H,
                    946:        dsl=\E7\E[1;24r\E8,
                    947:        cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, csr=\E[%i%i%p1%d;%p2%dr,
                    948:        hs, eslok, tsl=\E7\E[1;%p1%dH\E[1K, fsl=\E8, use=vt100-am,
                    949:
                    950: # Status line at bottom.
                    951: # Clearing the screen will clobber status line.
                    952: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
                    953:        lines#23, is2=\E[1;23r\E[23;1H, dsl=\E7\E[1;24r\E8,
                    954:        hs, eslok, tsl=\E7\E[24;%p1%dH\E[1K, fsl=\E8, use=vt100-am,
                    955:
                    956: # Most of the `vt100' emulators out there actually emulate a vt102
                    957: # This entry (or vt102-nsgr) is probably the right thing to use for
                    958: # these.
                    959: vt102|dec vt102,
                    960:        mir,
                    961:        dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h,
                    962:        use=vt100,
                    963: vt102-w|dec vt102 in wide mode,
                    964:        cols#132,
                    965:        rs3=\E[?3h,
                    966:        use=vt102,
                    967:
                    968: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
                    969: # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
                    970: # string in the canonical vt100 entry above leaves the screen littered
                    971: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                    972: # after highlight turnoffs.  This entry should fix that, and even leave
                    973: # ACS support working, at the cost of making multiple-highlight changes
                    974: # slightly more expensive.
                    975: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
                    976: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
                    977:        sgr@, sgr0=\E[m,
                    978:        use=vt102,
                    979:
                    980: # VT125 Graphics CRT.  Clear screen also erases graphics
                    981: vt125|vt125 graphics terminal,
                    982:        clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
                    983:
                    984: # This isn't a DEC entry, it came from University of Wisconsin.
                    985: # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
                    986: vt131|dec vt131,
                    987:        OTbs, am, xenl,
                    988:        cols#80, it#8, lines#24, vt#3,
                    989:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                    990:        clear=\E[;H\E[2J$<50/>, cr=^M,
                    991:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J,
                    992:        cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
                    993:        cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>,
                    994:        home=\E[H, ht=^I, is2=\E[1;24r\E[24;1H, kbs=^H,
                    995:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                    996:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M^J,
                    997:        rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, rmam=\E[?7l,
                    998:        rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
                    999:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1000:        sgr0=\E[m$<2/>, rmam=\E[?7h, smkx=\E[?1h\E=, smam=\E[?7h,
                   1001:        smso=\E[7m$<2/>, smul=\E[4m$<2/>,
                   1002:
                   1003: # vt132 - like vt100 but slower and has ins/del line and such.
                   1004: # I'm told that <smir>/<rmir> are backwards in the terminal from the
                   1005: # manual and from the ANSI standard, this describes the actual
                   1006: # terminal. I've never actually used a vt132 myself, so this
                   1007: # is untested.
                   1008: #
                   1009: vt132|DEC vt132,
                   1010:        il1=\E[L$<99>, dl1=\E[M$<99>, ip=$<7>, dch1=\E[P$<7>, rmir=\E[4h,
                   1011:        smir=\E[4l, xenl, ind=^J$<30>, use=vt100,
                   1012:
                   1013: # vt220:
                   1014: # This vt220 description maps F5--F9 to the second block of function keys
                   1015: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1016: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1017: # PF1--PF4 are used as F1--F4.
                   1018: #
                   1019: vt220|vt200|DEC VT220 in vt100 emulation mode,
                   1020:        OTbs, OTpt, am, mir, xenl, xon,
                   1021:        cols#80, lines#24, vt#3,
                   1022:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1023:        OTnl=^J, bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, clear=\E[H\E[2J$<50>,
                   1024:        cr=\r, csr=\E[%i%p1%d;%p2%dr, cub1=\b, cud1=\E[B, cuf1=\E[C,
                   1025:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1026:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=\t,
                   1027:        if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
1.3       millert  1028:        is2=\E[1;24r\E[24;1H, kbs=\177, kcub1=\EOD, kcud1=\EOB,
                   1029:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
1.1       millert  1030:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~,
                   1031:        kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, kf10=\E[29~, rc=\E8,
                   1032:        rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, ri=\EM$<14/>,
                   1033:        rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   1034:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1035:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1036:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
                   1037:        smul=\E[4m,
                   1038:        khome=\E[1~, kend=\E[4~, kpp=\E[5~, knp=\E[6~, kdch1=\E[3~, kich1=\E[2~,
                   1039:        civis=\E[?25l,cnorm=\E[?25h,
                   1040: vt220-w|vt200-w|DEC vt220 in wide mode,
                   1041:        cols#132,
                   1042:        rs3=\E[?3h,
                   1043:        use=vt220,
                   1044:
                   1045: #
                   1046: # vt220d:
                   1047: # This vt220 description regards F6--F10 as the second block of function keys
                   1048: # at the top of the keyboard.  This mapping follows the description given
                   1049: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1050: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1051: # See vt220 for an alternate mapping.
                   1052: #
                   1053: vt220d|DEC VT220 in vt100 mode with DEC function key labeling,
                   1054:        kf5@, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~,
                   1055:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   1056:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
                   1057:        use=vt220,
                   1058:
                   1059: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
                   1060:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h,
                   1061:        am@, use=vt220,
                   1062:
                   1063: # This is misnamed (see xterm-8bit for an example of 8-bit controls)
                   1064: vt220-8|dec vt220 8 bit terminal,
                   1065:        OTbs, am, mc5i, mir, msgr, xenl, xon,
                   1066:        cols#80, it#8, lines#24,
                   1067:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1068:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   1069:        cr=\r, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
                   1070:        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
                   1071:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1072:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1073:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   1074:        enacs=\E)0, flash=\E[?5h$<200/>\E[?5l, home=\E[H,
                   1075:        ht=\t, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
1.3       millert  1076:        ind=\ED, is2=\E[?7h\E[>\E[?1h\E\sF\E[?4l, kbs=\177,
                   1077:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.1       millert  1078:        kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   1079:        kf13=\E[25~, kf14=\E[26~, kf17=\E[31~, kf18=\E[32~,
                   1080:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
                   1081:        kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   1082:        kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
                   1083:        knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
                   1084:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i,
                   1085:        mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
                   1086:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
                   1087:        rmso=\E[27m, rmul=\E[24m, rs1=\E[?3l, sc=\E7,
                   1088:        sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   1089:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1090:        if=/usr/share/tabset/vt100, khome=\E[H,
                   1091:
                   1092: # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
                   1093: # (not an official DEC entry!)
                   1094: # The problem with real vt220 terminals is they don't send escapes when in
                   1095: # in vt220 mode.  This can be gotten around two ways.  1> don't send
                   1096: # escapes or 2> put the vt220 into vt100 mode and use all the nifty
                   1097: # features of vt100 advanced video which it then has.
                   1098: #
                   1099: # This entry takes the view of putting a vt220 into vt100 mode so
                   1100: # you can use the escape key in emacs and everything else which needs it.
                   1101: #
                   1102: # You probably don't want to use this on a VMS machine since VMS will think
                   1103: # it has a vt220 and will get fouled up coming out of emacs
                   1104: #
                   1105: # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
                   1106: vt200-js|vt220-js|dec vt200 series with jump scroll,
                   1107:        am,
                   1108:        cols#80,
                   1109:        bel=^G, clear=\E[H\E[J, cr=^M,
                   1110:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J,
                   1111:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   1112:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   1113:        il1=\E[L, ind=\ED,
                   1114:        is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m,
1.3       millert  1115:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
1.1       millert  1116:        kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   1117:        nel=^M\ED, rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=,
                   1118:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m$<5/>,
                   1119:        rmul=\E[24m, rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   1120:        smdc=, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>,
                   1121:        smul=\E[4m,
                   1122:
                   1123: # This was DEC's vt320.  Use the purpose-built one below instead
                   1124: #vt320|DEC VT320 in vt100 emulation mode,
                   1125: #      use=vt220,
                   1126:
                   1127: #
                   1128: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1129: #
                   1130: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
                   1131:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h,
                   1132:        am@, use=vt220,
                   1133:
                   1134: # These entries are not DEC's official ones, they were purpose-built for the
                   1135: # VT320.  Here are the designer's notes:
                   1136: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1137: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
                   1138: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
                   1139: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1140: # tab usually use <knxt> instead...
                   1141: # kprv is same as tab - Backtab is useless...
                   1142: # I left out <sgr> because of its RIDICULOUS complexity,
                   1143: # and the resulting fact that it causes the termcap translation of the entry
                   1144: # to SMASH the 1k-barrier...
                   1145: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1146: # (vt320: uncommented <fsl> --esr)
                   1147: vt320|vt300|dec vt320 7 bit terminal,
                   1148:        am, eslok, hs, mir, msgr, xenl,
                   1149:        cols#80, lines#24, wsl#80,
                   1150:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1151:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[2J,
                   1152:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
                   1153:        cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1154:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP,
                   1155:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, .dsl=\E[1$}\E[H\E[K\E[0$},
                   1156:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, home=\E[H,
                   1157:        ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   1158:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1159:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kc1=\EOq, kc3=\EOs, kbs=\177,
                   1160:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
                   1161:        kel=\E[4~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   1162:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~,
                   1163:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   1164:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
                   1165:        khome=\E[1~, kich1=\E[2~, knxt=^I, knp=\E[6~, kpp=\E[5~, kprv=\E[Z,
                   1166:        kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, rc=\E8,
                   1167:        rev=\E[7m, ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
                   1168:        rmso=\E[m, rmul=\E[m, rf=/usr/share/tabset/vt300,
                   1169:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1170:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   1171:        smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[H\E[K,
                   1172: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
                   1173:        am@,
                   1174:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1175:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1176:        use=vt320,
                   1177: # We have to init 132-col mode, not 80-col mode.
                   1178: vt320-w|vt300-w|dec vt320 wide 7 bit terminal,
                   1179:        cols#132,
                   1180:        wsl#132,
                   1181:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1182:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1183:        use=vt320,
                   1184: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
                   1185:        am@,
                   1186:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1187:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   1188:        use=vt320-w,
                   1189:
                   1190: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1191: #   which are pretty much a superset of the VT320.  They have the
                   1192: #   host writable status line, yet another different DRCS matrix size,
                   1193: #   and such, but they add the DEC Technical character set, Multiple text
                   1194: #   pages, selectable length pages, and the like.  The difference between
                   1195: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1196: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1197: #   support VT131 and ANSI block mode, but as with much of these things,
                   1198: #   termcap/terminfo doesn't deal with these features.
                   1199: #
                   1200: # Note that this entry is are set up in what was the standard way for GNU
                   1201: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1202: # keys were switched into application mode at the same time the numeric pad
                   1203: # is switched into application mode.  This changes the definitions of the
                   1204: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1205: # your termcap or terminfo entry,
                   1206: #
                   1207: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1208: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1209: # also, added <rmam>/<smam> based on the init string -- esr)
                   1210: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
                   1211:        am, eslok, hs, mir, msgr, xenl, xon,
                   1212:        cols#80, it#8, lines#24, vt#3,
                   1213:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1214:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1215:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   1216:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1217:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1218:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1219:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P,
                   1220:        dl=\E[%p1%dM, dl1=\E[M,
                   1221:        dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
                   1222:        flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H,
                   1223:        ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                   1224:        il1=\E[L, ind=\ED,
                   1225:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.3       millert  1226:        kbs=\177 kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
1.1       millert  1227:        kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   1228:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1229:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, nel=^M\ED,
                   1230:        rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300,
                   1231:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
                   1232:        rmso=\E[27m, rmul=\E[24m, rs1=\E[?3l, sc=\E7,
                   1233:        sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   1234:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1235:        tsl=\E[2$~\E[1$}\E[1;%dH,
                   1236:
                   1237: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1238: # (originally written with vt420 as its primary name, and usable for it).
                   1239: #
                   1240: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1241: #    text pages and long text pages with selectable length of the vt340, along
                   1242: #    with left and right margins, rectangular area text copy, fill, and erase
                   1243: #    operations, selected region character attribute change operations,
                   1244: #    page memory and rectangle checksums, insert/delete column, reception
                   1245: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1246: #    can only take advantage of a few of these added features.
                   1247: #
                   1248: # Note that this entry is are set up in what was the standard way for GNU
                   1249: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1250: # keys were switched into application mode at the same time the numeric pad
                   1251: # is switched into application mode.  This changes the definitions of the
                   1252: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1253: # your termcap entry,
                   1254: #
                   1255: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1256: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1257: # also, added <rmam>/<smam> based on the init string -- esr)
                   1258: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
                   1259:        am, eslok, hs, mir, msgr, xenl, xon,
                   1260:        cols#80, it#8, lines#24, vt#3,
                   1261:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1262:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1263:        clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
                   1264:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1265:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1266:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1267:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P,
                   1268:        dl=\E[%p1%dM, dl1=\E[M,
                   1269:        dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
                   1270:        el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
                   1271:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   1272:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   1273:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.3       millert  1274:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
1.1       millert  1275:        kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   1276:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1277:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, nel=^M\ED,
                   1278:        rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300,
                   1279:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
                   1280:        rmso=\E[27m, rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h,
                   1281:        sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   1282:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1283:        tsl=\E[2$~\E[1$}\E[1;%dH,
                   1284:
                   1285: # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
                   1286: # a missing <sc> -- esr)
                   1287: vt420|DEC VT420,
                   1288:        am, mir, xenl, xon,
                   1289:        cols#80, lines#24, vt#3,
                   1290:        bel=^G, blink=\E[5m$<2>,
                   1291:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1292:        bold=\E[1m$<2>, clear=\E[H\E[2J$<50>, cr=\r,
                   1293:        csr=\E[%i%p1%d;%p2%dr, cub1=\b, cud1=\E[B, cuf1=\E[C,
                   1294:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1295:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=\t,
                   1296:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1297:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p,
1.3       millert  1298:        kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1.1       millert  1299:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
                   1300:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, kf10=\E[29~,
                   1301:        kfnd=\E[1~, kich1=\E[2~, kdch1=\E[3~,
                   1302:        knp=\E[6~, kpp=\E[5~, kslt=\E[4~,
                   1303:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, ri=\EM,
                   1304:        rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   1305:        rs3=\E[?67h\E[64;1"p,
                   1306:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1307:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1308:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
                   1309:        smul=\E[4m, smkx=\E=, rmkx=\E>,
                   1310:
                   1311: #
                   1312: # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
                   1313: # takes two parameters, the key and the string.  Translating the key is
                   1314: # straightforward (keys 1-5 are not defined on real terminals, though some
                   1315: # emulators define these):
                   1316: #
                   1317: #               if (key < 16) then  value = key;
                   1318: #               else if (key < 21) then value = key + 1;
                   1319: #               else if (key < 25) then value = key + 2;
                   1320: #               else if (key < 27) then value = key + 3;
                   1321: #               else if (key < 30) then value = key + 4;
                   1322: #               else value = key + 5;
                   1323: #
                   1324: # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
                   1325: # There's no provision in terminfo for emitting a string in this format, so the
                   1326: # application has to know it.
                   1327: #
                   1328: vt420pc|DEC VT420 w/PC keyboard,
                   1329:        pctrm=USR_TERM:vt420pcdos:,
                   1330:        kdch1=^?, khome=\E[H, kend=\E[4~,
                   1331:        kf1=\E[11~,  kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~,
                   1332:        kf6=\E[17~,  kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~,
                   1333:        kf11=\E[23~, kf12=\E[24~,
                   1334:        kf13=\E[11;2~, kf14=\E[12;2~, kf15=\E[13;2~, kf16=\E[14;2~,
                   1335:        kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf20=\E[19;2~,
                   1336:        kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~,
                   1337:        kf25=\E[23~,   kf26=\E[24~,   kf27=\E[25~,   kf28=\E[26~,
                   1338:        kf29=\E[28~,   kf30=\E[29~,   kf31=\E[31~,   kf32=\E[32~,
                   1339:        kf33=\E[33~,   kf34=\E[34~,   kf35=\E[35~,   kf36=\E[36~,
                   1340:        kf37=\E[23;2~, kf38=\E[24;2~, kf39=\E[25;2~, kf40=\E[26;2~,
                   1341:        kf41=\E[28;2~, kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
                   1342:        kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, kf48=\E[36;2~,
                   1343:        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\\,
                   1344:        use=vt420,
                   1345:
                   1346: vt420pcdos|DEC VT420 w/PC for DOS Merge,
                   1347:        pctrm@,
                   1348:        smsc=\E[?1;2r\E[34h,
                   1349:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   1350:        dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;,
                   1351:        sgr@,
                   1352:        sgr0=\E[m,
                   1353:        lines#25,
                   1354:        use=vt420pc,
                   1355:
                   1356: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
                   1357:        kdch1=^?, khome=\E[H,
                   1358:        kf1=\E[11~,  kf2=\E[12~,  kf3=\E[13~,  kf4=\E[14~,  kf5=\E[15~,
                   1359:        kf6=\E[17~,  kf7=\E[18~,  kf8=\E[19~,  kf9=\E[20~,  kf10=\E[21~,
                   1360:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   1361:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
                   1362:        lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
                   1363:        use=vt420,
                   1364:
                   1365: vt510|DEC VT510,
                   1366:        use=vt420,
                   1367: vt510pc|DEC VT510 w/PC keyboard,
                   1368:        use=vt420pc,
                   1369: vt510pcdos|DEC VT510 w/PC for DOS Merge,
                   1370:        use=vt420pcdos,
                   1371:
                   1372: # VT520/VT525
                   1373: #
                   1374: # The VT520 is a monochrome text terminal capable of managing up to
                   1375: # four independent sessions in the terminal.  It has multiple ANSI
                   1376: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1377: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1378: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1379: #
                   1380: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1381: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1382: # terminal mode is being used.  If Set-Up has been disabled or
                   1383: # assigned to an unknown key, Set-Up may be entered by pressing
                   1384: # [F3] as the first key after power up, regardless of keyboard type.
                   1385: # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
                   1386: vt520|DEC VT520,
                   1387:        am, mir, xenl, xon,
                   1388:        cols#80, lines#24, vt#3,
                   1389:        bel=^G, blink=\E[5m$<2>,
                   1390:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1391:        bold=\E[1m$<2>, clear=\E[H\E[2J$<50>, cr=\r,
                   1392:        csr=\E[%i%p1%d;%p2%dr, cub1=\b, cud1=\E[B, cuf1=\E[C,
                   1393:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1394:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=\t,
                   1395:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1396:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p,
1.3       millert  1397:        kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1.1       millert  1398:        kf0=\E[29~, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
                   1399:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, kf10=\E[29~,
                   1400:        kfnd=\E[1~, kich1=\E[2~, kdch1=\E[3~,
                   1401:        knp=\E[6~, kpp=\E[5~, kslt=\E[4~,
                   1402:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, ri=\EM,
                   1403:        rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   1404:        rs3=\E[?67h\E[64;1"p,
                   1405:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1406:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1407:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
                   1408:        smul=\E[4m,
                   1409:        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\\,
                   1410:
                   1411: # (vt525: I added <rmam>/<smam> based on the init string;
                   1412: # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
                   1413: vt525|DEC VT525,
                   1414:        am, mir, xenl, xon,
                   1415:        cols#80, lines#24, vt#3,
                   1416:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1417:        bel=^G, blink=\E[5m$<2>,
                   1418:        bold=\E[1m$<2>, clear=\E[H\E[2J$<50>, cr=\r,
                   1419:        csr=\E[%i%p1%d;%p2%dr, cub1=\b, cud1=\E[B, cuf1=\E[C,
                   1420:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1421:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=\t,
                   1422:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
                   1423:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p,
1.3       millert  1424:        kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1.1       millert  1425:        kf0=\E[29~, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
                   1426:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, kf10=\E[29~,
                   1427:        kfnd=\E[1~, kich1=\E[2~, kdch1=\E[3~,
                   1428:        knp=\E[6~, kpp=\E[5~, kslt=\E[4~,
                   1429:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, ri=\EM,
                   1430:        rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   1431:        rs3=\E[?67h\E[64;1"p,
                   1432:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1433:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1434:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
                   1435:        smul=\E[4m,
                   1436:        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\\,
                   1437:
                   1438: #### VT100 emulations
                   1439: #
                   1440:
                   1441: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   1442: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
                   1443: # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
                   1444: # that this works best with a stock vt100 entry.
                   1445: dec-vt100|EWAN telnet's vt100 emulation,
                   1446:        use=vt100,
                   1447:
                   1448: # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
                   1449: dec-vt220|DOS tnvt200 terminal emulator,
                   1450:        am@, use=vt220,
                   1451:
                   1452: # NCSA telnet  is one of  the most used telnet  clients for the Macintosh.
                   1453: # It  has  been maintained  until  recently   by  the National  Center for
                   1454: # Supercomputer Applications, and it is feature rich, stable and free.  It
                   1455: # can be downloaded from www.ncsa.edu.  This  terminfo description file is
                   1456: # based on xterm-vt220, xterm+sl, and the docs at NCSA.  It works well.
                   1457: #
                   1458: #       NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
                   1459: #       The terminal options should be set as follows:
                   1460: #         Xterm sequences ON
                   1461: #         use VT wrap mode ON
                   1462: #         use Emacs arrow keys OFF
                   1463: #         CTRL-COMND is Emacs meta ON
                   1464: #         8 bit mode ON
                   1465: #         answerback string: "ncsa-vt220-8"
                   1466: #         setup keys: all disabled
                   1467: #
                   1468: #       Application mode is not used
                   1469: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 3 Aug 1998
                   1470: ncsa-m|ncsa-vt220|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
                   1471:         am, hs, km, mir, msgr, xenl,
                   1472:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=^G,
                   1473:        blink=\e[5m, bold=\e[1m, civis=\e[?25l, clear=\e[H\e[2J,
                   1474:        cnorm=\e[?25h, cr=^M, csr=\e[%i%p1%d;%p2%dr, cub1=^H,
                   1475:        cub=\e[%p1%dD, cud1=^J, cud=\e[%p1%dB, cuf1=\e[C, cuf=\e[%p1%dC,
                   1476:        cup=\e[%i%p1%d;%p2%dH, cuu1=\e[A, cuu=\e[%p1%dA, dch1=\e[P,
                   1477:        dch=\e[%p1%dP, dl1=\e[M, dl=\e[%p1%dM, dsl=\e]0;^G, ed=\e[J,
                   1478:        el=\e[K, enacs=\e)0, fsl=^G, home=\e[H, ht=^I,
                   1479:        if=/usr/share/tabset/vt100, il1=\e[L, il=\e[%p1%dL, ind=^J,
                   1480:        is2=\e7\e[r\e[m\e[?7h\e[?1;4;6l\e[4l\e8\e>, kbs=^H, kcub1=\e[D,
                   1481:        kcud1=\e[B, kcuf1=\e[C, kcuu1=\e[A, kdch1=\e[4~, kf10=\e[28~,
                   1482:        kf11=\e[29~, kf12=\e[31~, kf13=\e[32~, kf14=\e[33~, kf15=\e[34~,
                   1483:        kf1=\e[17~, kf2=\e[18, kf3=\e[19~, kf4=\e[20~, kf5=\e[21~,
                   1484:        kf6=\e23~, kf7=\e[24~, kf8=\e[25~, kf9=\e[26~, khome=\e[2~,
                   1485:        kich1=\e[1~, kll=\e[5~, knp=\e[6~, kpp=\e[3~, rc=\e8, rev=\e[7m,
                   1486:        rf=/usr/share/tabset/vt100, ri=\eM, rmacs=^O, rmam=\e[?7l,
                   1487:        rmcup=\e[2J\e[?47l\e8, rmir=\e[4l, .rmkx=\e>, rmso=\e[27m,
                   1488:        rmul=\e[24m, rs2=\e7\e[r\e[m\e[?7h\e[?1;4;6l\e[4l\e8\e>, sc=\e7,
                   1489:        sgr0=\e[m,
                   1490:        sgr=\e[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\e(0%e
                   1491: \e(B%;,
                   1492:        smacs=^N,
                   1493:        smam=\e[?7h',
                   1494:        smcup=\e7\e[?47h,
                   1495:        smir=\e[4h,
                   1496:        .smkx=\e=,
                   1497:        smso=\e[7m,
                   1498:        smul=\e[4m,
                   1499:        tbc=\e[3g,
                   1500:        tsl=\e]0;,
                   1501: ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
                   1502: # NCSA 2.7 has ANSI colours
                   1503: # colours collide with blinking, hence ncv
                   1504:         colors#8,
                   1505:         ncv#8,
                   1506:         pairs#64,
                   1507:         op=\e[39;49m,
                   1508:         setab=\e[4%p1%dm,
                   1509:         setaf=\e[3%p1%dm,
                   1510:         use=ncsa-m,
                   1511: ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
                   1512: # colours, no status line
                   1513:         hs@, tsl@, fsl@, dsl@, use=ncsa,
                   1514: ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
                   1515: # no colours, no status line
                   1516:         hs@, tsl@, fsl@, dsl@, use=ncsa-m,
                   1517:
                   1518: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   1519: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   1520: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   1521: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   1522: # I can send the address if requested.
                   1523: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
                   1524: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1525: z340|zstem vt340 terminal emulator 132col 42line,
                   1526:        lines#42,
                   1527:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   1528:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   1529:        use=vt320-w,
                   1530: z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
                   1531:        am@,
                   1532:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   1533:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   1534:        use=z340,
                   1535:
                   1536: #### X terminal emulators
                   1537: #
                   1538: # You can add the following line to your .Xdefaults to change the terminal type
                   1539: # set by the xterms you start up to my-xterm:
                   1540: #
                   1541: # *termName:  my-xterm
                   1542: #
                   1543: # System administrators can change the default entry for xterm instances
                   1544: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
                   1545: # case, xterm will detect and reject an invalid terminal type, falling back
                   1546: # to the default of xterm.
                   1547: #
                   1548:
                   1549: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
                   1550: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
                   1551: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   1552: # as these seem not to work -- esr)
                   1553: x10term|vs100-x10|xterm terminal emulator (X10 window system),
                   1554:        OTbs, am, km, mir, msgr, xenl, xon,
                   1555:        cols#80, it#8, lines#65,
                   1556:        bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
                   1557:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   1558:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1559:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   1560:        il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
                   1561:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   1562:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
                   1563:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   1564:        sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   1565:        smso=\E[7m, smul=\E[4m,
                   1566: # Compatible with the R5 xterm
                   1567: # (from the XFree86 3.2 distribution, <blink=@> removed)
                   1568: xterm-r5|xterm R5 version,
                   1569:        OTbs, am, km, msgr, xenl,
                   1570:        cols#80, it#8, lines#24,
                   1571:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   1572:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1573:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1574:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1575:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1576:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   1577:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
                   1578:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
1.8     ! millert  1579:        kdl1=\E[31~, kel=\E[8~, kf0=\EOq, kf1=\E[11~, kf10=\E[21~,
        !          1580:        kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~,
        !          1581:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
        !          1582:        kf9=\E[20~, khome=\E[7~, kich1=\E[2~, kil1=\E[30~,
        !          1583:        knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM,
        !          1584:        rmkx=\E[?1l\E>, rmso=\E[m,
        !          1585:        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, sc=\E7,
1.1       millert  1586:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
1.8     ! millert  1587:        sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, tbc=\E[3g,
1.1       millert  1588: # Compatible with the R6 xterm
                   1589: # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
                   1590: xterm-r6|xterm-old|xterm X11R6 version,
                   1591:        OTbs, am, km, mir, msgr, xenl,
                   1592:        cols#80, it#8, lines#24,
1.8     ! millert  1593:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  1594:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   1595:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1596:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1597:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1598:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1599:        el=\E[K, enacs=\E)0, home=\E[H, ht=^I, il=\E[%p1%dL,
                   1600:        il1=\E[L, ind=^J,
                   1601:        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H,
                   1602:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.8     ! millert  1603:        kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
        !          1604:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
        !          1605:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
        !          1606:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
        !          1607:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
        !          1608:        kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
        !          1609:        memu=\Em, rev=\E[7m, ri=\EM, rmacs=^O,
        !          1610:        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
        !          1611:        rmso=\E[m, rmul=\E[m,
1.7       millert  1612:        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
1.1       millert  1613:        sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
                   1614:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1615: # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
                   1616: # The name has been changed and some aliases have been removed.
                   1617: xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
                   1618:        OTbs, am, bce, km, mir, msgr, xenl,
                   1619:        colors#8, cols#80, it#8, lines#24, pairs#64,
1.8     ! millert  1620:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  1621:        bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   1622:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   1623:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1624:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1625:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1626:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1627:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   1628:        enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,
                   1629:        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   1630:        il=\E[%p1%dL, il1=\E[L, ind=^J,
                   1631:        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
                   1632:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq,
                   1633:        kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1634:        kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
                   1635:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1636:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   1637:        kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
                   1638:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   1639:        kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
                   1640:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
                   1641:        memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
                   1642:        rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
                   1643:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O,
                   1644:        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
                   1645:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                   1646:        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   1647:        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   1648:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1649:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
                   1650:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
1.8     ! millert  1651:        tbc=\E[3g, vpa=\E[%i%p1%dd,
1.1       millert  1652:
                   1653: # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
                   1654: # codes for F1-F4 except while in VT220 mode.
                   1655: xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
                   1656:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   1657:        use=xterm-xf86-v32,
                   1658:
1.8     ! millert  1659: # This beta version will probably be released in XFree86 4.0 in 1998.
1.1       millert  1660: # Besides providing printer support, it exploits a new feature that allows
                   1661: # xterm to use terminfo-based descriptions with the titeInhibit resource.
1.8     ! millert  1662: xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
1.1       millert  1663:        mc5i,
1.8     ! millert  1664:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l,
        !          1665:        rs1=\Ec, smcup=\E[?1048h\E[?1047h,
1.1       millert  1666:        use=xterm-xf86-v33,
                   1667:
                   1668: # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
1.8     ! millert  1669: xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
        !          1670:        rmso=\E[m, rmul=\E[m,
1.1       millert  1671:        use=xterm-xf86-v33,
                   1672:
1.8     ! millert  1673: # This is one of the variants from XFree86 3.3 xterm, updated for 4.0
        !          1674: # From Thomas S. Dickey <dickey@clark.net>, 11 May 1998
1.1       millert  1675: xterm-16color|xterm with 16 colors like aixterm,
                   1676:        colors#16, ncv#32, pairs#256,
1.8     ! millert  1677:        setab@, setaf@,
1.1       millert  1678:        setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
                   1679:        setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
                   1680:        use=xterm-xf86-v40,
                   1681:
                   1682: # This is another variant, for XFree86 4.0 xterm (T.Dickey)
                   1683: # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
                   1684: # To use it, your decTerminalID resource must be set to 200 or above.
                   1685: #
                   1686: #      HTS     \E H    \210
                   1687: #      RI      \E M    \215
                   1688: #      SS3     \E O    \217
                   1689: #      CSI     \E [    \233
                   1690: #
                   1691: xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
                   1692:        OTbs, am, bce, km, mc5i, mir, msgr, xenl,
                   1693:        colors#8, cols#80, it#8, lines#24, pairs#64,
1.8     ! millert  1694:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
        !          1695:        bel=^G, bold=\2331m, cbt=\233Z, civis=\233?25l,
        !          1696:        clear=\233H\2332J, cnorm=\233?25h, cr=^M,
1.1       millert  1697:        csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
                   1698:        cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
                   1699:        cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
                   1700:        cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P,
                   1701:        dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J,
                   1702:        el=\233K, el1=\2331K, enacs=\E(B\E)0,
                   1703:        flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG,
1.8     ! millert  1704:        ht=^I, hts=\210, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL,
        !          1705:        il1=\233L, ind=^J,
1.1       millert  1706:        is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
                   1707:        ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H,
                   1708:        kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B,
1.8     ! millert  1709:        kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\217F,
1.1       millert  1710:        kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
                   1711:        kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
                   1712:        kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
                   1713:        kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
                   1714:        kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
1.8     ! millert  1715:        kf9=\23320~, kfnd=\2331~, khome=\217H, kich1=\2332~,
1.1       millert  1716:        kmous=\233M, knp=\2336~, kpp=\2335~, kslt=\2334~,
                   1717:        mc0=\233i, mc4=\2334i, mc5=\2335i, meml=\El, memu=\Em,
                   1718:        op=\23339;49m, rc=\E8, rev=\2337m, ri=\215, rmacs=^O,
1.8     ! millert  1719:        rmam=\233?7l, rmcup=\2332J\233?47l\E8, rmir=\2334l,
1.1       millert  1720:        rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, rs1=\Ec,
                   1721:        rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
                   1722:        sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
                   1723:        setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   1724:        setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1.8     ! millert  1725:        sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
        !          1726:        sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\E7\233?47h,
1.1       millert  1727:        smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m,
1.8     ! millert  1728:        tbc=\2333g, vpa=\233%i%p1%dd,
1.1       millert  1729:
1.8     ! millert  1730: # This is xterm for ncurses. It mainly adds mappings for more high-half
        !          1731: # characters.  Note that these will only work for fixed-width fonts.
        !          1732: xterm|vs100|xterms|xterm terminal emulator (X Window System),
        !          1733:        acsc=++\,\,--..00``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  1734:        kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                   1735:        use=xterm-r6,
                   1736:
                   1737: # These entries allow access to the X titlebar and icon name as a status line.
                   1738: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   1739: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   1740: # with it.
                   1741: xterm+sl|access X title line and icon name,
                   1742:        hs,
                   1743:        wsl#40,
                   1744:        dsl=\E]0;\007, fsl=^G, tsl=\E]0;,
                   1745: xterm+sl-twm|access X title line (pacify twm-descended window managers),
                   1746:        hs,
                   1747:        wsl#40,
                   1748:        dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
                   1749:
                   1750: #
                   1751: # The following xterm variants don't depend on your base version
                   1752: #
                   1753: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
                   1754:        smso=\E[1m,
                   1755:        use=xterm,
                   1756: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
                   1757: # (kterm should not invoke DEC Graphics as the alternate character set
                   1758: #  -- Kenji Rikitake)
                   1759: kterm|kterm kanji terminal emulator (X window system),
                   1760:        eslok, hs,
                   1761:        acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F,
                   1762:        kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@,
                   1763:        tsl=\E[?E\E[?%i%dT,
                   1764:        use=xterm-r6, use=klone+color,
                   1765: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1766: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
                   1767:        ich@, ich1@,
                   1768:        use=xterm,
                   1769: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   1770: xterm1|xterm terminal emulator ignoring the alternate screen buffer,
                   1771:        rmcup@, smcup@,
                   1772:        use=xterm,
                   1773:
                   1774: # This describes the capabilities of color_xterm, an xterm variant from
                   1775: # before ECMA-64 color support was folded into the main-line xterm release.
                   1776: # This entry is straight from color_xterm's maintainer.
                   1777: # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
                   1778: # The README's with the distribution also say that it supports SGR 21, 24, 25
                   1779: # and 27, but they are not present in the terminfo or termcap.
                   1780: color_xterm|cx|cx100|color_xterm color terminal emulator for X,
                   1781:        OTbs, am, km, mir, msgr, xenl,
                   1782:        colors#8, cols#80, it#8, lines#65, pairs#64,
                   1783:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1784:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   1785:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1786:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1787:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1788:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1789:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
                   1790:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   1791:        is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy,
                   1792:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB,
                   1793:        kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~,
                   1794:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
                   1795:        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   1796:        kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
                   1797:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8,
                   1798:        rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
                   1799:        rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   1800:        rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
                   1801:        sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                   1802:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1803:        sgr0=\E[m, smacs=^N, smam=\E[?7h,
                   1804:        smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
                   1805:        smul=\E[4m,
                   1806:
                   1807: # The 'nxterm' distributed with Redhat Linux is a slight rehack of
                   1808: # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
                   1809: # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
                   1810: # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
                   1811: # that each of those implements the home, end, delete keys differently.
                   1812: nxterm|xterm-color|generic color xterm,
                   1813:        use=xterm-r6,
                   1814:        use=klone+color,
                   1815:        op=\E[m,
                   1816:
                   1817: # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
                   1818: # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
                   1819: # Notes:
                   1820: # rxvt 2.21b uses
                   1821: #      smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
                   1822: # but some applications don't work with that.
                   1823: # It also has an AIX extension
                   1824: #      box2=lqkxjmwuvtn,
                   1825: # and
                   1826: #      ech=\E[%p1%dX,
                   1827: # but the latter does not work correctly.
                   1828: #
                   1829: # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
                   1830: # Since rxvt is not really compatible with xterm, it should be configured as
                   1831: # "rxvt" (monochrome) and "rxvt-color".
                   1832: rxvt-basic|rxvt terminal base (X Window System),
                   1833:        am, bce, eo, km, mir, msgr, xenl, xon,
                   1834:        cols#80, it#8, lines#24,
                   1835:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1836:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1837:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   1838:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1839:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1840:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1841:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   1842:        dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   1843:        flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH,
                   1844:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   1845:        is1=\E[?47l\E=\E[?1l,
                   1846:        is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
                   1847:        kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,
                   1848:        kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H,
                   1849:        kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
                   1850:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
                   1851:        kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~,
                   1852:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1853:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   1854:        kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
                   1855:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   1856:        kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,
                   1857:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8,
                   1858:        rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
                   1859:        rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
                   1860:        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
                   1861:        rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
                   1862:        s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N,
                   1863:        smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m,
                   1864:        smul=\E[4m, tbc=\E[3g,
                   1865: rxvt|rxvt terminal emulator (X Window System),
                   1866:        colors#8, pairs#64,
                   1867:        op=\E[39;49m, setab=\E[%p1%{40}%+%dm,
                   1868:        setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic,
                   1869:
                   1870: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1871: # Here's a termcap entry I've been using for xterm_color, which comes
                   1872: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1873: # color stuff, I also have a status line defined as the window manager
                   1874: # title bar. [I have translated it to terminfo -- ESR]
                   1875: xterm-pcolor|xterm with color used for highlights and status line,
                   1876:        bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
                   1877:        smul=\E[4m\E[42m,
                   1878:        use=xterm+sl, use=xterm-r6,
                   1879:
                   1880: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
                   1881: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
                   1882: hpterm|X-hpterm|hp X11 terminal emulator,
                   1883:        am, da, db, mir, xhp,
                   1884:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
                   1885:        acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
                   1886:        cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
                   1887:        cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
                   1888:        hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
                   1889:        kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   1890:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   1891:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   1892:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   1893:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
                   1894:        memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   1895:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   1896:        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   1897:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
                   1898:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
                   1899:        rmul=\E&d@,
                   1900:        sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
                   1901:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
                   1902:        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   1903:
                   1904: # This entry describes an xterm with Sun-style function keys enabled
                   1905: # via the X resource setting "xterm*sunFunctionKeys:true"
                   1906: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   1907: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   1908: # because we want it to be seen as <kcpy>.
                   1909: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   1910: # with their Sun keyboard labels instead.
                   1911: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   1912: xterm-sun|xterm with sunFunctionKeys true,
                   1913:        kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z,
                   1914:        kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z,
                   1915:        kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z,
                   1916:        kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z,
                   1917:        kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z,
                   1918:        kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z,
                   1919:        kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z,
                   1920:        kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
                   1921:        kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z,
                   1922:        knp=\E[222z, kpp=\E[216z, kund=\E[195z,
                   1923:        use=xterm,
                   1924: xterms-sun|small (80x24) xterm with sunFunctionKeys true,
                   1925:        cols#80, lines#24, use=xterm-sun,
                   1926:
                   1927: # This is for the extensible terminal emulator on the X11R6 contrib tape.
                   1928: emu|emu native mode,
                   1929:        mir, msgr, xon,
                   1930:        colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
                   1931:        acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
                   1932:        bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ,
                   1933:        clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,
                   1934:        cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,
                   1935:        cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,
                   1936:        cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;,
                   1937:        dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN,
                   1938:        el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh,
                   1939:        il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,
                   1940:        kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,
                   1941:        kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,
                   1942:        kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15,
                   1943:        kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02,
                   1944:        kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,
                   1945:        kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,
                   1946:        knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,
                   1947:        rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES,
                   1948:        rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;, setaf=\Er%i%p1%d;,
                   1949:        sgr0=\ES, smacs=\0, smir=\EY, smso=\ES\ET, smul=\ES\EV,
                   1950:        tbc=\Ej,
                   1951:
                   1952: ######## COMMERCIAL WORKSTATION CONSOLES
                   1953: #
                   1954:
                   1955: #### Alpha consoles
                   1956: #
                   1957:
                   1958: # This is from the OSF/1 Release 1.0 termcap file
                   1959: pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
                   1960:        am, xon,
                   1961:        cols#80, lines#25,
                   1962:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J,
                   1963:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   1964:        dch1=\E[P, dl1=\E[M, el=\E[K, home=\E[H, ht=^I,
                   1965:        ich1=\E[@, il1=\E[L, kbs=^H, kcub1=\E[D,
                   1966:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   1967:        nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m,
                   1968:        smso=\E[7m,
                   1969:
                   1970: #### AT&T consoles
                   1971: #
                   1972:
                   1973: # This actually describes the generic SVr4 display driver for Intel boxes.
                   1974: # The <dim=\E[2m> isn't documented and therefore may not be reliable.
                   1975: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
                   1976: att6386|at386|386at|AT&T WGS 6386 console,
                   1977:        am, bw, eo, xon,
                   1978:        cols#80, it#8, lines#25,
                   1979:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   1980:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
                   1981:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
                   1982:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   1983:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1984:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[1M,
                   1985:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H,
                   1986:        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   1987:        ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
                   1988:        indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m,
                   1989:        kbs=^H, kcbt=^], kcub1=\E[D, kcud1=\E[B,
                   1990:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kend=\E[Y, kf1=\EOP,
                   1991:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                   1992:        kf7=\EOV, kf8=\EOW, kf9=\EOX, kf10=\EOY, kf11=\EOZ, kf12=\EOA,
                   1993:        khome=\E[H, kich1=\E[@, knp=\E[U, kpp=\E[V, krmir=\E0,
                   1994:        nel=\r\E[S, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
                   1995:        rmacs=\E[10m, rmso=\E[m, rmul=\E[m, sc=\E7,
                   1996:        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,
                   1997:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m,
                   1998:        smul=\E[4m, tbc=\E[2g, vpa=\E[%i%p1%dd,
                   1999:        use=klone+color,
                   2000: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                   2001: pc6300plus|AT&T 6300 plus,
                   2002:        am, xon, OTbs,
                   2003:        cols#80, lines#24,
                   2004:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, clear=\E[2J\E[H,
                   2005:        cr=^M, cnorm=\E[=1C, cub1=^H,
                   2006:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH,
                   2007:        cuu1=\E[A, dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
                   2008:        ind=^J, home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, invis=\E[9m,
                   2009:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2010:        kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, kf4=\EOf,
                   2011:        kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
                   2012:        nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
                   2013:        sgr0=\E[m, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   2014:
                   2015: # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
                   2016: #
                   2017: # I have a UNIX PC which I use as a terminal attached to my Linux PC.
                   2018: # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
                   2019: # is broken. All the special key sequences are broken, making it unusable
                   2020: # with Emacs. The problem stems from the following:
                   2021: #
                   2022: # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
                   2023: # keypad!), loadable fonts, and strange highlighting modes ("dithered"
                   2024: # half-intensity, "smeared" bold, and real strike-out, for example.) It also
                   2025: # uses resizable terminal windows, but the bundled terminal program always
                   2026: # uses an 80x24 window (and doesn't support seem to support a 132-column
                   2027: # mode.)
                   2028: #
                   2029: # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
                   2030: # library which was a superset of SVr3.5 curses (called tam, for "terminal
                   2031: # access method".) tam includes support for real, overlapping windows,
                   2032: # onscreen function key labels, and bitmap graphics. But since the primary
                   2033: # user interface on the UNIX PC was a GUI program (ua, for "user
                   2034: # assistant",) and remote administration was considered important for the
                   2035: # machine, tam also supported VT100-compatible terminals attached to the
                   2036: # serial port or used across the StarLan network. To simulate the extra keys
                   2037: # not present on a VT100, users could press ESC and a two-letter sequence,
                   2038: # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
                   2039: # however, were not the same as those sent by the actual Undo key. The
                   2040: # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
                   2041: # (If you're interested in adding some of the tam calls to ncurses, btw, I
                   2042: # have the full documentation and several programs which use tam. It also
                   2043: # used an extended terminfo format to describe key sequences, special
                   2044: # highlighting modes, etc.)
                   2045: #
                   2046: # KEYS: This means that ncurses would quite painful on the UNIX PC, since
                   2047: # there are two sequences for every key-modifier combination (local keyboard
                   2048: # sequence and remote "VT100" sequence.) But I doubt many people are trying
                   2049: # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
                   2050: # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
                   2051: # seem to have been built from the manual describing the VT100 sequences.
                   2052: # This means it doesn't work for a real live UNIX PC.
                   2053: #
                   2054: # FONTS: The UNIX PC also has a strange interpretation of "alternate
                   2055: # character set". Rather than the VT100 graphics you might expect, it allows
                   2056: # up to 8 custom fonts to be loaded at any given time. This means that
                   2057: # programs expecting VT100 graphics will usually be disappointed. For this
                   2058: # reason I have disabled the smacs/rmacs sequences, but they could easily be
                   2059: # re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
                   2060: # manpage), should you wish to do so:
                   2061: #
                   2062: # SGR10 - Select font 0 - ESC [ 10 m or SO
                   2063: # SGR11 - Select font 1 - ESC [ 11 m or SI
                   2064: # SGR12 - Select font 2 - ESC [ 12 m
                   2065: # ... (etc.)
                   2066: # SGR17 - Select font 7 - ESC [ 17 m
                   2067: #
                   2068: # Graphics for line drawing are not reliably found at *any* character
                   2069: # location because the UNIX PC has dynamically reloadable fonts. I use font
                   2070: # 0 for regular text and font 1 for italics, but this is by no means
                   2071: # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
                   2072: #
                   2073: # MISC: The cursor visible/cursor invisible sequences were swapped in the
                   2074: # distributed terminfo.
                   2075: #
                   2076: # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
                   2077: # the UNIX PC terminfo entry. The modified version works great with Lynx,
                   2078: # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
                   2079: # attached by serial cable. In Emacs, even the Undo key works, and many
                   2080: # applications can now use the F1-F8 keys.
                   2081: #
                   2082: # esr's notes:
                   2083: #      Terminfo entry for the AT&T Unix PC 7300
                   2084: #      from escape(7) in Unix PC 7300 Manual.
                   2085: #      Somewhat similar to a vt100-am (but different enough
                   2086: #      to redo this from scratch.)
                   2087: #
                   2088: #      /***************************************************************
                   2089: #      *
                   2090: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                   2091: #      *
                   2092: #      *     This routine loads a font defined in the file ALTFONT
                   2093: #      *     into font memory slot #1.  Once the font has been loaded,
                   2094: #      *     it can be used as an alternative character set.
                   2095: #      *
                   2096: #      *     The call to ioctl with the argument WIOCLFONT is the key
                   2097: #      *     to this routine.  For more information, see window(7) in
                   2098: #      *     the PC 7300 documentation.
                   2099: #      ***************************************************************/
                   2100: #      #include <string.h>             /* needed for strcpy call */
                   2101: #      #include <sys/window.h>         /* needed for ioctl call */
                   2102: #      #define FNSIZE  60              /* font name size */
                   2103: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                   2104: #      /*
                   2105: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                   2106: #      *     standard PC software.  It defines a graphics character set
                   2107: #      *     similar to that of the Teletype 5425 terminal.  To view
                   2108: #      *     this or other fonts in /usr/lib/wfont, use the command
                   2109: #      *     cfont <filename>.  For further information on fonts see
                   2110: #      *     cfont(1) in the PC 7300 documentation.
                   2111: #      */
                   2112: #
                   2113: #      struct altfdata         /* structure for alt font data */
                   2114: #      {
                   2115: #      short   altf_slot;              /* memory slot number */
                   2116: #      char    altf_name[FNSIZE];      /* font name (file name) */
                   2117: #      };
                   2118: #      ldfont()
                   2119: #      {
                   2120: #              int wd;         /* window in which altfont will be */
                   2121: #              struct altfdata altf;
                   2122: #              altf.altf_slot=1;
                   2123: #              strcpy(altf.altf_name,ALTFONT);
                   2124: #              for (wd =1; wd < 12; wd++) {
                   2125: #                   ioctl(wd, WIOCLFONT,&altf);
                   2126: #              }
                   2127: #      }
                   2128: #
                   2129: # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
                   2130: # they're confirmed by the man page for the System V display---esr)
                   2131: #
                   2132: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
                   2133:        am, xon,
                   2134:        cols#80, it#8, lines#24,
                   2135:        bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C,
                   2136:        clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD,
                   2137:        cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   2138:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   2139:        cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
                   2140:        ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL,
                   2141:        il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB,
                   2142:        kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
                   2143:        kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM,
                   2144:        kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR,
                   2145:        kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO,
                   2146:        kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z,
                   2147:        kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   2148:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf,
                   2149:        ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd,
                   2150:        kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   2151:        kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B,
                   2152:        kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv,
                   2153:        kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt,
                   2154:        kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB,
                   2155:        ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM,
                   2156:        rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m,
                   2157:        smul=\E[4m,
                   2158:
                   2159: #### Hewlett-Packard consoles
                   2160: #
                   2161: # These are descriptions for the HP700 series, the workstations formerly
                   2162: # known as Apollos.  HP terminals are described elsewhere in the file
                   2163: #
                   2164:
                   2165: # From: Victor Duchovni <vic@fine.princeton.edu>
                   2166: # (hp700-wy: removed obsolete ":nl=^J:";
                   2167: # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
                   2168: hp700-wy|HP700/41 emulating wyse30,
                   2169:        am, bw, mir, msgr, OTbs,
                   2170:        cols#80, it#8, lines#24, xmc#1,
                   2171:        cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V,
                   2172:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   2173:        dch1=\EW, dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=\t,
                   2174:        hts=\E1, if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
                   2175:        is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
                   2176:        kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
                   2177:        kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, ri=\Ej,
                   2178:        rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, sgr0=\EG0$<10/>, smir=\Eq,
                   2179:        smso=\EG4$<10/>, smul=\EG8$<10/>, tbc=\E0,
                   2180:        vpa=\E[%p1%{32}%+%c,
                   2181: # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
                   2182: hp70092|hp70092a|hp70092A|HP 700/92,
                   2183:        am, da, db, xhp,
                   2184:        cols#80, lines#24, lh#2, lm#0, lw#8, nlab#8,
                   2185:        acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ,
                   2186:        cr=\r, cub1=\b, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
                   2187:        cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC,
                   2188:        ht=\t, hts=\E1, il1=\EL, kbs=\b, kclr=\EJ, kctab=\E2, kcub1=\ED,
                   2189:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ,
                   2190:        kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
                   2191:        kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
                   2192:        kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3,
                   2193:        .pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   2194:        .pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   2195:        .pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   2196:        .pln=\E&f%p1%dk%p2%l%dd0L%p2%s,
                   2197:        rev=\E&dB, ri=\ET,
                   2198:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
                   2199:        rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A,
                   2200:        smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   2201:
                   2202: #  HP 700/44 Setup parameters:
                   2203: # Terminal Mode                HP-PCterm
                   2204: # Inhibit Auto Wrap    NO
                   2205: # Status Line          Host Writable
                   2206: # PC Character Set     YES
                   2207: # Twenty-Five Line Mode        YES
                   2208: # XON/XOFF             @128 or 64 (sc)
                   2209: # Keycode Mode                 NO   or YES (sc)
                   2210: # Backspace Key                BS or BS/DEL
                   2211: #
                   2212: # <is2>        sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
                   2213: # \E\\? does not turn off keycode mode
                   2214: # <smsc>       sets alternate start/stop; keycode on
                   2215: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
                   2216:        am, eo, xenl, xon,
                   2217:        cols#80, lines#25,
                   2218:        bel=^G, clear=\E[2J\E[H,
                   2219:        civis=\E[?25l, cnorm=\E[?25h,
                   2220:        cup=\E[%i%p1%d;%p2%dH,
                   2221:        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
                   2222:        cr=\r, ind=\n,
                   2223:        home=\E[H, ht=\t, cbt=\E[Z,
                   2224:        dch1=\E[P, dl1=\E[M, ich1=\E[@, il1=\E[L,
                   2225:        ed=\E[J, el=\E[K,
                   2226:        is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
                   2227:        kbs=\b, kcbt=\E[Z,
                   2228:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2229:        khome=\E[1~, kend=\E[4~, knp=\E[6~, kpp=\E[5~,
                   2230:        kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
                   2231:        kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   2232:        kf9=\E[26~, kf10=\E[28~,
                   2233:        acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263,
                   2234:        rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   2235:        smso=\E[7m, smul=\E[4m,
                   2236:        smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>,
                   2237:        rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\,
                   2238:        xonc=\145, xoffc=\147,
                   2239:
                   2240: #### Iris consoles
                   2241: #
                   2242:
                   2243: # From: Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997
                   2244: # (iris-ansi: added rmam/smam based on init string -- esr)
                   2245: iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100),
                   2246:        am,
                   2247:        cols#80, it#8, lines#40,
                   2248:        bel=^G, bold=\E[1m, clear=\E[H\E[2J,
                   2249:        cnorm=\E[9/y\E[12/y\E[=6l, cr=\r, cub=\E[%p1%dD,
                   2250:        cub1=\E[D, cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC,
                   2251:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   2252:        cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
                   2253:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   2254:        home=\E[H, ht=\t, hts=\EH, il=\E[%p1%dL, il1=\E[L,
                   2255:        ind=\ED, is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8,
                   2256:        kDC=\E[P, kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q,
                   2257:        kPRT=\E[210q, kRIT=\E[167q, kSPD=\E[218q, kbs=\b,
                   2258:        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   2259:        kcuu1=\E[A, kdch1=^?, kend=\E[146q, kent=\r,
                   2260:        kf1=\E[001q, kf10=\EOQ, kf11=\EOR, kf12=\EOS,
                   2261:        kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q,
                   2262:        kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\EOP,
                   2263:        khome=\E[H, kich1=\E[139q, knp=\E[154q, kpp=\E[150q,
                   2264:        kprt=\E[209q, krmir=\E[146q, kspd=\E[217q, nel=\EE,
                   2265:        pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8, rev=\E[7m,
                   2266:        ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
                   2267:        smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
                   2268: iris-ansi-ap|IRIS ANSI in application-keypad mode,
                   2269:        is2=\E[?1l\E>\E[?7h,
                   2270:        rmkx=\E>, smkx=\E=, kf10=\E[010q, kf11=\E[011q, kf12=\E[012q,
                   2271:        use=iris-ansi,
                   2272:
                   2273: # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
                   2274: # (T.Dickey 98/1/24)
                   2275: iris-color|xwsh|IRIX ANSI with color,
                   2276:        ncv#33,
                   2277:        csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m,
                   2278:        ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
                   2279:        rmul=\E[24m, rs1=\Ec,
                   2280:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   2281:        sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                   2282:        use=klone+color, use=iris-ansi-ap,
                   2283:
                   2284: # (wsiris: this had extension capabilities
                   2285: #      :HS=\E7F2:HE=\E7F7:\
                   2286: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
                   2287: # See the note on Iris extensions near the end of this file.
                   2288: # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
                   2289: # <flash> from BRL -- esr)
                   2290: wsiris|iris40|iris emulating a 40 line visual 50 (approximately),
                   2291:        OTbs, OTnc, OTpt, am,
                   2292:        OTkn#3, cols#80, it#8, lines#40,
                   2293:        OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB,
                   2294:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;,
                   2295:        dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, flash=\E7F4\E7B1\013\E7F7\E7B0,
                   2296:        home=\EH, ht=\t, il1=\EL, ind=^J, is2=\E7B0\E7F7\E7C2\E7R3,
                   2297:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1,
                   2298:        kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
                   2299:        kf9=\E9, ri=\EI, rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
                   2300:        smul=\E7R2\E9P,
                   2301:
                   2302: #### NeWS consoles
                   2303: #
                   2304: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   2305: # environment).   Note: these have nothing to do with Sony's News workstation
                   2306: # line.
                   2307: #
                   2308:
                   2309: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
                   2310: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   2311: psterm|psterm-basic|NeWS psterm-80x34,
                   2312:        OTbs, am, hs, km, ul,
                   2313:        cols#80, it#8, lines#34,
                   2314:        blink=\EOb, bold=\EOd, clear=^L,
                   2315:        csr=\EE%p1%d;%p2%d;, cub1=\ET, cud1=\EP, cuf1=\EV,
                   2316:        cup=\E%p1%d;%p2%d;, cuu1=\EY, dch1=\EF, dl1=\EK,
                   2317:        ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, home=\ER, ht=\t,
                   2318:        il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, kcud1=\E[B,
                   2319:        kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
                   2320:        ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo,
                   2321:        rmul=\ENu, sc=^], sgr0=\EN*, smcup=\EOt, smir=\EOi,
                   2322:        smso=\EOo, smul=\EOu, tsl=\EOl,
                   2323: psterm-96x48|NeWS psterm 96x48,
                   2324:        cols#96, lines#48,
                   2325:        use=psterm,
                   2326: psterm-90x28|NeWS psterm 90x28,
                   2327:        cols#90, lines#28,
                   2328:        use=psterm,
                   2329: psterm-80x24|NeWS psterm 80x24,
                   2330:        cols#80, lines#24,
                   2331:        use=psterm,
                   2332: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   2333: # some control characters you type will do strange things to the screen.
                   2334: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   2335: psterm-fast|NeWS psterm fast version (flaky ctrl chars),
                   2336:        OTbs, am, hs, km, ul,
                   2337:        cols#80, it#8, lines#34,
                   2338:        blink=^Ob, bold=^Od, clear=^L,
                   2339:        csr=\005%p1%d;%p2%d;, cub1=^T, cud1=^P, cuf1=^V,
                   2340:        cup=\004%p1%d;%p2%d;, cuu1=^Y, dch1=^F, dl1=^K,
                   2341:        ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=\t, il1=^A,
                   2342:        ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B,
                   2343:        kcuf1=\E[C, kcuu1=\E[A, ll=^U, rc=^\, rev=^Or,
                   2344:        ri=^X, rmcup=^Nt, rmir=^Ni, rmso=^No, rmul=^Nu,
                   2345:        sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, smso=^Oo,
                   2346:        smul=^Ou, tsl=^Ol,
                   2347:
                   2348: #### NeXT consoles
                   2349: #
                   2350: # Use `glasstty' for the Workspace application
                   2351: #
                   2352:
                   2353: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   2354: next|NeXT console,
                   2355:        am, xt,
                   2356:        cols#80, it#8, lines#24,
                   2357:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   2358:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   2359:        el=\E[K, home=\E[H, ht=^I, ind=^J, kbs=^H,
                   2360:        kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E[4;1m,
                   2361:        sgr0=\E[m, smso=\E[4;2m,
                   2362: nextshell|NeXT Shell application,
                   2363:        am,
                   2364:        cols#80,
                   2365:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H,
                   2366:        kcub1=^H, kcud1=^J, nel=^M^J,
                   2367:
                   2368: #### SCO consoles
                   2369: #
                   2370:
                   2371: # SCO console and SOS-Syscons console for 386bsd
                   2372: # (scoansi: had unknown capabilities
                   2373: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
                   2374: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
                   2375: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                   2376: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                   2377: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
                   2378: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
                   2379: # on the <smacs>=\E[12m  -- esr)
                   2380: scoansi|SCO Extended ANSI standard crt,
                   2381:        OTbs, am, eo, xon,
                   2382:        cols#80, it#8, lines#25,
                   2383:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,
                   2384:        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2385:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
                   2386:        home=\E[H, ht=\t, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H,
                   2387:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F,
                   2388:        kf1=\E[M, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q,
                   2389:        kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, kf10=\E[V, khome=\E[H,
                   2390:        knp=\E[G, kpp=\E[I, ri=\E[T,
                   2391:        use=klone+sgr-dumb,
                   2392:
                   2393: #### Sun consoles
                   2394: #
                   2395:
                   2396: # :is1: resets scrolling region in case a previous user had used "tset vt100"
                   2397: oldsun|Sun Microsystems Workstation console,
                   2398:        am, km, mir, msgr, OTbs,
                   2399:        cols#80, it#8, lines#34,
                   2400:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2401:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   2402:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2403:        el=\E[K, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   2404:        il1=\E[L, ind=^J, is1=\E[1r, kcub1=\E[D, kcud1=\E[B,
                   2405:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
                   2406:        kf3=\EOR, kf4=\EOS, khome=\E[H, rmso=\E[m,
                   2407:        sgr0=\E[m, smso=\E[7m,
                   2408: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
                   2409: # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
                   2410: # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
                   2411: sun-il|Sun Microsystems console with working insert-line,
                   2412:        am, km, msgr,
                   2413:        cols#80, lines#34,
                   2414:        bel=^G, bold@, clear=^L, cr=^M, cub1=^H,
                   2415:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2416:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2417:        dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, ich=\E[%p1%d@,
                   2418:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2419:        kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   2420:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[220z,
                   2421:        kf1=\E[224z, kf10=\E[233z, kf11=\E[234z,
                   2422:        kf12=\E[235z, kf2=\E[225z, kf3=\E[226z,
                   2423:        kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, kf7=\E[230z,
                   2424:        kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
                   2425:        knp=\E[222z, kopt=\E[194z, kpp=\E[216z,
                   2426:        kres=\E[193z, kund=\E[195z, rev=\E[7m,
                   2427:        rmso=\E[m, rmul@, rs2=\E[s,
                   2428:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
                   2429:        sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t,
                   2430: # On a SparcStation 5, <il1>/<il> flake out on the last line.
                   2431: # Unfortunately, without them the terminal has no way to scroll.
                   2432: sun-ss5|Sun SparcStation 5 console,
                   2433:        il1@, il@, use=sun-il,
                   2434: # If you are using an SS5, change the sun definition to use sun-ss5.
                   2435: sun|sun1|sun2|Sun Microsystems Inc. workstation console,
                   2436:        use=sun-il,
                   2437:
                   2438: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
                   2439: sun-s|Sun Microsystems Workstation window with status line,
                   2440:        hs,
                   2441:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l,
                   2442:        use=sun,
                   2443: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
                   2444:        hs,
                   2445:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
                   2446: sun-48|Sun 48-line window,
                   2447:        cols#80, lines#48,
                   2448:        use=sun,
                   2449: sun-34|Sun 34-line window,
                   2450:        cols#80, lines#34,
                   2451:        use=sun,
                   2452: sun-24|Sun 24-line window,
                   2453:        cols#80, lines#24,
                   2454:        use=sun,
                   2455: sun-17|Sun 17-line window,
                   2456:        cols#80, lines#17,
                   2457:        use=sun,
                   2458: sun-12|Sun 12-line window,
                   2459:        cols#80, lines#12,
                   2460:        use=sun,
                   2461: sun-1|Sun 1-line window for sysline,
                   2462:        eslok, hs,
                   2463:        cols#80, lines#1,
                   2464:        dsl=^L, fsl=\E[K, tsl=^M, use=sun,
                   2465: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
                   2466:        ich1@, rmir@, smir@, use=sun,
                   2467: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
                   2468:        lines#35, rmcup=\E[>4h, smcup=\E[>4l, use=sun,
                   2469:
                   2470: #### Common Desktop Environment
                   2471: #
                   2472:
                   2473: # This ships with Sun's CDE in Solaris 2.5
                   2474: # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
                   2475: dtterm|CDE desktop terminal,
                   2476:        am, mir, msgr, xenl, xon,
                   2477:        colors#8, cols#80, it#8, lines#24, lm#0, pairs#64,
                   2478:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2479:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2480:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   2481:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2482:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2483:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2484:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   2485:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   2486:        flash=\E[?5h$<200>\E[?5l, home=\E[H, ht=^I, hts=\EH,
                   2487:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   2488:        invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, kbs=^H,
                   2489:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2490:        kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   2491:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   2492:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   2493:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   2494:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2495:        kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   2496:        kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
                   2497:        rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m,
                   2498:        rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm,
                   2499:        setaf=\E[%p1%{30}%+%dm,
                   2500:        sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   2501:        sgr0=\E[m^O, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   2502:        smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
                   2503:
                   2504: ######## UNIX VIRTUAL TERMINALS AND TELNET CLIENTS
                   2505: #
                   2506:
                   2507: #### FSF virtual terminal types
                   2508: #
                   2509:
                   2510: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
                   2511: eterm|gnu emacs term.el terminal emulation,
                   2512:        am, mir, xenl,
                   2513:        cols#80, lines#24,
                   2514:        bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   2515:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2516:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2517:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2518:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   2519:        ed=\\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I,
                   2520:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2521:        rev=\E[7m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
                   2522:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smcup=\E7\E[?47h,
                   2523:        smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   2524:
                   2525: # Entries for use by the FSF's `screen' program.  The screen and
                   2526: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
                   2527: # come from University of Wisconsin and may be older.
                   2528: # (screen: added <cnorm> on ANSI model -- esr)
                   2529:
                   2530: screen|VT 100/ANSI X3.64 virtual terminal,
                   2531:        am, km, mir, msgr, xenl,
                   2532:        colors#8, cols#80, it#8, lines#24, pairs#64,
                   2533:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   2534:        cnorm=\E[?25h, clear=\E[H\E[J, cr=\r, csr=\E[%i%p1%d;%p2%dr,
                   2535:        cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
                   2536:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2537:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P,
                   2538:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, enacs=\E(B\E)0, flash=\Eg, home=\E[H,
                   2539:        ht=\t, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
                   2540:        ind=\n, is2=\E)0, kbs=\b, kcub1=\EOD, kcud1=\EOB,
                   2541:        kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP,
                   2542:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ,
                   2543:        kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~,
                   2544:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~,
                   2545:        kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, nel=\EE,
                   2546:        rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>,
                   2547:        rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7, sgr0=\E[m,
                   2548:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m,
                   2549:        tbc=\E[3g, smacs=^N, rmacs=^O,
                   2550:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hh00,
                   2551:        use=ecma+color,
                   2552:
                   2553: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
                   2554:        cols#132,
                   2555:        use=screen,
                   2556:
                   2557: screen2|old VT 100/ANSI X3.64 virtual terminal,
                   2558:        cols#80, it#8, lines#24,
                   2559:        cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD,
                   2560:        cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   2561:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   2562:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2563:        dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, hts=\EH,
                   2564:        ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, il1=\E[L,
                   2565:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2566:        kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU,
                   2567:        kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   2568:        kf9=\E0I, khome=\EH, nel=^M^J, rc=\E8, ri=\EM,
                   2569:        rmir=\E[4l, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
                   2570:        sc=\E7, sgr0=\E[m, smir=\E[4h, smso=\E[3m, smul=\E[4m,
                   2571:        tbc=\E[3g,
                   2572: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   2573: screen3|older VT 100/ANSI X3.64 virtual terminal,
                   2574:        km, mir, msgr,
                   2575:        cols#80, it#8, lines#24,
                   2576:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   2577:        clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   2578:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   2579:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2580:        cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
                   2581:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   2582:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   2583:        il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H,
                   2584:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   2585:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE,
                   2586:        rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E>,
                   2587:        rmso=\E[23m, rmul=\E[24m, rs1=\Ec, sc=\E7,
                   2588:        sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
                   2589:        smul=\E[4m, tbc=\E[3g,
                   2590:
                   2591: #### Pilot Pro Palm-Top
                   2592: #
                   2593:
                   2594: # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
                   2595: pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
                   2596:        am, xenl,
                   2597:        cols#39, lines#16,
                   2598:        bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
                   2599:        cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
                   2600:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K,
                   2601:        nel=\Em~\s, rmso=\EB, smso=\Eb,
                   2602:
                   2603: ######## NON-UNIX CONSOLES
                   2604: #
                   2605:
                   2606: #### MGR
                   2607: #
                   2608: # MGR is a Bell Labs window system lighter-weight than X.
                   2609: # These entries describe MGR's xterm-equivalent.
                   2610: # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
                   2611: #
                   2612:
                   2613: mgr|Bellcore MGR (non X) window system terminal emulation,
                   2614:        am, km, csr=\E%p1%d;%p2%dt, clear=\f, el=\Ec, ed=\EC,
                   2615:        cup=\E%p2%d;%p1%dM, cud1=\Ef, cub1=\b, cuf1=\Er, cuu1=\Eu,
                   2616:        cvvis=\E0h, civis=\E9h, cnorm=\Eh,
                   2617:        dch1=\EE, dl1=\Ed$<3>, dch=\E%p1%dE$<5>, dl=\E%p1%dd$<3*>,
                   2618:        ich1=\EA, il1=\Ea$<3>, ich=\E%p1%dA$<5>, il=\E%p1%da$<3*>,
                   2619:        rmam=\E5S, smam=\E5s, bold=\E2n, rev=\E1n, sgr0=\E0n,
                   2620:        smso=\E1n, rmso=\E0n, smul=\E4n, rmul=\E0n, hu=\E1;2u, hd=\E1;2f,
                   2621:        kbs=\b, kcud1=\E[B, kcub1=\E[D, kcuf1=\E[C, kcuu1=\E[A,
                   2622:        nel=\r\n, cr=\r, ind=\n, ht=\t, bel=^G,
                   2623: mgr-sun|Mgr window with Sun keyboard,
                   2624:        kf1=\E[224z, kf2=\E[225z, kf3=\E[226z, kf4=\E[227z,
                   2625:        kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z,
                   2626:        kf9=\E[232z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
                   2627:        khome=\E[214z, knp=\E[222z, kpp=\E[216z,
                   2628:        kcpy=\E197z, kend=\E[220z, kent=\E[250z, kfnd=\E[200z,
                   2629:        khlp=\E[207z, kopn=\E[198z, kund=\E[195z,
                   2630:        ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, kc3=\E[222z,
                   2631:        use=mgr,
                   2632: mgr-linux|Mgr window with Linux keyboard,
                   2633:        ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, kdch1=\E[3~,
                   2634:        kf0=\E[[J, kf1=\E[[A, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
                   2635:        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2636:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   2637:        khome=\E[1~, knp=\E[6~, kpp=\E[5~, kend=\E[4~,
                   2638:        use=mgr,
                   2639:
                   2640: #### BeOS
                   2641: #
                   2642: # BeOS entry for Terminal program Seems to be almost ANSI
                   2643: beterm|BeOS Terminal,
                   2644:        am, eo, mir, msgr, xenl, xon,
                   2645:        colors#8, cols#80, it#8, lines#25, pairs#64,
                   2646:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2647:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   2648:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   2649:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   2650:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2651:        el=\E[K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
                   2652:        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   2653:        il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G,
                   2654:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2655:        kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~,
                   2656:        kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
                   2657:        kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~,
                   2658:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
                   2659:        nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l,
                   2660:        rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm,
                   2661:        setaf=\E[3%p1%dm, setb=\E[%p1%'('%+%cm,
                   2662:        setf=\E[%p1%{30}%+%cm, sgr0=\E[0;10m, smir=\E[4h,
                   2663:        smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
                   2664:        u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
                   2665:
                   2666: #### QNX
                   2667: #
                   2668:
                   2669: # QNX 4.0 Console
                   2670: # Michael's original version of this entry had <am@>, <smcup=\Ei>,
                   2671: # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
                   2672: # right corner without triggering a scroll.  The ncurses terminfo library can
                   2673: # handle this case with the <ich1> capability, and prefers <am> for better
                   2674: # optimization.  Bug: The <op> capability resets attributes.
                   2675: # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
                   2676: # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
                   2677: qnx|qnx4|qnx console,
                   2678:        km, mir, msgr, xt,
                   2679:        cols#80, it#4, lines#25, colors#8, pairs#8, ncv#3,
                   2680:        daisy, xhpa, mvpa=\E!%p1%02d,
                   2681:        bel=^g, cr=\r, clear=\EH\EJ, el=\EK, ed=\EJ,
                   2682:        cup=\EY%p1%' '%+%c%p2%' '%+%c, cud1=\l, home=\EH,
                   2683:        civis=\Ey0, cub1=\b, cnorm=\Ey1, cuf1=\EC, cuu1=\EA,
                   2684:        cvvis=\Ey2, dch1=\Ef, dl1=\EF, blink=\E{, bold=\E<,
                   2685:        smcup=\Ei, rev=\E(, smso=\E(, smul=\E[, sgr0=\E}\E]\E>\E),
                   2686:        rmcup=\Eh\ER, rmso=\E), rmul=\E], ich1=\Ee, il1=\EE,
                   2687:        rep=\Eg%p2%' '%+%c%p1%c, rs1=\ER, ind=\l, ri=\EI, ht=\t,
                   2688:        acsc=l\332m\300k\277j\331q\304x\263u\264t\303n\305v\301w\302O\333a\261o\337s\334,
                   2689:        op=\ER, .scp=\E@%p1%02d,
                   2690:        setf=\E@%p1%Pf%gb%gf%d%d,
                   2691:        setb=\E@%p1%Pb%gb%gf%d%d,
                   2692:        ktbc=\377\344, kclr=\377\341, kctab=\377\237,
                   2693:        kdch1=\377\254, kdl1=\377\274, kcud1=\377\251,
                   2694:        krmir=\377\313, kel=\377\310, ked=\377\314, kcuu1=\377\241,
                   2695:        kf1=\377\201, kf10=\377\212, kf2=\377\202, kf3=\377\203,
                   2696:        kf4=\377\204, kf5=\377\205, kf6=\377\206, kf7=\377\207,
                   2697:        kf8=\377\210, kf9=\377\211, khome=\377\240, kich1=\377\253,
                   2698:        kil1=\377\273, kcub1=\377\244, knp=\377\252, kpp=\377\242,
                   2699:        kcuf1=\377\246, kind=\377\261, kri=\377\271, khts=\377\342,
                   2700:        kcbt=\377\0, kbeg=\377\300, kcan=\377\243, kclo=\377\343,
                   2701:        kcmd=\377\245, kcpy=\377\265, kcrt=\377\305, kend=\377\250,
                   2702:        kent=\377\320, kext=\377\270, kfnd=\377\346, khlp=\377\350,
                   2703:        kmrk=\377\355, kmsg=\377\345, kmov=\377\351, knxt=\377\312,
                   2704:        kopn=\377\357, kopt=\377\353, kprv=\377\302, kprt=\377\255,
                   2705:        krdo=\377\336, kref=\377\354, krfr=\377\347, krpl=\377\362,
                   2706:        krst=\377\352, kres=\377\360, ksav=\377\361, kund=\377\365,
                   2707:        kBEG=\377\356, kCAN=\377\263, kCMD=\377\267, kCPY=\377\363,
                   2708:        kCRT=\377\364, kDL=\377\366,  kslt=\377\247, kEND=\377\301,
                   2709:        kEOL=\377\311, kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
                   2710:        kHOM=\377\260, kIC=\377\340,  kLFT=\377\264, kMSG=\377\304,
                   2711:        kMOV=\377\306, kNXT=\377\272, kOPT=\377\372, kPRV=\377\262,
                   2712:        kPRT=\377\275, kRDO=\377\315, kRIT=\377\266, kSAV=\377\307,
                   2713:        kUND=\377\337, kRPL=\377\373, kRES=\377\374, kspd=\377\335,
                   2714:        kSPD=\377\303, kf11=\377\256, kf12=\377\257, kf13=\377\213,
                   2715:        kf14=\377\214, kf15=\377\215, kf16=\377\216, kf17=\377\217,
                   2716:        kf18=\377\220, kf19=\377\221, kf20=\377\222, kf21=\377\223,
                   2717:        kf22=\377\224, kf23=\377\333, kf24=\377\334, kf25=\377\225,
                   2718:        kf26=\377\226, kf27=\377\227, kf28=\377\230, kf29=\377\231,
                   2719:        kf30=\377\232, kf31=\377\233, kf32=\377\234, kf33=\377\235,
                   2720:        kf34=\377\236, kf35=\377\276, kf36=\377\277, kf37=\377\321,
                   2721:        kf38=\377\322, kf39=\377\323, kf40=\377\324, kf41=\377\325,
                   2722:        kf42=\377\326, kf43=\377\327, kf44=\377\330, kf45=\377\331,
                   2723:        kf46=\377\332, kf47=\377\316, kf48=\377\317,
                   2724: # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
                   2725: # (esr: commented out <scp> and <rmcup> to avoid warnings.)
                   2726: qnxt2|qnx 2.15 serial terminal,
                   2727:        am, daisy, km, mir, msgr, xhpa, xt,
                   2728:        colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
                   2729:        acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263,
                   2730:        bel=^G, blink=\E{, bold=\E<, clear=\EH\EJ, cr=^M, cub1=^H,
                   2731:        cud1=^J, cuf1=\EC, cup=\EY%p1%' '%+%c%p2%' '%+%c,
                   2732:        cuu1=\EA, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EE,
                   2733:        ind=^J, kBEG=\377\356, kCAN=\377\263, kCMD=\377\267,
                   2734:        kCPY=\377\363, kCRT=\377\364, kDL=\377\366,
                   2735:        kEND=\377\301, kEOL=\377\311, kEXT=\377\367,
                   2736:        kFND=\377\370, kHLP=\377\371, kHOM=\377\260,
                   2737:        kIC=\377\340, kLFT=\377\264, kMOV=\377\306,
                   2738:        kMSG=\377\304, kNXT=\377\272, kOPT=\377\372,
                   2739:        kPRT=\377\275, kPRV=\377\262, kRDO=\377\315,
                   2740:        kRIT=\377\266, kSAV=\377\307, kSPD=\377\303,
                   2741:        kbeg=\377\300, kcan=\377\243, kcbt=\377\0, kclo=\377\343,
                   2742:        kclr=\377\341, kcmd=\377\245, kcpy=\377\265,
                   2743:        kcrt=\377\305, kctab=\377\237, kcub1=\377\244,
                   2744:        kcud1=\377\251, kcuf1=\377\246, kcuu1=\377\241,
                   2745:        kdch1=\377\254, kdl1=\377\274, ked=\377\314,
                   2746:        kel=\377\310, kend=\377\250, kent=\377\320,
                   2747:        kext=\377\270, kf1=\377\201, kf10=\377\212,
                   2748:        kf11=\377\256, kf12=\377\257, kf13=\377\213,
                   2749:        kf14=\377\214, kf15=\377\215, kf16=\377\216,
                   2750:        kf17=\377\217, kf18=\377\220, kf19=\377\221,
                   2751:        kf2=\377\202, kf20=\377\222, kf21=\377\223,
                   2752:        kf22=\377\224, kf23=\377\333, kf24=\377\334,
                   2753:        kf25=\377\225, kf26=\377\226, kf27=\377\227,
                   2754:        kf28=\377\230, kf29=\377\231, kf3=\377\203,
                   2755:        kf30=\377\232, kf31=\377\233, kf32=\377\234,
                   2756:        kf33=\377\235, kf34=\377\236, kf35=\377\276,
                   2757:        kf36=\377\277, kf37=\377\321, kf38=\377\322,
                   2758:        kf39=\377\323, kf4=\377\204, kf40=\377\324,
                   2759:        kf41=\377\325, kf42=\377\326, kf43=\377\327,
                   2760:        kf44=\377\330, kf45=\377\331, kf46=\377\332,
                   2761:        kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206,
                   2762:        kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346,
                   2763:        khlp=\377\350, khome=\377\240, khts=\377\342,
                   2764:        kich1=\377\253, kil1=\377\273, kind=\377\261,
                   2765:        kmov=\377\351, kmrk=\377\355, kmsg=\377\345,
                   2766:        knp=\377\252, knxt=\377\312, kopn=\377\357,
                   2767:        kopt=\377\353, kpp=\377\242, kprt=\377\255,
                   2768:        kprv=\377\302, krdo=\377\336, kref=\377\354,
                   2769:        kres=\377\360, krfr=\377\347, kri=\377\271,
                   2770:        krmir=\377\313, krpl=\377\362, krst=\377\352,
                   2771:        ksav=\377\361, kslt=\377\247, ktbc=\377\344,
                   2772:        kund=\377\365, mvpa=\E!%p1%02d, op=\ER, rev=\E(, ri=\EI,
                   2773:        .rmcup=\ER, rmso=\E>, rmul=\E], rs1=\ER, .scp=\E@%p1%02d,
                   2774:        sgr0=\E}\E]\E>\E), smso=\E<, smul=\E[,
                   2775:
                   2776: #### DOS ANSI.SYS variants
                   2777: #
                   2778: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                   2779: # documentation (except for the keyboard key reassignment feature, which
                   2780: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                   2781: # though undocumented.  The <pfkey> capability is untested but should work for
                   2782: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                   2783: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                   2784: ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
                   2785:        OTbs, am, mir, msgr, xon,
                   2786:        cols#80, lines#25,
                   2787:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2788:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   2789:        el=\E[k, home=\E[H, is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L,
                   2790:        kcuu1=^K, khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s",
                   2791:        rc=\E[u, rmam=\E[?7l, sc=\E[s, smam=\E[?7h,
                   2792:        u6=\E[%i%d;%dR, u7=\E[6n,
                   2793:        use=klone+color, use=klone+sgr,
                   2794: ansi.sys|ANSI.SYS 3.1 and later versions,
                   2795:        el=\E[K, use=ansi.sys-old,
                   2796:
                   2797: #
                   2798: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                   2799: # This should only be used when the terminal emulator cannot redefine the keys.
                   2800: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                   2801: # definitions must be restored.  If the terminal emulator is quit while in vi
                   2802: # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
                   2803: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                   2804: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                   2805: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
                   2806: # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
                   2807: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                   2808: # Consequently the End keypad key could not be set (it is relatively safe and
                   2809: # actually useful because it sends ^@ O, which beeps and opens a line above).
                   2810: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
                   2811:        is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                   2812:        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,
                   2813:        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, use=ansi.sys,
                   2814: #
                   2815: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                   2816: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
                   2817:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                   2818:        is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys,
                   2819: #
                   2820: # See ansi.sysk and nansi.sys above.
                   2821: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
                   2822:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                   2823:        is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, use=ansi.sysk,
                   2824:
                   2825: #### OS/2
                   2826: #
                   2827:
                   2828: # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
                   2829: # a Unix-style environment used on OS/2.  (Note that the suffix makes some
                   2830: # names longer than 14 characters, the nominal maximum).
                   2831: #
                   2832: # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
                   2833: ansi-emx|ANSI.SYS color,
                   2834:        am, bce, eo, mir, msgr, xenl, xon,
                   2835:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   2836:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2837:        clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   2838:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   2839:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   2840:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   2841:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   2842:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   2843:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   2844:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m,
                   2845:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m,
                   2846:        rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm,
                   2847:        setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h,
                   2848:        smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m,
                   2849:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   2850: ansi-color-2-emx|ANSI.SYS color 2,
                   2851:        am, bce, eo, mir, msgr, xenl, xon,
                   2852:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   2853:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2854:        clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   2855:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   2856:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   2857:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   2858:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   2859:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   2860:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   2861:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
                   2862:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m,
                   2863:        rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm,
                   2864:        setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h,
                   2865:        smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m,
                   2866:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   2867: ansi-color-3-emx|ANSI.SYS color 3,
                   2868:        am, bce, eo, mir, msgr, xenl, xon,
                   2869:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   2870:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2871:        clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   2872:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   2873:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   2874:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   2875:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   2876:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   2877:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   2878:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
                   2879:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m,
                   2880:        rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm,
                   2881:        setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h,
                   2882:        smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m,
                   2883:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   2884: mono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
                   2885:        am,
                   2886:        cols#80, it#8, lines#24,
                   2887:        clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   2888:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   2889:        ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
                   2890:        kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
                   2891:        kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
                   2892:        kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
                   2893:        sgr0=\E[0m,
                   2894:
                   2895: #### Windows NT
                   2896: #
                   2897: # This entry fits the Windows NT console when the _POSIX_TERM environment
                   2898: # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
                   2899: # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
                   2900: # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
                   2901: # systems is not, and (surprise!) they match very well.
                   2902: #
                   2903: # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
                   2904: # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
                   2905: # are the installation instructions a pile of mind-numbing bureaucratese,
                   2906: # but the termcap entry is actually broken and unusable as given; the :do:
                   2907: # capability is misspelled "d".
                   2908: #
                   2909: # To use this, you need to a bunch of environment variables:
                   2910: #
                   2911: # SET _POSIX_TERM=on
                   2912: # SET TERM=ansi
                   2913: # SET TERMCAP=location of termcap file in POSIX file format
                   2914: # which is case-sensitive.
                   2915: # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
                   2916: # SET TMP=//C/TEMP
                   2917: #
                   2918: # Important note: setting the TMP environment variable in POSIX style renders
                   2919: # it incompatible with a lot of other applications, including Visual C++. So
                   2920: # you should have a separate command window just for vi. All the other
                   2921: # variables may be permanently set in the Control Panel\System applet.
                   2922: #
                   2923: # You can find out more about the restrictions of this facility at
                   2924: # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
                   2925: #
                   2926: # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
                   2927: ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
                   2928:        am, bw, msgr,
                   2929:        cols#80, it#8, lines#25,
                   2930:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   2931:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   2932:        home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
                   2933:        kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
                   2934:        ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
                   2935:
                   2936: ######## COMMON TERMINAL TYPES
                   2937: #
                   2938: # This section describes terminal classes and maker brands that are still
                   2939: # quite common, but have proprietary command sets not blessed by ANSI.
                   2940: #
                   2941:
                   2942: #### Lear-Siegler (adm)
                   2943: #
                   2944: # These guys are long since out of the terminals business, but
                   2945: # in 1995 many current terminals still have an adm type as one of their
                   2946: # emulations (usually their stupidest, and usually labeled adm3, though
                   2947: # these `adm3' emulations normally have adm3a+ capabilities).
                   2948: #
                   2949: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
                   2950: # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
                   2951: # was being held to ground would trigger a send of the top line on the screen.
                   2952: # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
                   2953: # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
                   2954: # for clearing up this point.)
                   2955: #
                   2956:
                   2957: adm1a|adm1|lsi adm1a,
                   2958:        cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H,
                   2959:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, clear=\E;$<1>,
                   2960:        cols#80, home=^^, lines#24, cuf1=^L, cuu1=^K,
                   2961: adm2|lsi adm2,
                   2962:        am, OTbs,
                   2963:        cols#80, lines#24,
                   2964:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2965:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   2966:        dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ,
                   2967:        il1=\EE, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   2968:        khome=^^,
                   2969: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   2970: adm3|lsi adm3,
                   2971:        am, OTbs,
                   2972:        cols#80, lines#24,
                   2973:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   2974: # The following ADM-3A switch settings are assumed for normal operation:
                   2975: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   2976: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   2977: # Other switches may be set for operator convenience or communication
                   2978: # requirements.  I recommend
                   2979: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   2980: #      ETX_OFF         EOT_OFF
                   2981: # Most of these terminals required an option ROM to support lower case display.
                   2982: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   2983: # socket, you may be out of luck.
                   2984: #
                   2985: # (adm3a: some capabilities merged in from BRl entry -- esr)
                   2986: adm3a|lsi adm3a,
                   2987:        OTbs, am,
                   2988:        cols#80, lines#24,
                   2989:        OTma=^K^P, OTnl=^J, OTrs=^N,
                   2990:        bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   2991:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
                   2992:        ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rs1=^N,
                   2993: adm3a+|adm3a plus,
                   2994:        kbs=^H,
                   2995:        use=adm3a,
                   2996: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
                   2997: adm5|lsi adm5,
                   2998:        xmc#1,
                   2999:        bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
                   3000:        rmso=\EG, smso=\EG, use=adm3a+,
                   3001: # A lot of terminals other than adm11s use these.  Wherever you see
                   3002: # use=adm+sgr with some of its capabilities disabled, try the
                   3003: # disabled ones.  They may well work but not have been documented or
                   3004: # expressed in the using entry.  We'd like to cook up an <sgr> but the
                   3005: # <rmacs>/<smacs> sequences of the using entries vary too much.
                   3006: adm+sgr|adm style highlight capabilities,
                   3007:        invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
                   3008:        smso=\EG4, smul=\EG8,
                   3009: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
                   3010: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
                   3011: # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
                   3012: # be ^Z, according to his entry.
                   3013: # (adm11: <smul>=\EG4 was obviously erroneous because it also said
                   3014: # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
                   3015: adm11|LSI ADM-11,
                   3016:        OTbs, am, hs,
                   3017:        OTkn#8, cols#80, lines#24,
                   3018:        OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, cud1=^J,
                   3019:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3020:        dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, kbs=^H,
                   3021:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf2=^AA\r,
                   3022:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   3023:        kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
                   3024:        use=adm+sgr,
                   3025: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   3026: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
                   3027: # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
                   3028: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
                   3029: # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
                   3030: # via BRL.  That entry asserted <xmc#1>, but I've left that out because
                   3031: # neither earlier nor later ADMSs have it -- esr)
                   3032: #
                   3033: # You will need to get into the supervisor setup before you can set
                   3034: # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
                   3035: # see a lot more setup options.
                   3036: #
                   3037: # While in supervisor setup you can also use following codes:
                   3038: #
                   3039: # Ctrl-P Personality character selections (configure for example what
                   3040: #        arrow keys send, if I recall correctly)
                   3041: # Ctrl-T tabs 1-80   use left&right to move and up to set and
                   3042: # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
                   3043: # Ctrl-B Binary setup (probably not needed. I think that everything can
                   3044: #        be set using normal setup)
                   3045: # Ctrl-A Answerback mode (enter answerback message)
                   3046: # Ctrl-U User friendly mode (normal setup)
                   3047: # Ctrl-D Defaults entire setup and function keys from EPROM tables
                   3048: # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
                   3049: # Ctrl-R Reads both setup and functions keys from NVM.
                   3050: # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
                   3051: #
                   3052: # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
                   3053: # RTS/CTS used nowadays with virtually every modem and computer. 19200
                   3054: # bps works fine with hardware flow control.
                   3055: #
                   3056: # The following null-modem cable should fix this and enable you to use
                   3057: # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
                   3058: # set ADM-12+ for DTR handshaking from supervisor setup.
                   3059: #
                   3060: # PC Serial   ADM-12+
                   3061: #  --------   -------
                   3062: #         2 - 3
                   3063: #         3 - 2
                   3064: #         4 - 5
                   3065: #         5 - 20
                   3066: #       6,8 - 4
                   3067: #         7 - 7
                   3068: #        20 - 6,8
                   3069: #
                   3070: adm12|lsi adm12,
                   3071:        OTbs, OTpt, am, mir,
                   3072:        OTug#1, cols#80, it#8, lines#24,
                   3073:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3074:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3075:        dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
                   3076:        is2=\E0\s\s\s\s\s\s\s\s\E1\s\s\s\s\s\s\s\s\E1\s\s\s\s\s\s\s\s\E1\s\s\s\s\s\s\s\s\E1\s\s\s\s\s\s\s\s\E1\s\s\s\s\s\s\s\s\E1\s\s\s\s\s\s\s\s\E1\s\s\s\s\s\s\s\s\E1,
                   3077:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r,
                   3078:        kf1=^A1\r, kf2=^A2\r, kf3=^A3\r, kf4=^A4\r,
                   3079:        kf5=^A5\r, kf6=^A6\r, kf7=^A7\r, kf8=^A8\r,
                   3080:        kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0,
                   3081:        use=adm+sgr,
                   3082: # (adm20: removed obsolete ":kn#7:" -- esr)
                   3083: adm20|lear siegler adm20,
                   3084:        am, OTbs,
                   3085:        cols#80, it#8, lines#24,
                   3086:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
                   3087:        cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K,
                   3088:        dch1=\EW, dl1=\ER, ed=\EY, el=\ET, home=^^, ht=\t,
                   3089:        ich1=\EQ, il1=\EE, kf1=^A, kf2=^B, kf3=^W, kf4=^D,
                   3090:        kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
                   3091:        sgr0=\E(, smso=\E),
                   3092: adm21|lear siegler adm21,
                   3093:        xmc#1,
                   3094:        cr=^M, cud1=^J, ind=^J, bel=^G, ed=\EY, el=\ET, il1=30*\EE,
                   3095:        dl1=30*\ER, ich1=\EQ, dch1=\EW, kbs=^H, kcub1=^H,
                   3096:        kcuf1=^L, kcuu1=^K, kcud1=^J, khome=^^,
                   3097:        invis@, use=adm+sgr, use=adm3a,
                   3098: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
                   3099: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
                   3100: # removed bogus-looking \200 from before <cup>. -- esr)
                   3101: adm22|lsi adm22,
                   3102:        am, OTbs,
                   3103:        cols#80, lines#24,
                   3104:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3105:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3106:        dch1=\EW, dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei,
                   3107:        ich1=\EQ, il1=\EE,
                   3108:        is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0,
                   3109:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   3110:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   3111:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, khome=^^, lf1=F1,
                   3112:        lf2=F2, lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7,
                   3113:        rmso=\E(, sgr0=\E(, smso=\E),
                   3114: # ADM 31 DIP Switches
                   3115: #
                   3116: # This information comes from two versions of the manual for the
                   3117: # Lear-Siegler ADM 31.
                   3118: #
                   3119: # Main board:
                   3120: #                  rear of case
                   3121: #   +-||||-------------------------------------+
                   3122: #   + S1S2                              ||S    +
                   3123: #   +                                   ||3    +
                   3124: #   +                                          +
                   3125: #   +                                ||S       +
                   3126: #   +                                ||4       +
                   3127: #   +                                          +
                   3128: #   +                                          +
                   3129: #   +                                          +
                   3130: #   +                                          +
                   3131: #   +                                          +
                   3132: # +-+                                          +-+
                   3133: # +                                              +
                   3134: # +                               S5 S6 S7       +
                   3135: # +                               == == ==       +
                   3136: # +----------------------------------------------+
                   3137: #            front of case (keyboard)
                   3138: #
                   3139: #  S1 - Data Rate - Modem
                   3140: #  S2 - Data Rate - Printer
                   3141: # ------------------------
                   3142: # Data Rate   Setting
                   3143: # -------------------
                   3144: # 50          0 0 0 0
                   3145: # 75          1 0 0 0
                   3146: # 110         0 1 0 0
                   3147: # 134.5       1 1 0 0
                   3148: # 150         0 0 1 0
                   3149: # 300         1 0 1 0
                   3150: # 600         0 1 1 0
                   3151: # 1200        1 1 1 0
                   3152: # 1800        0 0 0 1
                   3153: # 2000        1 0 0 1
                   3154: # 2400        0 1 0 1
                   3155: # 3600        1 1 0 1
                   3156: # 4800        0 0 1 1
                   3157: # 7200        1 0 1 1
                   3158: # 9600        0 1 1 1
                   3159: # x           1 1 1 1
                   3160: #
                   3161: # S3 - Interface/Printer/Attributes
                   3162: # ---------------------------------
                   3163: # Printer Busy Control
                   3164: # sw1   sw2   sw3
                   3165: # ---------------
                   3166: # off   off   off   Busy not active, CD disabled
                   3167: # off   off   on    Busy not active, CD enabled
                   3168: # off   on    off   Busy active on J5-20, CD disabled
                   3169: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   3170: # on    off   on    Busy active on J5-19, CD enabled
                   3171: #
                   3172: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   3173: #
                   3174: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   3175: #
                   3176: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   3177: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   3178: #
                   3179: # sw7   ON - steady cursor - Factory Setting
                   3180: #       OFF - blinking cursor
                   3181: #
                   3182: # sw8   ON causes selected attribute character to be displayed
                   3183: #       OFF causes SPACE to be displayed instead - Factory Setting
                   3184: #
                   3185: # S4 - Interface
                   3186: # --------------
                   3187: # Modem Interface
                   3188: # S3    S4    S4    S4    S4
                   3189: # sw4   sw1   sw2   sw3   sw4
                   3190: # ---------------------------
                   3191: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   3192: #                               Current Loop disabled - Factory Setting
                   3193: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   3194: #                               disabled
                   3195: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   3196: #                               Current Loop Disabled
                   3197: #
                   3198: # sw5   ON disables dot stretching mode - Factory Setting
                   3199: #       OFF enables dot stretching mode
                   3200: # sw6   ON enables blanking function
                   3201: #       OFF enables underline function - Factory Setting
                   3202: # sw7   ON causes NULLS to be displayed as NULLS
                   3203: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   3204: #
                   3205: # S5 - Word Structure
                   3206: # -------------------
                   3207: # sw1   ON enables BREAK key - Factory Setting
                   3208: #       OFF disables BREAK key
                   3209: # sw2   ON selects 50Hz monitor refresh rate
                   3210: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   3211: #
                   3212: # Modem Port Selection
                   3213: # sw3   sw4   sw5
                   3214: # ---------------
                   3215: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   3216: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   3217: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   3218: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   3219: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   3220: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   3221: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   3222: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
                   3223: #
                   3224: # sw6   ON  sends bit 8 a 1 (mark)
                   3225: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   3226: # sw7   ON  selects Block Mode
                   3227: #       OFF selects Conversation Mode - Factory Setting
                   3228: # sw8   ON  selects Full Duplex operation
                   3229: #       OFF selects Half Duplex operation - Factory Setting
                   3230: #
                   3231: # S6 - Printer
                   3232: # ------------
                   3233: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   3234: #
                   3235: # Printer Port Selection
                   3236: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   3237: #
                   3238: # sw8   ON   enables Printer Port
                   3239: #       OFF disables Printer Port - Factory Setting
                   3240: #
                   3241: # S7 - Polling Address
                   3242: # --------------------
                   3243: # sw1-7 Establish ASCII character which designates terminal polling address
                   3244: #       ON  = logic 0
                   3245: #       OFF = logic 1 - Factory Setting
                   3246: # sw8   ON   enables Polling Option
                   3247: #       OFF disables Polling Option - Factory Setting
                   3248: #
                   3249: #
                   3250: # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
                   3251: #
                   3252: # This adm31 entry uses underline as the standout mode.
                   3253: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   3254: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   3255: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   3256: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
                   3257: adm31|lsi adm31 with sw6 set for underline mode,
                   3258:        am, mir, OTbs,
                   3259:        cols#80, lines#24,
                   3260:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3261:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3262:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J,
                   3263:        is2=\Eu\E0, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   3264:        kf0=^A0\r, kf1=^A1\r, kf2=^A2\r, kf3=^A3\r,
                   3265:        kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, kf7=^A7\r,
                   3266:        kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
                   3267:        rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
                   3268: adm31-old|o31|old adm31,
                   3269:        smso=\EG4, smul@, rmul@, use=adm31,
                   3270: # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
                   3271: adm36|LSI ADM36,
                   3272:        OTbs, OTpt,
                   3273:        OTkn#4,
                   3274:        if=/usr/lib/tabset/vt100,
                   3275:        is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l,
                   3276:        use=vt100,
                   3277: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   3278: adm42|lsi adm42,
                   3279:        OTbs, am,
                   3280:        cols#80, lines#24,
                   3281:        bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3282:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3283:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY,
                   3284:        el=\ET, ht=^I, il1=\EE$<270>, ind=^J, ip=$<6*>,
                   3285:        kcud1=^J, kcuf1=^L, kcuu1=^K, kcub1=^H, khome=^^,
                   3286:        pad=\177, rmir=\Er, smir=\Eq,
                   3287:        invis@, smul@, rmul@, use=adm+sgr,
                   3288: # The following termcap for the Lear Siegler ADM-42 leaves the
                   3289: # "system line" at the bottom of the screen blank (for those who
                   3290: # find it distracting otherwise)
                   3291: adm42-ns|lsi adm-42 with no system line,
                   3292:        il1=\EE\EF\s^I, cbt=\EI\EF\s^I, ed=\EY\EF\s^I, el=\ET\EF\s^I,
                   3293:        clear=\E;\EF\s^I, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF\s^I,
                   3294:        dch1=\EW\EF\s^I, dl1=\ER\EF\s^I, rmir=\Er\EF\s^I, smir=\Eq\EF\s^I,
                   3295:        use=adm42,
                   3296: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
                   3297: # The insert mode of this terminal is commented out because it's broken for our
                   3298: # purposes in that it will shift the position of every character on the page,
                   3299: # not just the cursor line!
                   3300: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
                   3301: adm1178|1178|lsi adm1178,
                   3302:        am,
                   3303:        cols#80, lines#24, xmc#1,
                   3304:        bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
                   3305:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3306:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
                   3307:        home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
                   3308:        kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, .rmir=\E>, rmso=\EG0,
                   3309:        rmul=\EG0, sgr0=\E), .smir=\E<, smso=\EG4, smul=\EG1,
                   3310:
                   3311: #### Qume (qvt)
                   3312: #
                   3313: #      Qume, Inc.
                   3314: #      3475-A North 1st Street
                   3315: #      San Jose CA 95134
                   3316: #      Vox: (800)-457-4447
                   3317: #      Fax: (408)-473-1510
                   3318: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   3319: #
                   3320: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   3321: # group and production division.
                   3322: #
                   3323: # Discontinued Qume models:
                   3324: #
                   3325: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   3326: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   3327: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   3328: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   3329: # ANSI-compatible terminals with the qvt323 and qvt61.
                   3330: #
                   3331: # Current Qume models (as of February 1995):
                   3332: #
                   3333: # All current Qume terminals have ANSI-compatible operation modes.
                   3334: # Qume is still producing the qvt62, which features emulations for other
                   3335: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   3336: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
                   3337: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
                   3338: # model is the qvt520, which is vt420-compatible.
                   3339: #
                   3340: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   3341: #
                   3342: # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
                   3343: # setup mode.  Shift-s should be a configuration save to NVRAM.
                   3344:
                   3345: qvt101|qvt108|qume qvt 101 and QVT 108,
                   3346:        xmc#1, use=qvt101+,
                   3347:
                   3348: # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
                   3349: # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
                   3350: # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
                   3351: # What seems to be going on here is that this entry was designed so that
                   3352: # the normal highlight is bold and standout is dim plus something else
                   3353: # (reverse-video maybe?  But then, are there two <rev> sequences?)
                   3354: qvt101+|qvt101p|qume qvt 101 PLUS product,
                   3355:        am, bel=^G, bw, kcbt=\EI, cbt=\EI, clear=^Z, cnorm=\E.4,
                   3356:        cols#80, lines#24,
                   3357:        tbc=\E3, hts=\E1, cr=^M, cub1=^H, cud1=^J, cud1=^J, cuf1=^L,
                   3358:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3359:        dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
                   3360:        flash=\Eb$<200>\Ed, fsl=\r\Eg, home=^^, hs,
                   3361:        ht=^I, ich1=\EQ, il1=\EE, ind=^J,
                   3362:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   3363:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   3364:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, kf10=^AI\r,
                   3365:        khome=^^, kich1=\EQ, kil1=\EE, kdl1=\ER,
                   3366:        kel=\ET, ked=\EY, rmso=\E(, smso=\E0P\E), ul, xmc#0,
                   3367:        hs, tsl=\Eg\Ef, fsl=\r, dsl=\Eg\Ef\r, mc5=\E@, mc4=\EA,
                   3368:        invis@, use=adm+sgr,
                   3369: qvt102|qume qvt 102,
                   3370:        cnorm=\E., use=qvt101,
                   3371: # (qvt103: added <rmam>/<smam> based on init string -- esr)
                   3372: qvt103|qume qvt 103,
                   3373:        cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, it#8,
                   3374:        clear=\E[H\E[2J$<50>, cub1=^H, am, cup=\E[%i%p1%d;%p2%dH$<5>,
                   3375:        cuf1=\E[C$<2>, cuu1=\E[A$<2>, el=\E[K$<3>, ed=\E[J$<50>,
                   3376:        cud=\E[%p1%dB, cuu=\E[%p1%dA, cub=\E[%p1%dD, cuf=\E[%p1%dC,
                   3377:        smso=\E[7m$<2>, rmso=\E[m$<2>, smul=\E[4m$<2>, rmul=\E[m$<2>,
                   3378:        bold=\E[1m$<2>, rev=\E[7m$<2>, blink=\E[5m$<2>, sgr0=\E[m$<2>,
                   3379:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   3380:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
                   3381:        tbc=\E[3g, hts=\EH, home=\E[H,
                   3382:        kcuu1=\EOA, kcud1=\EOB, kcuf1=\EOC, kcub1=\EOD, kbs=^H,
                   3383:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ht=^I, ri=\EM$<5>,
                   3384:        vt#3, xenl, xon, sc=\E7, rc=\E8, csr=\E[%i%p1%d;%p2%dr,
                   3385:        rmam=\E[?7l, smam=\E[?7h,
                   3386: qvt103-w|qume qvt103 132 cols,
                   3387:        cols#132, lines#24, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
                   3388: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
                   3389:        tbc=\E3, hts=\E1, ht=^I, cr=^M, cud1=^J, ind=^J, bel=^G,
                   3390:        lines#24, cols#80, cnorm=\E.4, cvvis=\E.2,
                   3391:        is2=\EDF\EC\EG0\Er\E(\E%EX,
                   3392:        il1=\EE, am, cub1=^H, cbt=\EI, ed=\Ey, el=\Et, clear=\E*1,
                   3393:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, dch1=\EW, dl1=\ER,
                   3394:        cud1=^J, rmir=\Er, home=^^, smir=\Eq, kf0=^AI\r,
                   3395:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   3396:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, kbs=^H, kcud1=^J, khome=^^, kcub1=^H,
                   3397:        kcuf1=^L, kcuu1=^K, mir, msgr, cuf1=^L,
                   3398:        xmc#0, ri=\EJ, cuu1=^K, smul=\EG8, flash=\En0$<200>\En1,
                   3399:        hs, tsl=\Eg\Ef, fsl=\r, dsl=\Eg\Ef\r, mc5=\E@, mc4=\EA,
                   3400:        use=adm+sgr,
                   3401: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
                   3402:        lines#25, use=qvt119+,
                   3403: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
                   3404:        cols#132, is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
                   3405: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
                   3406:        lines#25, use=qvt119+,
                   3407: qvt203|qvt203+|qume qvt 203 Plus,
                   3408:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>,
                   3409:        ind=\n$<30>, ip=$<7>, kf0=\E[29~, kf1=\E[17~,
                   3410:        kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~,
                   3411:        kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[28~,
                   3412:        rmir=\E[4l, smir=\E[4h,
                   3413:        use=qvt103,
                   3414: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
                   3415:        cols#132, lines#24, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
                   3416: #
                   3417: #      Since a command is present for enabling 25 data lines,
                   3418: #      a specific terminfo entry may be generated for the 203.
                   3419: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   3420: #      be selected in the status line (setup line 9).
                   3421: #
                   3422: qvt203-25|QVT 203 PLUS with 25 by 80 column mode,
                   3423:        cols#80, lines#25, is2=\E[=40h\E[?3l, use=qvt203,
                   3424: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
                   3425:        cols#132, lines#25, rs2=\E[?3h\E[=40h, use=qvt203,
                   3426:
                   3427: #### Televideo (tvi)
                   3428: #
                   3429: #      TeleVideo
                   3430: #      550 East Brokaw Road
                   3431: #      PO Box 49048    95161
                   3432: #      San Jose CA 95112
                   3433: #      Vox: (408)-954-8333
                   3434: #      Fax: (408)-954-0623
                   3435: #
                   3436: #% TeleVideo: Dick Kelby (408)-955-7494 (Application Mgr)
                   3437: #
                   3438: # There are some tvi terminals that require incredible amounts of padding and
                   3439: # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
                   3440: # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
                   3441: #
                   3442: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   3443: # Televideo terminals are ANSI and PC-ANSI compatible.
                   3444:
                   3445: tvi803|televideo 803,
                   3446:        clear=\E*$<10>, use=tvi950,
                   3447:
                   3448: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
                   3449: # Switch settings are:
                   3450: #
                   3451: # S1  1 2 3 4
                   3452: #     D D D D  9600
                   3453: #     D D D U    50
                   3454: #     D D U D    75
                   3455: #     D D U U   110
                   3456: #     D U D D   135
                   3457: #     D U D U   150
                   3458: #     D U U D   300
                   3459: #     D U U U   600
                   3460: #     U D D D  1200
                   3461: #     U D D U  1800
                   3462: #     U D U D  2400
                   3463: #     U D U U  3600
                   3464: #     U U D D  4800
                   3465: #     U U D U  7200
                   3466: #     U U U D  9600
                   3467: #     U U U U 19200
                   3468: #
                   3469: # S1  5 6 7 8
                   3470: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   3471: #     U D X U  7N2
                   3472: #     U U D D  7O1
                   3473: #     U U D U  7O2
                   3474: #     U U U D  7E1
                   3475: #     U U U U  7E2
                   3476: #     D D X D  8N1
                   3477: #     D D X U  8N2
                   3478: #     D U D D  8O1
                   3479: #     D U U U  8E2
                   3480: #
                   3481: # S1  9  Autowrap
                   3482: #     U  on
                   3483: #     D  off
                   3484: #
                   3485: # S1 10  CR/LF
                   3486: #     U  do CR/LF when CR received
                   3487: #     D  do CR when CR received
                   3488: #
                   3489: # S2  1  Mode
                   3490: #     U  block
                   3491: #     D  conversational
                   3492: #
                   3493: # S2  2  Duplex
                   3494: #     U  half
                   3495: #     D  full
                   3496: #
                   3497: # S2  3  Hertz
                   3498: #     U  50
                   3499: #     D  60
                   3500: #
                   3501: # S2  4  Edit mode
                   3502: #     U  local
                   3503: #     D  duplex
                   3504: #
                   3505: # S2  5  Cursor type
                   3506: #     U  underline
                   3507: #     D  block
                   3508: #
                   3509: # S2  6  Cursor down key
                   3510: #     U  send ^J
                   3511: #     D  send ^V
                   3512: #
                   3513: # S2  7  Screen colour
                   3514: #     U  green on black
                   3515: #     D  black on green
                   3516: #
                   3517: # S2  8  DSR status (pin 6)
                   3518: #     U  disconnected
                   3519: #     D  connected
                   3520: #
                   3521: # S2  9  DCD status (pin 8)
                   3522: #     U  disconnected
                   3523: #     D  duplex
                   3524: #
                   3525: # S2 10  DTR status (pin 20)
                   3526: #     U  disconnected
                   3527: #     D  duplex
                   3528: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
                   3529: # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
                   3530: tvi910|televideo model 910,
                   3531:        OTbs, am, msgr,
                   3532:        cols#80, it#8, lines#24, xmc#1,
                   3533:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3534:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY,
                   3535:        el=\ET, home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=\t,
                   3536:        if=/usr/share/tabset/stdcrt, ind=^J, kbs=^H, kcub1=^H,
                   3537:        kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
                   3538:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   3539:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   3540:        khome=^^, vpa=\E[%p1%{32}%+%c, invis@, use=adm+sgr,
                   3541: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   3542: # as subsequently hacked over by someone at SCO
                   3543: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   3544: #
                   3545: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   3546: #
                   3547: # S1  1 2 3 4:
                   3548: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   3549: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   3550: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   3551: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   3552: #
                   3553: # S1  5 6 7 8:
                   3554: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   3555: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   3556: #     D U D D  8O1     D U U U  8E2
                   3557: #
                   3558: # S1  9  Autowrap            (U = on, D = off)
                   3559: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   3560: # S2  1  Mode                (U = block, D = conversational)
                   3561: # S2  2  Duplex              (U =  half, D = full)
                   3562: # S2  3  Hertz               (U = 50, D = 60)
                   3563: # S2  4  Edit mode           (U = local, D = duplex)
                   3564: # S2  5  Cursor type         (U = underline, D = block)
                   3565: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   3566: # S2  7  Screen colour       (U = green on black, D = black on green)
                   3567: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   3568: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   3569: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   3570: #
                   3571: tvi910+|televideo 910+,
                   3572:        dch1=\EW, dl1=\ER$<33*>, home=^^,
                   3573:        ich1=\EQ, il1=\EE$<33*>, kf0=^A@\r, kf1=^AA\r,
                   3574:        kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
                   3575:        kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
                   3576:        ll=\E=7 ,
                   3577:        use=tvi910,
                   3578:
                   3579: # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
                   3580: # <khome> from BRL entry -- esr)
                   3581: tvi912|tvi914|tvi920|old televideo 912/914/920,
                   3582:        OTbs, OTpt, am, msgr,
                   3583:        it#8, cols#80, lines#24, xmc#1,
                   3584:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   3585:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3586:        dl1=\ER$<33*>, ed=\Ey, el=\ET,  flash=\Eb$<50/>\Ed,
                   3587:        home=^^, ht=^I, hts=\E1, ich1=\EQ,
                   3588:        if=/usr/share/tabset/stdcrt, il1=\EE$<33*>, ind=^J,
                   3589:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   3590:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   3591:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   3592:        kf8=^AG\r, kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em,
                   3593:        smso=\Ej, smul=\El, tbc=\E3,
                   3594: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   3595: # The 920 has this plus real function keys that xmit different things.
                   3596: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
                   3597: tvi912c|tvi912b|new televideo 912,
                   3598:        dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912,
                   3599: # set to page 1 when entering curses application (\E-17 )
                   3600: # reset to page 0 when exiting curses application (\E-07 )
                   3601: tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages,
                   3602:        rmcup=\E-07\s, smcup=\E-17\s, use=tvi912,
                   3603: # We got some new tvi912c terminals that act really weird on the regular
                   3604: # termcap, so one of our gurus worked this up. Seems that cursor
                   3605: # addressing is broken.
                   3606: tvi912cc|tvi912 at cowell college,
                   3607:        cup@, use=tvi912c,
                   3608:
                   3609: # Here are the switch settings for the tvi920c:
                   3610: #
                   3611: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   3612: # 2: 9600      3: 4800         4: 2400         5: 1200
                   3613: # 6:  600      7:  300         8:  150         9:   75
                   3614: # 10: 110
                   3615: #
                   3616: # S2 UART/Terminal options:
                   3617: #              Up                      Down
                   3618: # 1:           Not used                Not allowed
                   3619: # 2:   Alternate character set   Standard character set
                   3620: # 3:       Full duplex             Half duplex
                   3621: # 4:       50 Hz refresh           60 Hz refresh
                   3622: # 5:         No parity              Send parity
                   3623: # 6:        2 stop bits             1 stop bit
                   3624: # 7:        8 data bits             7 data bits
                   3625: # 8:           Not used                Not allowed on Rev E or lower
                   3626: # 9:        Even parity             Odd parity
                   3627: # 10:      Steady cursor           Blinking cursor
                   3628: #      (On Rev E or lower, use W25 instead of switch 10.)
                   3629: #
                   3630: # S5 UART/Terminal options:
                   3631: #              Open                    Closed
                   3632: # 1:   P3-6 Not connected      DSR received on P3-6
                   3633: # 2:   P3-8 Not connected      DCD received on P3-8
                   3634: #
                   3635: # 3 Open, 4 Open:              P3-20 Not connected
                   3636: # 3 Open, 4 Closed:    DTR on when terminal is on
                   3637: # 3 Closed, 4 Open:    DTR is connected to RTS
                   3638: # 3 Closed, 4 Closed:  Not allowed
                   3639: #
                   3640: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   3641: #              all data transmitted out of the modem port (P3) will also be
                   3642: #              transmitted out of the printer port (P4).
                   3643: #
                   3644: # 6 Open, 7 Open:              Not allowed
                   3645: # 6 Open, 7 Closed:    20ma current loop input
                   3646: # 6 Closed, 7 Open:    RS232 input
                   3647: # 6 Closed, 7 Closed:  Not allowed
                   3648: #
                   3649: # Jumper options:
                   3650: # If the jumper is installed, the effect will occur (the next time the terminal
                   3651: # is switched on).
                   3652: #
                   3653: # S4/W31:      Enables automatic LF upon receipt of CR from
                   3654: #              remote or keyboard.
                   3655: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   3656: #              installed, a carriage return is sent.
                   3657: # S4/W33:      Disables automatic carriage return in column 80.
                   3658: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   3659: #              installed, Extension Mode is selected.
                   3660: #
                   3661: tvi920b|tvi920c|new televideo 920,
                   3662:        dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r,
                   3663:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   3664:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, use=tvi912,
                   3665:
                   3666: # Televideo 921 and variants
                   3667: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
                   3668: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
                   3669: # also added empty <acsc> to suppress tic warning -- esr)
                   3670: tvi921|televideo model 921 with sysline same as page & real vi function,
                   3671:        OTbs, OTpt, am, hs, xenl, xhp,
                   3672:        cols#80, lines#24, xmc#0,
                   3673:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
                   3674:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>,
                   3675:        cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>,
                   3676:        dsl=\Ef\r\Eg, ed=\EY, el=\ET, fsl=\Eg, home=^^,
                   3677:        ht=^I, ich1=\EQ, if=/usr/share/tabset/stdcrt,
                   3678:        il1=\EE, ind=^J, is2=\El\E"\EF1\E.3\017\EA\E<,
                   3679:        kbs=^H, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
                   3680:        kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, ked=\EY,
                   3681:        kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%,
                   3682:        rmir=, smacs=\E$, smir=, tsl=\Ef\EG0,
                   3683:        invis@, use=adm+sgr,
                   3684: # without the beeper
                   3685: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
                   3686: # also added empty <acsc> to suppress tic warning -- esr)
                   3687: tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper,
                   3688:        am, hs, xenl, xhp,
                   3689:        cols#80, lines#24, xmc#0,
                   3690:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
                   3691:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>,
                   3692:        cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>,
                   3693:        dsl=\Ef\r\Eg, ed=\EY, el=\ET,
                   3694:        flash=\Eb$<200/>\Ed, fsl=\Eg,
                   3695:        home=^^, ht=^I, ich1=\EQ,
                   3696:        if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   3697:        is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
                   3698:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   3699:        kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ,
                   3700:        kil1=\EE, nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0,
                   3701:        invis@, use=adm+sgr,
                   3702: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3703: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
                   3704:        dl1=\ER$<2*/>, il1=\EE$<2*/>,
                   3705:        is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
                   3706:        kil1=\EE$<2*/>,
                   3707:        use=tvi92B,
                   3708:
                   3709: # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
                   3710: # in from a BSD termcap file because it looks like they do something the
                   3711: # old ones skip -- esr)
                   3712: tvi924|televideo tvi924,
                   3713:        am, bw, hs, in, mir, msgr, xenl, xon,
                   3714:        cols#80, it#8, lines#24, wsl#80, xmc#0,
                   3715:        bel=^G, blink=\EG2, cbt=\EI, civis=\E.0,
                   3716:        clear=\E*0, cnorm=\E.3, cr=^M,
                   3717:        csr=\E_%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
                   3718:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3719:        cvvis=\E.1, dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey,
                   3720:        el=\Et, flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I,
                   3721:        hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt,
                   3722:        il1=\EE, ind=^J, invis=\EG1,
                   3723:        is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, kbs=^H,
                   3724:        kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   3725:        kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r,
                   3726:        kf1=^AA\r, kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r,
                   3727:        kf13=^AM\r, kf14=^AN\r, kf15=^AO\r, kf2=^AB\r,
                   3728:        kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, kf6=^AF\r,
                   3729:        kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
                   3730:        kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11,
                   3731:        lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8,
                   3732:        lf8=F9, lf9=F10, pfkey=\E|%p1%'1'%+%c%p2%s\031,
                   3733:        ri=\Ej, tbc=\E3, tsl=\Ef, invis@, use=adm+sgr,
                   3734:
                   3735: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   3736: #
                   3737: # Here are the settings for the external (baud) switches (S1):
                   3738: #
                   3739: #             Position         Baud
                   3740: # 7    8       9       10              [Printer]
                   3741: # 1    2       3       4               [Main RS232]
                   3742: # -----------------------------------------------------
                   3743: # D    D       D       D       9600
                   3744: # D    D       D       U         50
                   3745: # D    D       U       D         75
                   3746: # D    D       U       U        110
                   3747: # D    U       D       D        135
                   3748: # D    U       D       U        150
                   3749: # D    U       U       D        300
                   3750: # D    U       U       U        600
                   3751: # U    D       D       D       1200
                   3752: # U    D       D       U       1800
                   3753: # U    D       U       D       2400
                   3754: # U    D       U       U       3600
                   3755: # U    U       D       D       4800
                   3756: # U    U       D       U       7200
                   3757: # U    U       U       D       9600
                   3758: # U    U       U       U       19200
                   3759: #
                   3760: #
                   3761: # Settings for word length and stop-bits (S1)
                   3762: #
                   3763: #  Position    Description
                   3764: # 5    6
                   3765: # ---------------------------
                   3766: # U    -       7-bit word
                   3767: # D    -       8-bit word
                   3768: # -    U       2 stop bits
                   3769: # -    D       1 stop bit
                   3770: #
                   3771: #
                   3772: # S2 (external) settings
                   3773: #
                   3774: # Position     Up      Dn      Description
                   3775: # --------------------------------------------
                   3776: # 1            X               Local edit
                   3777: #                      X       Duplex edit (transmit editing keys)
                   3778: # --------------------------------------------
                   3779: # 2            X               912/920 emulation
                   3780: #                      X       925
                   3781: # --------------------------------------------
                   3782: # 3                    X
                   3783: # 4                    X       No parity
                   3784: # 5                    X
                   3785: # --------------------------------------------
                   3786: # 3                    X
                   3787: # 4                    X       Odd parity
                   3788: # 5            X
                   3789: # --------------------------------------------
                   3790: # 3                    X
                   3791: # 4            X               Even parity
                   3792: # 5            X
                   3793: # --------------------------------------------
                   3794: # 3            X
                   3795: # 4                    X       Mark parity
                   3796: # 5            X
                   3797: # --------------------------------------------
                   3798: # 3            X
                   3799: # 4            X               Space parity
                   3800: # 5            X
                   3801: # --------------------------------------------
                   3802: # 6            X               White on black display
                   3803: #                      X       Black on white display
                   3804: # --------------------------------------------
                   3805: # 7                    X       Half Duplex
                   3806: # 8                    X
                   3807: # --------------------------------------------
                   3808: # 7            X               Full Duplex
                   3809: # 8                    X
                   3810: # --------------------------------------------
                   3811: # 7                    X       Block mode
                   3812: # 8            X
                   3813: # --------------------------------------------
                   3814: # 9                    X       50 Hz
                   3815: #              X               60 Hz
                   3816: # --------------------------------------------
                   3817: # 10           X               CR/LF (Auto LF)
                   3818: #                      X       CR only
                   3819: #
                   3820: # S3 (internal switch) settings:
                   3821: #
                   3822: # Position     Up      Dn      Description
                   3823: # --------------------------------------------
                   3824: # 1            X               Keyclick off
                   3825: #                      X       Keyclick on
                   3826: # --------------------------------------------
                   3827: # 2                    X       English
                   3828: # 3                    X
                   3829: # --------------------------------------------
                   3830: # 2                    X       German
                   3831: # 3            X
                   3832: # --------------------------------------------
                   3833: # 2            X               French
                   3834: # 3                    X
                   3835: # --------------------------------------------
                   3836: # 2            X               Spanish
                   3837: # 3            X
                   3838: # --------------------------------------------
                   3839: # 4                    X       Blinking block cursor
                   3840: # 5                    X
                   3841: # --------------------------------------------
                   3842: # 4                    X       Blinking underline cursor
                   3843: # 5            X
                   3844: # --------------------------------------------
                   3845: # 4            X               Steady block cursor
                   3846: # 5                    X
                   3847: # --------------------------------------------
                   3848: # 4            X               Steady underline cursor
                   3849: # 5            X
                   3850: # --------------------------------------------
                   3851: # 6            X               Screen blanking timer (ON)
                   3852: #                      X       Screen blanking timer (OFF)
                   3853: # --------------------------------------------
                   3854: # 7            X               Page attributes
                   3855: #                      X       Line attributes
                   3856: # --------------------------------------------
                   3857: # 8            X               DCD disconnected
                   3858: #                      X       DCD connected
                   3859: # --------------------------------------------
                   3860: # 9            X               DSR disconnected
                   3861: #                      X       DSR connected
                   3862: # --------------------------------------------
                   3863: # 10           X               DTR Disconnected
                   3864: #                      X       DTR connected
                   3865: # --------------------------------------------
                   3866: #
                   3867: # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
                   3868: tvi925|televideo 925,
                   3869:        am, bw, hs, ul, OTbs,
                   3870:        cols#80, lines#24, xmc#1,
                   3871:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M,
                   3872:        cub1=^H, cud1=^V, cuf1=^L,
                   3873:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   3874:        cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY,
                   3875:        el=\ET, flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^,
                   3876:        ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, kbs=^H, is2=\El\E",
                   3877:        kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   3878:        kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
                   3879:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   3880:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   3881:        kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE,
                   3882:        ri=\Ej, tbc=\E3, tsl=\Eh\Ef,
                   3883:        invis@, use=adm+sgr,
                   3884: # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
                   3885: # to avoid "magic cookie" standout glitch:
                   3886: tvi925-hi|TeleVideo Model 925 with half intensity standout mode,
                   3887:        xmc@,
                   3888:        kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925,
                   3889:
                   3890: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   3891: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   3892: # for additional capabilities,
                   3893: # The following tvi descriptions from B:pjphar and virus!mike
                   3894: # is for all 950s.  It sets the following attributes:
                   3895: # full duplex (\EDF)           write protect off (\E()
                   3896: # conversation mode (\EC)      graphics mode off (\E%)
                   3897: # white on black (\Ed)         auto page flip off (\Ew)
                   3898: # turn off status line (\Eg)   clear status line (\Ef\r)
                   3899: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   3900: # edit mode (\Er)              load blank char to space (\Ee\040)
                   3901: # line edit mode (\EO)         enable buffer control (^O)
                   3902: # protect mode off (\E\047)    duplex edit keys (\El)
                   3903: # program unshifted send key to send line all (\E016)
                   3904: # program shifted send key to send line unprotected (\E004)
                   3905: # set the following to nulls:
                   3906: #      field delimiter (\Ex0\200\200)
                   3907: #      line delimiter (\Ex1\200\200)
                   3908: #      start-protected field delimiter (\Ex2\200\200)
                   3909: #      end-protected field delimiter (\Ex3\200\200)
                   3910: # set end of text delimiter to carriage return/null (\Ex4\r\200)
                   3911: #
                   3912: #                     TVI 950 Switch Setting Reference Charts
                   3913: #
                   3914: #                                     TABLE 1:
                   3915: #
                   3916: #      S1     1     2     3     4     5     6     7     8     9    10
                   3917: #          +-----------------------+-----+-----+-----------------------+
                   3918: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   3919: #          |                       |Bits |Bits |                       |
                   3920: #   +------+-----------------------+-----+-----+-----------------------+
                   3921: #   |  Up  |        See            |  7  |  2  |        See            |
                   3922: #   +------+-----------------------+-----+-----+-----------------------+
                   3923: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   3924: #   +------+-----------------------+-----+-----+-----------------------+
                   3925: #
                   3926: #
                   3927: #      S2     1     2     3     4     5     6     7     8     9    10
                   3928: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   3929: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   3930: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3931: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   3932: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3933: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   3934: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3935: #
                   3936: #                                    TABLE 2:
                   3937: #
                   3938: #             +-----------+-----+-----+-----+-----+-----------+
                   3939: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   3940: #             +-----------+-----+-----+-----+-----+           |
                   3941: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   3942: #             +-----------+-----+-----+-----+-----+-----------+
                   3943: #                         |  D  |  D  |  D  |  D  |   9600    |
                   3944: #                         |  U  |  D  |  D  |  D  |     50    |
                   3945: #                         |  D  |  U  |  D  |  D  |     75    |
                   3946: #                         |  U  |  U  |  D  |  D  |    110    |
                   3947: #                         |  D  |  D  |  U  |  D  |    135    |
                   3948: #                         |  U  |  D  |  U  |  D  |    150    |
                   3949: #                         |  D  |  U  |  U  |  D  |    300    |
                   3950: #                         |  U  |  U  |  U  |  D  |    600    |
                   3951: #                         |  D  |  D  |  D  |  U  |   1200    |
                   3952: #                         |  U  |  D  |  D  |  U  |   1800    |
                   3953: #                         |  D  |  U  |  D  |  U  |   2400    |
                   3954: #                         |  U  |  U  |  D  |  U  |   3600    |
                   3955: #                         |  D  |  D  |  U  |  U  |   4800    |
                   3956: #                         |  U  |  D  |  U  |  U  |   7200    |
                   3957: #                         |  D  |  U  |  U  |  U  |   9600    |
                   3958: #                         |  U  |  U  |  U  |  U  |  19200    |
                   3959: #                         +-----+-----+-----+-----+-----------+
                   3960: #
                   3961: #                                    TABLE 3:
                   3962: #                         +-----+-----+-----+-----------+
                   3963: #                         |  3  |  4  |  5  |   Parity  |
                   3964: #                         +-----+-----+-----+-----------+
                   3965: #                         |  X  |  X  |  D  |    None   |
                   3966: #                         |  D  |  D  |  U  |     Odd   |
                   3967: #                         |  D  |  U  |  U  |    Even   |
                   3968: #                         |  U  |  D  |  U  |    Mark   |
                   3969: #                         |  U  |  U  |  U  |   Space   |
                   3970: #                         +-----+-----+-----+-----------+
                   3971: #                                 X = don't care
                   3972: #
                   3973: #                                     CHART:
                   3974: #                         +-----+-----+-----------------+
                   3975: #                         |  7  |  8  | Communication   |
                   3976: #                         +-----+-----+-----------------+
                   3977: #                         |  D  |  D  |  Half Duplex    |
                   3978: #                         |  D  |  U  |  Full Duplex    |
                   3979: #                         |  U  |  D  |     Block       |
                   3980: #                         |  U  |  U  |     Local       |
                   3981: #                         +-----+-----+-----------------+
                   3982: #
                   3983: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
                   3984: # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
                   3985: # should be present and all tvi native modes use the same string for this.
                   3986: # Finally, note that BSD has cud1=^V. -- esr)
                   3987: tvi950|televideo 950,
                   3988:        am, hs, mir, msgr, xenl, xon, OTbs,
                   3989:        cols#80, it#8, lines#24, xmc#1,
                   3990:        acsc=d\rc\fe\nb\ti^K, bel=^G, cbt=\EI, clear=\E*,
                   3991:        cr=\r, cub1=\b, cud1=\n, cuf1=\f,
                   3992:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   3993:        dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et,
                   3994:        flash=\Eb$<200/>\Ed,
                   3995:        fsl=\r, home=^^, ht=\t, hts=\E1, ich1=\EQ, il1=\EE, ind=\n,
                   3996:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee\s^O\t\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\t\Ex3\0\0\Ex4\r\0\Ef\r,
                   3997:        kbs=\b, kcbt=\EI, kclr=\E*, kcub1=\b, kcud1=^V,
                   3998:        kcuf1=\f, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey,
                   3999:        kel=\Et, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   4000:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   4001:        kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
                   4002:        ri=\Ej, rmacs=^X, rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   4003:        invis@, use=adm+sgr,
                   4004: #
                   4005: # is for 950 with two pages adds the following:
                   4006: #      set 48 line page (\E\\2)
                   4007: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   4008: #      set local (no send) edit keys (\Ek)
                   4009: #
                   4010: # two page 950 adds the following:
                   4011: #      when entering ex, set 24 line page (\E\\1)
                   4012: #      when exiting ex, reset 48 line page (\E\\2)
                   4013: #                       place cursor at 0,24,1 (\E-07 )
                   4014: #      set duplex (send) edit keys (\El) when entering vi
                   4015: #      set local (no send) edit keys (\Ek) when exiting vi
                   4016: #
                   4017: tvi950-2p|televideo950 w/2 pages,
                   4018:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee\s^O\t\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\t\Ex3\0\0\Ex4\r\0\E\\2\E-07\s\t,
                   4019:        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   4020:        smkx=\El,
                   4021:        use=tvi950,
                   4022: #
                   4023: # is for 950 with four pages adds the following:
                   4024: #      set 96 line page (\E\\3)
                   4025: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   4026: #
                   4027: # four page 950 adds the following:
                   4028: #      when entering ex, set 24 line page (\E\\1)
                   4029: #      when exiting ex, reset 96 line page (\E\\3)
                   4030: #                       place cursor at 0,24,1 (\E-07 )
                   4031: #
                   4032: tvi950-4p|televideo950 w/4 pages,
                   4033:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee\s^O\t\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\t\Ex3\0\0\Ex4\r\0\E\\3\E-07\s\t,
                   4034:        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   4035:        smkx=\El,
                   4036:        use=tvi950,
                   4037: #
                   4038: # <is2> for reverse video 950 changes the following:
                   4039: #      set reverse video (\Ed)
                   4040: #
                   4041: # set vb accordingly (\Ed ...delay... \Eb)
                   4042: #
                   4043: tvi950-rv|televideo950 rev video,
                   4044:        flash=\Ed$<200/>\Eb,
                   4045:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee\s^O\t\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\t\Ex3\0\0\Ex4\r\0,
                   4046:        use=tvi950,
                   4047:
                   4048: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
                   4049: tvi950-rv-2p|televideo950 rev video w/2 pages,
                   4050:        flash=\Ed$<200/>\Eb,
                   4051:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee\s^O\t\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\t\Ex3\0\0\Ex4\r\0\E\\2\E-07\s,
                   4052:        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   4053:        smkx=\El,
                   4054:        use=tvi950,
                   4055:
                   4056: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
                   4057: tvi950-rv-4p|televideo950 rev video w/4 pages,
                   4058:        flash=\Ed$<200/>\Eb,
                   4059:        is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee\s^O\t\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\t\Ex3\0\0\Ex4\r\0\E\\3\E-07\s,
                   4060:        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
                   4061:        smkx=\El,
                   4062:        use=tvi950,
                   4063: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
                   4064: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   4065: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
                   4066: # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
                   4067: # the :ko: string had :cl: in it, which means that one of the original
                   4068: # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
                   4069: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   4070: # ko implies -- esr)
                   4071: # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
                   4072: # also work.
                   4073: tvi955|televideo 955,
                   4074:        mc5i, msgr@, OTbs,
                   4075:        it#8, xmc@,
                   4076:        acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ,
                   4077:        blink=\EG2, civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
                   4078:        cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
                   4079:        rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r,
                   4080:        is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2,
                   4081:        khts=\E1, knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3,
                   4082:        mc0=\EP, rmacs=\E%, rmam=\E[=7l, rmxon=^N,
                   4083:        sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
                   4084:        use=tvi950,
                   4085: tvi955-w|955-w|televideo955 w/132 cols,
                   4086:        cols#132,
                   4087:        is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El,
                   4088:        use=tvi955,
                   4089: # use half-intensity as normal mode, full intensity as <bold>
                   4090: tvi955-hb|955-hb|televideo955 half-bright,
                   4091:        bold=\E[=5l, dim@,
                   4092:        is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, sgr0=\EG0\E[=5h, use=tvi955,
                   4093: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
                   4094: # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
                   4095: # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
                   4096: # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
                   4097: # it does to the function keys.  I deduced <rmam>/<smam>.
                   4098: # also added empty <acsc> to suppress tic warning,  -- esr)
                   4099: tvi970|televideo 970,
                   4100:        OTbs, OTpt, am, da, db, mir, msgr,
                   4101:        cols#80, it#8, lines#24,
                   4102:        acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
                   4103:        cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, cuu1=\EM, cvvis=\E[1Q,
                   4104:        dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, ed=\E[J, el=\E[K,
                   4105:        flash=\E[5m$<200/>\E[m, home=\E[H, hpa=\E[%i%p1%dG, ht=\t,
                   4106:        il1=\E[L, is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, kbs=^H,
                   4107:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E?a, kf2=\E?b,
                   4108:        kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, kf7=\E?g, kf8=\E?h,
                   4109:        kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, rmam=\E[?7h, rmcup=,
                   4110:        rmir=\E[4l, .rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smacs=\E(B,
                   4111:        smam=\E[?7l, smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, .smkx=\E=,
                   4112:        smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
                   4113: tvi970-vb|televideo 970 with visual bell,
                   4114:        flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
                   4115:        use=tvi970,
                   4116: tvi970-2p|televideo 970 with using 2 pages of memory,
                   4117:        rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
                   4118:        use=tvi970,
                   4119: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   4120: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
                   4121: # padding is needed, but adapted from the tvi920c termcap.  The <smso> and
                   4122: # <smul> strings are klutzy, but at least use no screen space.
                   4123: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
                   4124: # its absence means <smam>=\Ev isn't safe to use. -- esr)
                   4125: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
                   4126: # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
                   4127: # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
                   4128: tvipt|televideo personal terminal,
                   4129:        OTbs, am,
                   4130:        cols#80, lines#24,
                   4131:        cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
                   4132:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4133:        dl1=\ER$<5*>, ed=\EY, el=\ET, home=^^,
                   4134:        if=/usr/share/tabset/stdcrt, il1=\EE$<5*>,
                   4135:        is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
                   4136:        kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^,
                   4137:        mc4=^T, mc5=^R, rmso=\EF, rmul=\EF,
                   4138:        .smam=\Ev, smso=\EG1@A\EH, smul=\EG1B@\EH,
                   4139: # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
                   4140: tvi9065|televideo 9065,
                   4141:        am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
                   4142:        cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4,
                   4143:        nlab#8, vt#0, wnum#0, wsl#30,
                   4144:        acsc=0_'rjhkglfmeniopxjqksqtmulvown, bel=^G,
                   4145:        blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
                   4146:        cnorm=\E.3, cr=\r, csr=\E[%i%p1%d;%p2%dr,
                   4147:        cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=^V,
                   4148:        cuf=\E[%p1%dC, cuf1=\f,
                   4149:        cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu=\E[%p1%dA,
                   4150:        cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW,
                   4151:        dim=\EGp, dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r,
                   4152:        ech=\E[%p1%d@, ed=\EY, el=\ET, flash=\Eb$<15>\Ed,
                   4153:        fsl=\r, home=^^, ht=\t, hts=\E1, ich=\E[%p1%d@,
                   4154:        if=/usr/share/tabset/stdcrt, il=\E[%p1%dL, il1=\EE,
                   4155:        ind=\n, indn=\E[%p1%dS, invis=\EG1, ip=$<3>,
                   4156:        is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er,
                   4157:        is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s,
                   4158:        kbs=\b, kcbt=\EI, kcub1=\b, kcud1=^V, kcuf1=\f,
                   4159:        kcuu1=^K, kdch1=\EW, kf1=^A@\r, kf10=^AI\r,
                   4160:        kf11=^AJ\r, kf12=^AK\r, kf2=^AA\r, kf3=^AB\r,
                   4161:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   4162:        kf9=^AH\r, khome=^^, ll=\E[25;1H, mc0=\E[0;0i,
                   4163:        mc4=\Ea, mc5=\E`, nel=\r\n,
                   4164:        pfkey=\E|%p1%'0'%+%c3%p2%s^Y,
                   4165:        pfloc=\E|%p1%'0'%+%c2%p2%s^Y,
                   4166:        pfx=\E|%p1%'0'%+%c1%p2%s^Y, pln=\E_%p1%'?'%+%c%p2%s\r,
                   4167:        prot=\E&, rep=\E[%p2%db%p1%c, rev=\EG4,
                   4168:        rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
                   4169:        rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
                   4170:        rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0,
                   4171:        rmul=\EG0, rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
                   4172:        rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee\s\Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1,
                   4173:        rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0,
                   4174:        sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;,
                   4175:        sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2,
                   4176:        smdc=\Er, smir=\Eq, smln=\E[4;2v, smso=\EGt,
                   4177:        smul=\EG8, smxon=^O, tbc=\E3, tsl=\E[4;1v\E_30,
                   4178:        uc=\EG8\EG0,
                   4179:
                   4180: #### Visual (vi)
                   4181: #
                   4182: # In September 1993, Visual Technology of Westboro, Massachusetts,
                   4183: # merged with White Pine Software of Nashua, New Hampshire.
                   4184: #
                   4185: # White Pine Software may be contacted at +1 603/886-9050.
                   4186: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
                   4187: #
                   4188:
                   4189: # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
                   4190: # Recently I hacked together the following termcap for Visual
                   4191: # Technology's Visual 50 terminal. It's a slight modification of
                   4192: # the vt52 termcap.
                   4193: # It's intended to run when the Visual 50 is in vt52 emulation mode
                   4194: # (I know what you're thinking; if it's emulating a vt52, then why
                   4195: # another termcap? Well, it turns out that the Visual 50 can handle
                   4196: # <dl1> and db(?) among other things, which the vt52 can't)
                   4197: # The termcap works OK for the most part. The only problem is on
                   4198: # character inserts. The whole line gets painfully redrawn for each
                   4199: # character typed. Any suggestions?
                   4200: # Beau's entry is combined with the vi50 entry from University of Wisconsin.
                   4201: # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
                   4202: # disguise; <kf7>-<kf9> are really l1-l3.
                   4203: vi50|visual 50,
                   4204:        OTbs, OTpt, am, da, db, msgr,
                   4205:        cols#80, it#8, lines#24,
                   4206:        OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB,
                   4207:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   4208:        cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>,
                   4209:        home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
                   4210:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   4211:        kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE,
                   4212:        kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH,
                   4213:        nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES,
                   4214: # this one was BSD & SCO's vi50
                   4215: vi50adm|visual 50 in adm3a mode,
                   4216:        am, msgr,
                   4217:        cols#80, it#8, lines#24,
                   4218:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4219:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
                   4220:        ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
                   4221:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   4222:        khome=\EH, rmso=\ET, smso=\EU,
                   4223: # From: Jeff Siegal <jbs@athena.mit.edu>
                   4224: vi55|Visual 55,
                   4225:        am, mir, msgr, OTbs,
                   4226:        cols#80, it#8, lines#24,
                   4227:        clear=\Ev, csr=\E_%p1%'A'%+%c%p2%'A'%+%c, cub1=^H,
                   4228:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   4229:        cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK,
                   4230:        home=\EH, ht=\t, il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET,
                   4231:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   4232:        ri=\EI, rmir=\Eb, rmso=\ET, smir=\Ea,
                   4233:        smso=\EU,
                   4234:
                   4235: # Visual 200 from BRL
                   4236: # The following switch settings are assumed for normal operation:
                   4237: #      FULL_DUPLEX             SCROLL                  CR
                   4238: #      AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
                   4239: # Other switches may be set for operator convenience or communication
                   4240: # requirements.
                   4241: # Character insertion is kludged in order to get around the "beep" misfeature.
                   4242: # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
                   4243: # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
                   4244: # and <dl1> strings, but we seem to get along fine without them.
                   4245: vi200|visual 200,
                   4246:        OTbs, OTpt, am, mir, msgr,
                   4247:        OTkn#10, cols#80, it#8, lines#24,
                   4248:        acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H,
                   4249:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   4250:        cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey,
                   4251:        el=\Ex, home=\EH, ht=^I, hts=\E1, .ich1=\Ei \010\Ej, il1=\EL,
                   4252:        ind=^J, invis=\Ea, kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED,
                   4253:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EO, kdl1=\EM,
                   4254:        ked=\EJ, kel=\Et, kf0=\E?p, kf1=\E?q, kf2=\E?r, kf3=\E?s,
                   4255:        kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, kf8=\E?x, kf9=\E?y,
                   4256:        khome=\EH, khts=\E1, kich1=\Ei, kil1=\EL, krmir=\Ej,
                   4257:        mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, rmacs=\EG,
                   4258:        rmkx=\E>, rmso=\E3, rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX,
                   4259:        sgr0=\E3\Eb, smacs=\EF, smkx=\E=, smso=\E4, tbc=\Eg,
                   4260: # The older Visuals didn't come with function keys. This entry uses
                   4261: # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
                   4262: # If your version of vi doesn't support function keys you may want
                   4263: # to use vi200-f.
                   4264: vi200-f|visual 200 no function keys,
                   4265:        is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
                   4266:        kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
                   4267:        kf7=\E?w, kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@,
                   4268:        smkx=\E=, smso@,
                   4269:        use=vi200,
                   4270: vi200-rv|visual 200 reverse video,
                   4271:        cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
                   4272:
                   4273: # the function keys are programmable but we don't reprogram them to their
                   4274: # default values with <is2> because programming them is very verbose. maybe
                   4275: # an initialization file should be made for the 300 and they could be stuck
                   4276: # in it.
                   4277: # (vi300: added <rmam>/<smam> based on init string -- esr)
                   4278: vi300|visual 300 ansi x3.64,
                   4279:        cr=^M, cud1=^J, ind=^J, bel=^G, cr=^M, cud1=^J, ind=^J, bel=^G,
                   4280:        am, cub1=^H, bw, mir, ht=^I, xenl, cols#80, lines#24,
                   4281:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
                   4282:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cud1=\E[B, cuf1=\E[C, ri=\EM,
                   4283:        cbt=\E[Z, home=\E[H, ed=\E[J, clear=\E[H\E[2J, el=\E[K,
                   4284:        il1=\E[L, dl1=\E[M, smir=\E[4h, rmir=\E[4l, dch1=\E[P$<40>,
                   4285:        sgr0=\E[m, smso=\E[1m, rmso=\E[m, smul=\E[4m, rmul=\E[m, khome=\E[H,
                   4286:        kcud1=\E[B, kcub1=\E[D, kcuf1=\E[C, kcuu1=\E[A, kf1=\E_A\E\\,
                   4287:        kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, kf5=\E_E\E\\,
                   4288:        kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, kf9=\E_I\E\\,
                   4289:        rmam=\E[?7l, smam=\E[?7h,
                   4290: # some of the vi300s have older firmware that has the command
                   4291: # sequence for setting editing extent reversed.
                   4292: vi300-old|visual 300 with old firmware (set edit extent reversed),
                   4293:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
                   4294:        use=vi300,
                   4295:
                   4296: # Visual 500 prototype entry from University of Wisconsin.
                   4297: # The best place to look for the escape sequences is page A1-1 of the
                   4298: # Visual 500 manual.  The initialization sequence given here may be
                   4299: # overkill, but it does leave out some of the initializations which can
                   4300: # be done with the menus in set-up mode.
                   4301: # The :xp: line below is so that emacs can understand the padding requirements
                   4302: # of this slow terminal.  :xp: is 10 time the padding factor.
                   4303: # (vi500: removed unknown :xp#4: termcap;
                   4304: # also added empty <acsc> to suppress tic warning -- esr)
                   4305: vi500|visual 500,
                   4306:        am, mir, msgr,
                   4307:        cols#80, it#8, lines#33,
                   4308:        acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
                   4309:        csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
                   4310:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   4311:        cuu1=\EA, dch1=\EO$<3*/>, dl1=\EM$<3*/>,
                   4312:        ed=\Ey$<3*/>, el=\Ex$<16/>, home=\EH, ht=\011$<8/>,
                   4313:        il1=\EL\Ex$<3*/>, ind=^J,
                   4314:        is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
                   4315:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   4316:        khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
                   4317:        rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H,
                   4318:        smul=\E^D,
                   4319:
                   4320: # The visual 550 is a visual 300 with tektronix graphics,
                   4321: # and with 33 lines. clear screen is modified here to
                   4322: # also clear the graphics.
                   4323: vi550|visual 550 ansi x3.64,
                   4324:        lines#33, clear=\030\E[H\E[2J, use=vi300,
                   4325:
                   4326: vi603|visual603|visual 603,
                   4327:        hs, mir,
                   4328:        blink=\E[5m,
                   4329:        bel=^G, bold=\E[1m, clear=\E[H\E[J, csr=\E[%i%p1%d;%p2%dr,
                   4330:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   4331:        dch1=\E[P, dl1=\E[M, dsl=\EP2;1~\E\\, ed=\E[J,
                   4332:        el=\E[K, fsl=\E\\, il1=\E[L, ind=\ED,
                   4333:        is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
                   4334:        rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m,
                   4335:        rmul=\E[24m, sgr0=\E[m, smir=\E[4h,
                   4336:        smso=\E[7m, smul=\E[4m, tsl=\EP2~, use=vt100,
                   4337:
                   4338: #### Wyse (wy)
                   4339: #
                   4340: #      Wyse Technology
                   4341: #      3471 North First Street
                   4342: #      San Jose, CA 95134
                   4343: #      Vox: (408)-473-1200
                   4344: #      Fax: (408) 473-1222
                   4345: #      Web: http://www.wyse.com
                   4346: #
                   4347: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
                   4348: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
                   4349: # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
                   4350: # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
                   4351: #
                   4352: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
                   4353: # They now own the Qume and Amdek brands, too.  So these are the people to
                   4354: # talk with about all Link, Qume, and Amdek terminals.
                   4355: #
                   4356: # These entries include a few small fixes.
                   4357: # I canceled the bel capacities in the vb entries.
                   4358: # I made two trivial syntax fixes in the wyse30 entry.
                   4359: # I made some entries relative to adm+sgr.
                   4360: #
                   4361: #
                   4362: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   4363:
                   4364: #         Although the Wyse 30 can support more than one attribute
                   4365: #      it requires magic cookies to do so.  Many applications do not
                   4366: #      function well with magic cookies.  The following terminfo uses
                   4367: #      the protect mode to support one attribute (dim) without cookies.
                   4368: #      If more than one attribute is needed then the wy30-mc terminfo
                   4369: #      should be used.
                   4370: #
                   4371: wy30|wyse30|Wyse 30,
                   4372:        am, bw, hs, mc5i, mir, msgr, xon,
                   4373:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   4374:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   4375:        civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
                   4376:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4377:        cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
                   4378:        dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
                   4379:        fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
                   4380:        ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
                   4381:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4382:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
                   4383:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4384:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
                   4385:        kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
                   4386:        mc5=^X, nel=^M^J, pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4387:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
                   4388:        rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   4389:        sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4390:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   4391:        smso=\E`7\E), tbc=\E0, tsl=\EF,
                   4392: #
                   4393: #      This terminal description uses the non-hidden attribute mode
                   4394: #      (with magic cookie).
                   4395: #
                   4396: # (wy30-mc: added <smcup> to suppress tic warning --esr)
                   4397: wy30-mc|wyse30-mc|wyse 30 with magic cookies,
                   4398:        msgr@,
                   4399:        ma@, xmc#1,
                   4400:        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
                   4401:        rmcup=\EG0, rmso=\EG0,
                   4402:        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%;,
                   4403:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
                   4404:        smso=\EG4, use=wy30,
                   4405:        use=adm+sgr,
                   4406: #      The mandatory pause used by <flash> does not work with
                   4407: #      older versions of terminfo.  If you see this effect then
                   4408: #      unset xon and delete the / from the delay.
                   4409: #      i.e. change $<100/> to $<100>
                   4410: wy30-vb|wyse30-vb|wyse 30 visible bell,
                   4411:        bel@, use=wy30,
                   4412: #
                   4413: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   4414: #      Normal) without magic cookies by using the protect mode.
                   4415: #      The following description uses this feature, but when more
                   4416: #      than one attribute is put on the screen at once, all attributes
                   4417: #      will be changed to be the same as the last attribute given.
                   4418: #         The Wyse 50 can support more attributes when used with magic
                   4419: #      cookies.  The wy50-mc terminal description uses magic cookies
                   4420: #      to correctly handle multiple attributes on a screen.
                   4421: #
                   4422: wy50|wyse50|Wyse 50,
                   4423:        am, bw, hs, mc5i, mir, msgr, xon,
                   4424:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   4425:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   4426:        civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
                   4427:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4428:        cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
                   4429:        ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   4430:        home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
                   4431:        is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H,
                   4432:        kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   4433:        kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   4434:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   4435:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4436:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4437:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   4438:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
                   4439:        pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4440:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
                   4441:        ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   4442:        sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4443:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   4444:        smso=\E`6\E), tbc=\E0, tsl=\EF,
                   4445: #
                   4446: #      This terminal description uses the non-hidden attribute mode
                   4447: #      (with magic cookie).
                   4448: #
                   4449: #      The mandatory pause used by flash does not work with some
                   4450: #      older versions of terminfo.  If you see this effect then
                   4451: #      unset <xon> and delete the / from the delay.
                   4452: #      i.e. change $<100/> to $<100>
                   4453: # (wy50-mc: added <smcup> to suppress tic warning --esr)
                   4454: wy50-mc|wyse50-mc|wyse 50 with magic cookies,
                   4455:        msgr@,
                   4456:        ma@, xmc#1,
                   4457:        blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4,
                   4458:        rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0,
                   4459:        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%;,
                   4460:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
                   4461:        smso=\EGt, use=wy50,
                   4462:        use=adm+sgr,
                   4463: wy50-vb|wyse50-vb|wyse 50 visible bell,
                   4464:        bel@, use=wy50,
                   4465: wy50-w|wyse50-w|wyse 50 132-column,
                   4466:        cols#132, lw#7, nlab#16, wsl#97,
                   4467:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50,
                   4468: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
                   4469:        bel@,
                   4470:        use=wy50-w,
                   4471: #
                   4472: #      The Wyse 350 is a Wyse 50 with color.
                   4473: #      Unfortunately this means that it has magic cookies.
                   4474: #      The color attributes are designed to overlap the reverse, dim and
                   4475: #      underline attributes.  This is nice for monochrome applications
                   4476: #      because you can make underline stuff green (or any other color)
                   4477: #      but for true color applications it's not so hot because you cannot
                   4478: #      mix color with reverse, dim or underline.
                   4479: #          To further complicate things one of the attributes must be
                   4480: #      black (either the foreground or the background).  In reverse video
                   4481: #      the background changes color with black letters.  In normal video
                   4482: #      the foreground changes colors on a black background.
                   4483: #          This terminfo uses some of the more advanced features of curses
                   4484: #      to display both color and blink.  In the final analysis I am not
                   4485: #      sure that the wy350 runs better with this terminfo than it does
                   4486: #      with the wy50 terminfo (with user adjusted colors).
                   4487: #
                   4488: #      The mandatory pause used by flash does not work with
                   4489: #      older versions of terminfo.  If you see this effect then
                   4490: #      unset xon and delete the / from the delay.
                   4491: #      i.e. change $<100/> to $<100>
                   4492: #
                   4493: # Bug: The <op> capability resets attributes.
                   4494: wy350|wyse350|Wyse 350,
                   4495:        am, bw, hs, mc5i, mir, xon,
                   4496:        colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
                   4497:        wsl#45, xmc#1,
                   4498:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   4499:        cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   4500:        cub1=^H, cud1=^J, cuf1=^L,
                   4501:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
                   4502:        dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
                   4503:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   4504:        il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>,
                   4505:        is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
                   4506:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   4507:        ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   4508:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   4509:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4510:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4511:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   4512:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
                   4513:        pfx=\Ez%p1%'?'%+%c%p2%s\177,
                   4514:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
                   4515:        rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
                   4516:        setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%'0'%+%c,
                   4517:        sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%'0'%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   4518:        sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
                   4519:        smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF,
                   4520:        use=adm+sgr,
                   4521: wy350-vb|wyse350-vb|wyse 350 visible bell,
                   4522:        bel@, use=wy350,
                   4523: wy350-w|wyse350-w|wyse 350 132-column,
                   4524:        cols#132, lw#7, nlab#16, wsl#97,
                   4525:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350,
                   4526: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
                   4527:        bel@,
                   4528:        use=wy350-w,
                   4529: #
                   4530: #      This terminfo description is untested.
                   4531: #      The wyse100 emulates an adm31, so the adm31 entry should work.
                   4532: #
                   4533: wy100|wyse 100,
                   4534:        hs, mir,
                   4535:        cols#80, lines#24, xmc#1,
                   4536:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4537:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4538:        dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
                   4539:        invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4540:        kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   4541:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
                   4542:        rmir=\Er, smir=\Eq, tsl=\EF,
                   4543:        use=adm+sgr,
                   4544: #
                   4545: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   4546: #      This terminal does not need padding up to 9600 baud!
                   4547: #      <msgr> should be set but the clear screen fails when in
                   4548: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   4549: #      then set <msgr>.
                   4550: #
                   4551: wy120|wyse120|wy150|wyse150|Wyse 120/150,
                   4552:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   4553:        cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
                   4554:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   4555:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   4556:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4557:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   4558:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   4559:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
                   4560:        hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   4561:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4562:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4563:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4564:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4565:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4566:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4567:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4568:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   4569:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
                   4570:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4571:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4572:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
                   4573:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
                   4574:        rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
                   4575:        rs3=\EwG\Ee($<100>,
                   4576:        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,
                   4577:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4578:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   4579:        tbc=\E0, tsl=\EF,
                   4580:        use=adm+sgr,
                   4581: #
                   4582: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
                   4583:        cols#132, lw#7, nlab#16, wsl#97,
                   4584:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   4585:        rs2=\E`;$<70>, use=wy120,
                   4586: #
                   4587: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
                   4588:        lh@, lines#25, lw@, nlab@,
                   4589:        pln@, rs3=\EwG\Ee)$<100>, use=wy120,
                   4590: #
                   4591: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
                   4592:        lh@, lines#25, lw@, nlab@,
                   4593:        pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
                   4594: #
                   4595: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
                   4596:        bel@,
                   4597:        use=wy120,
                   4598: #
                   4599: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
                   4600:        bel@,
                   4601:        use=wy120-w,
                   4602: #
                   4603: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   4604: #      The reset strings are slow and the pad times very depending
                   4605: #      on other parameters such as font loading.  I have tried
                   4606: #      to follow the following outline:
                   4607: #
                   4608: #              <rs1> -> set personality
                   4609: #              <rs2> -> set number of columns
                   4610: #              <rs3> -> set number of lines
                   4611: #              <is1> -> select the proper font
                   4612: #              <is2> -> do the initialization
                   4613: #              <is3> -> set up display memory (2 pages)
                   4614: #
                   4615: #      The Wyse 60's that have vt100 emulation are slower than the
                   4616: #      older Wyse 60's.  This change happened mid-1987.
                   4617: #      The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
                   4618: #
                   4619: #      The meta key is only half right.  This terminal will return the
                   4620: #      high order bit set when you hit CTRL-function_key
                   4621: #
                   4622: #      It may be useful to assign two function keys with the
                   4623: #      values  \E=(\s  look at old data in page 1
                   4624: #              \E=W,   look at bottom of page 1
                   4625: #      where \s is a space ( ).
                   4626: #
                   4627: #      Note:
                   4628: #         The Wyse 60 runs faster when the XON/XOFF
                   4629: #         handshake is turned off.
                   4630: #
                   4631: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4632: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4633: wy60|wyse60|Wyse 60,
                   4634:        am, bw, hs, km, mc5i, mir, msgr,
                   4635:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
                   4636:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   4637:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
                   4638:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4639:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4640:        dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
                   4641:        ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   4642:        home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
                   4643:        ip=$<3>, is1=\EcB0\EcC1,
                   4644:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4645:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4646:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4647:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4648:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4649:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4650:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4651:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   4652:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
                   4653:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4654:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4655:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
                   4656:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
                   4657:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
                   4658:        rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
                   4659:        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,
                   4660:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4661:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   4662:        tbc=\E0, tsl=\EF,
                   4663:        use=adm+sgr,
                   4664: #
                   4665: wy60-w|wyse60-w|wyse 60 132-column,
                   4666:        cols#132, lw#7, nlab#16, wsl#97,
                   4667:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
                   4668:        rs2=\EeF$<150>\E`;$<150>, use=wy60,
                   4669: #
                   4670: wy60-25|wyse60-25|wyse 60 80-column 25-lines,
                   4671:        lh@, lines#25, lw@, nlab@,
                   4672:        pln@, rs3=\EwG\Ee)$<200>, use=wy60,
                   4673: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
                   4674:        lh@, lines#25, lw@, nlab@,
                   4675:        pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
                   4676: #
                   4677: wy60-42|wyse60-42|wyse 60 80-column 42-lines,
                   4678:        lines#42,
                   4679:        clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
                   4680:        dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
                   4681:        ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
                   4682:        ri=\Ej$<10>, rs3=\Ee*$<150>,
                   4683:        use=wy60,
                   4684: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
                   4685:        cols#132, lw#7, nlab#16, wsl#97,
                   4686:        clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   4687:        dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
                   4688:        nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>,
                   4689:        use=wy60-42,
                   4690: #
                   4691: wy60-43|wyse60-43|wyse 60 80-column 43-lines,
                   4692:        lh@, lines#43, lw@, nlab@,
                   4693:        pln@, rs3=\Ee+$<150>, use=wy60-42,
                   4694: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
                   4695:        lh@, lines#43, lw@, nlab@,
                   4696:        pln@, rs3=\Ee+$<150>, use=wy60-42-w,
                   4697: #
                   4698: wy60-vb|wyse60-vb|Wyse 60 visible bell,
                   4699:        bel@, use=wy60,
                   4700: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
                   4701:        bel@,
                   4702:        use=wy60-w,
                   4703:
                   4704: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   4705: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   4706: #      setup parameter controls the number of lines on the screen.
                   4707: #      For the Wyse 99GT the "lines" setup parameter controls the
                   4708: #      number of lines in a page.  The screen can display 25 lines max.
                   4709: #          The Wyse-99GT also has personalities for the VT220 and
                   4710: #      Tektronix 4014.  But this has no bearing on the native mode.
                   4711: #
                   4712: #      (msgr) should be set but the clear screen fails when in
                   4713: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   4714: #      then set msgr, else use msgr@.
                   4715: #
                   4716: #      u0 -> enter Tektronix mode
                   4717: #      u1 -> exit Tektronix mode
                   4718: #
                   4719: wy99gt|wyse99gt|Wyse 99gt,
                   4720:        msgr@,
                   4721:        clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
                   4722:        el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
                   4723:        il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
                   4724:        ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1,
                   4725:        u0=\E~>\E8, u1=\E[42h,
                   4726:        use=wy60,
                   4727: #
                   4728: wy99gt-w|wyse99gt-w|wyse 99gt 132-column,
                   4729:        cols#132, lw#7, nlab#16, wsl#97,
                   4730:        clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   4731:        dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt,
                   4732: #
                   4733: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
                   4734:        lh@, lines#25, lw@, nlab@,
                   4735:        pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
                   4736: #
                   4737: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
                   4738:        lh@, lines#25, lw@, nlab@,
                   4739:        pln@, rs2=\E`;$<150>, use=wy99gt-w,
                   4740: #
                   4741: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
                   4742:        bel@, use=wy99gt,
                   4743: #
                   4744: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
                   4745:        bel@,
                   4746:        use=wy99gt-w,
                   4747: #
                   4748: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   4749: #      The reset strings are slow and the pad times very depending
                   4750: #      on other parameters such as font loading.  I have tried
                   4751: #      to follow the following outline:
                   4752: #
                   4753: #              <rs1> -> set personality
                   4754: #              <rs2> -> set number of columns
                   4755: #              <rs3> -> set number of lines
                   4756: #              <is1> -> select the proper font
                   4757: #              <is2> -> do the initialization
                   4758: #              <is3> -> set up display memory (2 pages)
                   4759: #
                   4760: #      The display memory may be used for either text or graphics.
                   4761: #      When "Display Memory = Shared" the terminal will have more pages
                   4762: #      but garbage may be left on the screen when you switch from
                   4763: #      graphics to text.  If "Display Memory = Unshared" then the
                   4764: #      text area will be only one page long.
                   4765: #
                   4766: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4767: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4768: wy160|wyse160|Wyse 160,
                   4769:        am, bw, hs, km, mc5i, mir, msgr,
                   4770:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
                   4771:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   4772:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
                   4773:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4774:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
                   4775:        dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
                   4776:        el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
                   4777:        hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
                   4778:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   4779:        is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   4780:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   4781:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   4782:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   4783:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4784:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   4785:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   4786:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
                   4787:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   4788:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   4789:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
                   4790:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
                   4791:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
                   4792:        rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>,
                   4793:        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,
                   4794:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   4795:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
                   4796:        tbc=\E0, tsl=\EF,
                   4797:        use=adm+sgr,
                   4798: #
                   4799: wy160-w|wyse160-w|wyse 160 132-column,
                   4800:        cols#132, lw#7, nlab#16, wsl#90,
                   4801:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
                   4802:        rs2=\EeF$<150>\E`;$<150>, use=wy160,
                   4803: #
                   4804: wy160-25|wyse160-25|wyse 160 80-column 25-lines,
                   4805:        lh@, lines#25, lw@, nlab@,
                   4806:        pln@, rs3=\EwG\Ee)$<200>, use=wy160,
                   4807: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
                   4808:        lh@, lines#25, lw@, nlab@,
                   4809:        pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
                   4810: #
                   4811: wy160-42|wyse160-42|wyse 160 80-column 42-lines,
                   4812:        lines#42,
                   4813:        clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
                   4814:        ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
                   4815:        rs3=\Ee*$<150>,
                   4816:        use=wy160,
                   4817: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
                   4818:        cols#132, lw#7, nlab#16, wsl#90,
                   4819:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
                   4820:        rs2=\EeF$<150>\E`;$<150>,
                   4821:        use=wy160-42,
                   4822: #
                   4823: wy160-43|wyse160-43|wyse 160 80-column 43-lines,
                   4824:        lh@, lines#43, lw@, nlab@,
                   4825:        pln@, rs3=\Ee+$<150>, use=wy160-42,
                   4826: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
                   4827:        lh@, lines#43, lw@, nlab@,
                   4828:        pln@, rs3=\Ee+$<150>, use=wy160-42-w,
                   4829: #
                   4830: wy160-vb|wyse160-vb|Wyse 160 visible bell,
                   4831:        bel@, use=wy160,
                   4832: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
                   4833:        bel@,
                   4834:        use=wy160-w,
                   4835: #
                   4836: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   4837: #
                   4838: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   4839: #      Underline) without magic cookies.  The following description
                   4840: #      uses this capability, but when more than one attribute is
                   4841: #      put on the screen at once, all attributes will be changed
                   4842: #      to be the same as the last attribute given.
                   4843: #         The Wyse 75 can support more attributes when used with magic
                   4844: #      cookies.  The wy75-mc terminal description uses magic cookies
                   4845: #      to correctly handle multiple attributes on a screen.
                   4846: #
                   4847: wy75|wyse75|wyse 75,
                   4848:        am, hs, mc5i, mir, msgr, xenl, xon,
                   4849:        cols#80, lines#24, ma#1, pb#1201, wsl#78,
                   4850:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   4851:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
                   4852:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
                   4853:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   4854:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   4855:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
                   4856:        dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
                   4857:        dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
                   4858:        ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
                   4859:        enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
                   4860:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   4861:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   4862:        ind=\n$<2>, ip=$<1>,
                   4863:        is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
                   4864:        is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy,
                   4865:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   4866:        kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM,
                   4867:        kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   4868:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   4869:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
                   4870:        kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
                   4871:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   4872:        khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
                   4873:        kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
                   4874:        mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
                   4875:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
                   4876:        rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
                   4877:        sc=\E7,
                   4878:        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%;,
                   4879:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   4880:        smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
                   4881:        tbc=\E[3g, tsl=\E[>\,\001,
                   4882: #
                   4883: #      This terminal description uses the non-hidden attribute mode
                   4884: #      (with magic cookie).
                   4885: #
                   4886: wy75-mc|wyse75-mc|wyse 75 with magic cookies,
                   4887:        msgr@,
                   4888:        ma@, xmc#1,
                   4889:        blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
                   4890:        rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
                   4891:        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%;,
                   4892:        sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
                   4893:        use=wy75,
                   4894: wy75-vb|wyse75-vb|wyse 75 with visible bell,
                   4895:        pb@,
                   4896:        bel@, use=wy75,
                   4897: wy75-w|wyse75-w|wyse 75 in 132 column mode,
                   4898:        cols#132, wsl#130,
                   4899:        rs2=\E[35h\E[?3h$<80>, use=wy75,
                   4900: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
                   4901:        pb@,
                   4902:        bel@, use=wy75-w,
                   4903: #
                   4904: #      Wyse 85 emulating a vt220 7 bit mode.
                   4905: #              24 line screen with status line.
                   4906: #
                   4907: #      The vt220 mode permits more function keys but it wipes out
                   4908: #      the escape key.  I strongly recommend that <f11> be set to
                   4909: #      escape (esc).
                   4910: #      The terminal may have to be set for 8 data bits and 2 stop
                   4911: #      bits for the arrow keys to work.
                   4912: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
                   4913: #      <dch> and <ich> work best when XON/XOFF is set.  <ich> and
                   4914: #      <dch> leave trash on the screen when used without XON/XOFF.
                   4915: #
                   4916: wy85|wyse85|wyse 85,
                   4917:        am, hs, mc5i, mir, msgr, xenl, xon,
                   4918:        cols#80, it#8, lines#24, wsl#80,
                   4919:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   4920:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   4921:        clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
                   4922:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   4923:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   4924:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   4925:        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
                   4926:        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
                   4927:        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
                   4928:        enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
                   4929:        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
                   4930:        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
                   4931:        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
                   4932:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
                   4933:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   4934:        kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   4935:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP,
                   4936:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   4937:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   4938:        kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
                   4939:        kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   4940:        kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
                   4941:        knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
                   4942:        lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   4943:        ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   4944:        rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p,
                   4945:        rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7,
                   4946:        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%;,
                   4947:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   4948:        smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   4949:        tsl=\E[40h\E7\E[25;%i%p1%dH,
                   4950: #
                   4951: #      Wyse 85 with visual bell.
                   4952: wy85-vb|wyse85-vb|wyse 85 with visible bell,
                   4953:        bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
                   4954: #
                   4955: #      Wyse 85 in 132-column mode.
                   4956: wy85-w|wyse85-w|wyse 85 in 132-column mode,
                   4957:        cols#132, wsl#132,
                   4958:        rs2=\E[35h\E[?3h$<70>, use=wy85,
                   4959: #
                   4960: #      Wyse 85 in 132-column mode with visual bell.
                   4961: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
                   4962:        bel@,
                   4963:        use=wy85-w,
                   4964: #
                   4965: #      Wyse 185 emulating a vt320 7 bit mode.
                   4966: #
                   4967: #      This terminal always displays 25 lines.  These lines may be used
                   4968: #      as 24 data lines and a terminal status line (top or bottom) or
                   4969: #      25 data lines.  The 48 and 50 line modes change the page size
                   4970: #      and not the number of lines on the screen.
                   4971: #
                   4972: #      The Compose Character key can be used as a meta key if changed
                   4973: #      by set-up.
                   4974: #
                   4975: wy185|wyse185|wyse 185,
                   4976:        am, hs, km, mc5i, mir, msgr, xenl, xon,
                   4977:        cols#80, it#8, lines#24, wsl#80,
                   4978:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   4979:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   4980:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   4981:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   4982:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   4983:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   4984:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
                   4985:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   4986:        dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
                   4987:        el=\E[K, el1=\E[1K, enacs=\E)0,
                   4988:        flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
                   4989:        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
                   4990:        ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
                   4991:        ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   4992:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
                   4993:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   4994:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   4995:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM,
                   4996:        kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   4997:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   4998:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   4999:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   5000:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   5001:        khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   5002:        kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
                   5003:        mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>,
                   5004:        rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>,
                   5005:        rmso=\E[27m, rmul=\E[24m,
                   5006:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   5007:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   5008:        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%;,
                   5009:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   5010:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   5011:        tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
                   5012: #
                   5013: #      Wyse 185 with 24 data lines and top status (terminal status)
                   5014: wy185-24|wyse185-24|wyse 185 with 24 data lines,
                   5015:        hs@,
                   5016:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185,
                   5017: #
                   5018: #      Wyse 185 with visual bell.
                   5019: wy185-vb|wyse185-vb|wyse 185+flash,
                   5020:        bel@, use=wy185,
                   5021: #
                   5022: #      Wyse 185 in 132-column mode.
                   5023: wy185-w|wyse185-w|wyse 185 in 132-column mode,
                   5024:        cols#132, wsl#132,
                   5025:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   5026:        ip=$<7>, rs2=\E[35h\E[?3h,
                   5027:        use=wy185,
                   5028: #
                   5029: #      Wyse 185 in 132-column mode with visual bell.
                   5030: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
                   5031:        bel@, use=wy185-w,
                   5032:
                   5033: # wy325 terminfo entries
                   5034: # Done by Joe H. Davis        3-9-92
                   5035:
                   5036: # lines 25  columns 80
                   5037: #
                   5038: wy325|wyse325|Wyse epc,
                   5039:        am, bw, hs, mc5i, mir,
                   5040:        cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
                   5041:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   5042:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   5043:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5044:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   5045:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   5046:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   5047:        il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   5048:        is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   5049:        is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   5050:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   5051:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   5052:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   5053:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   5054:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
                   5055:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   5056:        mc0=\EP, mc4=^T, mc5=\Ed#,
                   5057:        pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   5058:        pfx=\EZ1%p1%'?'%+%c%p2%s\177,
                   5059:        pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
                   5060:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
                   5061:        rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
                   5062:        rs3=\EwG\Ee($<100>,
                   5063:        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,
                   5064:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   5065:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
                   5066:        tsl=\EF,
                   5067:        use=adm+sgr,
                   5068:
                   5069: #
                   5070: # lines 24  columns 80  vb
                   5071: #
                   5072: wy325-vb|wyse325-vb|wyse-325 with visual bell,
                   5073:        bel@, use=wy325,
                   5074:
                   5075: #
                   5076: # lines 24  columns 132
                   5077: #
                   5078: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
                   5079:        cols#132, lw#7, nlab#16, wsl#97,
                   5080:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   5081:        rs2=\E`;$<70>, use=wy325,
                   5082: #
                   5083: # lines 25  columns 80
                   5084: #
                   5085: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
                   5086:        lh@, lines#25, lw@, nlab@,
                   5087:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   5088: #
                   5089: # lines 25  columns 132
                   5090: #
                   5091: wy325-25w|wyse325-25w|wy325 132 columns,
                   5092:        lh@, lines#25, lw@, nlab@,
                   5093:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   5094: #
                   5095: # lines 25  columns 132  vb
                   5096: #
                   5097: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
                   5098:        bel@,
                   5099:        use=wy325-w,
                   5100:
                   5101: #
                   5102: # lines 42  columns 80
                   5103: #
                   5104: wy325-42|wyse325-42|wyse-325 42 lines,
                   5105:        lh@, lines#42, lw@, nlab@,
                   5106:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   5107: #
                   5108: # lines 42  columns 132
                   5109: #
                   5110: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
                   5111:        lh@, lines#42, lw@, nlab@,
                   5112:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   5113: #
                   5114: # lines 42  columns 132  vb
                   5115: #
                   5116: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
                   5117:        bel@,
                   5118:        use=wy325-w,
                   5119: #
                   5120: # lines 43  columns 80
                   5121: #
                   5122: wy325-43|wyse325-43|wyse-325 43 lines,
                   5123:        lh@, lines#43, lw@, nlab@,
                   5124:        pln@, use=wy325,
                   5125: #
                   5126: # lines 43  columns 132
                   5127: #
                   5128: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
                   5129:        lh@, lines#43, lw@, nlab@,
                   5130:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   5131: #
                   5132: # lines 43  columns 132  vb
                   5133: #
                   5134: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
                   5135:        bel@,
                   5136:        use=wy325-w,
                   5137:
                   5138: #      Wyse 370 -- 24 line screen with status line.
                   5139: #
                   5140: #      The terminal may have to be set for 8 data bits and 2 stop
                   5141: #      bits for the arrow keys to work.
                   5142: #
                   5143: #      If you change keyboards the terminal will send different
                   5144: #      escape sequences.
                   5145: #      The following definition is for the basic terminal without
                   5146: #      function keys.
                   5147: #
                   5148: #      <u0> -> enter Tektronix 4010/4014 mode
                   5149: #      <u1> -> exit  Tektronix 4010/4014 mode
                   5150: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   5151: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   5152: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   5153: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
                   5154: #
                   5155: # Bug: The <op> capability resets attributes.
                   5156: wy370-nk|wyse 370 without function keys,
                   5157:        am, ccc, hs, mc5i, mir, msgr, xenl, xon,
                   5158:        colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
                   5159:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5160:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   5161:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   5162:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5163:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5164:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   5165:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
                   5166:        dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   5167:        dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
                   5168:        el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
                   5169:        flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
                   5170:        home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
                   5171:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   5172:        ind=\n$<2>,
                   5173:        initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw,
                   5174:        invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
                   5175:        is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
                   5176:        is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
                   5177:        mc5=\E[5i,
                   5178:        oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w,
                   5179:        op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
                   5180:        rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
                   5181:        rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
                   5182:        rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
                   5183:        rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
                   5184:        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%;,
                   5185:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   5186:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   5187:        tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
                   5188:        u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
                   5189:        u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
                   5190: #
                   5191: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   5192: #      This is the default 370.
                   5193: #
                   5194: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
                   5195:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5196:        kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
                   5197:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   5198:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
                   5199:        kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   5200:        kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
                   5201:        knp=\E[U, kpp=\E[V,
                   5202:        use=wy370-nk,
                   5203: #
                   5204: #      Function key set for the VT-320 (and wy85) compatible keyboard
                   5205: #
                   5206: wy370-105k|Wyse 370 with 105 key keyboard,
                   5207:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,
                   5208:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5209:        kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   5210:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   5211:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   5212:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5213:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   5214:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   5215:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   5216:        use=wy370-nk,
                   5217: #
                   5218: #      Function key set for the PC compatible keyboard
                   5219: #
                   5220: wy370-EPC|Wyse 370 with 102 key keyboard,
                   5221:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   5222:        kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   5223:        kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   5224:        kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   5225:        khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V,
                   5226:        use=wy370-nk,
                   5227: #
                   5228: #      Wyse 370 with visual bell.
                   5229: wy370-vb|Wyse 370 with visible bell,
                   5230:        bel@, use=wy370,
                   5231: #
                   5232: #      Wyse 370 in 132-column mode.
                   5233: wy370-w|Wyse 370 in 132-column mode,
                   5234:        cols#132, wsl#132,
                   5235:        rs2=\E[35h\E[?3h$<70>, use=wy370,
                   5236: #
                   5237: #      Wyse 370 in 132-column mode with visual bell.
                   5238: wy370-wvb|Wyse 370 with visible bell 132-columns,
                   5239:        flash=\E[30h\E\,\E[30l$<300>,
                   5240:        use=wy370-w,
                   5241: wy370-rv|Wyse 370 reverse video,
                   5242:        rs3=\E[32h\E[?5h, use=wy370,
                   5243: #
                   5244: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   5245: #
                   5246: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
                   5247:        am, os,
                   5248:        cols#74, lines#35,
                   5249:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
                   5250:        cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037,
                   5251:        cuu1=^K, ff=^L,
                   5252:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   5253:        home=^]7`x @\037,
                   5254:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   5255:        is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
                   5256: #
                   5257: #      Wyse 160 Tektronix 4010/4014 emulator,
                   5258: #
                   5259: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
                   5260:        cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037,
                   5261:        home=^]8`g @\037,
                   5262:        use=wy99gt-tek,
                   5263: #
                   5264: #      Wyse 370 Tektronix 4010/4014 emulator,
                   5265: #
                   5266: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
                   5267:        am, os,
                   5268:        cols#80, lines#36,
                   5269:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
                   5270:        cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037,
                   5271:        cuu1=^K, ff=^L,
                   5272:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   5273:        home=^]8g @\037,
                   5274:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   5275:        is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
                   5276:        nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
                   5277:
                   5278: # Vendor-supplied Wyse entries end here.
                   5279:
                   5280: # Can't set tabs! Other bugs (ANSI mode only):
                   5281: # - can't redefine function keys (anyway, key redefinition in ANSI mode
                   5282: #   is too much complex to be described);
                   5283: # - meta key can't be described (the terminal forgets it when reset);
                   5284: # The xon-xoff handshaking can't be disabled while in ansi personality, so
                   5285: # emacs can't work at speed greater than 9600 baud.  No padding is needed at
                   5286: # this speed.
                   5287: #   dch1 has been commented out because it causes annoying glittering when
                   5288: # vi deletes one character at the beginning of a line with tabs in it.
                   5289: #   dch makes sysgen(1M) have a horrible behaviour when deleting
                   5290: # a screen and makes screen(1) behave badly, so it is disabled too. The nice
                   5291: # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
                   5292: # not, so smir and rmir are commented out as well.
                   5293: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   5294: wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard),
                   5295:        am, km, mc5i, mir, msgr, xenl,
                   5296:        cols#80, it#8, lines#25, vt#3,
                   5297:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~,
                   5298:        bel=^G, blink=\e[5m, bold=\e[1m, cbt=\e[Z, civis=\e[?25l,
                   5299:        clear=\e[H\e[J$<200>, cnorm=\e[34h\e[?25h, cr=\r,
                   5300:        csr=\e[%i%p1%d;%p2%dr, cub=\e[%p1%dD$<1>, cub1=\b$<1>,
                   5301:        cud=\e[%p1%dB, cud1=\eD, cuf=\e[%p1%dC$<1>, cuf1=\e[C$<1>,
                   5302:        cup=\e[%i%p1%d;%p2%dH, cuu=\e[%p1%dA, cuu1=\eM,
                   5303:        cvvis=\e[34l\e[?25h, .dch=\e[%p1%dP, .dch1=\e[P, dl=\e[%p1%dM,
                   5304:        dl1=\e[M, dim=\e[2m, ech=\e[%p1%dX, ed=\e[J$<8*>, el=\e[K$<1>,
                   5305:        el1=\e[1K$<1>, enacs=\e)0, flash=\e[?5h$<30/>\e[?5l,
                   5306:        home=\e[H, ht=\t, .hts=\eH, hpa=\e[%i%p1%dG, ich=\e[%p1%d@,
                   5307:        il=\e[%p1%dL, il1=\e[L, ind=\n$<1>, invis=\e[8m,
                   5308:        is2=\e7\e[1r\e8\e[2;3;4;13;20;34;39;36l\e[12;16;34h\e[?1;3;4;5;10;18l\e[?7;8;25h\e>\e[?5W\e(B^O\e[4i,
                   5309:        kbs=\b,      kcbt=\e[z,   kcub1=\eOD,  kcud1=\eOB,
                   5310:        kcuf1=\eOC,  kcuu1=\eOA,  kf1=\eOP,
                   5311:        kf10=\e[21~, kf11=\e[23~, kf12=\e[24~, kf17=\e[K,   kf18=\e[31~,
                   5312:        kf19=\e[32~, kf20=\e[33~, kf21=\e[34~, kf22=\e[35~, kf23=\e[1~,
                   5313:        kf24=\e[2~,  kf2=\eOQ,    kf3=\eOR,    kf4=\eOS,    kf5=\e[M,
                   5314:        kf6=\e[17~,  kf7=\e[18~,  kf8=\e[19~,  kf9=\e[20~,
                   5315:        ll=\e[24E, mc0=\e[?19h, mc4=\e[4i, mc5=\e[5i, nel=\eE,
                   5316:        prot=\e[1"q, rc=\e8, rev=\e[7m, ri=\eM, rmacs=^O, rmam=\e[?7l,
                   5317:        rmir=\e[4l, rmkx=\e[?1l, rmso=\e[27m, rmul=\e[24m,
                   5318:        rs2=\e[61"p\e[40h\e[?6l\e[1r\e[2;3;4;13;20;34;39;36l\e[12;16;34h\e[?1;3;4;5;10;18l\e[?7;8;25h\e>\e[?5W\e(B^O\e[24E\e[4i,
                   5319:        sc=\e7,
                   5320:        sgr=\e[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\e[%?%p8%t1%;"q%?%p9%t^N%e^O%;,
                   5321:        sgr0=\e[m^O\e["q, smam=\e[?7h,  smacs=^N,
                   5322:        smir=\e[4h, smkx=\e[?1h, smso=\e[7m, smul=\e[4m,
                   5323:        .tbc=\e[3g, vpa=\e[%i%p1%dd,
                   5324:
                   5325: #   This is the american terminal. Here tabs work fine.
                   5326: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   5327: wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard),
                   5328:        hts=\eH, tbc=\e[3g, is3=\e[?5l, rs3=\e[?5l, use=wy99-ansi,
                   5329:
                   5330: # This terminal (firmware version 02) has a lot of bugs:
                   5331: # - can't set tabs;
                   5332: # - other bugs in ANSI modes (see above).
                   5333: # This description disables handshaking when using cup. This is because
                   5334: # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
                   5335: # cannot be used at speeds greater than 9600 baud, because at greater
                   5336: # speeds handshaking is needed even for character sending. If you use
                   5337: # DTR handshaking, you can use even greater speeds.
                   5338: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   5339: wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
                   5340:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   5341:        cols#80, it#8, lines#25, wsl#46,
                   5342:        acsc=+y'x.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=,
                   5343:        bel=^G, blink=\eG2, cbt=\eI, civis=\e`0, clear=\e'\e(^Z,
                   5344:        cnorm=\e`4\e`1, cr=\r, cub1=\b, cud1=\ej, cuf1=\f,
                   5345:        cup=\e=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, cvvis=\e`2\e`1,
                   5346:        dch1=\eW, dim=\eGp, dl1=\eR, dsl=\eF\r, ed=\eY$<8*>, el=\eT$<8>,
                   5347:        enacs=\ec@1J$<2000>, flash=\e\^1$<30/>\e\^0, fsl=\r,
                   5348:        home=^^, ht=\t, .hts=/e1, il1=\eE, ind=\n,
                   5349:        is2=\eu\ee6\eC\eDF\ec21\ec31\ec62\ec72\ee;^N\e'\eeL\e`9\e\^0\e`1\e`4\ee.\e`:\ee1\eG0\e(\ed/\ee4\ed*\eO\e`I\er\ee"\ecD^T,
                   5350:        ka1=^^, ka3=\eJ, kbs=\b, kcbt=\eI, kc1=\eT, kc3=\eK,
                   5351:        kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K,
                   5352:        kf1=\001@\r,  kf10=\001I\r, kf11=\001J\r, kf12=\001K\r,
                   5353:        kf13=\001`\r, kf14=\001a\r, kf15=\001b\r, kf16=\001c\r,
                   5354:        kf17=\001d\r, kf18=\001e\r, kf19=\001f\r, kf2=\001A\r,
                   5355:        kf20=\001g\r, kf21=\001h\r, kf22=\001i\r, kf23=\001j\r,
                   5356:        kf24=\001k\r, kf3=\001B\r,  kf4=\001C\r,  kf5=\001D\r,
                   5357:        kf6=\001E\r,  kf7=\001F\r,  kf8=\001G\r,  kf9=\001H\r,
                   5358:        kprt=\eP,
                   5359:        invis=\eG3, mc0=\eP, mc4=^T, mc5=\ed#, nel=^_, prot=\e),
                   5360:        ri=\ej, rev=\eG4, rmacs=\ecD, rmam=\ed., rmcup=\ec21\ec31,
                   5361:        rmir=\er, rmso=\eG0, rmxon=\ec20\ec30,
                   5362:        rs2=\eu\e~4\ee6\eC\eDF\ec21\ec31\ec62\ec72\ee;^N\e'\eeL\e`9\e\^0\e`1\e`4\ee.\e`:\ee)\ew\ewG\ew0\ee1\eG0\e(\ed/\ee4\ed*\eO\e`I\er\ee"\ec@0B\ecD^T,
                   5363:        sgr=\e(\eG%'0'%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\e)%;%?%p9%t\ecE%e\ecD%;,
                   5364:        sgr0=\e(\eG0, smacs=\ecE, smam=\ed/, smcup=\ec20\ec30,
                   5365:        smir=\eq, smso=\eG4, smxon=\ec21\ec31, .tbc=\e0,
                   5366:        tsl=\eF,
                   5367:
                   5368: # This is the american terminal. Here tabs work.
                   5369: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   5370: wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard),
                   5371:        hts=\e1, tbc=\e0, use=wy99f,
                   5372:
                   5373: #
                   5374: #TITLE:  TERMINFO ENTRY WY520
                   5375: #DATE:   8/5/93
                   5376: # The WY520 terminfo is based on the WY285 entry published on the WYSE
                   5377: # BBS with the addition of more function keys and special keys.
                   5378: #
                   5379: #               rs1 -> set personality
                   5380: #               rs2 -> set number of columns
                   5381: #               rs3 -> set number of lines
                   5382: #               is1 -> select the proper font
                   5383: #               is2 -> do the initialization
                   5384: #               is3 -> If this string is empty then rs3 gets sent.
                   5385: #
                   5386: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
                   5387: #       - The BS key is programmed to generate BS in smcup since
                   5388: #         is2 doesn't seem to work.
                   5389: #       - Remove and shift/Remove: delete a character
                   5390: #       - Insert : enter insert mode
                   5391: #       - Find   : delete to end of file
                   5392: #       - Select : clear a line
                   5393: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
                   5394: #       - F14 : Home key
                   5395: #       - Bottom status line (host writable line) is used.
                   5396: #       - smkx,rmkx are removed because this would put the numeric
                   5397: #         keypad in Dec application mode which doesn't seem to work
                   5398: #         with SCO applications.
                   5399: #
                   5400: wy520|wyse520|wyse 520,
                   5401:        am, hs, km, mc5i, mir, xenl, xon,
                   5402:        cols#80, it#8, lines#24, wsl#80,
                   5403:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5404:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   5405:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   5406:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   5407:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5408:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5409:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
                   5410:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
                   5411:        ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
                   5412:        enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
                   5413:        hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
                   5414:        il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   5415:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
                   5416:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy,
                   5417:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   5418:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
                   5419:        kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   5420:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   5421:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   5422:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   5423:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   5424:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   5425:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   5426:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   5427:        ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
                   5428:        rmso=\E[m, rmul=\E[24m,
                   5429:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   5430:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   5431:        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%;,
                   5432:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
                   5433:        smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   5434:        tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
                   5435:        vpa=\E[%i%p1%dd,
                   5436: #
                   5437: #       Wyse 520 with 24 data lines and status (terminal status)
                   5438: wy520-24|wyse520-24|wyse 520 with 24 data lines,
                   5439:        hs@,
                   5440:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520,
                   5441: #
                   5442: #       Wyse 520 with visual bell.
                   5443: wy520-vb|wyse520-vb|wyse 520 with visible bell,
                   5444:        flash=\E[30h\E\054\E[30l$<100>, use=wy520,
                   5445: #
                   5446: #       Wyse 520 in 132-column mode.
                   5447: wy520-w|wyse520-w|wyse 520 in 132-column mode,
                   5448:        cols#132, wsl#132,
                   5449:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   5450:        ip=$<7>, rs2=\E[35h\E[?3h,
                   5451:        use=wy520,
                   5452: #
                   5453: #       Wyse 520 in 132-column mode with visual bell.
                   5454: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
                   5455:        flash=\E[30h\E\054\E[30l$<100>,
                   5456:        use=wy520-w,
                   5457: #
                   5458: #
                   5459: #       Wyse 520 emulating a vt420 7 bit mode.
                   5460: #       The DEL key is programmed to generate BS in is2.
                   5461: #       With EPC keyboard.
                   5462: #       - 'End' key will clear till end of line on EPC keyboard
                   5463: #       - Shift/End : ignored.
                   5464: #       - Insert : enter insert mode.
                   5465: #       - Delete : delete a character (have to change interrupt character
                   5466: #                  to CTRL-C: stty intr '^c') for it to work since the
                   5467: #                  Delete key sends 7FH.
                   5468: wy520-epc|wyse520-epc|wyse 520 with EPC keyboard,
                   5469:        kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
                   5470:        kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
                   5471:        use=wy520,
                   5472: #
                   5473: #       Wyse 520 with 24 data lines and status (terminal status)
                   5474: #       with EPC keyboard.
                   5475: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines,
                   5476:        hs@,
                   5477:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc,
                   5478: #
                   5479: #       Wyse 520 with visual bell.
                   5480: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell,
                   5481:        flash=\E[30h\E\054\E[30l$<100>,
                   5482:        use=wy520-epc,
                   5483: #
                   5484: #       Wyse 520 in 132-column mode.
                   5485: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
                   5486:        cols#132, wsl#132,
                   5487:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
                   5488:        ip=$<7>, rs2=\E[35h\E[?3h,
                   5489:        use=wy520-epc,
                   5490: #
                   5491: #       Wyse 520 in 132-column mode with visual bell.
                   5492: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns,
                   5493:        flash=\E[30h\E\054\E[30l$<100>,
                   5494:        use=wy520-epc-w,
                   5495: #
                   5496: #       Wyse 520 in 80-column, 36 lines
                   5497: wy520-36|wyse520-36|wyse 520 with 36 data lines,
                   5498:        hs@,
                   5499:        lines#36,
                   5500:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520,
                   5501: #
                   5502: #       Wyse 520 in 80-column, 48 lines
                   5503: wy520-48|wyse520-48|wyse 520 with 48 data lines,
                   5504:        hs@,
                   5505:        lines#48,
                   5506:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520,
                   5507: #
                   5508: #       Wyse 520 in 132-column, 36 lines
                   5509: wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines,
                   5510:        cols#132, wsl#132,
                   5511:        rs2=\E[?3h,
                   5512:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36,
                   5513: #
                   5514: #       Wyse 520 in 132-column, 48 lines
                   5515: wy520-48w|wyse520-48w|wyse 520 with 48 data lines,
                   5516:        cols#132, wsl#132,
                   5517:        rs2=\E[?3h,
                   5518:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48,
                   5519: #
                   5520: #
                   5521: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
                   5522: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard,
                   5523:        hs@,
                   5524:        lines#36,
                   5525:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc,
                   5526: #
                   5527: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
                   5528: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard,
                   5529:        hs@,
                   5530:        lines#48,
                   5531:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc,
                   5532: #
                   5533: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
                   5534: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard,
                   5535:        cols#132, wsl#132,
                   5536:        rs2=\E[?3h,
                   5537:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc,
                   5538: #
                   5539: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
                   5540: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines,
                   5541:        cols#132, wsl#132,
                   5542:        rs2=\E[?3h,
                   5543:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc,
                   5544:
                   5545: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
                   5546: # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
                   5547: # file and we don't know what <hts> is -- esr)
                   5548: wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
                   5549:        am, OTbs,
                   5550:        cols#80, it#8, lines#24,
                   5551:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   5552:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
                   5553:        dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
                   5554:        is2=\E`\072\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J,
                   5555:        kcuf1=^F, kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J,
                   5556:        rmir=\Er, rmso=^O, rmul=^O, sgr0=^O, rs1=\E`\072\E`9\017\Er,
                   5557:        smir=\Eq, smso=^N, smul=^N,
                   5558:
                   5559: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
                   5560:        is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
                   5561:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   5562:        kcuu1=\EOA, khome=\EOH,
                   5563:        rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, use=wy75,
                   5564:
                   5565: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   5566: wy100q|Wyse 100 for Quotron,
                   5567:        cols#80, lines#24, xmc#1, OTbs,
                   5568:        cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
                   5569:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   5570:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE,
                   5571:        is2=\E`\072\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H,
                   5572:        kcud1=^J, kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq,
                   5573:        invis@, use=adm+sgr,
                   5574:
                   5575: #### Kermit terminal emulations
                   5576: #
                   5577: # Obsolete Kermit versions may be listed in the section describing obsolete
                   5578: # non-ANSI terminal emulators later in the file.
                   5579: #
                   5580:
                   5581: # KERMIT standard all versions.
                   5582: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   5583: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   5584: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   5585: kermit|standard kermit,
                   5586:        cols#80, lines#24, OTbs,
                   5587:        clear=\EE, cub1=^H, cuf1=\EC,
                   5588:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   5589:        el=\EK, home=\EH,
                   5590:        is2=K0 Standard Kermit  9-25-84\n, kcub1=^H,
                   5591:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   5592: kermit-am|standard kermit plus auto-margin,
                   5593:        am,
                   5594:        is2=K1 Standard Kermit plus Automatic Margins\n,
                   5595:        use=kermit,
                   5596: # IBMPC Kermit 1.2.
                   5597: # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
                   5598: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   5599: # line).
                   5600: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   5601: pckermit|pckermit12|UCB IBMPC Kermit 1.2,
                   5602:        am,
                   5603:        lines#25,
                   5604:        clear=\EH\EJ, ed@, el@,
                   5605:        is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n,
                   5606:        use=kermit,
                   5607: # IBMPC Kermit 1.20
                   5608: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   5609: # Initialization must escape from that region by cursor position to line 24.
                   5610: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
                   5611: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
                   5612: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   5613: pckermit120|UCB IBMPC Kermit 1.20,
                   5614:        it#8, lines#24,
                   5615:        cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM,
                   5616:        ht=\t, il1=\EL,
                   5617:        is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
                   5618:        rmir@, rmso=\Eq, smir@, smso=\Ep,
                   5619:        use=kermit,
                   5620: # MS-DOS Kermit 2.27 for the IBMPC
                   5621: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   5622: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   5623: # Initialization must escape from that region by cursor position to line 24.
                   5624: # Does not use am: because autowrap is lost when kermit dropped and restarted.
                   5625: # Reverse video for standout like H19.
                   5626: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   5627: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   5628: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
                   5629:        am@, OTbs,
                   5630:        cols#80, it#8, lines#24,
                   5631:        clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   5632:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   5633:        cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ,
                   5634:        el=\EK, home=\EH, ht=\t, il1=\EL,
                   5635:        is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
                   5636:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   5637:        rc=\Ek, rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@,
                   5638:        smso=\Ep,
                   5639: # MS-DOS Kermit 2.27 with automatic margins
                   5640: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   5641: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
                   5642:        am,
                   5643:        cvvis=\EO\Eq\EG\EvK5,
                   5644:        is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n,
                   5645:        use=msk227,
                   5646: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
                   5647: # Automatic margins now default.  Use ansi <sgr> for highlights.
                   5648: # Define function keys.
                   5649: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   5650: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   5651: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
                   5652:        am,
                   5653:        bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
                   5654:        is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
                   5655:        kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4,
                   5656:        kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9,
                   5657:        rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   5658:        smso=\E[1m, smul=\E[4m, use=mskermit227,
                   5659: # This was designed for a VT320 emulator, but it is probably a good start
                   5660: # at support for the VT320 itself.
                   5661: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
                   5662: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
                   5663: vt320-k3|MS-Kermit 3.00's vt320 emulation,
                   5664:        am, eslok, hs, km, mir, msgr, xenl,
                   5665:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5666:        cols#80, it#8, lines#49, pb#9600, vt#3,
                   5667:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   5668:        clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
                   5669:        csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
                   5670:        cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p1%dH,
                   5671:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   5672:        dl=\E[%p1%dM, dl1=\E[M, dsl=\E[0$~, ech=\E[%p1%dX,
                   5673:        ed=\E[J, el=\E[K,
                   5674:        flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
                   5675:        fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I,
                   5676:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
1.3       millert  5677:        is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=\177,
1.1       millert  5678:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   5679:        kdl1=\E[3~, kf0=\E[21~, kf1=\EOP, kf2=\EOQ,
                   5680:        kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   5681:        kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
                   5682:        kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   5683:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\E[%p1%dL,
                   5684:        rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
                   5685:        rmso=\E[27m, rmul=\E[24m,
                   5686:        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$~,
                   5687:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   5688:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   5689:        tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
                   5690: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
                   5691: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
                   5692: # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
                   5693: vt320-k311|dec vt320 series as defined by kermit 3.11,
                   5694:        am, eslok, hs, mir, msgr, xenl, xon,
                   5695:        cols#80, it#8, lines#24, vt#3,
                   5696:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5697:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   5698:        clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
                   5699:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   5700:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   5701:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   5702:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P,
                   5703:        dl=\E[%p1%dM, dl1=\E[M,
                   5704:        dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
                   5705:        flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I,
                   5706:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                   5707:        il1=\E[L$<3/>, ind=\ED,
                   5708:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.3       millert  5709:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
1.1       millert  5710:        kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   5711:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   5712:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, nel=^M\ED,
                   5713:        rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
                   5714:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
                   5715:        rmso=\E[27m, rmul=\E[24m, rs1=\E[?3l, sc=\E7,
                   5716:        sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   5717:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   5718:        tsl=\E[2$~\E[1$}\E[1;%dH,
                   5719:
                   5720: #
                   5721: ######## ---------------- TERMINFO FILE CAN BE SPLIT HERE -------------------
                   5722: # This cut mark helps make life less painful for people running ncurses tic
                   5723: # on machines with relatively little RAM.  The file can be broken in half here
                   5724: # cleanly and compiled in sections -- no `use' references cross this cut
                   5725: # going forward.
                   5726: #
                   5727:
                   5728: ######## OLDER TERMINAL TYPES
                   5729: #
                   5730: # This section is devoted to older commercial terminal brands that are now
                   5731: # discontinued, but known to be still in use or represented by emulations.
                   5732: #
                   5733:
                   5734: #### AT&T (att, tty)
                   5735: #
                   5736: # This section also includes Teletype-branded VDTs.
                   5737: #
                   5738: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
                   5739: # Boundless Technologies); for details, see the header comment on the ADDS
                   5740: # section.
                   5741: #
                   5742: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   5743: # removed.
                   5744: #
                   5745: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
                   5746:        am, xon, eo, mir, msgr,
                   5747:        cols#80, lines#24, it#8,
                   5748:        bel=^G,
                   5749:        cub=\E[%p1%dD, cub1=\b,
                   5750:        cuf=\E[%p1%dC, cuf1=\E[C,
                   5751:        cud=\E[%p1%dB, cud1=\n,
                   5752:        cuu=\E[%p1%dA, cuu1=\E[A,
                   5753:        cup=\E[%i%p1%d;%p2%dH,
                   5754:        ich=\E[%p1%d@,
                   5755:        il=\E[%p1%dL, il1=\E[L,
                   5756:        dch=\E[%p1%dP, dch1=\E[P,
                   5757:        dl=\E[%p1%dM, dl1=\E[M,
                   5758:        smso=\E[7m, rmso=\E[m, rev=\E[7m,
                   5759:        cr=\r, ind=\n,
                   5760:        ht=\t, smir=\E[4h, rmir=\E[4l,
                   5761:        home=\E[H, clear=\E[H\E[J, ed=\E[J, el=\E[K, el1=\E[1K,
                   5762:        kf1=\E[1r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r,
                   5763:        kf5=\E[5r, kf6=\E[6r, kf7=\E[7r, kf8=\E[8r,
                   5764:        kf9=\E[9r, kf10=\E[10r, kf11=\E[11r, kf12=\E[12r,
                   5765:        kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, kf16=\E[16r,
                   5766:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5767:        khome=\E[H, kclr=\E[J, kcbt=\E[Z, kbs=\b,
                   5768:        kil1=\E[L, kich1=\E[@, kdl1=\E[M, kdch1=\E[P,
                   5769:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   5770:        sgr0=\E[m,
                   5771: att2350|AT&T 2350 Video Information Terminal 80 column mode,
                   5772:        mc0@, mc4@, mc5@, use=att2300,
                   5773:
                   5774: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   5775: # Seems upward compatible with vt100, plus ins/del line/char.
                   5776: # On sgr, the protection parameter is ignored.
                   5777: # No check is made to make sure that only 3 parameters are output.
                   5778: #      standout= reverse + half-intensity = 3 | 5.
                   5779: #      bold= reverse + underline = 2 | 3.
                   5780: # note that half-bright blinking doesn't look different from normal blinking.
                   5781: # NOTE:you must program the function keys first, label second!
                   5782: # (att4410: a BSD entry has been seen with the following capabilities:
                   5783: # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
                   5784: # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
                   5785: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
                   5786:        am, hs, mir, msgr, xon,
                   5787:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   5788:        acsc=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\,\,..,
                   5789:        is1=\E[?3l\E)0,
                   5790:        bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J,
                   5791:        cr=\r, csr=\E[%i%p1%d;%p2%dr, cub1=\b, cud1=\E[B,
                   5792:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   5793:        dch1=\E[P, dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K,
                   5794:        fsl=\E8, home=\E[H, ht=\t, ich1=\E[@, il1=\E[L,
                   5795:        ind=\n, invis=\E[8m,
                   5796:        is3=\E[1;03q\s\s\sf1\s\s\s\s\s\s\s\s\s\s\s\EOP\E[2;03q\s\s\sf2\s\s\s\s\s\s\s\s\s\s\s\EOQ\E[3;03q\s\s\sf3\s\s\s\s\s\s\s\s\s\s\s\EOR\E[4;03q\s\s\sf4\s\s\s\s\s\s\s\s\s\s\s\EOS\E[5;03q\s\s\sf5\s\s\s\s\s\s\s\s\s\s\s\EOT\E[6;03q\s\s\sf6\s\s\s\s\s\s\s\s\s\s\s\EOU\E[7;03q\s\s\sf7\s\s\s\s\s\s\s\s\s\s\s\EOV\E[8;03q\s\s\sf8\s\s\s\s\s\s\s\s\s\s\s\EOW,
                   5797:        kbs=\b, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   5798:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   5799:        kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                   5800:        khome=\E[H, kll=\E[24;1H, ll=\E[24H, nel=\r\n,
                   5801:        pfx=\E[%p1%1d;%p2%l%2.2dq\s\s\sf%p1%1d\s\s\s\s\s\s\s\s\s\s\s%p2%s,
                   5802:        pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
                   5803:        rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
                   5804:        sc=\E7,
                   5805:        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^N%e^O%;,
                   5806:        sgr0=\E[m^O, smacs=^N, smso=\E[7m, smul=\E[4m,
                   5807:        tsl=\E7\E[25;%p1%{1}%+%dH,
                   5808:
                   5809: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
                   5810:        cols#132,is1=\E[?3h\E)0,rs2=\Ec\E[?3h\E[2;0y,wsl#132,use=att5410v1,
                   5811:
                   5812: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
                   5813:        pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, OTbs,
                   5814:        use=att5410v1,
                   5815:
                   5816: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
                   5817:        cols#132, is1=\E[?3h\E)0,rs2=\Ec\E[?3h\E[2;0y, wsl#132,
                   5818:        use=att4410,
                   5819:
                   5820: # 5410 in terms of a vt100
                   5821: # (v5410: added <rmam>/<smam> based on init string -- esr)
                   5822: v5410|att5410 in terms of a vt100,
                   5823:        am, mir, msgr, xon,
                   5824:        cols#80, it#8, lines#24, vt#3,
                   5825:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5826:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   5827:        clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
                   5828:        cub1=\b, cud1=\n, cuf1=\E[C$<2>,
                   5829:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
                   5830:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   5831:        enacs=\E(B\E)0, home=\E[H, ht=\t, hts=\EH, ich1=\E[@,
                   5832:        il1=\E[L, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr,
                   5833:        kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
                   5834:        kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
                   5835:        kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   5836:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   5837:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmkx=\E[?1l\E>,
                   5838:        rmso=\E[m$<2>, rmul=\E[m$<2>,
                   5839:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   5840:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
                   5841:        sgr0=\E[m^O$<2>, smacs=^N, smkx=\E[?1h\E=,
                   5842:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   5843:        rmam=\E[?7l, smam=\E[?7h,
                   5844:
                   5845: #
                   5846: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   5847: # even! the 5420 has three modes: scroll, window or page mode
                   5848: # this terminfo should work in scroll or window mode, but doesn't
                   5849: # take advantage of any of the differences between them.
                   5850: #
                   5851: # Has memory below (2 lines!)
                   5852: # 3 pages of memory (plus some spare)
                   5853: # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
                   5854: # <hpa>, <hts> would work for these, but these work in both scroll and window
                   5855: # mode... Unset insert character so insert mode works
                   5856: # <is1> sets 80 column mode,
                   5857: # <is2> escape sequence:
                   5858: # 1) turn off all fonts
                   5859: # 2) function keys off, keyboard lock off, control display off,
                   5860: #    insert mode off, erasure mode off,
                   5861: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   5862: # 4) reset origin mode
                   5863: # 5) set line wraparound
                   5864: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   5865: # 7) clear margins
                   5866: # 8) program ENTER to transmit ^J,
                   5867: # We use \212 to program the ^J because a bare ^J will get translated by
                   5868: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   5869: #     1      2            3              4     5     6    7  8
                   5870: # <is3> set screen color to black,
                   5871: # No representation in terminfo for the delete word key: kdw1=\Ed
                   5872: # Key capabilities assume the power-up send sequence...
                   5873: # This <rmcup> is not strictly necessary, but it helps maximize
                   5874: # memory usefulness: <rmcup=\Ez>,
                   5875: # Alternate sgr0:      <sgr0=\E[m\EW^O>,
                   5876: # 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%;>,
                   5877: # smkx programs the SYS PF keys to send a set sequence.
                   5878: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
                   5879: # This string causes them to send the strings <kf1>-<kf8>
                   5880: # when pressed in SYS PF mode.
                   5881: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
                   5882: att4415|tty5420|att5420|AT&T 4415/5420 80 cols,
                   5883:        xon, db, mir, OTbs,
                   5884:        nlab#8, lh#2, lw#8, wsl#55, lm#78,
                   5885:        cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j,
                   5886:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, cuu=\E[%p1%dA,
                   5887:        cup=\E[%i%p1%d;%p2%dx,
                   5888:        cvvis=\E[11;1j, dch=\E[%p1%dP, dl=\E[%p1%dM,
                   5889:        ech=\E[%p1%ds\E[%p1%dD,
                   5890:        flash=\E[?5h$<200>\E[?5l,
                   5891:        home=\E[x, hpa=\E[%p1%{1}%+%dG, hts=\EH,
                   5892:        ich1@, ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dE,
                   5893:        is1=\E[?3l$<100>,
                   5894:        is2=\E[m^O\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212,
                   5895:        is3=\E[?5l,
                   5896:        kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
                   5897:        kel=\E[2K, kend=\Ez, kent=\Eent,
                   5898:        kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf,
                   5899:        kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   5900:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu,
                   5901:        knp=\E[U, kpp=\E[V, kri=\E[S,
                   5902:        lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8,
                   5903:        ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
                   5904:        mrcup=\E[%i%p1%d;%p2%dt,
                   5905:        pfx=\E[%p1%d;%p2%l%02dq\s\s\sF%p1%d\s\s\s\s\s\s\s\s\s\s\s%p2%s,
                   5906:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s,
                   5907:        rmln=\E|, smln=\E~, prot=\EV, rin=\E[%p1%dF,
                   5908:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[19;0j\E[21;1j\212, sgr0=\E[m^O,
                   5909:        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^N%e^O%;,
                   5910:        smam=\E[?7h, smir=\E[4h,
                   5911:        smkx=\E[19;1j\E[21;4j\Eent, tbc=\E[3g,
                   5912:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   5913:        use=att4410,
                   5914:
                   5915: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
                   5916:        lm#54, cols#132, wsl#97,
                   5917:        is1=\E[?3h$<100>,
                   5918:        use=att4415,
                   5919:
                   5920: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
                   5921:        flash=\E[?5l$<200>\E[?5h,
                   5922:        is3=\E[?5h,
                   5923:        use=att4415,
                   5924:
                   5925: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
                   5926:        lm#54, cols#132, wsl#97,
                   5927:        flash=\E[?5l$<200>\E[?5h,
                   5928:        is1=\E[?3h$<100>,
                   5929:        is3=\E[?5h,
                   5930:        use=att4415,
                   5931:
                   5932: # Note that this mode permits programming USER PF KEYS and labels
                   5933: # However, when you program user pf labels you have to reselect
                   5934: # user pf keys to make them appear!
                   5935: att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
                   5936:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5937:        pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
                   5938:        pln=\E[%p1%d;0;0;1q%p2%:-16.16s,
                   5939:
                   5940: att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
                   5941:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5942:        use=att4415+nl, use=att4415,
                   5943:
                   5944: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
                   5945:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5946:        use=att4415+nl, use=att4415-rv,
                   5947:
                   5948: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
                   5949:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5950:        use=att4415+nl, use=att4415-w,
                   5951:
                   5952: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
                   5953:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   5954:        use=att4415+nl, use=att4415-w-rv,
                   5955:
                   5956: att5420_2|AT&T 5420 model 2 80 cols,
                   5957:        am, db, hs, mir, msgr, xon,
                   5958:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   5959:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5960:        blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
                   5961:        cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
                   5962:        cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
                   5963:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j,
                   5964:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   5965:        dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K,
                   5966:        el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
                   5967:        home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=\t, hts=\EH,
                   5968:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                   5969:        ind=\n, indn=\E[%p1%dE, invis=\E[8m,
                   5970:        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,
                   5971:        kbeg=\Et, kbs=\b, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
                   5972:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   5973:        kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\n, kf1=\EOc,
                   5974:        kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh,
                   5975:        kf7=\EOi, kf8=\EOj, khome=\E[H, kich1=\E[4h,
                   5976:        kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, kpp=\E[V,
                   5977:        kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   5978:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i,
                   5979:        mc4=\E[4i, mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=\r\n,
                   5980:        pfx=\E[%p1%d;%p2%l%02dq\s\s\sF%p1%d\s\s\s\s\s\s\s\s\s\s\s%p2%s\E~,
                   5981:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8,
                   5982:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O,
                   5983:        rmkx=\E[19;0j, rmln=\E|, rmso=\E[m, rmul=\E[m,
                   5984:        rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
                   5985:        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^N%e^O%;,
                   5986:        sgr0=\E[m^O, smacs=^N, smkx=\E[19;1j,
                   5987:        smln=\E~, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   5988:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   5989: att5420_2-w|AT&T 5420 model 2 in 132 column mode,
                   5990:        cols#132,
                   5991:        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,
                   5992:        use=att5420_2,
                   5993:
                   5994: att4418|att5418|AT&T 5418 80 cols,
                   5995:        am, xon,
                   5996:        cols#80, lines#24,
                   5997:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   5998:        bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=\r,
                   5999:        cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   6000:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   6001:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P,
                   6002:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
                   6003:        home=\E[H, ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL,
                   6004:        il1=\E[1L, ind=\n, is1=\E[?3l, is2=\E)0\E?6l\E?5l,
                   6005:        kclr=\E[%, kcub1=\E@, kcud1=\EU, kcuf1=\EA, kcuu1=\ES,
                   6006:        khome=\Ec, kent=\E[, kf1=\E[h, kf10=\E[m, kf11=\E[n, kf12=\E[o,
                   6007:        kf13=\E[H, kf14=\E[I, kf15=\E[J, kf18=\E[K, kf19=\E[L,
                   6008:        kf2=\E[i, kf20=\E[E, kf21=\E[_, kf22=\E[M, kf23=\E[N,
                   6009:        kf24=\E[O, kf3=\E[j, kf6=\E[k, kf7=\E[l, kf8=\E[f,
                   6010:        kf9=\E[w, rc=\E8, rev=\E[7m, rmacs=^O, rmso=\E[m,
                   6011:        rmul=\E[m, sc=\E7, sgr0=\E[m^O, smacs=^N, smso=\E[7m,
                   6012:        smul=\E[4m,
                   6013: att4418-w|att5418-w|AT&T 5418 132 cols,
                   6014:        cols#132,is1=\E[?3h,use=att5418,
                   6015:
                   6016: att4420|tty4420|teletype 4420,
                   6017:        xon,da, db, eo, msgr, ul,lm#72, OTbs,
                   6018:        cols#80, lines#24,
                   6019:        bel=^G, clear=\EH\EJ, cr=\EG,
                   6020:        cuu1=\EA, cud1=\EB,cuf1=\EC,cub1=\ED,
                   6021:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   6022:        dch1=\EP, dl1=\EM, ed=\EJ, el=\Ez, il1=\EL,
                   6023:        home=\EH,
                   6024:        ind=\EH\EM\EY7\s, kcub1=\b, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   6025:        kf0=\EU, kf3=\E@,
                   6026:        lf0=segment advance, lf3=cursor tab,
                   6027:        kind=\ES, kri=\ET, kcbt=\EO, kclr=\EJ,
                   6028:        kil1=\EL, kdl1=\EM, kich1=\E\^, kdch1=\EP, khome=\EH,
                   6029:        rmdc@, rmso=\E~, rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
                   6030:
                   6031: #  The following is a terminfo entry for the Teletype 4424
                   6032: #  asynchronous keyboard-display terminal.  It supports
                   6033: #  the vi editor.  The terminal must be set up as follows,
                   6034: #
                   6035: #      HIGHLIGHT DEFINITION    3-TONE
                   6036: #      DISPLAY FUNCTION        GROUP III
                   6037: #
                   6038: #  The second entry below provides limited (a la adm3a)
                   6039: #  operation under GROUP II.
                   6040: #
                   6041: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   6042: #      and HIGHLIGHT DEFINITION 3-TONE
                   6043: # The terminal has either bold or blink, depending on options
                   6044: #
                   6045: # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
                   6046: att4424|tty4424|teletype 4424,
                   6047:        OTbs,
                   6048:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6049:        xon,cr=^M, ind=^J, bel=^G, cols#80, lines#24, am,
                   6050:        smso=\E}, rmso=\E~, rev=\E}, smul=\E\\, rmul=\EZ, ri=\ET,
                   6051:        xon,bold=\E3, blink=\E3, dim=\EW,
                   6052:        ht=^I, cbt=\EO, home=\E[H, cuu1=\EA, cuu=\E[%p1%dA,
                   6053:        cud1=\EB, cud=\E[%p1%dB, cuf1=\EC, cuf=\E[%p1%dC,
                   6054:        cub1=^H, cub=\E[%p1%dD, cup=\E[%i%p1%d;%p2%dH,
                   6055:        clear=\E[H\E[2J, ed=\EJ, el=\Ez, nel=\EE, hts=\EH, tbc=\EF,
                   6056:        smacs=\E(0, rmacs=\E(B, is2=\E[20l\E[?7h, csr=\E[%i%p1%d;%p2%dr,
                   6057:        il1=\EL, il=\E[%p1%dL, dl1=\EM, dl=\E[%p1%dM,
                   6058:        ich1=\E\^, ich=\E[%p1%d@, dch1=\EP, dch=\E[%p1%dP,
                   6059:        sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
                   6060:        sgr0=\EX\E~\EZ\E4\E(B,
                   6061:        kcuu1=\E[A, kcud1=\E[B, kcub1=\E[D, kcuf1=\E[C, khome=\E[H, kbs=^H, kclr=\EJ,
                   6062:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   6063:
                   6064: att4424-1|tty4424-1|teletype 4424 in display function group I,
                   6065:        kclr@,kcub1=\ED,kcud1=\EB,kcuf1=\EC,kcuu1=\EA,khome@,use=att4424,
                   6066:
                   6067: # This entry is not one of AT&T's official ones, it was translated from the
                   6068: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   6069: # I have no idea why this is -- older firmware version, maybe?
                   6070: # The following two lines are the comment originally attached to the entry:
                   6071: # This entry appears to avoid the top line - I have no idea why.
                   6072: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   6073: att4424m|tty4424m|teletype 4424M,
                   6074:        am, da, db, mir,
                   6075:        cols#80, it#8, lines#23,
                   6076:        bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J,
                   6077:        cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A,
                   6078:        dch1=\EP, dl1=\EM, el=\E[K, ht=^I, ich1=\E\^,
                   6079:        il1=\EL, ind=^J, ip=$<2/>, is2=\E[m\E[2;24r,
                   6080:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6081:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   6082:        khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m,
                   6083:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   6084:
                   6085: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   6086: # is quite similar, except for some minor differences. No page
                   6087: # mode, for example, so all of the <cup> sequences used above have
                   6088: # to change back to what's being used for the 5410. Many of the
                   6089: # option settings have changed their numbering as well.
                   6090: #
                   6091: # This has been tested on a preliminary model.
                   6092: #
                   6093: # (att5425: added <rmam>/<smam> based on the init string -- esr)
                   6094: att5425|tty5425|att4425|AT&T 4425/5425,
                   6095:        am, da, db, hs, mir, msgr, xenl, xon,
                   6096:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   6097:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6098:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   6099:        clear=\E[H\E[J, cnorm=\E[12;0j, cr=\r,
                   6100:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
                   6101:        cud=\E[%p1%dB, cud1=\n, 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;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6104:        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD,
                   6105:        ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   6106:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   6107:        hpa=\E[%p1%{1}%+%dG, ht=\t, hts=\EH, ich=\E[%p1%d@,
                   6108:        il=\E[%p1%dL, il1=\E[L, ind=\n, indn=\E[%p1%dE,
                   6109:        invis=\E[8m, is1=\E<\E[?3l$<100>,
                   6110:        is2=\E[m^O\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212,
                   6111:        is3=\E[?5l, kbeg=\Et, kbs=\b, kcbt=\E[Z, kclr=\E[J,
                   6112:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   6113:        kdch1=\E[P, kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent,
                   6114:        kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   6115:        kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, kich1=\E[4h,
                   6116:        kil1=\E[L, kind=\E[T, kri=\E[S, ll=\E[24H, mc0=\E[?2i,
                   6117:        mc4=\E[?9i, mc5=\E[?4i, nel=\r\n,
                   6118:        pfx=\E[%p1%d;%p2%l%02dq\s\s\sF%p1%1d\s\s\s\s\s\s\s\s\s\s\s%p2%s,
                   6119:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8,
                   6120:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
                   6121:        rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, rmso=\E[m,
                   6122:        rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
                   6123:        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^N%e^O%;,
                   6124:        sgr0=\E[m^O, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6125:        smkx=\E[21;1j\E[25;4j\Eent\E~,
                   6126:        smln=\E~, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   6127:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   6128:
                   6129: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
                   6130:        smkx=\E[21;1j\E[25;4j\Eent,
                   6131:        use=att4425,
                   6132:
                   6133: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
                   6134:        lm#54, cols#132, wsl#97,
                   6135:        is1=\E[?3h$<100>,
                   6136:        use=tty5425,
                   6137:
                   6138: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   6139: # I also added <rmam>/<smam> -- esr)
                   6140: att4426|tty4426|teletype 4426S,
                   6141:        am, xon, da, db,
                   6142:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6143:        cols#80, lines#24, lm#48,
                   6144:        is1=\Ec\E[?7h, bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
                   6145:        cr=^M, cub1=\E[D, cub=\E[%p1%dD, cud1=\E[B, cud=\E[%p1%dB, cuf1=\E[C,
                   6146:        cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH,  cuu1=\EA, cuu=\E[%p1%dA,
                   6147:        dch1=\EP, dch=\E[%p1%dP, dl1=\E[M, dl=\E[%p1%dM, ed=\E[J,
                   6148:        el=\E[0K, home=\E[H, hpa=\E[%p1%dG, hts=\E1, ht=\t, ich1=\E\^,
                   6149:        ich=\E[%p1%d@, il1=\EL, il=\E[%p1%dL, ind=\ES, ind=^J, indn=\E[%p1%dS,
                   6150:        is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, kclr=\E[2J, kcub1=\ED,
                   6151:        kcud1=\EB, kcuf1=\EC,  kcuu1=\EA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   6152:        kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H,
                   6153:        kll=\E[24;1H, ll=\E[24H, nel=^M^J, rc=\E8, rev=\E[7m,
                   6154:        ri=\ET, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmso=\E[m,
                   6155:        rmul=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B,
                   6156:        smacs=\E(0, smam=\E[?7h, smso=\E[5m, smul=\E[4m, smul=\E[4m,
                   6157:        tbc=\E[3g, vpa=\E[%p1%dd,
                   6158:
                   6159: # Terminfo entry for the AT&T 510 A Personal Terminal
                   6160: # Function keys 9 - 16 are available only after the
                   6161: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   6162: # 9 corresponds to the leftmost touch target on the screen,
                   6163: # function key 16 corresponds to the rightmost.
                   6164: #
                   6165: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   6166: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
                   6167: att510a|bct510a|AT&T 510A Personal Terminal,
                   6168:        am, xenl, mir, msgr, xon,
                   6169:        cols#80, lines#24, nlab#8, lh#2, lw#7,
                   6170:        cbt=\E[Z, bel=^G, cr=^M, tbc=\E[3g, clear=\E[H\E[J, el=\E[0K, ed=\E[0J,
                   6171:        cup=\E[%i%p1%d;%p2%dH, cud1=\E[1B, home=\E[H, cub1=^H, cnorm=\E[11;3|,
                   6172:        cuf1=\E[C, cuu1=\E[A, civis=\E[11;0|, cvvis=\E[11;2|, dch1=\E[P,
                   6173:        dl1=\E[M, smacs=^N, blink=\E[5m, bold=\E[2;7m, dim=\E[2m, rev=\E[7m,
                   6174:        smso=\E[7m, smul=\E[4m, rmacs=^O, sgr0=\E[m^O, rmso=\E[m, rmul=\E[m,
                   6175:        ff=^L, is3=\E[21;1|\212, il1=\E[L, kbs=^H, kcud1=\E[B,
                   6176:        kf1=\EOm, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, kf7=\ENh,
                   6177:        kf8=\E[H, kf9=\EOc, kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg,
                   6178:        kf14=\EOh, kf15=\EOi, kf16=\EOj, kcub1=\E[D, kcuf1=\E[C, kind=\E[S,
                   6179:        kri=\E[T, kcuu1=\E[A, rmkx=\E[19;0|, smkx=\E[19;1|, nel=\EE,
                   6180:        dch=\E[%p1%dP, dl=\E[%p1%dM, cud=\E[%p1%dB, il=\E[%p1%dL,
                   6181:        cub=\E[%p1%dD, cuf=\E[%p1%dC, cuu=\E[%p1%dA, mc0=\E[0i,
                   6182:        mc4=\E[?8i, mc5=\E[?4i, rc=\E8, sc=\E7, ind=^J, ri=\EM,
                   6183:        sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t^N%e^O%;,
                   6184:        hts=\EH, ht=\t,
                   6185:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,
                   6186:        pln=\E[%p1%dp%p2%:-16s, kcbt=\E[Z, enacs=\E(B\E)1, kLFT=\E[u,
                   6187:        kRIT=\E[v, el1=\E[1K, is1=\E(B\E)1\E[2l,
                   6188:
                   6189: # Terminfo entry for the AT&T 510 D Personal Terminal
                   6190: # Function keys 9 through 16 are accessed by bringing up the
                   6191: # system blocks.
                   6192: # Function key 9 corresponds to the leftmost touch target on the screen,
                   6193: # function key 16 corresponds to the rightmost.
                   6194: #
                   6195: # There are problems with soft key labeling.  These are due to
                   6196: # strangenesses in the native terminal that are impossible to
                   6197: # describe in a terminfo.
                   6198: att510d|bct510d|AT&T 510D Personal Terminal,
                   6199:        am, da, db, mir, msgr, xenl, xon,
                   6200:        cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
                   6201:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,
                   6202:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, clear=\E[H\E[J,
                   6203:        cnorm=\E[11;3|, cr=^M,cub1=^H, cub=\E[%p1%dD, cud1=\E[1B,
                   6204:        cud=\E[%p1%dB, cuf1=\E[C, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH,
                   6205:        cuu1=\E[A, cuu=\E[%p1%dA, cvvis=\E[11;2|, dch1=\E[P, dch=\E[%p1%dP,
                   6206:        dim=\E[2m, dl1=\E[M, dl=\E[%p1%dM, ed=\E[0J, el1=\E[1K, el=\E[0K,
                   6207:        enacs=\E(B\E)1, ff=^L, home=\E[H, hpa=\E[%p1%{1}%+%dG, hts=\EH, ht=\t,
                   6208:        ich=\E[%p1%d@, il1=\E[L, il=\E[%p1%dL, ind=^J, indn=\E[%p1%dS,
                   6209:        invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, kbs=^H, kcbt=\E[Z,
                   6210:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   6211:        kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
                   6212:        kf16=\EOj, kf1=\EOm, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
                   6213:        kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kLFT=\E[u, kri=\E[T,
                   6214:        kRIT=\E[v, ll=\E#2, mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E:,
                   6215:        nel=\EE, pln=\E[%p1%dp%p2%:-16s, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db,
                   6216:        rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
                   6217:        rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, rs2=\E[5;0|, sc=\E7,
                   6218:        sgr0=\E[m^O,
                   6219:        sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t^N%e^O%;,
                   6220:        smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, smkx=\E[19;1|, smln=\E?,
                   6221:        smso=\E[7m, smul=\E[4m, smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
                   6222:
                   6223: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
                   6224: att500|att513|AT&T 513 using page mode,
                   6225:        am, chts, mir, msgr, xenl, xon,
                   6226:        cols#80, lh#2, lines#24, lw#8, nlab#8,
                   6227:        acsc=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\,h.e+g`b,
                   6228:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   6229:        clear=\E[H\E[J, cnorm=\E[11;0|, cr=\r,
                   6230:        csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
                   6231:        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
                   6232:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6233:        cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>,
                   6234:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   6235:        el1=\E[1K, enacs=\E(B\E)1, home=\E[H,
                   6236:        hpa=\E[%p1%{1}%+%dG, ht=\t, hts=\EH, ich=\E[%p1%d@,
                   6237:        il=\E[%p1%dL, il1=\E[L, ind=\n, indn=\E[%p1%dE,
                   6238:        invis=\E[8m,
                   6239:        is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
                   6240:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   6241:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   6242:        kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
                   6243:        kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
                   6244:        kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
                   6245:        kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=\b,
                   6246:        kcan=\EOw, kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu,
                   6247:        kcpy=\ENd, kcrt=\EOn, kcub1=\E[D, kcud1=\E[B,
                   6248:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, kdl1=\ENe,
                   6249:        kel=\EOa, kend=\E0, kent=\Eent, kext=\EOk, kf1=\EOc,
                   6250:        kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh,
                   6251:        kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, khome=\E[H,
                   6252:        kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
                   6253:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   6254:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   6255:        kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
                   6256:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
                   6257:        mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i,
                   6258:        mc5=\E[?98l\E[?4i, nel=\EE,
                   6259:        pfkey=\E[%p1%d;%p2%l%d;3;0p\s\s\sF%p1%d\s\s\s\s\s\s\s\s\s\s\s%p2%s,
                   6260:        pfloc=\E[%p1%d;%p2%l%d;2;0p\s\s\sF%p1%d\s\s\s\s\s\s\s\s\s\s\s%p2%s,
                   6261:        pfx=\E[%p1%d;%p2%l%d;1;0p\s\s\sF%p1%d\s\s\s\s\s\s\s\s\s\s\s%p2%s,
                   6262:        pln=\E[%p1%dp%p2%:-16s, rc=\E8,
                   6263:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   6264:        rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|\E[21;1|\212,
                   6265:        rmln=\E<, rmso=\E[m, rmul=\E[m,
                   6266:        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,
                   6267:        rs2=\E[5;0|, sc=\E7,
                   6268:        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^N%e^O%;,
                   6269:        sgr0=\E[m^O, smacs=^N, smir=\E[4h, smkx=\E[19;1|\E[21;4|\Eent,
                   6270:        smln=\E?, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   6271:        vpa=\E[%p1%{1}%+%dd,
                   6272:
                   6273: # 01-07-88
                   6274: # printer must be set to EMUL ANSI to accept ESC codes
                   6275: # <cuu1> stops at top margin
                   6276: # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
                   6277: #      and alt font ascii,wrap on,tabs cleared
                   6278: # <is2> disables newline on LF,Emphasized off
                   6279: # The <u0> capability sets form length
                   6280: att5310|att5320|AT&T Model 53210 or 5320 matrix printer,
                   6281:        xhpa, xvpa,
                   6282:        bufsz#8192, cols#132, it#8, lines#66, orc#10, orhi#100,
                   6283:        orl#12, orvi#72, cps#120,
                   6284:        cr=^M,
                   6285:        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%;,
                   6286:        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%;,
                   6287:        cud1=^J, cuf1=\s,
                   6288:        cud=\E[%p1%de, cuf=\E[%p1%da,
                   6289:        cuu1=\EM,
                   6290:        ff=^L,
                   6291:        hpa=\E[%p1%d`,
                   6292:        ht=^I,
                   6293:        is1=\Ec,
                   6294:        is2=\E[20l^M,
                   6295:        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%;,
                   6296:        rshm=\E[m,
                   6297:        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(}%;,
                   6298:        smgbp=\E[;%p1%dr,
                   6299:        smglp=\E[%{1}%p1%+%ds,
                   6300:        smgrp=\E[;%{1}%p1%+%ds,
                   6301:        smgtp=\E[%p1%dr,
                   6302:        sshm=\E[5m,
                   6303:        u0=\E[%p1%dt,
                   6304:        vpa=\E[%p1%dd,
                   6305:
                   6306: # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
                   6307: # The following SET-UP modes are assumed for normal operation:
                   6308: #      CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
                   6309: # Other SET-UP modes may be set for operator convenience or communication
                   6310: # requirements.  This termcap description is for the Resident Terminal Mode.
                   6311: # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   6312: # The BRL entry also said: UNSAFE :ll=\E[70H:
                   6313: att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs,
                   6314:        am, xon,
                   6315:        cols#88, it#8, lines#70, vt#3,
                   6316:        bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   6317:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   6318:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   6319:        home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   6320:        il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J,
                   6321:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   6322:        kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT,
                   6323:        rs1=\Ec, sc=\E7,
                   6324:
                   6325: # 5620 terminfo  (2.0 or later ROMS with char attributes)
                   6326: # The following SET-UP modes are assumed for normal operation:
                   6327: #      DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
                   6328: # Other SET-UP modes may be set for operator convenience or communication
                   6329: # requirements.  This termcap description is for Resident Terminal Mode.  No
                   6330: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   6331: # assumptions: <ind> (scroll forward one line) is only done at screen bottom
                   6332: # Be aware that older versions of the dmd have a firmware bug that affects
                   6333: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
                   6334: # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
                   6335: # also has <ll>=\E[70H commented out and marked unsafe.
                   6336: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
                   6337: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
                   6338:        npc, xon, am, msgr, OTbs,
                   6339:        cols#88, lines#70, it#8,
                   6340:        bel=^G, cr=^M, clear=\E[H\E[J,
                   6341:        ht=^I, nel=^J,
                   6342:        el=\E[K, ed=\E[J,
                   6343:        ind=\E[S, indn=\E[%p1%dS, ri=\E[T, rin=\E[%p1%dT,
                   6344:        cup=\E[%i%p1%d;%p2%dH, cud1=\E[B, home=\E[H,
                   6345:        cub1=^H, cuf1=\E[C, cuu1=\E[A,
                   6346:        dch1=\E[P, dch=\E[%p1%dP, dl1=\E[M, dl=\E[%p1%dM,
                   6347:        ich1=\E[@, ich=\E[%p1%d@, il1=\E[L, il=\E[%p1%dL,
                   6348:        kbs=^H, kclr=\E[2J, kcud1=\E[B, khome=\E[H,
                   6349:        kcub1=\E[D, kll=\E[70;1H, kcuf1=\E[C, kcuu1=\E[A,
                   6350:        pfx=\E[%p1%d;%p2%l%dq%p2%s,
                   6351:        rs1=\Ec, rc=\E8, sc=\E7,
                   6352:        smul=\E[4m, rmul=\E[0m,
                   6353:        smso=\E[7m, rmso=\E[0m,
                   6354:        rev=\E[7m, sgr0=\E[0m,
                   6355:        dim=\E[2m, bold=\E[2m,
                   6356: att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
                   6357:        lines#24, use=att5620,
                   6358: att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
                   6359:        lines#34, use=att5620,
                   6360: # 5620 layer running the "S" system's downloaded graphics handler:
                   6361: att5620-s|tty5620-s|layer|vitty|5620 S layer,
                   6362:        OTbs, OTpt, am,
                   6363:        cols#80, it#8, lines#72,
                   6364:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   6365:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED,
                   6366:        el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J,
                   6367:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   6368:        kll=\E[70;1H,
                   6369:
                   6370: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
                   6371: #
                   6372: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
                   6373: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
                   6374: att605|AT&T 605 80 column 102key keyboard,
                   6375:        am, eo, xon,
                   6376:        cols#80, lines#24, lw#8, nlab#8, wsl#80,
                   6377:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6378:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   6379:        clear=\E[H\E[J, cr=\r, cub1=\b, cud1=\E[B, cuf1=\E[C,
                   6380:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   6381:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   6382:        el=\E[K, el1=\E[1K, fsl=\E8, ht=\t, ich=\E[%p1%d@,
                   6383:        ich1=\E[@, il1=\E[L, ind=\n, invis=\E[8m,
                   6384:        is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m^O,
                   6385:        kLFT=\E[\sA, kRIT=\E[\s@, kbs=\b, kcbt=\E[Z,
                   6386:        kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6387:        kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H,
                   6388:        kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs,
                   6389:        kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, kf18=\EOF,
                   6390:        kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   6391:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   6392:        kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, kf31=\EOR,
                   6393:        kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm,
                   6394:        kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, kf40=\EOl,
                   6395:        kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, kf45=\EOn,
                   6396:        kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   6397:        kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L,
                   6398:        kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, mc4=\E[?4i,
                   6399:        mc5=\E[?5i, nel=\EE,
                   6400:        pfx=\E[%p1%d;%p2%l%02dq\s\s\sF%p1%1d\s\s\s\s\s\s\s\s\s\s\s%p2%s,
                   6401:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
                   6402:        rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m,
                   6403:        rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
                   6404:        sgr0=\E[m^O, smacs=\E)0^N, smir=\E[4h, smln=\E[p,
                   6405:        smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
                   6406: att605-pc|ATT 605 in pc term mode,
                   6407:        acsc=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263,
                   6408:        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
                   6409:        cbt=\E[Z, il=\E[L, il1=\E[L, ich1=\E[@,
                   6410:        dch1=\E[P, dl1=\E[M,
                   6411:        kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, kich1=\E[@,
                   6412:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kcub1=\E[D,
                   6413:        kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, kf3=\E[O,
                   6414:        kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
                   6415:        kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
                   6416:        smsc=250\E[?11l\E[50;1|, rmsc=400\E[50;0|,
                   6417:        xonc=\145, xoffc=\147,
                   6418:        use=att605,
                   6419: att605-w|AT&T 605-w 132 column 102 key keyboard,
                   6420:        cols#132,
                   6421:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0,
                   6422:        wsl#132,
                   6423:        use=att605,
                   6424: # (att610: I added <rmam>/<smam> based on the init string.  I also
                   6425: # added <indn> and <rin> because the BSD file says the att615s have them,
                   6426: # and the 615 is like a 610 with a big keyboard, and most of their other
                   6427: # smart terminals support the same sequence -- esr)
                   6428: att610|AT&T 610; 80 column; 98key keyboard,
                   6429:        am, xenl, hs, eslok, mir, msgr, xon,
                   6430:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   6431:        cbt=\E[Z, bel=^G, cr=^M, csr=\E[%i%p1%d;%p2%dr, clear=\E[H\E[J,
                   6432:        el=\E[K, ed=\E[J, cup=\E[%i%p1%d;%p2%dH, cud1=\E[B, home=\E[H,
                   6433:        civis=\E[?25l, cub1=^H, cnorm=\E[?25h\E[?12l, cuf1=\E[C, ll=\E[24H,
                   6434:        cuu1=\E[A, cvvis=\E[?12;25h, dch1=\E[P, dl1=\E[M, smacs=^N,
                   6435:        blink=\E[5m, bold=\E[1m, dim=\E[2m, smir=\E[4h, ich=\E[%p1%d@,
                   6436:        indn=\E[%p1%dS, invis=\E[8m, rev=\E[7m, smso=\E[7m, smul=\E[4m,
                   6437:        rin=\E[%p1%dT, rmacs=^O, sgr0=\E[m^O, rmir=\E[4l, rmso=\E[m,
                   6438:        rmul=\E[m, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
                   6439:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
                   6440:        is2=\E[m^O, is3=\E(B\E)0, il1=\E[L, kbs=^H, kclr=\E[2J, kcud1=\E[B,
                   6441:        kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
                   6442:        kf8=\EOj, kf9=\ENo, kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs,
                   6443:        kf14=\ENt, khome=\E[H, kcub1=\E[D, kcuf1=\E[C, kind=\E[S, kri=\E[T,
                   6444:        kcuu1=\E[A, nel=\EE, dch=\E[%p1%dP, dl=\E[%p1%dM, cud=\E[%p1%dB,
                   6445:        il=\E[%p1%dL, cub=\E[%p1%dD, cuf=\E[%p1%dC, cuu=\E[%p1%dA,
                   6446:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   6447:        mc4=\E[?4i, mc5=\E[?5i, rs2=\Ec\E[?3l, rc=\E8, sc=\E7, ind=\ED, ri=\EM,
                   6448:        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^N%e^O%;,
                   6449:        ht=\t, tsl=\E7\E[25;%i%p1%dx,
                   6450:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6451:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s,
                   6452:        kcbt=\E[Z, smln=\E[p, rmln=\E[2p, kLFT=\E[ @, kRIT=\E[ A, el1=\E[1K,
                   6453:        rmam=\E[?7l, smam=\E[?7h,
                   6454: att610-w|AT&T 610; 132 column; 98key keyboard,
                   6455:        cols#132, wsl#132,
                   6456:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
                   6457:        use=att610,
                   6458:
                   6459: att610-103k|AT&T 610; 80 column; 103key keyboard,
                   6460:        kf9@, kf10@, kf11@, kf12@, kf13@, kf14@,
                   6461:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kich1=\ENj, krmir=\ENj,
                   6462:        knp=\E[U, kpp=\E[V, kbeg=\E9, kcan=\EOw, kclo=\EOV, kcmd=\EOu,
                   6463:        kcpy=\ENd, kcrt=\EOn, kend=\E0, kent=^M, kext=\EOk, kfnd=\EOx,
                   6464:        khlp=\EOm, kmrk=\ENi, kmsg=\EOl, kmov=\ENc, knxt=\ENh, kopn=\EOv,
                   6465:        kopt=\EOr, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, krfr=\ENa,
                   6466:        krpl=\EOy, krst=\EOB, kres=\EOq, ksav=\EOo, kspd=\EOp, kund=\EOs,
                   6467:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, kDC=\ENF,
                   6468:        kDL=\ENE, kslt=\ENI, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, kFND=\EOX,
                   6469:        kHLP=\EOM, kMSG=\EOL, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
                   6470:        kPRV=\ENG, kRDO=\EOT, kRPL=\EOY, kRES=\EOQ, kSAV=\EOO, kSPD=\EOP,
                   6471:        kUND=\EOS,
                   6472:        use=att610,
                   6473: att610-103k-w|AT&T 610; 132 column; 103key keyboard,
                   6474:        cols#132, wsl#132,
                   6475:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
                   6476:        use=att610-103k,
                   6477: att615|AT&T 615; 80 column; 98key keyboard,
                   6478:        kLFT=\E[ A, kRIT=\E[ @,
                   6479:        kf15=\EOC, kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf20=\EOH,
                   6480:        kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
                   6481:        kf27=\ENS, kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   6482:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu,
                   6483:        kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
                   6484:        kf45=\EOn, kf46=\EOM,
                   6485:        use=att610,
                   6486: att615-w|AT&T 615; 132 column; 98key keyboard,
                   6487:        kLFT=\E[\sA, kRIT=\E[\s@,
                   6488:        kf15=\EOC, kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf20=\EOH,
                   6489:        kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
                   6490:        kf27=\ENS, kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   6491:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu,
                   6492:        kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
                   6493:        kf45=\EOn, kf46=\EOM,
                   6494:        use=att610-w,
                   6495: att615-103k|AT&T 615; 80 column; 103key keyboard,
                   6496:        kLFT=\E[\sA, kRIT=\E[\s@,
                   6497:        use=att610-103k,
                   6498: att615-103k-w|AT&T 615; 132 column; 103key keyboard,
                   6499:        kLFT=\E[\sA, kRIT=\E[\s@,
                   6500:        use=att610-103k-w,
                   6501: # (att620: I added <rmam>/<smam> based on the init string and
                   6502: # <rin>/<indn> from a BSD termcap -- esr)
                   6503: att620|AT&T 620; 80 column; 98key keyboard,
                   6504:        am, xenl, hs, eslok, mir, msgr, xon,
                   6505:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   6506:        cbt=\E[Z, bel=^G, cr=^M, csr=\E[%i%p1%d;%p2%dr, clear=\E[H\E[J,
                   6507:        el=\E[K, ed=\E[J, cup=\E[%i%p1%d;%p2%dH, cud1=\E[B, home=\E[H,
                   6508:        civis=\E[?25l, cub1=^H, cnorm=\E[?25h\E[?12l, cuf1=\E[C, ll=\E[24H,
                   6509:        cuu1=\E[A, cvvis=\E[?12;25h, dch1=\E[P, dl1=\E[M, smacs=\E)0^N,
                   6510:        blink=\E[5m, bold=\E[1m, dim=\E[2m, smir=\E[4h, ich=\E[%p1%d@,
                   6511:        invis=\E[8m, rev=\E[7m, smso=\E[7m, smul=\E[4m, rmacs=\E(B^O,
                   6512:        sgr0=\E[m\E(B^O, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   6513:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, indn=\E[%p1%dS,
                   6514:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
                   6515:        is2=\E[m^O, is3=\E(B\E)0, il1=\E[L, kbs=^H, kclr=\E[2J, kcud1=\E[B,
                   6516:        kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
                   6517:        kf8=\EOj, kf9=\ENo, kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs,
                   6518:        kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG,
                   6519:        kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
                   6520:        kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR,
                   6521:        kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   6522:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
                   6523:        kf44=\EOp, kf45=\EOn, kf46=\EOM,
                   6524:        khome=\E[H, kcub1=\E[D, kcuf1=\E[C, kind=\E[S, kri=\E[T, kcuu1=\E[A,
                   6525:        nel=\EE, dch=\E[%p1%dP, dl=\E[%p1%dM, cud=\E[%p1%dB, il=\E[%p1%dL,
                   6526:        cub=\E[%p1%dD, cuf=\E[%p1%dC, cuu=\E[%p1%dA, rin=\E[%p1%dT,
                   6527:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   6528:        mc4=\E[?4i, mc5=\E[?5i, rs2=\Ec\E[?3l, rc=\E8, sc=\E7, ind=\ED, ri=\EM,
                   6529:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t^N%e^O%;,
                   6530:        ht=\t, tsl=\E7\E[25;%i%p1%dx,
                   6531:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6532:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s,
                   6533:        kcbt=\E[Z, smln=\E[p, rmln=\E[2p, kLFT=\E[\sA, kRIT=\E[\s@, el1=\E[1K,
                   6534:        rmam=\E[?7l, smam=\E[?7h,
                   6535: att620-w|AT&T 620; 132 column; 98key keyboard,
                   6536:        cols#132, wsl#132,
                   6537:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
                   6538:        use=att620,
                   6539: att620-103k|AT&T 620; 80 column; 103key keyboard,
                   6540:        kf9@, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
                   6541:        kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@,
                   6542:        kf27@, kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@,
                   6543:        kf37@, kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@,
                   6544:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kich1=\ENj, krmir=\ENj, knp=\E[U,
                   6545:        kpp=\E[V, kbeg=\E9, kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd,
                   6546:        kcrt=\EOn, kend=\E0, kent=^M, kext=\EOk, kfnd=\EOx, khlp=\EOm,
                   6547:        kmrk=\ENi, kmsg=\EOl, kmov=\ENc, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   6548:        kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, krfr=\ENa, krpl=\EOy,
                   6549:        krst=\EOB, kres=\EOq, ksav=\EOo, kspd=\EOp, kund=\EOs, kBEG=\ENB,
                   6550:        kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
                   6551:        kslt=\ENI, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, kFND=\EOX, kHLP=\EOM,
                   6552:        kMSG=\EOL, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG,
                   6553:        kRDO=\EOT, kRPL=\EOY, kRES=\EOQ, kSAV=\EOO, kSPD=\EOP, kUND=\EOS,
                   6554:        use=att620,
                   6555:
                   6556: att620-103k-w|AT&T 620; 132 column; 103key keyboard,
                   6557:        cols#132, wsl#132,
                   6558:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
                   6559:        use=att620-103k,
                   6560:
                   6561: # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
                   6562: # The following SETUP modes are assumed for normal operation:
                   6563: #      Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
                   6564: #      Font_Size=Large         Non-Layers_Window_Cols=80
                   6565: #                              Non-Layers_Window_Rows=60
                   6566: # Other SETUP modes may be set for operator convenience or communication
                   6567: # requirements.  Some capabilities assume a printer attached to the Aux EIA
                   6568: # port.  This termcap description is for the Fixed Non-Layers Window.  No
                   6569: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   6570: # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
                   6571: att630|AT&T 630 windowing terminal,
                   6572:        am, da, db, mir, msgr, npc, xon, OTbs,
                   6573:        cols#80, it#8, lines#60, lm#0,
                   6574:        bel=^G, cr=\r, ht=\t, nel=\r\n, cbt=\E[Z, cup=\E[%i%p1%d;%p2%dH,
                   6575:        cuu1=\E[A, cud1=\E[B, cuf1=\E[C, cub1=\b, cuu=\E[%p1%dA,
                   6576:        cud=\E[%p1%dB, cuf=\E[%p1%dC, cub=\E[%p1%dD, dch1=\E[P, dl1=\E[M,
                   6577:        il1=\E[L, dch=\E[%p1%dP, dl=\E[%p1%dM, il=\E[%p1%dL, ich=\E[%p1%d@,
                   6578:        el=\E[K, el1=\E[1K, ed=\E[J, clear=\E[H\E[J, home=\E[H, ind=\ED,
                   6579:        ri=\EM, ich1=\E[@, indn=\E[%p1%dS, rin=\E[%p1%dT, is2=\E[m,
                   6580:        rs2=\Ec, kbs=\b, kclr=\E[2J, kent=\r, khome=\E[H, kcbt=\E[Z,
                   6581:        kcuu1=\E[A, kcud1=\E[B, kcuf1=\E[C, kcub1=\E[D, kdch1=\E[P,
                   6582:        kdl1=\E[M, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv,
                   6583:        kf17=\ENw, kf18=\ENx, kf19=\ENy, kf20=\ENz, kf21=\EN{, kf22=\EN|,
                   6584:        kf23=\EN}, kf24=\EN~, kf9=\ENo, kf10=\ENp, kf11=\ENq, kich1=\E[@,
                   6585:        kil1=\E[L, mc4=\E[?4i, mc5=\E[?5i, pfx=\E[%p1%d;%p2%l%dq%p2%s,
                   6586:        rev=\E[7m, sc=\E7, rc=\E8, sgr0=\E[m,
                   6587:        sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, smir=\E[4h,
                   6588:        rmir=\E[4l, smso=\E[7m, rmso=\E[m, smul=\E[4m, rmul=\E[m,
                   6589:        blink=\E[5m, dim=\E[2m,
                   6590: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
                   6591:        lines#24, use=att630,
                   6592:
                   6593: # This is the att700 entry for 700 native emulation of the AT&T 700
                   6594: # terminal.  Comments are relative to changes from the 605V2 entry and
                   6595: # att730 on which the entry is based.  Comments show the terminfo
                   6596: # capability name, termcap name, and description.
                   6597: #
                   6598: # Here is what's going onm in the init string:
                   6599: #      ESC [ 50;4|     set 700 native mode (really is 605)
                   6600: # x    ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
                   6601: #      ESC [ 53;0|     set GenFlow to Xon/Xoff
                   6602: #      ESC [ 8 ;0|     set CR on NL
                   6603: # x    ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
                   6604: #      ESC [ ? 4 l     jump scroll
                   6605: #      ESC [ ? 5 l/h   video: normal (l); reverse (h)
                   6606: #      ESC [ ?13 l     Labels on
                   6607: #      ESC [ ?15 l     parity check = no
                   6608: #      ESC [ 13 l      monitor mode off
                   6609: #      ESC [ 20 l      LF on NL (not CRLF on NL)
                   6610: #      ESC [ ? 7 h     autowrap on
                   6611: #      ESC [ 12 h      local echo off
                   6612: #      ESC ( B         GO = ASCII
                   6613: #      ESC ) 0         G1 = Special Char & Line Drawing
                   6614: #      ESC [ ? 31 l    Set 7 bit controls
                   6615: #
                   6616: # Note: Most terminals, especially the 600 family use Reverse Video for
                   6617: # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
                   6618: # Assume we should stay with reverse video for 70..  However, the 605V2 exits
                   6619: # standout mode with \E[m (all normal attributes).  The 730 entry simply
                   6620: # exits reverse video which would leave other current attributes intact.  It
                   6621: # was assumed the 730 entry to be more correct so rmso has changed.  The
                   6622: # 605V2 has no sequences to turn individual attributes off, thus its setting
                   6623: # and the rmso/smso settings from the 730.
                   6624: #
                   6625: # Note: For the same reason as above in rmso I changed exit under-score mode
                   6626: # to specifically turn off underscore, rather than return to all normal
                   6627: # attributes
                   6628: #
                   6629: # Note: The following pkey_xmit is taken from the 605V2 which contained the
                   6630: # capability as pfxl.  It was changed here to pfx since pfxl
                   6631: # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
                   6632: # allows strings to be parameters and label values must be programmed as
                   6633: # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
                   6634: # and strings to be parameters.  The 605V2 pfx entry should be examined later
                   6635: # in this regard. For reference the 730 pfxl entry is shown here for comparison
                   6636: # 730 pfx entry:
                   6637: #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
                   6638: # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
                   6639: #
                   6640: # (for 4.0 tic)
                   6641: #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   6642: #
                   6643: # (for <4.0 tic)
                   6644: #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   6645: #
                   6646: # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
                   6647: #
                   6648: # Port1 Interface
                   6649: #
                   6650: # modular 10 pin Connector
                   6651: # Left side       Right side
                   6652: # Pin 1 2 3 4 5 6 7 8 9 10
                   6653: #
                   6654: #        Key (notch) at bottom
                   6655: #
                   6656: # Pin    1 DSR
                   6657: #        3 DCD
                   6658: #        4 DTR
                   6659: #        5 Sig Ground
                   6660: #        6 RD
                   6661: #        7 SD
                   6662: #        8 CTS
                   6663: #        9 RTS
                   6664: #        10 Frame Ground
                   6665: #
                   6666: # The manual is 189 pages and is loaded with details about the escape codes,
                   6667: # etc..... Available from AT&T CIC 800-432-6600...
                   6668: # ask for Document number 999-300-660..
                   6669: #
                   6670: att700|AT&T 700 24x80 column display w/102key keyboard,
                   6671:        am, eslok, hs, mir, msgr, xenl, xon,
                   6672:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   6673:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6674:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6675:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   6676:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6677:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   6678:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6679:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   6680:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   6681:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4,
                   6682:        fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   6683:        il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
                   6684:        is2=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017,
                   6685:        is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z,
                   6686:        kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   6687:        kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp,
                   6688:        kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC,
                   6689:        kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd,
                   6690:        kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP,
                   6691:        kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq,
                   6692:        kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu,
                   6693:        kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu,
                   6694:        kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   6695:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg,
                   6696:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   6697:        kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H,
                   6698:        mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   6699:        pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   6700:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
                   6701:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
                   6702:        rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
                   6703:        rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
                   6704:        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%;,
                   6705:        sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
                   6706:        smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
                   6707:        tsl=\E7\E[99;%i%p1%dx,
                   6708:
                   6709: # This entry was modified 3/13/90 by JWE.
                   6710: # fixes include additions of <enacs>, correcting <rep>, and modification
                   6711: # of <kHOM>.  (See comments below)
                   6712: # att730 has status line of 80 chars
                   6713: # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
                   6714: # the <kf25> and up keys are used for shifted system Fkeys
                   6715: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
                   6716: # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
                   6717: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
                   6718: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
                   6719: # 102, 102+1, or 122 key keyboards
                   6720: #       kHOM=\E[2J,
                   6721: # (att730: I added <rmam>/<smam> based on the init string -- esr)
                   6722: att730|AT&T 730 windowing terminal,
                   6723:        hs,am, da, db, xenl, mir, msgr, npc, xon, eslok,
                   6724:        it#8, lm#0, wsl#80, cols#80, lines#60, lw#8, lh#2, nlab#24,
                   6725:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=^G,
                   6726:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J,
                   6727:        cnorm=\E[?25h\E[?12l, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
                   6728:        cub=\E[%p1%dD, cud1=\E[B, cud=\E[%p1%dB, cuf1=\E[C, cuf=\E[%p1%dC,
                   6729:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cuu=\E[%p1%dA, cvvis=\E[?12;25h,
                   6730:        dch1=\E[P, dch=\E[%p1%dP, dim=\E[2m, dl1=\E[M, dl=\E[%p1%dM,
                   6731:        ed=\E[J, el1=\E[1K, el=\E[K, enacs=\E(B\E)0,
                   6732:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=\t, ich=\E[%p1%d@,
                   6733:        il1=\E[L, il=\E[%p1%dL, ind=\ED, invis=\E[8m,
                   6734:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
                   6735:        is2=\E[m^O, is3=\E(B\E)0, kLFT=\E[\s@, kRIT=\E[\sA, kbs=^H,
                   6736:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6737:        kcuu1=\E[A, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx,
                   6738:        kf19=\ENy, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   6739:        kf6=\EOh, kf7=\EOi, kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN},
                   6740:        kf24=\EN~, kf25=\EOC, kf26=\EOD, kf27=\EOE, kf28=\EOF, kf29=\EOG,
                   6741:        kf30=\EOH, kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
                   6742:        kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf40=\EOV, kf41=\EOW,
                   6743:        kf42=\EOX, kf43=\EOY, kf44=\EOZ, kf45=\EO[, kf46=\EO\s, kf47=\EO],
                   6744:        kf48=\EO\^, kf8=\EOj, kf9=\ENo, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   6745:        kf13=\ENs, khome=\E[H, kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
                   6746:        mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   6747:        pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\sSYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
                   6748:        pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
                   6749:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db,
                   6750:        rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
                   6751:        rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m^O,
                   6752:        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^N%e^O%;,
                   6753:        smacs=^N, smir=\E[4h, smln=\E[?13l, smso=\E[7m, smul=\E[4m,
                   6754:        smxon=\E[?21h, swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
                   6755:        rmam=\E[?7l, smam=\E[?7h,
                   6756: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
                   6757:        lines#41,
                   6758:        use=att730,
                   6759: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
                   6760:        lines#24,
                   6761:        use=att730,
                   6762: att730r|730MTGr|AT&T 730 rev video windowing terminal Version,
                   6763:        flash=\E[?5l$<200>\E[?5h,
                   6764:        is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B,
                   6765:        use=att730,
                   6766: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
                   6767:        lines#41,
                   6768:        use=att730r,
                   6769: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
                   6770:        lines#24,
                   6771:        use=att730r,
                   6772:
                   6773: # The following represents the screen layout along with the associated
                   6774: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   6775: # not appear on the screen but are shown to reference the bezel buttons.
                   6776: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   6777: # position relative to the screen.
                   6778: #
                   6779: #
                   6780: #
                   6781: #      +----------------------------------------------------------------+
                   6782: #      |                                                                |
                   6783: # XXXX | kf0                                                       kf24 | XXXX
                   6784: #      |                                                                |
                   6785: #      |                                                                |
                   6786: # XXXX | kf1                                                       kf23 | XXXX
                   6787: #      |                                                                |
                   6788: #      |                                                                |
                   6789: # XXXX | kf2                                                       kf22 | XXXX
                   6790: #      |                                                                |
                   6791: #      |                                                                |
                   6792: # XXXX | kf3                                                       kf21 | XXXX
                   6793: #      |                                                                |
                   6794: #      |                                                                |
                   6795: # XXXX | kf4                                                       kf20 | XXXX
                   6796: #      |                                                                |
                   6797: #      |                                                                |
                   6798: # XXXX | kf5                                                       kf19 | XXXX
                   6799: #      |                                                                |
                   6800: #      |                                                                |
                   6801: # XXXX | kf6                                                       kf18 | XXXX
                   6802: #      |                                                                |
                   6803: #      |                                                                |
                   6804: # XXXX |                                                                | XXXX
                   6805: #      |                                                                |
                   6806: #      |                                                                |
                   6807: #      +----------------------------------------------------------------+
                   6808: #
                   6809: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   6810: #
                   6811: # Note: XXXX represents the screen buttons
                   6812: #                                                          CMD   REDRAW
                   6813: #
                   6814: #                                                          MAIL
                   6815: #
                   6816: # version 1 note:
                   6817: #      The character string sent by key 'kf26' may be user programmable
                   6818: #       to send either \E[16s, or \E[26s.
                   6819: #       The character string sent by key 'krfr' may be user programmable
                   6820: #       to send either \E[17s, or \E[27s.
                   6821: #
                   6822: # Depression of the "CMD" key sends    \E!    (kcmd)
                   6823: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   6824: # "REDRAW" same as "REFRESH" (krfr)
                   6825: #
                   6826: # "kf" functions adds carriage return to output string if terminal is in
                   6827: # 'new line' mode.
                   6828: #
                   6829: # The following are functions not covered in the table above:
                   6830: #
                   6831: #       Set keyboard character (SKC): \EPn1;Pn2w
                   6832: #                       Pn1= 0 Back Space key
                   6833: #                       Pn1= 1 Break key
                   6834: #                       Pn2=   Program char (hex)
                   6835: #
                   6836: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   6837: #                       Pn1=     Window number (1-39)
                   6838: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   6839: #
                   6840: #       Screen Selection (SSL): \E[Pnu
                   6841: #                       Pn= Window number
                   6842: #
                   6843: #       Set Terminal Modes (SM): \E[Pnh
                   6844: #                       Pn= 3 Graphics mode
                   6845: #                       Pn= > Cursor blink
                   6846: #                       Pn= < Enter new line mode
                   6847: #                       Pn= = Enter reverse insert/replace mode
                   6848: #                       Pn= ? Enter no scroll mode
                   6849: #
                   6850: #       Reset Terminal Mode (RM): \E[Pnl
                   6851: #                       Pn= 3 Exit graphics mode
                   6852: #                       Pn= > Exit cursor blink
                   6853: #                       Pn= < Exit new line mode
                   6854: #                       Pn= = Exit reverse insert/replace mode
                   6855: #                       Pn= ? Exit no scroll mode
                   6856: #
                   6857: #       Screen Status Report (SSR): \E[Pnp
                   6858: #                       Pn= 0 Request current window number
                   6859: #                       Pn= 1 Request current window dimensions
                   6860: #
                   6861: #       Device Status Report (DSR): \E[6n    Request cursor position
                   6862: #
                   6863: #       Call Status Report (CSR): \E[Pnv
                   6864: #                       Pn= 0 Call failed
                   6865: #                       Pn= 1 Call successful
                   6866: #
                   6867: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   6868: #                       Pn1= Button number to be loaded
                   6869: #                       Pn2= Character count of "string"
                   6870: #                       Pn3= Key mode being loaded:
                   6871: #                               0= Unshifted
                   6872: #                               1= Shifted
                   6873: #                               2= Control
                   6874: #                       String= Text string (15 chars max)
                   6875: #
                   6876: #       Screen Number Report (SNR): \E[Pnp
                   6877: #                       Pn= Screen number
                   6878: #
                   6879: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   6880: #                       Pn1= Number of rows available in window
                   6881: #                       Pn2= Number of columns available in window
                   6882: #
                   6883: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
                   6884: #                       Pn1= "Y" Position of cursor
                   6885: #                       Pn2= "X" Position of cursor
                   6886: #
                   6887: #       Request Answer Back (RAB): \E[c
                   6888: #
                   6889: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   6890: #                       *=  0 No printer available
                   6891: #                       *=  2 Printer available
                   6892: #                       V=  Software version number
                   6893: #                       SV= Software sub version number
                   6894: #      (printer-available field not documented in v1)
                   6895: #
                   6896: #       Screen Alignment Aid: \En
                   6897: #
                   6898: #       Bell (lower pitch): \E[x
                   6899: #
                   6900: #       Dial Phone Number: \EPdstring\
                   6901: #                       string= Phone number to be dialed
                   6902: #
                   6903: #       Set Phone Labels: \EPpstring\
                   6904: #                       string= Label for phone buttons
                   6905: #
                   6906: #       Set Clock: \EPchour;minute;second\
                   6907: #
                   6908: #       Position Clock: \EPsY;X\
                   6909: #                       Y= "Y" coordinate
                   6910: #                       X= "X" coordinate
                   6911: #
                   6912: #       Delete Clock: \Epr\
                   6913: #
                   6914: #       Programming The Function Buttons: \EPfPn;string\
                   6915: #                       Pn= Button number (00-06, 18-24)
                   6916: #                                         (kf00-kf06, kf18-kf24)
                   6917: #                       string= Text to sent on button depression
                   6918: #
                   6919: # The following in version 2 only:
                   6920: #
                   6921: #       Request For Local Directory Data: \EPp12;\
                   6922: #
                   6923: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   6924: #
                   6925: #      Request for Local Directory Data in print format: \EPp13;\
                   6926: #
                   6927: #      Enable 'Prt on Line' mode: \022 (DC2)
                   6928: #
                   6929: #      Disable 'Prt on Line' mode: \024 (DC4)
                   6930: #
                   6931:
                   6932: # 05-Aug-86:
                   6933: # The following Terminfo entry describes functions which are supported by
                   6934: # the AT&T 5430/pt505 terminal software version 2 and later.
                   6935: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
                   6936:        am, xon,
                   6937:        cols#80, it#8, lines#24,
                   6938:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6939:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, cnorm=\E[>l,
                   6940:        cr=\r, cub1=\E[D, cub=\E[%p1%dD, cud=\E[%p1%dB, cud1=\E[B,
                   6941:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   6942:        cuu1=\E[A, cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   6943:        dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E2K, home=\E[H, ht=\t,
                   6944:        il=\E[%p1%dL, il1=\E[L, ind=\n,
                   6945:        is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
                   6946:        kbs=\b, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   6947:        kf0=\E[00s, kf1=\E[01s, kf2=\E[02s, kf3=\E[03s, kf4=\E[04s,
                   6948:        kf5=\E[05s, kf6=\E[06s, kf18=\E[18s, kf19=\E[19s, kf20=\E[20s,
                   6949:        kf21=\E[21s, kf22=\E[22s, kf23=\E[23s, kf24=\E24s, kf26=\E26s,
                   6950:        krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, rmacs=\E[10m,
                   6951:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m,
                   6952:        smacs=\E[11m, smir=\E[4h, smso=\E[1m, smul=\E[4m,
                   6953:        rmam=\E[11;1j, smam=\E[11;0j,
                   6954:
                   6955: # The following Terminfo entry describes functions which are supported by
                   6956: # the AT&T 5430/pt505 terminal software version 1.
                   6957: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
                   6958:        mc4@, mc5@, rc@, rmam@, sc@, smam@,
                   6959:        lines#24, use=att505,
                   6960: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
                   6961:        lines#22, use=att505,
                   6962:
                   6963: #### Ampex (Dialogue)
                   6964: #
                   6965: # Yes, these are the same people who are better-known for making audio- and
                   6966: # videotape.  I'm told they are located in Redwood City, CA.
                   6967: #
                   6968:
                   6969: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
                   6970: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   6971: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
                   6972:        am, bw, ul, OTbs,
                   6973:        cols#80, it#8, lines#24,
                   6974:        bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   6975:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   6976:        dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, ich1=\EQ,
                   6977:        il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
                   6978:        smso=\Ej, smul=\El, tbc=\E3,
                   6979: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
                   6980: ampex175|ampex d175,
                   6981:        cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EE, am, cub1=^H,
                   6982:        ed=\Ey, el=\Et, clear=\E+, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   6983:        cols#80, dch1=\EW, dl1=\ER,
                   6984:        home=\036, ich1=\EQ, is2=\EX\EA\EF,
                   6985:        kcud1=^J, khome=\036, kcub1=^H, kcuf1=^L,
                   6986:        kcuu1=^K, kil1=\EE, kdl1=\ER, kich1=\EQ, kdch1=\EW,
                   6987:        lines#24, ll=\036^K, cuf1=^L,
                   6988:        rmso=\Ek, smso=\Ej, rmcup=\EF, smcup=\EN, rmul=\Em, cuu1=^K,
                   6989:        smul=\El,
                   6990: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   6991: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   6992: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   6993: # mode), this key can be used as the erase key; I find I like this. Because
                   6994: # some people and some systems may not, there is another termcap ("ampex175")
                   6995: # that suppresses this little eccentricity by omitting the relevant capability.
                   6996: ampex175-b|ampex d175 using left arrow for erase,
                   6997:        kbs=^_, use=ampex175,
                   6998: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
                   6999: # (ampex210: removed obsolete ":kn#10:" -- esr)
                   7000: ampex210|a210|ampex a210,
                   7001:        am, hs, xenl, OTbs,
                   7002:        cols#80, it#8, lines#24, xmc#1,
                   7003:        cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
                   7004:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   7005:        dl1=\ER, ed=\Ey, el=\Et,
                   7006:        flash=\EU\EX\EU\EX\EU\EX\EU\EX, fsl=\E.2, home=^^, ht=\t,
                   7007:        ich1=\EQ, if=/usr/share/tabset/std, il1=\EE,
                   7008:        is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En,
                   7009:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r,
                   7010:        kf1=^A1\r, kf2=^A2\r, kf3=^A3\r, kf4=^A4\r,
                   7011:        kf5=^A5\r, kf6=^A6\r, kf7=^A7\r, kf8=^A8\r,
                   7012:        kf9=^A9\r, khome=^^, tsl=\E.0\Eg\E}\Ef,
                   7013:        invis@, use=adm+sgr,
                   7014: # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
                   7015: # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
                   7016: # and moved the padding to be *after* the caps -- esr)
                   7017: ampex219|ampex-219|amp219|Ampex with Automargins,
                   7018:        cr=^M, cud1=^J, ind=^J, bel=^G,
                   7019:        hs, cols#80, it#8, lines#24, cbt=\E[Z, bel=^G, cub1=^H,
                   7020:        clear=\E[H\E[2J$<50>, el=\E[K$<3>, ed=\E[J$<50>,
                   7021:        cup=\E[%i%p1%d;%p2%dH$<5>,
                   7022:        cud1=\E[B, home=\E[H,
                   7023:        cuf1=\E[C$<2>, cuu1=\E[A$<2>,
                   7024:        cnorm=\E[?3l, cvvis=\E[?3h,
                   7025:        blink=\E[5m$<2>, bold=\E[1m$<2>, dim=\E[1m, rev=\E[7m, smso=\E[7m$<2>,
                   7026:        smul=\E[4m$<2>, sgr0=\E[m$<2>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   7027:        kcuu1=\E[A, kcud1=\E[B, kcuf1=\E[C, kcub1=\E[D,
                   7028:        is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   7029:        khome=\E[H, ht=^I, xenl, ri=\EM$<5>,
                   7030:        smkx=\E\075, rmkx=\E\076,
                   7031:        kf0=\E[21~, kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
                   7032:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   7033:        csr=%i\E[%p1%2d;%p2%2dr, rmam=\E[?7l, smam=\E[?7h,
                   7034: ampex219w|ampex-219w|amp219w|Ampex 132 cols,
                   7035:        cr=^M, cud1=^J, ind=^J, bel=^G,
                   7036:        cols#132, lines#24, is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
                   7037:        use=ampex219,
                   7038: # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
                   7039: ampex232|ampex-232|Ampex Model 232,
                   7040:        am,
                   7041:        cols#80, lines#24, xmc#1,
                   7042:        cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4,
                   7043:        cub1=^H, cud1=^V, cuf1=^L,
                   7044:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   7045:        dl1=\ER$<5*/>, ed=\EY, el=\ET,
                   7046:        flash=\Eb$<200/>\Ed,
                   7047:        ht=^I, ich1=\EQ,
                   7048:        il1=\EE$<5*/>, is2=\Eg\El, kbs=^H, kcub1=^H,
                   7049:        kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A@\r, kf1=^AA\r,
                   7050:        kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
                   7051:        kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
                   7052:        invis@, use=adm+sgr,
                   7053: # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
                   7054: ampex232w|Ampex Model 232 / 132 columns,
                   7055:        cols#132, lines#24,
                   7056:        is2=\E^\Eg\El,
                   7057:        use=ampex232,
                   7058:
                   7059: #### Ann Arbor (aa)
                   7060: #
                   7061: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
                   7062: # numbers of function keys.  At least some used monitors in portrait mode,
                   7063: # allowing up to 76-character screen heights!  They were reachable at:
                   7064: #
                   7065: #      Ann Arbor Terminals
                   7066: #      6175 Jackson Road
                   7067: #      Ann Arbor, MI 48103
                   7068: #      (313)-663-8000
                   7069: #
                   7070: # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
                   7071: # can't be found on the Web; I fear they're long dead.  R.I.P.
                   7072: #
                   7073:
                   7074:
                   7075: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   7076: # Highly modified 6/22 by Mike O'Brien.
                   7077: # split out into several for the various screen sizes by dave-yost@rand
                   7078: # Modifications made 3/82 by Mark Horton
                   7079: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
                   7080: # status line moved to top of screen, <flash> removed 5/82
                   7081: # Some unknown person at SCO then hacked the init strings to make them more
                   7082: # efficient.
                   7083: #
                   7084: # assumes the following setup:
                   7085: #   A menu: 0000 1010  0001 0000
                   7086: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   7087: #   C menu: 56   66   0    0    9600  0110 1100
                   7088: #   D menu: 0110 1001   1   0
                   7089: #
                   7090: #      Briefly, the settings are for the following modes:
                   7091: #         (values are for bit set/clear with * indicating our preference
                   7092: #          and the value used to test these termcaps)
                   7093: #      Note that many of these settings are irrelevent to the terminfo
                   7094: #      and are just set to the default mode of the terminal as shipped
                   7095: #      by the factory.
                   7096: #
                   7097: # A menu: 0000 1010  0001 0000
                   7098: #      Block/underline cursor*
                   7099: #      blinking/nonblinking cursor*
                   7100: #      key click/no key click*
                   7101: #      bell/no bell at column 72*
                   7102: #
                   7103: #      key pad is cursor control*/key pad is numeric
                   7104: #      return and line feed/return for <cr> key *
                   7105: #      repeat after .5 sec*/no repeat
                   7106: #      repeat at 25/15 chars per sec. *
                   7107: #
                   7108: #      hold data until pause pressed/process data unless pause pressed*
                   7109: #      slow scroll/no slow scroll*
                   7110: #      Hold in area/don't hold in area*
                   7111: #      functions keys have default*/function keys disabled on powerup
                   7112: #
                   7113: #      show/don't show position of cursor during page transmit*
                   7114: #      unused
                   7115: #      unused
                   7116: #      unused
                   7117: #
                   7118: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   7119: #      Baud rate (9600*)
                   7120: #
                   7121: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   7122: #      1 stop bit*/2 stop bits
                   7123: #      parity error detection off*/on
                   7124: #
                   7125: #      keyboard local/on line*
                   7126: #      half/full duplex*
                   7127: #      disable/do not disable keyboard after data transmission*
                   7128: #
                   7129: #      transmit entire page/stop transmission at cursor*
                   7130: #      transfer/do not transfer protected characters*
                   7131: #      transmit all characters/transmit only selected characters*
                   7132: #      transmit all selected areas/transmit only 1 selected area*
                   7133: #
                   7134: #      transmit/do not transmit line separators to host*
                   7135: #      transmit/do not transmit page tab stops tabs to host*
                   7136: #      transmit/do not transmit column tab stop tabs to host*
                   7137: #      transmit/do not transmit graphics control (underline,inverse..)*
                   7138: #
                   7139: #      enable*/disable auto XON/XOFF control
                   7140: #      require/do not require receipt of a DC1 from host after each LF*
                   7141: #      pause key acts as a meta key/pause key is pause*
                   7142: #      unused
                   7143: #
                   7144: #      unused
                   7145: #      unused
                   7146: #      unused
                   7147: #      unused
                   7148: #
                   7149: #      XON character (17*)
                   7150: #      XOFF character (19*)
                   7151: #
                   7152: # C menu: 56   66   0    0    9600  0110 1100
                   7153: #      number of lines to print data on (printer) (56*)
                   7154: #
                   7155: #      number of lines on a sheet of paper (printer) (66*)
                   7156: #
                   7157: #      left margin (printer) (0*)
                   7158: #
                   7159: #      number of pad chars on new line to printer (0*)
                   7160: #
                   7161: #      printer baud rate (9600*)
                   7162: #
                   7163: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   7164: #      printer stop bits: 2*/1
                   7165: #      print/do not print guarded areas*
                   7166: #
                   7167: #      new line is: 01=LF,10=CR,11=CRLF*
                   7168: #      unused
                   7169: #      unused
                   7170: #
                   7171: # D menu: 0110 1001   1   0
                   7172: #      LF is newline/LF is down one line, same column*
                   7173: #      wrap to preceding line if move left from col 1*/don't wrap
                   7174: #      wrap to next line if move right from col 80*/don't wrap
                   7175: #      backspace is/is not destructive*
                   7176: #
                   7177: #      display*/ignore DEL character
                   7178: #      display will not/will scroll*
                   7179: #      page/column tab stops*
                   7180: #      erase everything*/erase unprotected only
                   7181: #
                   7182: #      editing extent: 0=display,1=line*,2=field,3=area
                   7183: #
                   7184: #      unused
                   7185: #
                   7186:
                   7187: annarbor4080|aa4080|ann arbor 4080,
                   7188:        cr=^M, cud1=^J, ind=^J, bel=^G, ht=^I, tbc=^\^P^P, hts=^]^P1, OTbs,
                   7189:        cup=^O%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c,
                   7190:        cols#80, lines#40, cub1=^H, clear=^L$<2>, cuu1=^N, cuf1=^_,
                   7191:        home=^K, am, kbs=^^, kcud1=^J, kcuu1=^N, kcub1=^H, kcuf1=^_, khome=^K,
                   7192:
                   7193: # Strange Ann Arbor terminal from BRL
                   7194: aas1901|Ann Arbor K4080 w/S1901 mod,
                   7195:        am,
                   7196:        cols#80, lines#40,
                   7197:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
                   7198:        home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c,
                   7199:        nel=^M^J,
                   7200:
                   7201: # If you're using the GNU termcap library, add
                   7202: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
                   7203: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   7204: # capability, arguments are:
                   7205: #   1. Total number of lines on the screen.
                   7206: #   2. Number of lines above desired scroll region.
                   7207: #   3. Number of lines below (outside of) desired scroll region.
                   7208: #   4. Total number of lines on the screen, the same as the first parameter.
                   7209: # The generic Ann Arbor entry is the only one that uses this.
                   7210: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
                   7211:        am, km, mc5i, mir, xon, OTbs,
                   7212:        cols#80, it#8,
                   7213:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   7214:        clear=\E[H\E[J$<156>, cr=\r, cub=\E[%p1%dD, cub1=\b,
                   7215:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   7216:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7217:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   7218:        ed=\E[J, el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG,
                   7219:        ht=\t, hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>,
                   7220:        il=\E[%p1%dL, il1=\E[L$<3>, ind=^K, invis=\E[8m,
                   7221:        is1=\E[m\E7\E[H\E9\E8,
                   7222:        is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=\b, kcbt=\E[Z,
                   7223:        kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7224:        kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf1=\EOA,
                   7225:        kf10=\EOJ, kf11=\EOK, kf12=\EOL, kf13=\EOM, kf14=\EON,
                   7226:        kf15=\EOO, kf16=\EOP, kf17=\EOQ, kf18=\EOR, kf19=\EOS,
                   7227:        kf2=\EOB, kf20=\EOT, kf21=\EOU, kf22=\EOV, kf23=\EOW,
                   7228:        kf24=\EOX, kf3=\EOC, kf4=\EOD, kf5=\EOE, kf6=\EOF,
                   7229:        kf7=\EOG, kf8=\EOH, kf9=\EOI, khome=\E[H, kich1=\E[@,
                   7230:        kil1=\E[L, krmir=\E6, mc0=\E[0i, mc4=^C, mc5=\E[v,
                   7231:        mc5p=\E[%p1%dv, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db,
                   7232:        rev=\E[7m,
                   7233:        rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
                   7234:        rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
                   7235:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   7236:        sgr0=\E[m,
                   7237:        smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
                   7238:        smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   7239:        vpa=\E[%p1%{1}%+%dd,
                   7240:        .flash=\E7\E[H\E[7m\E9$<200>\E[m\E9\E8,
                   7241:
                   7242: aaa+rv|ann arbor ambassador in reverse video,
                   7243:        bold=\E[1;7m, rev=\E[m, blink=\E[5;7m, invis=\E[7;8m, sgr0=\E[7m^N,
                   7244:        rmul=\E[7m, smul=\E[4;7m, rmso=\E[7m, smso=\E[m, rs1=\E[H\E[7m\E[J$<156>,
                   7245:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   7246:        .flash=\E7\E[H\E[m\E9$<200>\E[7m\E9\E8,
                   7247:        is1=\E[7m\E7\E[H\E9\E8,
                   7248: # Ambassador with the DEC option, for partial vt100 compatibility.
                   7249: aaa+dec|ann arbor ambassador in dec vt100 mode,
                   7250:        csr=\E[%i%p1%d;%p2%dr,
                   7251:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t^O%e^N%;,
                   7252:        enacs=\E(0, smacs=^O, rmacs=^N,
                   7253:        acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
                   7254: aaa-18|ann arbor ambassador/18 lines,
                   7255:        smcup=\E[18;0;0;18p, rmcup=\E[60;0;0;18p\E[60;1H\E[K,
                   7256:        is2=\E7\E[60;0;0;18p\E8, lines#18, use=aaa+unk,
                   7257: aaa-18-rv|ann arbor ambassador/18 lines+reverse video,
                   7258:        use=aaa+rv, use=aaa-18,
                   7259: aaa-20|ann arbor ambassador/20 lines,
                   7260:        smcup=\E[20;0;0;20p, rmcup=\E[60;0;0;20p\E[60;1H\E[K,
                   7261:        is2=\E7\E[60;0;0;20p\E8, lines#20, use=aaa+unk,
                   7262: aaa-22|ann arbor ambassador/22 lines,
                   7263:        smcup=\E[22;0;0;22p, rmcup=\E[60;0;0;22p\E[60;1H\E[K,
                   7264:        is2=\E7\E[60;0;0;22p\E8, lines#22, use=aaa+unk,
                   7265: aaa-24|ann arbor ambassador/24 lines,
                   7266:        smcup=\E[24;0;0;24p, rmcup=\E[60;0;0;24p\E[60;1H\E[K,
                   7267:        is2=\E7\E[60;0;0;24p\E8, lines#24, use=aaa+unk,
                   7268: aaa-24-rv|ann arbor ambassador/24 lines+reverse video,
                   7269:        use=aaa+rv, use=aaa-24,
                   7270: aaa-26|ann arbor ambassador/26 lines,
                   7271:        smcup=\E[H\E[J$<156>\E[26;0;0;26p, rmcup=\E[60;0;0;26p\E[26;1H\E[K,
                   7272:        is2=\E7\E[60;0;0;26p\E8, lines#26, use=aaa+unk,
                   7273: aaa-28|ann arbor ambassador/28 lines,
                   7274:        smcup=\E[H\E[J$<156>\E[28;0;0;28p, rmcup=\E[60;0;0;28p\E[28;1H\E[K,
                   7275:        is2=\E7\E[60;0;0;28p\E8, lines#28, use=aaa+unk,
                   7276: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
                   7277:        smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
                   7278:        rmcup=\E[60;1;0;30p\E[29;1H\E[K,
                   7279:        is2=\r\n\E[A\E7\E[60;1;0;30p\E8, lines#29,
                   7280:        tsl=\E[>51h\E[1;%p1%dH\E[2K, fsl=\E[>51l, hs, eslok,
                   7281:        dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   7282:        use=aaa+unk,
                   7283: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
                   7284:        use=aaa+rv, use=aaa-30-s,
                   7285: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
                   7286:        smcup=\E[30;1H\E[K\E[30;1;0;30p, rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   7287:        use=aaa-30-s,
                   7288: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
                   7289:        smcup=\E[30;1H\E[K\E[30;1;0;30p, rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   7290:        use=aaa-30-s-rv,
                   7291: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
                   7292:        smcup=\E[H\E[J$<156>\E[30;0;0;30p, rmcup=\E[60;0;0;30p\E[30;1H\E[K,
                   7293:        is2=\E7\E[60;0;0;30p\E8, lines#30, use=aaa+unk,
                   7294: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
                   7295:        use=aaa+rv, use=aaa-30,
                   7296: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
                   7297:        smcup=\E[30;0;0;30p, rmcup=\E[60;0;0;30p\E[60;1H\E[K, use=aaa-30,
                   7298: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
                   7299:        smcup=\E[30;0;0;30p, rmcup=\E[60;0;0;30p\E[60;1H\E[K,
                   7300:        use=aaa+rv, use=aaa-30,
                   7301: aaa-36|ann arbor ambassador/36 lines,
                   7302:        smcup=\E[H\E[J$<156>\E[36;0;0;36p, rmcup=\E[60;0;0;36p\E[36;1H\E[K,
                   7303:        is2=\E7\E[60;0;0;36p\E8, lines#36, use=aaa+unk,
                   7304: aaa-36-rv|ann arbor ambassador/36 lines+reverse video,
                   7305:        use=aaa+rv, use=aaa-36,
                   7306: aaa-40|ann arbor ambassador/40 lines,
                   7307:        smcup=\E[H\E[J$<156>\E[40;0;0;40p, rmcup=\E[60;0;0;40p\E[40;1H\E[K,
                   7308:        is2=\E7\E[60;0;0;40p\E8, lines#40, use=aaa+unk,
                   7309: aaa-40-rv|ann arbor ambassador/40 lines+reverse video,
                   7310:        use=aaa+rv, use=aaa-40,
                   7311: aaa-48|ann arbor ambassador/48 lines,
                   7312:        smcup=\E[H\E[J$<156>\E[48;0;0;48p, rmcup=\E[60;0;0;48p\E[48;1H\E[K,
                   7313:        is2=\E7\E[60;0;0;48p\E8, lines#48, use=aaa+unk,
                   7314: aaa-48-rv|ann arbor ambassador/48 lines+reverse video,
                   7315:        use=aaa+rv, use=aaa-48,
                   7316: aaa-60-s|ann arbor ambassador/59 lines+status,
                   7317:        is2=\r\n\E[A\E7\E[60;1;0;60p\E8, lines#59,
                   7318:        tsl=\E[>51h\E[1;%p1%dH\E[2K, fsl=\E[>51l, hs, eslok,
                   7319:        dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   7320:        use=aaa+unk,
                   7321: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
                   7322:        use=aaa+rv, use=aaa-60-s,
                   7323: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
                   7324:        use=aaa+dec, use=aaa+rv, use=aaa-60-s,
                   7325: aaa-60|ann arbor ambassador/60 lines,
                   7326:        is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, lines#60, use=aaa+unk,
                   7327: aaa-60-rv|ann arbor ambassador/60 lines+reverse video,
                   7328:        use=aaa+rv, use=aaa-60,
                   7329: aaa-db|ann arbor ambassador 30/destructive backspace,
                   7330:        cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, OTbs@, use=aaa-30,
                   7331:
                   7332: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
                   7333:        smcup=\E[33p, rmcup=\E[255p\E[255;1H\E[K,
                   7334:        flash=\E[>59h$<100>\E[>59l,
                   7335:        is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, lines#33, use=aaa+unk,
                   7336: guru+rv|guru changes for reverse video,
                   7337:        flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
                   7338: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
                   7339:        use=guru+rv, use=guru-33,
                   7340: guru+s|guru status line,
                   7341:        rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
                   7342:        tsl=\E[>51h\E[1;%p1%dH\E[2K, fsl=\E[>51l, hs, eslok,
                   7343:        dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   7344: guru-nctxt|guru with no saved context,
                   7345:        smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
                   7346: guru-s|guru-33-s|ann arbor guru/33 lines+status,
                   7347:        smcup=\E[33;1p\E[255;1H\E[K,
                   7348:        is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, lines#32,
                   7349:        use=guru+s, use=guru+unk,
                   7350: guru-24|ann arbor guru 24 lines,
                   7351:        smcup=\E[24p, is2=\E7\E[255;0;0;24;80;80p\E8\E[J,
                   7352:        lines#24, cols#80, use=guru+unk,
                   7353: guru-44|ann arbor guru 44 lines,
                   7354:        smcup=\E[44p, is2=\E7\E[255;0;0;44;97;100p\E8\E[J,
                   7355:        lines#44, cols#97, use=guru+unk,
                   7356: guru-44-s|ann arbor guru/44 lines+status,
                   7357:        smcup=\E[44;1p\E[255;1H\E[K,
                   7358:        is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, lines#43,
                   7359:        use=guru+s, use=guru+unk,
                   7360: guru-76|guru with 76 lines by 89 cols,
                   7361:        smcup=\E[76p, is2=\E7\E[255;0;0;76;89;100p\E8\E[J,
                   7362:        lines#76, cols#89, use=guru+unk,
                   7363: guru-76-s|ann arbor guru/76 lines+status,
                   7364:        smcup=\E[76;1p\E[255;1H\E[K,
                   7365:        is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, lines#75, cols#89,
                   7366:        use=guru+s, use=guru+unk,
                   7367: guru-76-lp|guru-lp|guru with page bigger than line printer,
                   7368:        smcup=\E[76p, is2=\E7\E[255;0;0;76;134;134p\E8\E[J,
                   7369:        lines#76, cols#134, use=guru+unk,
                   7370: guru-76-w|guru 76 lines by 178 cols,
                   7371:        smcup=\E[76p, is2=\E7\E[255;0;0;76;178;178p\E8\E[J,
                   7372:        lines#76, cols#178, use=guru+unk,
                   7373: guru-76-w-s|ann arbor guru/76 lines+status+wide,
                   7374:        smcup=\E[76;1p\E[255;1H\E[K,
                   7375:        is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, lines#75, cols#178,
                   7376:        use=guru+s, use=guru+unk,
                   7377: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
                   7378:        smcup=\E[76p, is2=\E7\E[255;0;0;76;178;255p\E8\E[J,
                   7379:        lines#76, cols#178, use=guru+unk,
                   7380: aaa-rv-unk|ann arbor unknown type,
                   7381:        lh#0, lw#0, nlab#0,
                   7382:        blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
                   7383:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m,
                   7384:        rmul=\E[7m, rs1=\E[H\E[7m\E[J,
                   7385:        sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   7386:        sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
                   7387:
                   7388: #### Applied Digital Data Systems (adds)
                   7389: #
                   7390: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   7391: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   7392: # terminals was merged again.  Then AT&T sold the terminal business to
                   7393: # SunRiver, which later changed its  name to Boundless Technologies.  The
                   7394: # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
                   7395: # as of early 1995) are at:
                   7396: #
                   7397: #      Boundless Technologies
                   7398: #      100 Marcus Boulevard
                   7399: #      Hauppauge, NY 11788-3762
                   7400: #      Vox: (800)-231-5445
                   7401: #      Fax: (516)-342-7378
                   7402: #      Web: http://boundless.com
                   7403: #
                   7404: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
                   7405: # In 1995 Boundless acquired DEC's terminals business.
                   7406: #
                   7407:
                   7408: # Regent: lowest common denominator, works on all regents.
                   7409: # (regent: renamed ":bc:" to ":le:" -- esr)
                   7410: regent|Adds Regent Series,
                   7411:        OTbs, am,
                   7412:        cols#80, lines#24,
                   7413:        bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
                   7414:        home=\EY\s\s, ind=^J, ll=^A,
                   7415: # Regent 100 has a bug where if computer sends escape when user is holding
                   7416: # down shift key it gets confused, so we avoid escape.
                   7417: regent100|Adds Regent 100,
                   7418:        xmc#1,
                   7419:        bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c,
                   7420:        kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r,
                   7421:        kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1,
                   7422:        lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7,
                   7423:        lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, smul=\E0`,
                   7424:        use=regent,
                   7425: regent20|Adds Regent 20,
                   7426:        bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent,
                   7427: regent25|Adds Regent 25,
                   7428:        bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20,
                   7429: regent40|Adds Regent 40,
                   7430:        xmc#1,
                   7431:        bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
                   7432:        kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r,
                   7433:        kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
                   7434:        lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@,
                   7435:        rmul=\E0@, sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent25,
                   7436: regent40+|Adds Regent 40+,
                   7437:        is2=\EB, use=regent40,
                   7438: regent60|regent200|Adds Regent 60,
                   7439:        dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
                   7440:        rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, use=regent40+,
                   7441: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
                   7442: # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
                   7443: viewpoint|addsviewpoint|adds viewpoint,
                   7444:        am, OTbs,
                   7445:        cols#80, lines#24,
                   7446:        bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   7447:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, cvvis=\017\E0P, dl1=\El,
                   7448:        ed=\Ek$<16.1*>, el=\EK$<16>, ind=^J, is2=\017\E0`,
                   7449:        kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, ll=^A,
                   7450:        kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#,
                   7451:        rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
                   7452: # Some viewpoints have bad ROMs that foo up on ^O
                   7453: screwpoint|adds viewpoint with ^O bug,
                   7454:        cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
                   7455:
                   7456: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
                   7457: # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
                   7458: # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
                   7459: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   7460: # invis=01000100 and %c is the logical or of desired attributes.
                   7461: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   7462: vp3a+|viewpoint3a+|adds viewpoint 3a+,
                   7463:        am, bw,
                   7464:        cols#80, it#8, lines#24,
                   7465:        civis=\027, clear=\E*$<80>, cnorm=\030, cr=\015,
                   7466:        cub1=\010, cud1=\012, cuf1=\014,
                   7467:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013,
                   7468:        ed=\EY$<80>, el=\ET, home=\036, ht=\011, ind=\012,
                   7469:        kbs=\010, kcub1=\010, kcud1=\012, kcuf1=\014,
                   7470:        kcuu1=\013, khome=\036, nel=\015\012, rmso=\E(,
                   7471:        sgr=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E),
                   7472:        sgr0=\E(, smso=\E0Q\E),
                   7473: vp60|viewpoint60|addsvp60|adds viewpoint60,
                   7474:        use=regent40,
                   7475: #
                   7476: # adds viewpoint 90 - from cornell
                   7477: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   7478: #        insert mode. This unfortunately puts the viewpoint90 IN insert
                   7479: #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
                   7480: #   -    :ei=:im=: must be present in the termcap translation.)
                   7481: #   -    <xhp> indicates glitch that attributes stick to location
                   7482: #   -    <msgr> means it's safe to move in standout mode
                   7483: #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
                   7484: #               the status line
                   7485: # Function key and label capabilities merged in from SCO.
                   7486: vp90|viewpoint90|adds viewpoint 90,
                   7487:        bw, msgr, xhp, OTbs,
                   7488:        cols#80, lines#24,
                   7489:        clear=\EG\Ek, cud1=^J, cub1=^H, cuf1=^F,
                   7490:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
                   7491:        dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
                   7492:        ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
                   7493:        kcuf1=^F, kcuu1=^Z, khome=^A, ll=^A,
                   7494:        kf0=^B1^M, kf1=^B2^M, kf2=^B3^M, kf3=^B4^M, kf4=^B5^M, kf5=^B6^M,
                   7495:        kf6=^B7^M, kf7=^B8^M, kf8=^B9^M, kf9=^B:^M, kf10=^B;^M,
                   7496:        lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
                   7497:        lf6=F7, lf7=F8, lf8=F9, lf9=F10, lf10=F11,
                   7498:        rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, sgr0=\ER\E0@\EV,
                   7499:        smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
                   7500: # Note: if return acts weird on a980, check internal switch #2
                   7501: # on the top chip on the CONTROL pc board.
                   7502: adds980|a980|adds consul 980,
                   7503:        am, OTbs,
                   7504:        cols#80, lines#24,
                   7505:        bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, cuf1=\E^E01,
                   7506:        cup=\013%p1%'@'%+%c\E\005%p2%2d,
                   7507:        dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
                   7508:        kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
                   7509:        kf7=\E7, kf8=\E8, kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
                   7510:
                   7511: #### C. Itoh Electronics
                   7512: #
                   7513: # As of 1995 these people no longer make terminals (they're still in the
                   7514: # printer business).  Their terminals were all clones of the DEC VT series.
                   7515: # They're located in Orange County, CA.
                   7516: #
                   7517: #% C.Itoh: andy@cie.co.uk (Andy Hardy)
                   7518:
                   7519: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   7520: #           the delay times and do an auto tab set rather than the indirect
                   7521: #           file used in vt100.
                   7522: cit80|cit-80|citoh 80,
                   7523:        am, OTbs,
                   7524:        cols#80, lines#24,
                   7525:        clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH,
                   7526:        cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, ind=^J, is2=\E>, kcub1=\EOD,
                   7527:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmkx=\E[?1l\E>,
                   7528:        smkx=\E[?1h\E=,
                   7529: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
                   7530: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   7531: cit101|citc|C.itoh fast vt100,
                   7532:        am, xenl, OTbs,
                   7533:        cols#80, lines#24,
                   7534:        bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C,
                   7535:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U,
                   7536:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
                   7537:        flash=\E[?5h$<200/>\E[?5l,
                   7538:        ich1=\E[@, il1=\E[L,
                   7539:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
                   7540:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   7541:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   7542:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   7543: # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
                   7544: # The following termcap entry was created from the Callan cd100 entry.  The
                   7545: # last two lines (with the capabilities in caps) are used by RM-cobol to allow
                   7546: # full selection of combinations of reverse video, underline, and blink.
                   7547: # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
                   7548: # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
                   7549: # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
                   7550: cit101e|C. Itoh CIT-101e,
                   7551:        OTbs, OTpt, am, mir, msgr,
                   7552:        cols#80, it#8, lines#24,
                   7553:        acsc=, clear=\E[H\E[J, cnorm=,
                   7554:        csr=\E[%i%p1%2d;%p2%2dr, cud1=\E[B, cuf1=\E[C,
                   7555:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
                   7556:        cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   7557:        el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
                   7558:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   7559:        kf0=\EOT, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm,
                   7560:        kf6=\EOl, kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM,
                   7561:        rmacs=^O, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7,
                   7562:        smacs=^N, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
                   7563: # From: David S. Lawyer, June 1997:
                   7564: # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
                   7565: # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
                   7566: # late 1980's CIT Terminals went out of business.
                   7567: # There is no need to use the initialization string is=... (by invoking
                   7568: # tset or setterm etc.) provided that the terminal has been manually set
                   7569: # up (and the setup saved with ^S) to be compatible with this termcap.  To be
                   7570: # compatible it should be in ANSI mode (not VT52).   A set-up that
                   7571: # works is to set all the manually setable stuff to factory defaults
                   7572: # by pressing ^D in set-up mode.  Then increse the brighness with the
                   7573: # up-arrow key since the factory default will likely be dim on an old
                   7574: # terminal.  Then change any options you want (provided that they are
                   7575: # compatible with the termcap).  For my terminal I set: Screen
                   7576: # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
                   7577: # on.  I also set up mine for parity (but you may not need it).  Then
                   7578: # save the setup with ^S.
                   7579: # (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
                   7580: cit101e-rv|Citoh CIT-101e (sets reverse video),
                   7581:        am, eo, mir, msgr, xenl, xon,
                   7582:        cols#80, it#8, lines#24,
                   7583:        OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m,
                   7584:        cbt=\E[Z, civis=\E[1v, clear=\E[H\E[J,
                   7585:        cnorm=\E[0;3;4v, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7586:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   7587:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7588:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[3;5v,
                   7589:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   7590:        ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
                   7591:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   7592:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                   7593:        ind=^J, indn=\E[%p1%dS,
                   7594:        is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H,
                   7595:        kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7596:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   7597:        nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rin=\E[%p1%dT,
                   7598:        rmir=\E[4l, rmso=\E[m, rmcup=, rmul=\E[m,
                   7599:        rs1=\Ec\E[?7h\E[>5g, sc=\E7, sgr0=\E[m,
                   7600:        smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, smso=\E[7m,
                   7601:        smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
                   7602:        u7=\E[6n, u8=\E[?6c, u9=\E[c,
                   7603: cit101e-n|CIT-101e w/o am,
                   7604:        am@,
                   7605:        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   7606: cit101e-132|CIT-101e with 132 cols,
                   7607:        cols#132,
                   7608:        kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   7609: cit101e-n132|CIT-101e with 132 cols w/o am,
                   7610:        am@,
                   7611:        cols#132,
                   7612:        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   7613: # CIE Terminals CIT-500 from BRL
                   7614: # The following SET-UP modes are assumed for normal operation:
                   7615: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
                   7616: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
                   7617: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
                   7618: # Other SET-UP modes may be set for operator convenience or communication
                   7619: # requirements.
                   7620: # Hardware tabs are assumed to be set every 8 columns; they can be set up
                   7621: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
                   7622: # "stty ixon -ixany" to enable DC3/DC1 flow control!
                   7623: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
                   7624: cit500|CIE Terminals CIT-500,
                   7625:        OTbs, OTpt, mir, msgr, xon,
                   7626:        OTkn#10, cols#80, it#8, lines#64, vt#3,
                   7627:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   7628:        clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7629:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   7630:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7631:        cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   7632:        ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
                   7633:        il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z,
                   7634:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P,
                   7635:        kdl1=\E[M, ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
                   7636:        kf3=\EOS, kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY,
                   7637:        kf9=\EOZ, khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l,
                   7638:        lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17,
                   7639:        lf7=F18, lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8,
                   7640:        rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
                   7641:        rmso=\E[m, rmul=\E[m,
                   7642:        rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
                   7643:        sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   7644:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   7645:
                   7646: # C. Itoh printers begin here
                   7647: citoh|ci8510|8510|c.itoh 8510a,
                   7648:        cols#80, ri=\Er, bold=\E!, smul=\EX, rmul=\EY, sgr0=\E"\EY, it#8,
                   7649:        is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.,
                   7650:        rep=\ER%p2%03d%p1%c, cub1@, use=lpr,
                   7651: citoh-pica|citoh in pica,
                   7652:        is1=\EN, use=citoh,
                   7653: citoh-elite|citoh in elite,
                   7654:        is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.,
                   7655:        is1=\EE, cols#96, use=citoh,
                   7656: citoh-comp|citoh in compressed,
                   7657:        is2=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.,
                   7658:        is1=\EQ, cols#136, use=citoh,
                   7659: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
                   7660: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
                   7661:        is1=\EP, cols#32767, use=citoh,
                   7662: citoh-6lpi|citoh in 6 lines per inch mode,
                   7663:        is3=\EA, use=citoh,
                   7664: citoh-8lpi|citoh in 8 lines per inch mode,
                   7665:        is3=\EB, lines#88, use=citoh,
                   7666:
                   7667: #### Control Data (cdc)
                   7668: #
                   7669:
                   7670: cdc456|cdc 456 terminal,
                   7671:        am, OTbs,
                   7672:        cols#80, lines#24,
                   7673:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   7674:        cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ,
                   7675:        ed=^X, el=^V, home=^Y, il1=\EL, ind=^J,
                   7676:
                   7677: # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
                   7678: cdc721|CDC Viking,
                   7679:        OTbs, am,
                   7680:        cols#80, lines#24,
                   7681:        clear=^L, cuf1=^X,
                   7682:        cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, el=^K,
                   7683:        home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
                   7684:        kcuu1=^W, khome=^Y,
                   7685: cdc721ll|CDC Vikingll,
                   7686:        OTbs, am,
                   7687:        cols#132, lines#24,
                   7688:        clear=^L, cuf1=^X,
                   7689:        cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, el=^K,
                   7690:        home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
                   7691:        kcuu1=^W, khome=^Y,
                   7692: # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
                   7693: cdc752|CDC 752,
                   7694:        OTbs, am, bw, xhp,
                   7695:        cols#80, lines#24,
                   7696:        bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   7697:        cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
                   7698:        home=\E1\s\s, ind=^J, ll=^Y,
                   7699:        rs1=\E1\s\s\030\002\003\017,
                   7700: # CDC 756
                   7701: # The following switch/key settings are assumed for normal operation:
                   7702: #      96 chars        SCROLL          FULL duplex     not BLOCK
                   7703: # Other switches may be set according to communication requirements.
                   7704: # Insert/delete-character cannot be used, as the whole display is affected.
                   7705: # "so" & "se" are commented out until jove handles "sg" correctly.
                   7706: cdc756|CDC 756,
                   7707:        OTbs, am, bw,
                   7708:        OTkn#10, cols#80, lines#24,
                   7709:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   7710:        cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
                   7711:        dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>,
                   7712:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
                   7713:        kdch1=\EI, kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC,
                   7714:        kf3=\ED, kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb,
                   7715:        khome=^Y, khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3,
                   7716:        lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
                   7717:        rs1=\031\030\002\003\017,
                   7718: #
                   7719: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
                   7720: #
                   7721: # Part of the long initialization string defines the "DOWN" key to the left
                   7722: # of the tab key to send an ESC.  The real ESC key is positioned way out
                   7723: # in right field.
                   7724: #
                   7725: # The termcap won't work in 132 column mode due to the way it it moves the
                   7726: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
                   7727: # handle the 721 in 132 column mode.
                   7728: #
                   7729: # (cdc721: changed :ri: to :sr: -- esr)
                   7730: cdc721-esc|Control Data 721,
                   7731:        OTbs, OTpt, am, bw, msgr, xon,
                   7732:        OTkn#10, cols#80, it#8, lines#30,
                   7733:        bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
                   7734:        cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
                   7735:        dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y,
                   7736:        hts=^^^RW, ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
                   7737:        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,
                   7738:        kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, khome=^Y,
                   7739:        rmkx=^^^Rl, smkx=^^^Rk,
                   7740:        kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t,
                   7741:        kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, ll=^B =,
                   7742:        rev=^^D, ri=\036W =\036V, rmir=,
                   7743:        rmso=^^E, rmul=^], sgr0=\017\025\035\036E\036\022\\,
                   7744:        smir=, smso=^^D, smul=^\, tbc=^^^RY,
                   7745:
                   7746: #### Getronics
                   7747: #
                   7748: # Getronics is a Dutch electronics company that at one time was called
                   7749: # `Geveke' and made async terminals; but (according to the company itself!)
                   7750: # they've lost all their documentation on the command set.  The hardware
                   7751: # documentation suggests the terminals were actually manufactured by a
                   7752: # Taiwanese electronics company named Cal-Comp.  There are known
                   7753: # to have been at least two models, the 33 and the 50.
                   7754: #
                   7755:
                   7756: # The 50 seems to be a top end vt220 clone, with the addition of a higher
                   7757: # screen resolution, a larger screen, at least 1 page of memory above and
                   7758: # below the screen, apparently pages of memory right and left of the screen
                   7759: # which can be panned, and about 75 function keys (15 function keys x normal,
                   7760: # shift, control, func A, func B). It also has more setup possibilities than
                   7761: # the vt220. The monitor case is dated November 1978 and the keyboard case is
                   7762: # May 1982.
                   7763: #
                   7764: # The vt100 emulation works as is.  The entry below describes the rather
                   7765: # non-conformant (but more featureful) ANSI mode.
                   7766: #
                   7767: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
                   7768: visa50|geveke visa 50 terminal in ansi 80 character mode,
                   7769:        bw, mir, msgr,
                   7770:        cols#80, lines#25,
                   7771:        acsc=0_aaffggjjkkllmmnnqqttuuvvwwxxh ooss, bel=^G,
                   7772:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,
                   7773:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
                   7774:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   7775:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   7776:        cuu1=\E[A, dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m,
                   7777:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   7778:        flash=\E[?5h\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
                   7779:        ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   7780:        il1=\E[L, ind=^J, invis=\E[8m,
                   7781:        is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
                   7782:        ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR,
                   7783:        kc3=\EOS, kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C,
                   7784:        kcuu1=\E[A, kdch1=\177, kdl1=\EOS, kf0=\E010,
                   7785:        kf1=\E001, kf10=\E011, kf2=\E002, kf3=\E003,
                   7786:        kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
                   7787:        kf8=\E008, kf9=\E009, khome=\E[f,
                   7788:        lf2=A delete char, lf3=A insert line,
                   7789:        lf4=A delete line, lf5=A clear, lf6=A ce of/cf gn,
                   7790:        lf7=A print, lf8=A on-line, lf9=A funcl0=A send,
                   7791:        nel=^M^J, rev=\E[7m, rmacs=\E[3l, rmam=\E[?7l,
                   7792:        rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, rmul=\E[0m,
                   7793:        sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, smir=\E[4h,
                   7794:        smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
                   7795:        vpa=\E[%i%p1%dd,
                   7796:
                   7797: #### Human Designed Systems (Concept)
                   7798: #
                   7799: #      Human Designed Systems
                   7800: #      400 Fehley Drive
                   7801: #      King of Prussia, PA 19406
                   7802: #      Vox: (610)-277-8300
                   7803: #      Fax: (610)-275-5739
                   7804: #      Net: support@hds.com
                   7805: #
                   7806: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   7807: # the character-terminal business now (1995) and making X terminals.  In
                   7808: # particular, the whole `Concept' line described here was discontinued long
                   7809: # ago.
                   7810: #
                   7811:
                   7812: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   7813: # Extensive changes to c108 by arpavax:eric Feb 1982
                   7814: # Some unknown person at SCO then translated it to terminfo.
                   7815: #
                   7816: # There seem to be a number of different versions of the C108 PROMS
                   7817: # (with bug fixes in its Z-80 program).
                   7818: #
                   7819: # The first one that we had would lock out the keyboard of you
                   7820: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   7821: # Try that on your C108 and see if it sends a ^S when you type it.
                   7822: # If so, you have an old version of the PROMs.
                   7823: #
                   7824: # You should configure the C108 to send ^S/^Q before running this.
                   7825: # It is much faster (at 9600 baud) than the c100 because the delays
                   7826: # are not fixed.
                   7827: # new status line display entries for c108-8p:
                   7828: # <is3> - init str #3 - setup term for status display -
                   7829: # set programmer mode, select window 2, define window at last
                   7830: # line of memory, set bkgnd stat mesg there, select window 0.
                   7831: #
                   7832: # <tsl> - to status line - select window 2, home cursor, erase to
                   7833: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   7834: #
                   7835: # <fsl> - from status line - 1/2 bright off, select window 0
                   7836: #
                   7837: # <dsl> - disable status display - set bkgnd status mesg with
                   7838: # illegal window #
                   7839: #
                   7840: # There are probably more function keys that should be added but
                   7841: # I don't know what they are.
                   7842: #
                   7843: # No delays needed on c108 because of ^S/^Q handshaking
                   7844: #
                   7845: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
                   7846:        is3=\EU\E z"\Ev^A\177 !p\E ;"\E z \Ev  ^A\177p\Ep\n,
                   7847:        rmcup=\Ev  ^A\177p\Ep\r\n, use=c108-4p,
                   7848: c108-4p|concept108-4p|concept 108 w/4 pages,
                   7849:        hs, eslok, dch1=\E\s1$<16*>, OTbs,
                   7850:        acsc=l\\qLkTxUmMjE, rmacs=\Ej\s, smacs=\Ej!,
                   7851:        tsl=\E\sz"\E?\E^E\EE\Ea\s%+\s, fsl=\Ee\E\sz\s, dsl=\E\s;\177,
                   7852:        is3=\EU\E\sz"\Ev\177 !p\E\s;"\E\sz\s\Ev\s\s^A p\Ep\n,
                   7853:        xon, is1=\EK\E!\E\sF,
                   7854:        smcup=\EU\Ev\s\s8p\Ep\r\E^U, rmcup=\Ev\s\s^A p\Ep\r\n,
                   7855:        cvvis=\EW, cnorm=\Ew,
                   7856:        pb@, cr=^M, ind=^J,
                   7857:        cup=\Ea%p1%?%p1%{95}%>%t^A%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t^A%{96}%-%;%{32}%+%c,
                   7858:        use=c100,
                   7859: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
                   7860:        smcup=\EU\Ev  8p\Ep\r, rmcup=\Ev  ^B p\Ep\r\n, use=c108-rv-4p,
                   7861: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
                   7862:        flash=\EK$<200>\Ek, is1=\Ek, smso=\EE, rmso=\Ee,
                   7863:        use=c108-4p,
                   7864: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
                   7865:        is1=\E F\E",
                   7866:        smcup=\EU\Ev  8^AD\Ep\r, rmcup=\Ev  ^A0^AD\Ep\r\n,
                   7867:        cols#132, use=c108-8p,
                   7868:
                   7869: # Concept 100:
                   7870: # These have only window relative cursor addressing, not screen
                   7871: # relative. To get it to work right here, smcup/rmcup (which
                   7872: # were invented for the concept) lock you into a one page
                   7873: # window for screen style programs.
                   7874: #
                   7875: # To get out of the one page window, we use a clever trick:
                   7876: # we set the window size to zero ("\Ev    " in rmcup) which the
                   7877: # terminal recognizes as an error and resets the window to all
                   7878: # of memory.
                   7879: #
                   7880: # This trick works on c100 but does not on c108, sigh.
                   7881: #
                   7882: # Some tty drivers use cr3 for concept, others use nl3, hence
                   7883: # the delays on cr and ind below. This padding is only needed at
                   7884: # 9600 baud and up.  One or the other is commented out depending on
                   7885: # local conventions.
                   7886: #
                   7887: # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
                   7888: # less than 6 but more than 2 will work.
                   7889: #
                   7890: # Note: can't use function keys f7-f10 because they are
                   7891: # indistinguishable from arrow keys (!), also, del char and
                   7892: # clear eol use xon/xoff so they probably won't work very well.
                   7893: #
                   7894: # Also note that we don't define insrt/del char/delline/eop/send
                   7895: # because they don't transmit unless we reset them - I figured
                   7896: # it was a bad idea to clobber their definitions.
                   7897: #
                   7898: # The <mc5> sequence changes the escape character to ^^ so that
                   7899: # escapes will be passed through to the printer. Only trouble
                   7900: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   7901: # Unfortunately, if you're sending raster bits through to be
                   7902: # plotted, any character you choose will be likely, so we lose.
                   7903: #
                   7904: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   7905: # cannot be # in is2 because it will hang a c100 with no printer
                   7906: # if sent twice.
                   7907: c100|concept100|concept|c104|c100-4p|hds concept 100,
                   7908:        is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E^G!\E^HA@ \E4#:"\E:a\E4#;"\E:b\E4#<"\E:c,
                   7909:        is1=\EK, is3=\Ev    $<6>\Ep\n, OTbs,
                   7910:        cr=$<9>^M, ind=^J,
                   7911:        bel=^G, cud1=^J, clear=\E?\E^E$<2*>,
                   7912:        smcup=\EU\Ev  8p\Ep\r\E^U$<16>, rmcup=\Ev    $<6>\Ep\r\n,
                   7913:        il1=\E^R$<3*>, am, cub1=^H, ed=\E^E$<16*>, el=\E^U$<16>,
                   7914:        cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cols#80, dch1=\E^Q$<16*>, dl1=\E^B$<3*>,
                   7915:        rmir=\E\s\s, eo, smir=\E^P, ip=$<16*>, lines#24, mir, cuf1=\E=,
                   7916:        ht=\t$<8>, kbs=^h, ul, cuu1=\E;, smul=\EG, rmul=\Eg,
                   7917:        xenl, flash=\Ek$<200>\EK, pb#9600, vt#8,
                   7918:        smul=\EG, rmul=\Eg, smso=\ED, rmso=\Ed,
                   7919:        dim=\EE, rev=\ED, blink=\EC, prot=\EI, invis=\EH, sgr0=\EN@,
                   7920:        rep=\Er%p1%c%p2%{32}%+%c$<.2*>, smkx=\EX, rmkx=\Ex,
                   7921:        kcuu1=\E;, kcud1=\E<, kcub1=\E>, kcuf1=\E=, khome=\E?, kcbt=\E',
                   7922:        kf1=\E5, kf2=\E6, kf3=\E7, kf4=\E8, kf5=\E9,
                   7923:        kf6=\E:a, kf7=\E:b, kf8=\E:c,
                   7924:        kich1=\E^P, krmir=\E\0, kdch1=\E^Q, kil1=\E^R, kdl1=\E^B,
                   7925:        kel=\E^S, ked=\E^C, kpp=\E., knp=\E-, kind=\E[, kri=\E\\,
                   7926:        khts=\E], kctab=\E_,
                   7927:        mc5=\EQ"\EY(^W\EYD\Eo ^^, mc4=^^o \E\EQ!\EYP^W, pb#9600,
                   7928: c100-rv|c100-rv-4p|concept100-rv|c100 rev video,
                   7929:        is1=\Ek, flash=\EK$<200>\Ek, cvvis@, cnorm@,
                   7930:        smso=\EE, rmso=\Ee,
                   7931:        use=c100,
                   7932: oc100|oconcept|c100-1p|old 1 page concept 100,
                   7933:        in, is3@,
                   7934:        use=c100,
                   7935:
                   7936: # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
                   7937: # Lots of notes, originally inline, but ncurses doesn't grok that.
                   7938: #
                   7939: # am:  not available in power on mode, but turned on with \E[=107;207h in
                   7940: #      is2=.  Also, \E=124l in is2= could have been used to prevent needing
                   7941: #      to specify xenl:, but that would have rendered the last space on the
                   7942: #      last line useless.
                   7943: # bw:  Not available in power on mode, but turned on with \E[=107;207h in
                   7944: #      is2=.
                   7945: # clear: Could be done with \E[2J alone, except that vi (and probably most
                   7946: #      other programs) assume that this also homes the cursor.
                   7947: # dsl: Go to window 2, go to the beginning of the line, use a line feed to
                   7948: #      scroll the window, and go back to window 1.
                   7949: # is2: the string may cause a warning to be issued by tic that it
                   7950: #      found a very long line and that it suspects that a comma is missing
                   7951: #      somewhere.  This warning can be ignored (unless it comes up more than
                   7952: #      once).  The initialization string contains the following commands:
                   7953: #
                   7954: #       [Setup mode items changed from factory defaults:]
                   7955: #              \E)0                    set alternate character set to
                   7956: #                                              graphics
                   7957: #              ^O                      set character set to default
                   7958: #       [In case it wasn't]
                   7959: #              \E[m                    turn off all attributes
                   7960: #       [In case they weren't off]
                   7961: #              \E[=107;                cursor wrap and
                   7962: #                      207h                    character wrap on
                   7963: #              \E[90;3u                set Fkey definitions to "transmit"
                   7964: #                                              defaults
                   7965: #              \E[92;3u                set cursor key definitions to
                   7966: #                                              "transmit" defaults
                   7967: #              \E[43;1u                set shift F13 to transmit...
                   7968: #              \177\E$P\177
                   7969: #              \E[44;1u                set shift F14 to transmit...
                   7970: #                      \177\E$Q\177
                   7971: #              \E[45;1u                set shift F15 to transmit...
                   7972: #                      \177\E$R\177
                   7973: #              \E[46;1u                set shift F16 to transmit...
                   7974: #                      \177\E$S\177
                   7975: #              \E[200;1u               set shift up to transmit...
                   7976: #                      \177\E$A\177
                   7977: #              \E[201;1u               set shift down to transmit...
                   7978: #                      \177\E$B\177
                   7979: #              \E[202;1u               set shift right to transmit...
                   7980: #                      \177\E$C\177
                   7981: #              \E[203;1u               set shift left to transmit...
                   7982: #                      \177\E$D\177
                   7983: #              \E[204;1u               set shift home to transmit...
                   7984: #                      \177\E$H\177
                   7985: #              \E[212;1u               set backtab to transmit...
                   7986: #                      \177\E$I\177
                   7987: #              \E[213;1u               set shift backspace to transmit...
                   7988: #                      \177\E$^H\177
                   7989: #              \E[214;1u               set shift del to transmit...
                   7990: #                      "\E$\177"
                   7991: #       [Necessary items not mentioned in setup mode:]
                   7992: #              \E[2!w                  move to window 2
                   7993: #              \E[25;25w               define window as line 25 of memory
                   7994: #              \E[!w                   move to window 1
                   7995: #              \E[2*w                  show current line of window 2 as
                   7996: #                                              status line
                   7997: #              \E[2+x                  set meta key to use high bit
                   7998: #              \E[;3+}                 move underline to bottom of character
                   7999: #
                   8000: #      All Fkeys are set to their default transmit definitions with \E[90;3u
                   8001: #      in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
                   8002: #      setting MUST be redefined or deactivated, because the default is
                   8003: #      contained in almost all of this terminal's Fkey strings!  If for some
                   8004: #      reason "quit" cannot be altered, the Fkeys can, but it would be
                   8005: #      necessary to change ^| to ^] in all of these definitions, and add
                   8006: #      \E[2;029!t to is2.
                   8007: # lines: is set to 24 because this terminal refuses to treat the 25th
                   8008: #      line normally.
                   8009: # ll:  Not available in power on mode, but turned on with \E[=107;207h in
                   8010: #      is2=.
                   8011: # lm:  Pointless, given that this definition locks a single screen of
                   8012: #      memory into view, but what the hey...
                   8013: # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
                   8014: #      other attributes alone), but some programs expect this to turn off
                   8015: #      everything.
                   8016: # rmul: Could use \E[4!{ to turn off only underline (leaving any other
                   8017: #      attributes alone), but some programs expect this to turn off
                   8018: #      everything.
                   8019: # sgr: Attributes are set on this terminal with the string \E[ followed by
                   8020: #      a list of attribute code numbers (in decimal, separated by
                   8021: #      semicolons), followed by the character m.  The attribute code
                   8022: #      numbers are:
                   8023: #                1 for bold;
                   8024: #                2 for dim (which is ignored in power on mode);
                   8025: #                4 for underline;
                   8026: #                5 for blinking;
                   8027: #                7 for inverse;
                   8028: #                8 for not displayable; and
                   8029: #              =99 for protected (except that there are strange side
                   8030: #              effects to protected characters which make them inadvisable).
                   8031: #       The mapping of terminfo parameters to attributes is as follows:
                   8032: #              %p1 (standout) = bold and inverse together;
                   8033: #              %p2 (underline) = underline;
                   8034: #              %p3 (reverse) = inverse;
                   8035: #              %p4 (blink) = blinking;
                   8036: #              %p5 (dim) is ignored;
                   8037: #              %p6 (bold) = bold;
                   8038: #              %p7 (invisible) = not displayable;
                   8039: #              %p8 (protected) is ignored; and
                   8040: #              %p9 (alt char set) = alt char set.
                   8041: #       The code to do this is:
                   8042: #              \E[0            OUTPUT  \E[0
                   8043: #              %?%p1%p6%O      IF      (standout; bold) OR
                   8044: #              %t;1            THEN    OUTPUT  ;1
                   8045: #              %;              ENDIF
                   8046: #              %?%p2           IF      underline
                   8047: #              %t;4            THEN    OUTPUT  ;4
                   8048: #              %;              ENDIF
                   8049: #              %?%p4           IF      blink
                   8050: #              %t;5            THEN    OUTPUT  ;5
                   8051: #              %;              ENDIF
                   8052: #              %?%p1%p3%O      IF      (standout; reverse) OR
                   8053: #              %t;7            THEN    OUTPUT  ;7
                   8054: #              %;              ENDIF
                   8055: #              %?%p7           IF      invisible
                   8056: #              %t;8            THEN    OUTPUT  ;8
                   8057: #              %;              ENDIF
                   8058: #              m               OUTPUT  m
                   8059: #              %?%p9           IF      altcharset
                   8060: #              %t^N            THEN    OUTPUT  ^N
                   8061: #              %e^O            ELSE    OUTPUT  ^O
                   8062: #              %;              ENDIF
                   8063: # sgr0: Everything is turned off (including alternate character set), since
                   8064: #      there is no way of knowing what it is that the program wants turned
                   8065: #      off.
                   8066: # smul: The "underline" attribute is reconfigurable to an overline or
                   8067: #      strikethru, or (as done with \E[;3+} in is2=), to a line at the true
                   8068: #      bottom of the character cell.  This was done to allow for more readable
                   8069: #      underlined characters, and to be able to distinguish between an
                   8070: #      underlined space, an underscore, and an underlined underscore.
                   8071: # xenl: Terminal can be configured to not need this, but this "glitch"
                   8072: #      behavior is actually preferable with autowrap terminals.
                   8073: #
                   8074: # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
                   8075: # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
                   8076: # string modifies the 'O' in kf43 to kf46 to a '$'.
                   8077: #
                   8078: # kcbt was originally ^I but redefined in is2=.
                   8079: # kHOM was \E[H originally but redefined in is2=, as were a number of
                   8080: # other keys.
                   8081: # kDC was originally \177 but redefined in is2=.
                   8082: #
                   8083: # kbs: Shift was also ^H originally but redefined as \E$^H in is2=.
                   8084: # tsl: Go to window 2, then do an hpa=.
                   8085: #
                   8086: #------- flash=\E[8;3!}^G\E[3;3!}
                   8087: #------- flash=\E[?5h$<100>\E[?5l
                   8088: # There are two ways to flash the screen, both of which have their drawbacks.
                   8089: # The first is to set the bell mode to video, transmit a bell character, and
                   8090: # set the bell mode back - but to what?  There is no way of knowing what the
                   8091: # user's old bell setting was before we messed with it.  Worse, the command to
                   8092: # set the bell mode also sets the key click volume, and there is no way to say
                   8093: # "leave that alone", or to know what it's set to, either.
                   8094: # The second way to do a flash is to set the screen to inverse video, pad for a
                   8095: # tenth of a second, and set it back - but like before, there's no way to know
                   8096: # that the screen wasn't ALREADY in inverse video, or that the user may prefer
                   8097: # it that way.  The point is moot anyway, since vi (and probably other
                   8098: # programs) assume that by defining flash=, you want the computer to use it
                   8099: # INSTEAD of bel=, rather than as a secondary type of signal.
                   8100: #
                   8101: #------- cvvis=\E[+{
                   8102: # The is the power on setting, which is also as visible as the cursor
                   8103: # gets.
                   8104: #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
                   8105: # Windowing is possible, but not defined here because it is also used to
                   8106: # emulate status line functions.  Allowing a program to set a window could
                   8107: # clobber the status line or render it unusable.  There is additional memory,
                   8108: # but screen scroll functions are destructive and do not make use of it.
                   8109: #
                   8110: #-------   dim=                        Not available in power on mode.
                   8111: # You have a choice of defining low intensity characters as "half bright" and
                   8112: # high intensity as "normal", or defining low as "normal" and high as "bold".
                   8113: # No matter which you choose, only one of either "half bright" or "bold" is
                   8114: # available at any time, so taking the time to override the default is
                   8115: # pointless.
                   8116: #
                   8117: #-------  prot=\E[=0;99m
                   8118: # Not defined, because it appears to have some strange side effects.
                   8119: #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
                   8120: #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
                   8121: #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
                   8122: #       Available, but making them available to programs is inadvisable.
                   8123: #       The code to do this is:
                   8124: #              %?%p1%{24}%<    IF      ((key; 24) <;
                   8125: #              %p1%{30}%>               ((key; 30) >;
                   8126: #              %p1%{54}%<                (key; 54) <
                   8127: #              %A                       ) AND
                   8128: #              %O                      ) OR
                   8129: #       [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
                   8130: #              %t\E[           THEN    OUTPUT  \E[
                   8131: #              %p1%d                   OUTPUT  (key) as decimal
                   8132: #       [next line applies to pfx only]
                   8133: #              ;1                      OUTPUT  ;1
                   8134: #              u                       OUTPUT  u
                   8135: #              \177                    OUTPUT  \177
                   8136: #              %p2%s                   OUTPUT  (string) as string
                   8137: #              \177                    OUTPUT  \177
                   8138: #       [DEL chosen as delimiter, but could be any character]
                   8139: #       [implied:              ELSE    do nothing]
                   8140: #              %;              ENDIF
                   8141: #
                   8142: #-------   rs2=
                   8143: # Not defined since anything it might do could be done faster and easier with
                   8144: # either Meta-Shift-Reset or the main power switch.
                   8145: #
                   8146: #-------  smkx=\E[1!z
                   8147: #-------  rmkx=\E[!z
                   8148: # These sequences apply to the cursor and setup keys only, not to the
                   8149: # numeric keypad.  But it doesn't matter anyway, since making these
                   8150: # available to programs is inadvisable.
                   8151: # For the key definitions below, all sequences beginning with \E$ are
                   8152: # custom and programmed into the terminal via is2.  \E$ also has no
                   8153: # meaning to any other terminal.
                   8154: #
                   8155: #------- cmdch=\E[;%p1%d!t
                   8156: # Available, but making it available to programs is inadvisable.
                   8157: #------- smxon=\E[1*q
                   8158: # Available, but making it available to programs is inadvisable.
                   8159: # Terminal will send XON/XOFF on buffer overflow.
                   8160: #------- rmxon=\E[*q
                   8161: # Available, but making it available to programs is inadvisable.
                   8162: # Terminal will not notify on buffer overflow.
                   8163: #-------   smm=\E[2+x
                   8164: #-------   rmm=\E[+x
                   8165: # Available, but making them available to programs is inadvisable.
                   8166: #
                   8167: # Printing:
                   8168: #       It's not made clear in the manuals, but based on other ansi/vt type
                   8169: #       terminals, it's a good guess that this terminal is capable of both
                   8170: #       "transparent print" (which doesn't copy data to the screen, and
                   8171: #       therefore needs mc5i: specified to say so) and "auxilliary print"
                   8172: #       (which does duplicate printed data on the screen, in which case mc4=
                   8173: #       and mc5= should use the \E[?4i and \E[?5i strings instead).
                   8174: #
                   8175: # (esr: I have commented out is2 in order to avoid overflowing termcap's
                   8176: # 1024-byte limit.)
                   8177:
                   8178: hds200|Human Designed Systems HDS200,
                   8179:        am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
                   8180:        cols#80, it#8, lines#24, lm#0,
                   8181:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   8182:        blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
                   8183:        clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
                   8184:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   8185:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8186:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8187:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   8188:        dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
                   8189:        fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   8190:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   8191:        invis=\E[0;8m,
                   8192:        .is2=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+},
                   8193:        kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H,
                   8194:        kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8195:        kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r,
                   8196:        kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ,
                   8197:        kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r,
                   8198:        kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r,
                   8199:        kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r,
                   8200:        kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r,
                   8201:        kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r,
                   8202:        kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r,
                   8203:        kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r,
                   8204:        kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r,
                   8205:        kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
                   8206:        kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
                   8207:        kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
                   8208:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8,
                   8209:        rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017,
                   8210:        rmul=\E[m\017, sc=\E7,
                   8211:        sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   8212:        sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
                   8213:        smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
                   8214:        vpa=\E[%i%p1%dd,
                   8215:
                   8216: # <ht> through <el> included to specify padding needed in raw mode.
                   8217: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
                   8218: avt-ns|concept avt no status line,
                   8219:        am, eo, mir, ul, xenl, xon, OTbs,
                   8220:        cols#80, it#8, lines#24, lm#192,
                   8221:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   8222:        clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=\r,
                   8223:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
                   8224:        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
                   8225:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8226:        cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{,
                   8227:        dl=\E[%p1%dM$<4*>, dl1=\E[M$<4>, ed=\E[J$<96>,
                   8228:        el=\E[K$<6>, home=\E[H, hpa=\E[%p1%{1}%+%dG,
                   8229:        ht=\t$<4>, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   8230:        il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
                   8231:        invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l,
                   8232:        is2=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0:0:32!r\E[0*w\E[w\E2\r\n\E[2;27!t,
                   8233:        kbs=\b, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   8234:        kcuu1=\E[A, kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP,
                   8235:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   8236:        kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, mc0=\E[0i,
                   8237:        mc4=\E[4i, mc5=\E[5i, pfloc=\E[%p1%d;0u#%p2%s#,
                   8238:        pfx=\E[%p1%d;1u#%p2%s#, prot=\E[99m, rc=\E8,
                   8239:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM$<4>,
                   8240:        rmacs=^N$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l,
                   8241:        rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, sc=\E7,
                   8242:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   8243:        sgr0=\E[m, smacs=^O$<1>, smcup=\E[=4l\E[1;24w\E2\r,
                   8244:        smir=\E1, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
                   8245:        tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,
                   8246: avt-rv-ns|concept avt in reverse video mode/no status line,
                   8247:        is1=\E[=103l\E[=205h, flash=\E[=205l$<200>\E[=205h,
                   8248:        use=avt-ns,
                   8249: avt-w-ns|concept avt in 132 column mode/no status line,
                   8250:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
                   8251:        use=avt-ns,
                   8252: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
                   8253:        is1=\E[=103h\E[=205h, smcup=\E[H\E[1;24;1;132w,
                   8254:        flash=\E[=205l$<200>\E[=205h,
                   8255:        use=avt-ns,
                   8256:
                   8257: # Concept AVT with status line. We get the status line using the
                   8258: # "Background status line" feature of the terminal. We swipe the
                   8259: # first line of memory in window 2 for the status line, keeping
                   8260: # 191 lines of memory and 24 screen lines for regular use.
                   8261: # The first line is used instead of the last so that this works
                   8262: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   8263: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   8264: #
                   8265: avt+s|concept avt status line changes,
                   8266:        is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
                   8267:        tsl=\E[2;1!w\E[;%p1%dH\E[2K, fsl=\E[1;1!w, eslok, hs,
                   8268:        dsl=\E[0*w, lm#191, smcup=\E[2;25w\E2\r, rmcup=\E[2w\E2\r\n,
                   8269:        .wind=\E[%i%p1%{1}%+%d;%p2%d;%p3%{01}%+%d;%p4%{01}%+%dw,
                   8270: avt|avt-s|concept-avt|avt w/80 columns,
                   8271:        use=avt+s, use=avt-ns,
                   8272: avt-rv|avt-rv-s|avt reverse video w/sl,
                   8273:        is1=\E[=103l\E[=205h, flash=\E[=205l$<200>\E[=205h,
                   8274:        use=avt+s, use=avt-ns,
                   8275: avt-w|avt-w-s|concept avt 132 cols+status,
                   8276:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
                   8277:        use=avt+s, use=avt-ns,
                   8278: avt-w-rv|avt-w-rv-s|avt wide+status+rv,
                   8279:        is1=\E[=103h\E[=205h, smcup=\E[H\E[1;24;1;132w,
                   8280:        flash=\E[=205l$<200>\E[=205h,
                   8281:        use=avt+s, use=avt-ns,
                   8282:
                   8283: #### Contel Business Systems.
                   8284: #
                   8285:
                   8286: # Contel c300 and c320 terminals.
                   8287: contel300|contel320|c300|Contel Business Systems C-300 or C-320,
                   8288:        am, in, xon,
                   8289:        cols#80, lines#24, xmc#1,
                   8290:        bel=^G, clear=\EK, cr=\r, cub1=\b, cud1=\n, cuf1=\EC,
                   8291:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   8292:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   8293:        el=\EI$<5.5>, flash=^P^B$<200/>^P^C, home=\EH, hts=\E1,
                   8294:        ich1=\EN, il1=\EL$<5.5*>, ind=\n, ip=$<5.5*>, kbs=\b,
                   8295:        kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   8296:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI,
                   8297:        ll=\EH\EA, rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
                   8298: # Contel c301 and c321 terminals.
                   8299: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
                   8300:        flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
                   8301:        use=contel300,
                   8302:
                   8303: #### Data General (dg)
                   8304: #
                   8305: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   8306: # the terminals group at Data General was shut down in 1991; all these
                   8307: # terminals have thus been discontinued.
                   8308: #
                   8309:
                   8310: # According to the 4.4BSD termcap file, the dg200 <cup> should be the
                   8311: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   8312: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   8313: # maybe they were originally nuls (which would fit).
                   8314: dg200|data general dasher 200,
                   8315:        am, bel=^G, bw, clear=^L, cols#80, cr=^M, OTbs,
                   8316:        cub1=^Y, cud1=^Z, cuf1=^X, cup=^P%p2%c%p1%c, cuu1=^W,
                   8317:        el=^K, home=^H, ind=^J, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W,
                   8318:        kf0=^^z, kf1=^^q, kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w,
                   8319:        kf8=^^x, kf9=^^y, khome=^H, lf0=f10,
                   8320:        lines#24, nel=^J, rmso=^^E, rmul=^U, smso=^^D, smul=^T,
                   8321: # Data General 210/211 (and 410?)      from Lee Pearson (umich!lp) via BRL
                   8322: dg210|dg-ansi|Data General 210/211,
                   8323:        am,
                   8324:        cols#80, lines#24,
                   8325:        OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH,
                   8326:        cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, kcud1=\E[B,
                   8327:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, nel=\r\E[H\E[A\n, rmso=\E[0;m,
                   8328:        rmul=\E[0;m, smso=\E[7;m, smul=\E[4;m,
                   8329: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   8330: # courtesy of Carlos Rucalde of Vantage Software, Inc.
                   8331: # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
                   8332: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   8333: dg211|Data General d211,
                   8334:        cnorm=^L, cvvis=^L^R, ht=^I,
                   8335:        ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, kf4@, kf5@,
                   8336:        kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
                   8337:        rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>,
                   8338:        use=dg200,
                   8339: # dg450 from cornell
                   8340: dg450|dg6134|data general 6134,
                   8341:        cub1@, cuf1=^X,
                   8342:        use=dg200,
                   8343: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   8344: # having a command to move straight down from any position on the bottom line
                   8345: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   8346: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   8347: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   8348: # backspace on all terminals.  This is not so in DG mode.
                   8349: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
                   8350: # grounds that there is no matching ":ml:"
                   8351: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
                   8352: dg460-ansi|Data General Dasher 460 in ANSI-mode,
                   8353:        am, msgr, ul, OTbs,
                   8354:        cols#80, it#8, lines#24,
                   8355:        OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H,
                   8356:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH,
                   8357:        cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl1=\E[M, ed=\E[J,
                   8358:        el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, ht=\t, ind=\E[S,
                   8359:        is2=^^F@, kbs=\E[D, kcub1=\E[D, kcud1=\E[B,
                   8360:        kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z, kf1=\E[002z,
                   8361:        kf2=\E[003z, kf3=\E[004z, kf4=\E[005z, kf5=\E[006z,
                   8362:        kf6=\E[007z, kf7=\E[008z, kf8=\E[009z, kf9=\E[010z,
                   8363:        khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5,
                   8364:        lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m,
                   8365:        ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m,
                   8366:        smso=\E[7m, smul=\E[4m,
                   8367: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   8368: # Data General 605x
                   8369: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   8370: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
                   8371: # This also matches a posted description of something called a `Dasher 100'
                   8372: # so there's a dg100 alias here.
                   8373: # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
                   8374: dg6053|dg100|data general 6053,
                   8375:        OTbs, am, bw, ul,
                   8376:        cols#80, lines#24,
                   8377:        OTbc=^Y, bel=^G, clear=\014, cnorm=\014, cr=\015, cub1=\031,
                   8378:        cud1=\032, cuf1=\030, cup=^P%p2%c%p1%c, cuu1=\027,
                   8379:        cvvis=\014\022, el=\013, home=\010, ht=\011,
                   8380:        is2=\022, kbs=\031, kcub1=\031, kcud1=\032,
                   8381:        kcuf1=\030, kcuu1=\027, kf0=\036q, kf1=\036r,
                   8382:        kf2=\036s, kf3=\036t, kf4=\036u, kf5=\036v,
                   8383:        kf6=\036w, kf7=\036x, kf8=\036y, kf9=\036z, khome=\010,
                   8384:        rmcup=\014, rmso=\0\036E,
                   8385:        rmul=\025, smcup=\014\022,
                   8386:        smso=\0\0\0\0\0\036D, smul=\024,
                   8387:
                   8388: #### Datamedia (dm)
                   8389: #
                   8390: # Datamedia was headquartered in Nashua, New Hampshire in 1993.
                   8391: # As of early 1996, at least one company called `Datamedia' has been taken
                   8392: # over by:
                   8393: #
                   8394: #    Axent Technologies, Inc.
                   8395: #    2400 Research Boulevard
                   8396: #    Rockville, Maryland 20850
                   8397: #    voice: +1 301/258-5043
                   8398: #      fax: +1 301/330-5756
                   8399: #    email: <info@axent.com>
                   8400: #
                   8401: # makers of OmniGuard client/server security software.  They are a software
                   8402: # only company and no longer make terminals.  However, the operator there
                   8403: # told me that she had once spoken to a customer looking for Datamedia
                   8404: # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
                   8405: # by comp.terminals poosting describing the ID plate on the back of a
                   8406: # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
                   8407: # Inquiring minds want to know...
                   8408: #
                   8409:
                   8410: cs10|colorscan|Datamedia Color Scan 10,
                   8411:        msgr,
                   8412:        cols#80, lines#24,
                   8413:        bel=^G, clear=\E[H\E[J, cr=\r, cub1=\b, cud1=\n, cuf1=\E[C,
                   8414:        cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, ind=\n,
                   8415:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8416:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   8417:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   8418: cs10-w|Datamedia Color Scan 10 with 132 columns,
                   8419:        cols#132,
                   8420:        cup=\E[%i%p1%02d;%p2%03dH,
                   8421:        use=cs10,
                   8422:
                   8423: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
                   8424: dm1520|dm1521|datamedia 1520,
                   8425:        am, xenl, OTbs,
                   8426:        cols#80, it#8, lines#24,
                   8427:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
                   8428:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K,
                   8429:        el=^], home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\,
                   8430:        kcuu1=^_, khome=^Y,
                   8431: # dm2500: this terminal has both <ich> and <smir>. Applications using
                   8432: # termcap/terminfo directly (rather than through ncurses) might be confused.
                   8433: dm2500|datamedia2500|datamedia 2500,
                   8434:        OTnc, OTbs,
                   8435:        cols#80, lines#24,
                   8436:        bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
                   8437:        cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
                   8438:        dch1=\020\010\030\035$<10*>, dl1=\020\032\030\035$<10*>,
                   8439:        el=^W, home=^B, ich1=\020\034\030\035$<10*>,
                   8440:        il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, rmdc=^X^],
                   8441:        rmir=\377\377\030\035$<10>, rmso=^X^], smdc=^P,
                   8442:        smir=^P, smso=^N,
                   8443: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
                   8444: # also, has a meta-key.
                   8445: # From: <goldberger@su-csli.arpa>
                   8446: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   8447: dmchat|dmchat version of datamedia 2500,
                   8448:        km,
                   8449:        dl1=\020\032\030\035$<2/>,
                   8450:        il1=\020\n\030\035\030\035$<1*/>,
                   8451:        use=dm2500,
                   8452: # (dm3025: ":MT:" changed to ":km:" -- esr)
                   8453: dm3025|datamedia 3025a,
                   8454:        km, OTbs,
                   8455:        cols#80, it#8, lines#24,
                   8456:        bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8457:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
                   8458:        dch1=^H$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
                   8459:        home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, is2=\EQ\EU\EV,
                   8460:        rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, smir=\EP, smso=\EO1,
                   8461: dm3045|datamedia 3045a,
                   8462:        am, eo, km@, ul, xenl, OTbs,
                   8463:        dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC,
                   8464:        kcuu1=\EA, kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r,
                   8465:        kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
                   8466:        kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, khome=\EH,
                   8467:        pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
                   8468:        use=dm3025,
                   8469: # Datamedia DT80 soft switches:
                   8470: # 1    0=Jump  1=Smooth
                   8471: #      Autorepeat      0=off  1=on
                   8472: #      Screen          0=Dark 1=light
                   8473: #      Cursor          0=u/l  1=block
                   8474: #
                   8475: # 2    Margin Bell     0=off  1=on
                   8476: #      Keyclick        0=off  1=on
                   8477: #      Ansi/VT52       0=VT52 1=Ansi
                   8478: #      Xon/Xoff        0=Off  1=On
                   8479: #
                   8480: # 3    Shift3          0=Hash 1=UK Pound
                   8481: #      Wrap            0=Off  1=On
                   8482: #      Newline         0=Off  1=On
                   8483: #      Interlace       0=Off  1=On
                   8484: #
                   8485: # 4    Parity          0=Odd  1=Even
                   8486: #      Parity          0=Off  1=On
                   8487: #      Bits/Char       0=7    1=8
                   8488: #      Power           0=60Hz 1=50Hz
                   8489: #
                   8490: # 5    Line Interface  0=EIA  1=Loop
                   8491: #      Aux Interface   0=EIA  1=Loop
                   8492: #      Local Copy      0=Off  1=On
                   8493: #      Spare
                   8494: #
                   8495: # 6    Aux Parity      0=Odd  1=Even
                   8496: #      Aux Parity      0=Off  1=On
                   8497: #      Aux Bits/Char   0=7    1=8
                   8498: #      CRT Saver       0=Off  1=On
                   8499: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   8500: dm80|dmdt80|dt80|datamedia dt80/1,
                   8501:        clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
                   8502:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   8503:        home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   8504:        ri=\EM, rmso=\E[m, rmul=\E[m,
                   8505:        sgr0=\E[m, smso=\E[7m, smul=\E[4m, use=vt100,
                   8506: # except in 132 column mode, where it needs a little padding.
                   8507: # This is still less padding than the vt100, and you can always turn on
                   8508: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   8509: # reverse video.
                   8510: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
                   8511:        cols#132,
                   8512:        clear=\E[H\E[2J$<50/>, cud1=^J, cup=\E[%i%p1%d;%p2%dH$<5/>,
                   8513:        cuu1=\E[A$<5/>, ed=\E[0J$<20/>, el=\E[0K$<20/>,
                   8514:        use=dm80,
                   8515: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   8516: dt80-sas|Datamedia DT803/DTX for SAS usage,
                   8517:        bw,am,
                   8518:        cols#80, lines#24,
                   8519:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   8520:        bel=^G, cr=^M,csr=\E=%p1%'\s'%+%c%'\s'%c\E#1\E=%p2%'\s'%+%c%'\s'%c\E#2,
                   8521:        tbc=\E'0, clear=^L, el=^], ed=^K, cup=\E=%p2%'\s'%+%c%p1%'\s'%+%c,
                   8522:        cud1=\EB, home=^Y, cub1=^H, cuf1=^\, cuu1=^_, dl1=\EM, smacs=\EF,
                   8523:        rev=\E$2^D, smso=\E$2^D, rmacs=\EG, sgr0=^X, rmso=^X, ff=^L,
                   8524:        is2=\E)0\E<\EP\E'0\E$2, il1=\EL, kclr=^L, kcud1=^J, kel=^], ked=^K,
                   8525:        khome=^Y, kcub1=^H, kcuf1=^\, kcuu1=^_, mc4=^O, mc5=^N, ind=\EB,
                   8526:        ri=\EI, hts=\E'1, ht=^I,
                   8527:
                   8528: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
                   8529: # These aren't end-all Excel termcaps; but do insert/delete char/line
                   8530: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
                   8531: # The naming convention has been bent somewhat, with the use of E? (where
                   8532: # E is for 'Excel') as # a name.  This was done to distinguish the entries
                   8533: # from the other Datamedias in use here, and yet to associate a model of
                   8534: # the Excel terminals with the regular datamedia terminals that share
                   8535: # major characteristics.
                   8536: excel62|excel64|datamedia Excel 62,
                   8537:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   8538:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   8539:        use=dt80,
                   8540: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
                   8541:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   8542:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   8543:        use=dt80w,
                   8544: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
                   8545:        dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
                   8546:        kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
                   8547:        smir=\E[4h,
                   8548:        use=dt80,
                   8549:
                   8550: #### Falco
                   8551: #
                   8552: #      Falco Data Products
                   8553: #      440 Potrero Avenue
                   8554: #      Sunnyvale, CA 940864-196
                   8555: #      Vox: (800)-325-2648
                   8556: #      Fax: (408)-745-7860
                   8557: #      Net: techsup@charm.sys.falco.com
                   8558: #
                   8559: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   8560: # emulations of DEC VT-series, Wyse, and Televideo types.
                   8561: #
                   8562:
                   8563: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
                   8564: # This terminal was released around 1983 and was discontinued long ago.
                   8565: # The standout and underline highlights are the same.
                   8566: falco|ts1|ts-1|falco ts-1,
                   8567:        am, OTbs,
                   8568:        cols#80, it#8, lines#24,
                   8569:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   8570:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   8571:        dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
                   8572:        ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   8573:        kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0,
                   8574:        sgr0=\Eg0, smir=\Eq, smso=\Eg1, smul=\Eg1,
                   8575: falco-p|ts1p|ts-1p|falco ts-1 with paging option,
                   8576:        am, da, db, mir, msgr, ul, OTbs,
                   8577:        cols#80, it#8, lines#24,
                   8578:        bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   8579:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
                   8580:        dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
                   8581:        il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
                   8582:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b,
                   8583:        rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d,
                   8584:        smir=\Eq, smso=\Eg4, smul=\Eg1,
                   8585: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
                   8586: ts100|ts100-sp|falco ts100-sp,
                   8587:        am, mir, msgr, xenl, xon,
                   8588:        cols#80, it#8, lines#24, vt#3,
                   8589:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8590:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   8591:        clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
                   8592:        cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
                   8593:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   8594:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   8595:        cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
                   8596:        el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
                   8597:        ht=\t, hts=\EH, ich1=\E~Q, il1=\E~E, ind=\n,
                   8598:        is1=\E~)\E~ea, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b,
                   8599:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
                   8600:        kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
                   8601:        kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   8602:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   8603:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>,
                   8604:        rmso=\E[m$<2>, rmul=\E[m$<2>,
                   8605:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   8606:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
                   8607:        sgr0=\E[m^O$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   8608:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   8609: ts100-ctxt|falco ts-100 saving context,
                   8610:        smcup=\E~_d\E[2J, rmcup=\E~_b,
                   8611:        use=ts100,
                   8612:
                   8613: #### Florida Computer Graphics
                   8614: #
                   8615:
                   8616: # Florida Computer Graphics Beacon System, using terminal emulator program
                   8617: # "host.com", as provided by FCG.  This description is for an early release
                   8618: # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
                   8619: # commented out.
                   8620:
                   8621: # From: David Bryant <cbosg!djb> 1/7/83
                   8622: beacon|FCG Beacon System,
                   8623:        cr=^M, cud1=^J, ind=^J, cols#80, lines#32, clear=\EZ$<10>,
                   8624:        cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuf1=\EV, cuu1=\EU, el=\ET,
                   8625:        .ed=\EY, dch1=\EW, ich1=\EQ, dl1=\ER, il1=\EE,
                   8626:        rmcup=, smcup=\ESTART^M\E2\0540^M\E12^M\EEND^M$<10>,
                   8627:        bel=\ESTART^M\E37^M\EEND^M$<1>, home=\EH$<10>,
                   8628:        am, da, db,
                   8629:        rev=\ESTART^M\E59\0541^M\EEND^M,
                   8630:        smso=\ESTART^M\E70\0546^M\EEND^M$<20>,
                   8631:        rmso=\ESTART^M\E70\0540^M\EEND^M$<20>,
                   8632:        smul=\ESTART^M\E60\0541^M\EEND^M,
                   8633:        rmul=\ESTART^M\E60\0540^M\EEND^M,
                   8634:        blink=\ESTART^M\E61\0541^M\EEND^M,
                   8635:        sgr0=\ESTART^M\E78^M\E70\0540^M\EEND^M$<20>,
                   8636:
                   8637: #### Fluke
                   8638: #
                   8639:
                   8640: # The f1720a differences from ANSI: no auto margin, destructive
                   8641: # tabs, # of lines, funny highlighting and underlining
                   8642: f1720|f1720a|fluke 1720A,
                   8643:        xt,
                   8644:        cols#80, lines#16, xmc#1,
                   8645:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   8646:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   8647:        ed=\E[J, el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_,
                   8648:        kcud1=^], kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m,
                   8649:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   8650:
                   8651: #### Liberty Electronics (Freedom)
                   8652: #
                   8653: #      Liberty Electronics
                   8654: #      48089 Fremont Blvd
                   8655: #      Fremont CA 94538
                   8656: #      Vox: (510)-623-6000
                   8657: #      Fax: (510)-623-7021
                   8658:
                   8659: # From: <faletti@berkeley.edu>
                   8660: # (f100: added empty <acsc> to suppress a tic warning;
                   8661: # made this relative to adm+sgr -- note that <invis> isn't
                   8662: # known to work for f100 but does on the f110. --esr)
                   8663: f100|freedom|freedom100|freedom model 100,
                   8664:        am, bw, mir, msgr, xon, cols#80, lines#24, OTbs,
                   8665:        acsc=, cr=^M, ind=^J, bel=^G, clear=^Z, home=^^,
                   8666:        cud1=^J, cuf1=^L, cuu1=^K, cub1=^H,
                   8667:        tbc=\E3, hts=\E1, ht=^I, is2=\Eg\Ef\r\Ed,
                   8668:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   8669:        hpa=\E]%p1%{32}%+%c, vpa=\E[%p1%{32}%+%c,
                   8670:        ri=\Ej, ip=$<6>,
                   8671:        il1=\EE$<8.5*>, cbt=\EI, ed=\EY, el=\ET, dch1=\EW,
                   8672:        dl1=\ER$<11.5*>, rmir=\Er, smir=\Eq,
                   8673:        rmacs=\E$, smacs=\E%, flash=\Eb$<200>\Ed,
                   8674:        kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuu1=^K, kcuf1=^L, khome=^^,
                   8675:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   8676:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, kf10=^AI\r,
                   8677:        hs, tsl=\Eg\Ef, fsl=\r, dsl=\Eg\Ef\r,
                   8678:        use=adm+sgr,
                   8679: f100-rv|freedom-rv|freedom 100 in reverse video,
                   8680:        is2=\Eg\Ef\r\Eb, flash=\Ed$<200>\Eb, use=f100,
                   8681: # The f110 and f200 have problems with vi(1).  They use the ^V
                   8682: # code for the down cursor key. When kcud1 is defined in terminfo
                   8683: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   8684: # is lost! It cannot be remapped in vi because it is necessary to enter
                   8685: # a ^V to to quote the ^V that is being remapped!!!
                   8686: #
                   8687: # f110/f200 users will have to decide whether
                   8688: # to lose the down cursor key or the quoting capability. We will opt
                   8689: # initially for leaving the quoting capability out, since use of VI
                   8690: # is not generally applicable to most interactive applications
                   8691: # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
                   8692: f110|freedom110|Liberty Freedom 110,
                   8693:        bw@, eslok,
                   8694:        it#8, wsl#80,
                   8695:        blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2,
                   8696:        cud1=^V, cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r,
                   8697:        flash=\Eb$<200/>\Ed, il1=\EE,
                   8698:        ip@, is2@, kclr=^^, kdch1=\EW, kdl1=\ER, ked=\EY,
                   8699:        kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, kil1=\EE,
                   8700:        mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%,
                   8701:        rmir=\Er\EO, smacs=\E$, smir=\EO\Eq,
                   8702:        smso=\EG<, tsl=\Ef, use=f100,
                   8703: f110-14|Liberty Freedom 110 14inch,
                   8704:        dch1@,use=f110,
                   8705: f110-w|Liberty Freedom 110 - 132 cols,
                   8706:        cols#132, use=f110,
                   8707: f110-14w|Liberty Freedom 110 14in/132 cols,
                   8708:        cols#132, dch1@, use=f110,
                   8709: # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   8710: f200|freedom200|Liberty Freedom 200,
                   8711:        am, bel=^G, cols#80, lines#24, cr=^M, hs, mir, msgr, OTbs,
                   8712:        eslok, xon, it#8, wsl#80, acsc=, cbt=\EI,
                   8713:        csr=\em0%p1%{32}%+%c%p2%{32}%+%c, tbc=\e3, clear=^Z,
                   8714:        el=\ET, ed=\EY, hpa=\E]%p1%{32}%+%c, vpa=\E[%p1%{32}%+%c,
                   8715:        cup=\e=%p1%{32}%+%c%p2%{32}%+%c, cud1=^V, home=^^, civis=\e.0,
                   8716:        cub1=\b, cnorm=\e.1, cuf1=^L, cuu1=^K, cvvis=\e.1, dch1=\eW,
                   8717:        dl1=\eR, dsl=\ef\r, smacs=\e$, rmacs=\e%%, blink=\eG2,
                   8718:        bold=\eG0, dim=\EG@, smir=\eq, rmir=\er, smso=\eG<,
                   8719:        flash=\Eo$<200/>\en, fsl=\r,
                   8720:        il1=\eE, kbs=\b, kclr=^^, kdch1=\eW, kdl1=\eR, kcud1=^V,
                   8721:        kel=\eT, ked=\eY, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   8722:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   8723:        kf0=^AI\r, kich1=\eQ, kil1=\eE, kcub1=\b, kcuf1=^L, kcuu1=^K,
                   8724:        mc4=\ea, mc5=\e`, hts=\e1, tsl=\ef, ind=\n, ri=\eJ,
                   8725:        use=adm+sgr,
                   8726: f200-w|Liberty Freedom 200 - 132 cols,
                   8727:        cols#132, use=f200,
                   8728: # The f200 has the ability to reprogram the down cursor key. The key is
                   8729: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
                   8730: # so powering the terminal off and on will not cause the change to be lost.
                   8731: f200vi|Liberty Freedom 200 for vi,
                   8732:        flash=\Eb$<200/>\Ed, kcud1=^J,
                   8733:        use=f200,
                   8734: f200vi-w|Liberty Freedom 200 - 132 cols for vi,
                   8735:        cols#132, use=f200vi,
                   8736:
                   8737: #### GraphOn (go)
                   8738: #
                   8739: #      Graphon Corporation
                   8740: #      544 Division Street
                   8741: #      Campbell, CA 95008
                   8742: #      Vox: (408)-370-4080
                   8743: #      Fax: (408)-370-5047
                   8744: #      Net: troy@graphon.com (Troy Morrison)
                   8745: #
                   8746: #% GraphOn: troy@graphon.com (Troy Morrison)
                   8747: #
                   8748: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   8749: # including one odd hybrid that starts out life on power-up as a character
                   8750: # terminal, than can be switched to X graphics mode (driven over the serial
                   8751: # line) by an escape sequence.  No info on this beast yet.
                   8752: # (go140: I added <rmam>/<smam> based on the init string -- esr)
                   8753: go140|graphon go-140,
                   8754:        cols#80, it#8, lines#24, OTbs,
                   8755:        clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C,
                   8756:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P,
                   8757:        dl1=\E[M, ed=\E[J$<10/>, el=\E[K, ht=\t,
                   8758:        if=/usr/share/tabset/vt100, il1=\E[L,
                   8759:        is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
                   8760:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   8761:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   8762:        ri=\EM, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
                   8763:        rmul=\E[m, sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   8764:        smam=\E[?7h, smul=\E[4m,
                   8765: go140w|graphon go-140 in 132 column mode,
                   8766:        am,
                   8767:        cols#132,
                   8768:        is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140,
                   8769: # Hacked up vt200 termcap to handle GO-225/VT220
                   8770: # From: <edm@nwnexus.WA.COM>
                   8771: # (go225: I added <rmam>/<smam> based on the init string -- esr)
                   8772: go225|go-225|Graphon 225,
                   8773:        am, mir, xenl, OTbs,
                   8774:        cols#80, it#8, lines#25, vt#3, bold=\E[1m, clear=\E[H\E[J,
                   8775:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   8776:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   8777:        el=\E[K, home=\E[H, ht=\t, il1=\E[L, ind=\ED,
                   8778:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, kcub1=\E[D,
                   8779:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   8780:        kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
                   8781:        rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
                   8782:        rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
                   8783:        rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, blink=\E[5m, sc=\E7,
                   8784:        sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, smir=\E[4h,
                   8785:        smkx=\E=, smso=\E[7m, smul=\E[4m,
                   8786:
                   8787: #### Harris (Beehive)
                   8788: #
                   8789: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   8790: # Their terminal group is ancient history now (1995) though the parent
                   8791: # company is still in business.
                   8792: #
                   8793:
                   8794: # Beehive documentation is undated and marked Preliminary and has no figures
                   8795: # so we must have early Superbee2 (Model 600, according to phone conversation
                   8796: # with mfr.). It has proved reliable except for some missing padding
                   8797: # (notably after \EK and <nl> at bottom of screen).
                   8798: #
                   8799: # The key idea is that AEP mode is poison for <cup> & that US's in
                   8800: # the local memory should be avoided like the plague. That means
                   8801: # that the 2048 character local buffer is used as 25 lines of 80
                   8802: # characters, period. No scrolling local memory, folks. It also
                   8803: # appears that we cannot use naked INS LINE feature since it uses
                   8804: # US. The sbi fakes <il1> with an 80-space insert that may be too
                   8805: # slow at low speeds; also spaces get converted to \040 which is
                   8806: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   8807: #
                   8808: # The <nl> string is designed for last line of screen ONLY; cup to
                   8809: # 25th line corrects the motion inherent in scrolling to Page 1.
                   8810: #
                   8811: # There is one understood bug. It is that the screen appears to
                   8812: # pop to a new (blank) page after a <nel>, or leave a half-line
                   8813: # ellipsis to a quad that is the extra 48 memory locations. The
                   8814: # data received is dumped into memory but not displayed.  Not to
                   8815: # worry if <cup> is being used; the lines not displayed will be,
                   8816: # whenever the cursor is moved up there. Since <cup> is addressed
                   8817: # relative to MEMORY of window, nothing is lost; but beware of
                   8818: # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
                   8819: # therefore, is setenv MORE -c .
                   8820: #
                   8821: # WARNING: Not all features tested.
                   8822: #
                   8823: # Timings are assembled from 3 sources. Some timings may reflect
                   8824: # SB2/Model 300 that were used if more conservative.
                   8825: # Tested on a Model 600 at 1200 and 9600 bd.
                   8826: #
                   8827: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   8828: # placed on the keyboard and useless because of AEP, is made
                   8829: # into a backspace key. In use ESC must be pressed twice (to send)
                   8830: # and sending ^C must be prefixed by ESC to avoid that weird
                   8831: # transmit mode associated with ENTER key.
                   8832: #
                   8833: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   8834: # the screen, then it has dropped into ENTER mode; hit
                   8835: # RESET--ONLINE--!tset.
                   8836: #
                   8837: # As delivered this machine has a FATAL feature that will throw
                   8838: # it into that strange transmit state (SPOW) if the space bar is
                   8839: # hit after a CR is received, but before receiving a LF (or a
                   8840: # few others).
                   8841: #
                   8842: # The circuits MUST be modified to eliminate the SPOW latch.
                   8843: # This is done by strapping on chip A46 of the I/O board; cut
                   8844: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   8845: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   8846: # With this modification absurdly high timings on cr are
                   8847: # unnecessary.
                   8848: #
                   8849: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   8850: # not AEP!
                   8851: #
                   8852: sb|sb1|beehive superbee,
                   8853:        am, bw, da, db, mir, ul, xsb, OTbs,
                   8854:        cols#80, lines#25, xmc#1,
                   8855:        bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, cub1=\b$<1>,
                   8856:        cub1=^H, cud1=\EB$<3>, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
                   8857:        cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
                   8858:        home=\EH$<1>, ht=\t, hts=\E1,
                   8859:        il1=\EN\EL$<3>\EQ\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\EP$<3>\s\EO\ER\EA$<3>,
                   8860:        ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, kcud1=\EB,
                   8861:        kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, kf0=\E2, kf1=\Ep,
                   8862:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\E1,
                   8863:        khome=\EH, kich1=\EQ\EO, krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=,
                   8864:        rmir=\ER, rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO,
                   8865:        smso=\E_1, smul=\E_0, tbc=\E3,
                   8866: sbi|superbee|beehive superbee at Indiana U.,
                   8867:        xsb,
                   8868:        cr=^M$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA,
                   8869:        use=sb1,
                   8870: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   8871: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   8872: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   8873: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   8874: # the switch in the back set to CRLF instead of AEP.  This description
                   8875: # is tested on the sb2 but should work on all with either switch setting.
                   8876: # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
                   8877: # the other two if you want to try to hit that tiny escape key.
                   8878: # This description is tricky: being able to use cup depends on there being
                   8879: # 2048 bytes of memory and the hairy <nl> string.
                   8880: superbee-xsb|beehive super bee,
                   8881:        am, da, db, xsb,
                   8882:        cols#80, it#8, lines#25,
                   8883:        clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H,
                   8884:        cud1=^J, cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
                   8885:        dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, home=\EH,
                   8886:        ht=^I, hts=\E1,
                   8887:        ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET,
                   8888:        is2=\EH\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   8889:        kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
                   8890:        kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\EH,
                   8891:        rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
                   8892: # This loses on lines > 80 chars long, use at your own risk
                   8893: superbeeic|super bee with insert char,
                   8894:        ich1=, rmir=\ER, smir=\EQ,
                   8895:        use=superbee-xsb,
                   8896: sb2|sb3|fixed superbee,
                   8897:        xsb@,
                   8898:        use=superbee,
                   8899:
                   8900: # Reports are that most of these Beehive entries (except superbee) have not
                   8901: # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
                   8902:
                   8903: # (bee: <ich1> was empty, which is obviously bogus -- esr)
                   8904: beehive|bee|harris beehive,
                   8905:        am, mir, OTbs,
                   8906:        cols#80, lines#24,
                   8907:        cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   8908:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   8909:        dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H,
                   8910:        kcbt=\E>, kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   8911:        kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
                   8912:        krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, smir=\EQ,
                   8913:        smso=\EdP, smul=\Ed`,
                   8914: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
                   8915: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
                   8916: # look at those spaces in <rmso>/<smso>.  Seems strange to me...
                   8917: # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
                   8918: # really care, cook up one using ^F -- esr)
                   8919: beehive3|bh3m|beehiveIIIm|harris beehive 3m,
                   8920:        am, OTbs,
                   8921:        cols#80, it#8, lines#20,
                   8922:        bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
                   8923:        dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
                   8924:        il1=\023$<160>, ll=^E^K, ind=^J, rmso= ^_, smso=^] ,
                   8925: beehive4|bh4|beehive 4,
                   8926:        cr=^M, cud1=^J, ind=^J, bel=^G,
                   8927:        cols#80, lines#24, am, cub1=^H, ed=\EJ, el=\EK, clear=\EE,
                   8928:        home=\EH, cuu1=\EA, cuf1=\EC, cub1=\ED,
                   8929: microb|microbee|micro bee series,
                   8930:        am, OTbs,
                   8931:        cols#80, it#8, lines#24,
                   8932:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   8933:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, ht=^I,
                   8934:        el=\EK, ht=\t, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   8935:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   8936:        kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, ind=^J,
                   8937:        rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, smso= \EdP, smul=\Ed`,
                   8938:
                   8939: # 8675, 8686, and bee from Cyrus Rahman
                   8940: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   8941: ha8675|harris 8675,
                   8942:        is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
                   8943:        kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI,
                   8944:        kf15=\Ei, kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J,
                   8945:        kf6=^T, kf7=^H, kf8=\177, kf9=\Ee,
                   8946:        use=bee,
                   8947: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   8948: # in :is: -- esr)
                   8949: ha8686|harris 8686,
                   8950:        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#,
                   8951:        kf1=\002\Ep\003, kf10=\Ej, kf11=\EW,
                   8952:        kf12=\002\E{\003, kf13=\002\E|\003,
                   8953:        kf14=\002\E}\003, kf15=\002\E~\003,
                   8954:        kf16=\002\E\177\003, kf2=\002\Eq\003,
                   8955:        kf3=\002\Er\003, kf4=\002\Es\003, kf5=\E3, kf6=\EI,
                   8956:        kf7=\ER, kf8=\EJ, kf9=\E(,
                   8957:        use=bee,
                   8958:
                   8959: #### Hazeltine
                   8960: #
                   8961: # Hazeltine appears to be out of the terminal business as of 1995.  These
                   8962: # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
                   8963: # Harris. They have a hazeltine.com domain (but no web page there ) and can
                   8964: # be reached at:
                   8965: #
                   8966: #      Hazeltine
                   8967: #      450 East Pulaski Road
                   8968: #      Greenlawn, New York 11740
                   8969: #
                   8970: # As late as 1993, manuals for the terminal product line could still be
                   8971: # purchased from:
                   8972: #
                   8973: #      TRW Customer Service Division
                   8974: #      15 Law Drive
                   8975: #      P.O. Box 2076
                   8976: #      Fairfield, NJ 07007-2078
                   8977: #
                   8978: # They're now (1998) a subsidiary of General Electric, operating under the
                   8979: # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
                   8980: # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
                   8981: #
                   8982:
                   8983: # Since <cuf1> is blank, when you want to erase something you
                   8984: # are out of luck.  You will have to do ^L's a lot to
                   8985: # redraw the screen.  h1000 is untested.  It doesn't work in
                   8986: # vi - this terminal is too dumb for even vi.  (The code is
                   8987: # there but it isn't debugged for this case.)
                   8988: hz1000|hazeltine 1000,
                   8989:        cols#80, lines#12, OTbs,
                   8990:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1= , home=^K, ind=^J,
                   8991: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   8992: hz1420|hazeltine 1420,
                   8993:        am, OTbs,
                   8994:        cols#80, lines#24,
                   8995:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
                   8996:        cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
                   8997:        ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
                   8998:        smso=\E^_,
                   8999: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   9000: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   9001: # receive tildes.
                   9002: hz1500|hazeltine 1500,
                   9003:        am, hz, OTbs,
                   9004:        cols#80, lines#24,
                   9005:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
                   9006:        cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%'`'%+%c%p1%'`'%+%c,
                   9007:        cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O,
                   9008:        home=~^R, il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J,
                   9009:        kcuf1=^P, kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
                   9010: # h1510 assumed to be in sane escape mode.  Else use h1500.
                   9011: # (h1510: early versions of this entry apparently had "<rmso=\E^_>,
                   9012: # <smso=\E^Y>, but these caps were commented out in 8.3; also,
                   9013: # removed incorrect and overridden ":do=^J:" -- esr)
                   9014: hz1510|hazeltine 1510,
                   9015:        am, OTbs,
                   9016:        cols#80, lines#24,
                   9017:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
                   9018:        cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
                   9019:        el=\E^O, il1=\E^Z, ind=^J,
                   9020: # Hazeltine 1520
                   9021: # The following switch settings are assumed for normal operation:
                   9022: #      FULL            CR              U/L_CASE        ESCAPE
                   9023: #      FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
                   9024: # Other switches may be set for operator convenience or communication
                   9025: # requirements.
                   9026: hz1520|Hazeltine 1520,
                   9027:        OTbs, am, bw, msgr,
                   9028:        cols#80, lines#24,
                   9029:        bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J,
                   9030:        cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
                   9031:        ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H,
                   9032:        kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L,
                   9033:        kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z,
                   9034:        rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_,
                   9035: # This version works with the escape switch off
                   9036: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
                   9037: hz1520-noesc|hazeltine 1520,
                   9038:        am, hz,
                   9039:        cols#80, lines#24,
                   9040:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
                   9041:        cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X,
                   9042:        el=~^O, home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
                   9043: # Note: the h1552 appears to be the first Hazeltine terminal which
                   9044: # is not braindamaged.  It has tildes and backprimes and everything!
                   9045: # Be sure the auto lf/cr switch is set to cr.
                   9046: hz1552|hazeltine 1552,
                   9047:        cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, OTbs,
                   9048:        kf3=\ER, lf1=blue, lf2=red, lf3=green,
                   9049:        use=vt52,
                   9050: hz1552-rv|hazeltine 1552 reverse video,
                   9051:        cud1=^J, rmso=\ET, smso=\ES,
                   9052:        use=hz1552,
                   9053: # Note: h2000 won't work well because of a clash between upper case and ~'s.
                   9054: hz2000|hazeltine 2000,
                   9055:        OTbs, OTnc, am,
                   9056:        cols#74, lines#27,
                   9057:        bel=^G, clear=~^\$<6>, cub1=^H, cud1=^J, cup=~\021%p2%c%p1%c,
                   9058:        dl1=~^S$<6>, home=~^R, il1=~^Z$<6>, ind=^J, pad=\177,
                   9059: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   9060: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   9061: # to work ok. There is one problem though if one types a lot of garbage
                   9062: # characters very fast vi seems not able to keep up and hangs while trying
                   9063: # to insert. That's in insert mode while trying to insert in the middle of
                   9064: # a line. It might be because the Esprit doesn't have insert char and delete
                   9065: # char as a built in function. Vi has to delete to end of line and then
                   9066: # redraw the rest of the line.
                   9067: esprit|Hazeltine Esprit I,
                   9068:        cr=^M, cud1=^J, ind=^J, bel=^G, il1=\E^Z, am, cub1=^H, OTbs,
                   9069:        cbt=\E^T, bw, ed=\E^W, el=\E^O, clear=\E\034, cup=\E^Q%p2%c%p1%c,
                   9070:        cols#80, dl1=\E^S, cud1=\E^K, home=\E^R, is2=\E\077,
                   9071:        kf0=^B\060\n, kf1=^B\061\n, kf2=^B\062\n, kf3=^B\063\n,
                   9072:        kf4=^B\064\n, kf5=^B\065\n, kf6=^B\066\n, kf7=^B\067\n,
                   9073:        kf8=^B\070\n, kf9=^B\071\n, kbs=^H, kcud1=\E^K, rmkx=\E\076,
                   9074:        khome=\E^R, kcub1=^H, kcuf1=^P, smkx=\E\074, kcuu1=\E^L, lf0=0,
                   9075:        lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
                   9076:        lines#24, cuf1=^P, rmso=\E^Y, smso=\E^_, cuu1=\E^L,
                   9077: esprit-am|hazeltine esprit auto-margin,
                   9078:        am,
                   9079:        use=esprit,
                   9080: # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
                   9081: # Vi it seems always wants to send a control J for "do" and it turned out
                   9082: # that the terminal would work somewhat if the auto LF/CR was turned off.
                   9083: # (hmod1: removed :dn=~^K: -- esr)
                   9084: hmod1|Hazeltine Modular 1,
                   9085:        OTbs, am, hz,
                   9086:        cols#80, lines#24,
                   9087:        bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
                   9088:        cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R,
                   9089:        il1=~^Z, ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P,
                   9090:        kcuu1=~^L, khome=~^R, rc=~^Q, rmso=~^Y, sc=~^E,
                   9091:        sgr0=~^Y, smso=~^_,
                   9092: #
                   9093: # Hazeltine Executive 80 Model 30 (1554?)
                   9094: #      from  Will Martin <control@ALMSA-1.ARPA> via BRL
                   9095: # Like VT100, except for different "am" behavior.
                   9096: hazel|exec80|h80|he80|Hazeltine Executive 80,
                   9097:        OTbs, OTpt, am,
                   9098:        cols#80, it#8, lines#24, vt#3,
                   9099:        OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   9100:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   9101:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   9102:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   9103:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   9104:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   9105:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   9106:        kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
                   9107:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmkx=\E[?1l\E>,
                   9108:        rmso=\E[m$<2/>, rmul=\E[m$<2/>,
                   9109:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   9110:        sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
                   9111:        smul=\E[4m$<2/>,
                   9112:
                   9113: #### Hewlett-Packard (hp)
                   9114: #
                   9115: #      Hewlett-Packard
                   9116: #      8000 Foothills Blvd
                   9117: #      Roseville, CA 95747
                   9118: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   9119: #           1-(800)-633-3600   (General customer support)
                   9120: #
                   9121: #% Hewlett-Packard: rich_kassis@hp5200.desk.hp.com (Rich Kassis)
                   9122: #
                   9123: # As of March 1998, HP no longer has any terminals in production.
                   9124: # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
                   9125: # supported (they still have parts). So are the 2392a and 2394a.
                   9126: # See the WORKSTATION CONSOLES section for the 700s.
                   9127: #
                   9128:
                   9129: # Generic HP terminal - this should (hopefully) work on any HP terminal.
                   9130: hpgeneric|hp|hewlett-packard generic terminal,
                   9131:        OTbs, OTpt,
                   9132:        tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EL, am,
                   9133:        cub1=^H, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, clear=\EH\EJ,
                   9134:        cup=\E&a%p2%dc%p1%dY$<6>, cols#80, vpa=\E&a%p1%dY, lm#0, da, db,
                   9135:        dch1=\EP, dl1=\EM, rmir=\ER, smir=\EQ, kbs=^H, lines#24, mir,
                   9136:        cuf1=\EC, ht=^I, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smso=\E&dJ,
                   9137:        smul=\E&dD, rmul=\E&d@, cuu1=\EA, xhp, vt#6, kcbt=\Ei,
                   9138:
                   9139: hp110|hewlett-packard model 110 portable,
                   9140:        lines#16,use=hpgeneric,
                   9141:
                   9142: hp+pfk+cr|hp function keys with CR,
                   9143:        kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
                   9144:        kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
                   9145:
                   9146: hp+pfk-cr|hp function keys w/o CR,
                   9147:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
                   9148:        kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   9149:
                   9150: # The hp2621s use the same keys for the arrows and function keys,
                   9151: # but not separate escape sequences. These definitions allow the
                   9152: # user to use those keys as arrow keys rather than as function
                   9153: # keys.
                   9154: hp+pfk+arrows|hp alternate arrow definitions,
                   9155:        khome=\Ep\r, kll=\Eq\r, kind=\Er\r, kri=\Es\r,
                   9156:        kcuu1=\Et\r, kcub1=\Eu\r, kcuf1=\Ev\r, kcud1=\Ew\r,
                   9157:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   9158:
                   9159: hp+arrows|hp arrow definitions,
                   9160:        kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC,
                   9161:        khome=\Eh, kll=\EF, kind=\ES, kri=\ET,
                   9162:
                   9163: # Generic stuff from the HP 262x series
                   9164: #
                   9165: hp262x|HP 262x terminals,
                   9166:        dch1=\EP$<2>, ip=$<2>, rmso=\E&d@, smso=\E&dB, ed=\ED\EJ$<500>\EC,
                   9167:        rev=\E&dB, smul=\E&dD, blink=\E&dA, invis=\E&dS, sgr0=\E&d@, rmul=\E&d@,
                   9168:        sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c,
                   9169:        khome=\Eh, kcuu1=\EA, kcub1=\ED, kcuf1=\EC, kcud1=\EB,
                   9170:        smkx=\E&s1A, rmkx=\E&s0A, knp=\EU, kpp=\EV, kri=\ET,
                   9171:        kind=\ES, kil1=\EL, kdl1=\EM, kich1=\EQ, kdch1=\EP,
                   9172:        kel=\EK, ked=\EJ, krmir=\ER,
                   9173:        ind=\ES, ht=^I$<2>, xhp,
                   9174:        ed=\EJ,
                   9175:
                   9176: # Note: no <home> on HPs since that homes to top of memory, not screen.
                   9177: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   9178: # transmit anything at all is to turn on the function key labels
                   9179: # with <smkx>, and even then the user has to hold down shift!
                   9180: # The default 2621 turns off the labels except when it has to to
                   9181: # enable the function keys. If your installation prefers labels
                   9182: # on all the time, or off all the time (at the "expense" of the
                   9183: # function keys), use 2621-nl or 2621-wl.
                   9184: #
                   9185: # Note: there are newer ROMs for 2621's that allow you to set
                   9186: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   9187: # 2645. However, even with this strap set, the terminal stops
                   9188: # xmitting if you reset it, until you unset and reset the strap!
                   9189: # Since there is no way to set/unset the strap with an escape
                   9190: # sequence, we don't use it in the default.
                   9191: # If you like, you can use 2621-ba (brain-damaged arrow keys).
                   9192: hp2621-ba|2621 w/new rom and strap A set,
                   9193:        smkx@, rmkx@,
                   9194:        use=hp+arrows,
                   9195:        use=hp2621,
                   9196:
                   9197: # hp2621 with function labels. Most of the time they are off,
                   9198: # but inside vi, the function key labels appear. You have to
                   9199: # hold down shift to get them to xmit.
                   9200: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
                   9201:        is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
                   9202: hp2621-fl|hp 2621,
                   9203:        is2=\E&j@\r, cbt=\Ei, cup=\E&a%p2%dc%p1%dY,
                   9204:        dch1=\EP$<2>, ip=$<2>, pb#19200,
                   9205:        smso=\E&dD, rmso=\E&d@, smul=\E&dD, rmul=\E&d@, sgr0=\E&d@, xhp@,
                   9206:        use=hp+pfk+cr, smkx=\E&jB, rmkx=\E&j@, ht=^I$<2>, xon, use=hpgeneric,
                   9207:
                   9208: # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
                   9209: hp2621p|hp 2621 with printer,
                   9210:        mc5=\E&p11C, mc4=\E&p13C, use=hp2621,
                   9211:
                   9212: hp2621p-a|hp2621p with fn as arrows,
                   9213:        use=hp+pfk+arrows, use=hp2621p,
                   9214:
                   9215: # hp2621 with k45 keyboard
                   9216: hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
                   9217:        kbs=^H, kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh,
                   9218:        smkx=\E&s1A, rmkx=\E&s0A, use=hp2621,
                   9219:
                   9220: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   9221: hp2621-48|48 line 2621,
                   9222:        vpa=\E&a%p1%dR, lines#48, home=\EH, cup=\E&a%p2%dc%p1%dR, use=hp2621,
                   9223:
                   9224: # 2621 with no labels ever. Also prevents vi delays on escape.
                   9225: hp2621-nl|hp 2621 with no labels,
                   9226:        smkx@, rmkx@, khome@, kcuu1@, kcub1@, kcuf1@, kcud1@, use=hp2621-fl,
                   9227:
                   9228: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   9229: # (wrong).
                   9230: #
                   9231: hp2621-nt|hp 2621 w/no tabs,
                   9232:        ht@, use=hp2621,
                   9233:
                   9234: # Hp 2624 B with 4 or 10 pages of memory.
                   9235: #
                   9236: # Some assumptions are made with this entry. These settings are
                   9237: # NOT set up by the initialization strings.
                   9238: #
                   9239: # Port Configuration
                   9240: #      RecvPace=Xon/Xoff
                   9241: #      XmitPace=Xon/Xoff
                   9242: #      StripNulDel=Yes
                   9243: #
                   9244: # Terminal Configuration
                   9245: #      InhHndShk=Yes
                   9246: #      InhDC2=Yes
                   9247: #      XmitFnctn(A)=No
                   9248: #      InhEolWrp=No
                   9249: #
                   9250: # Note: the 2624 DOES have a true <home>, believe it or not!
                   9251: #
                   9252: # The 2624 has an "error line" to which messages can be sent.
                   9253: # This is CLOSE to what is expected for a "status line". However,
                   9254: # after a message is sent to the "error line", the next carriage
                   9255: # return is EATEN and the "error line" is turned back off again!
                   9256: # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
                   9257: #
                   9258: # This entry supports emacs (and any other program that uses raw
                   9259: # mode) at 4800 baud and less. I couldn't get the padding right
                   9260: # for 9600.
                   9261: #
                   9262: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
                   9263: hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
                   9264:        da, db, lm#96,
                   9265:        flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F,
                   9266:        use=hp+labels,
                   9267:        use=scrhp,
                   9268:
                   9269: # This hp2626 entry does not use any of the fancy windowing stuff
                   9270: # of the 2626.
                   9271: #
                   9272: # Indeed, terminfo does not yet handle such stuff. Since changing
                   9273: # any window clears memory, it is probably not possible to use
                   9274: # this for screen opt.
                   9275: #
                   9276: # ed is incredibly slow most of the time - I am guessing at the
                   9277: # exact padding. Since the terminal uses xoff/xon this is intended
                   9278: # only for cost computation, so that the terminal will prefer el
                   9279: # or even dl1 which is probably faster!
                   9280: #
                   9281: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   9282: # extra slow on the last line of the window.
                   9283: #
                   9284: # The padding probably should be changed.
                   9285: #
                   9286: hp2626|hp2626a|hp2626p|hp 2626,
                   9287:        ed=\ED\EJ$<500>\EC,
                   9288:        ip=$<4>,
                   9289:        is2=\E&j@\r,
                   9290:        pb#19200,
                   9291:        da, db, lm#0,
                   9292:        indn=\E&r%p1%dD,
                   9293:        rin=\E&r%p1%dU,
                   9294:        use=hp+pfk+cr,
                   9295:        use=hp+labels,
                   9296:        use=scrhp,
                   9297:
                   9298: # This entry is for sysline. It allocates a 23 line window with
                   9299: # a 115 line workspace for regular use, and a 1 line window for
                   9300: # the status line.
                   9301: #
                   9302: # This assumes port 2 is being used.
                   9303: # Turn off horizontal line, Create ws #1 with 115 lines,
                   9304: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   9305: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   9306: # Note that this clears the tabs so it must be done by tset before
                   9307: # it sets the tabs.
                   9308: #
                   9309: hp2626-s|hp 2626 using only 23 lines,
                   9310:        tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC,
                   9311:        fsl=\E&d@\E&w7f2p1I\E&w4f1I, eslok, hs,
                   9312:        is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
                   9313:        lines#23, use=hp2626,
                   9314: # Force terminal back to 24 lines after being 23.
                   9315: hp2626-ns|hp 2626 using all 24 lines,
                   9316:        is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
                   9317:        use=hp2626,
                   9318: # Various entries useful for small windows on 2626.
                   9319: hp2626-12|hewlett-packard 2626 12 lines,
                   9320:        lines#12, use=hp2626,
                   9321: hp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
                   9322:        cols#40, lines#12, use=hp2626,
                   9323: hp2626-x40|hewlett-packard 2626 40 columns,
                   9324:        cols#40, use=hp2626,
                   9325: hp2626-12-s|hewlett-packard 2626 11 lines plus status,
                   9326:        lines#11, use=hp2626-s,
                   9327:
                   9328: #
                   9329: # hp2627 color tubes from University of Wisconsin
                   9330: #
                   9331: hp2627a-rev|hp 2627 with reverse video colors,
                   9332:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   9333:        is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
                   9334:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   9335:        rmul=\E&v0S\E&d@, smul=\E&dD\E&v1S, use=hp2621-nl,
                   9336: hp2627a|hp 2627 color terminal with no labels,
                   9337:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   9338:        is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
                   9339:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
                   9340:        rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, use=hp2621-nl,
                   9341: hp2627c|hp 2627 color (cyan) terminal with no labels,
                   9342:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   9343:        is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
                   9344:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a,
                   9345:
                   9346: # hp2640a doesn't have the Y cursor addressing feature, and C is
                   9347: # memory relative instead of screen relative, as we need.
                   9348: #
                   9349: hp2640a|hp 2640a,
                   9350:        cup@, smkx@, rmkx@, use=hp2645,
                   9351:
                   9352: hp2640b|hp2644a|hp 264x series,
                   9353:        smkx@, rmkx@, use=hp2645,
                   9354:
                   9355: # (hp2641a: removed unknown :gu: -- esr)
                   9356: hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
                   9357:        am, da, db, mir, xhp,
                   9358:        cols#80, lines#24,
                   9359:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   9360:        cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
                   9361:        ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
                   9362:        if=/usr/share/tabset/std, il1=\EL, ind=^J, is2=\EE$<500/>,
                   9363:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmso=\E&d@,
                   9364:        smir=\EQ, smso=\E&dB, vpa=\E&a%p1%2dY,
                   9365:
                   9366: # This terminal should be used at 4800 baud or less. It needs padding for
                   9367: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   9368: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   9369: # software to support it.
                   9370: hp2645|hp45|HP 2645 series,
                   9371:        dim=\E&dH, rev=\E&dB, smul=\E&dD, blink=\E&dA, sgr0=\E&d@,
                   9372:        sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c,
                   9373:        kcuu1=\EA, kcud1=\EB, kcub1=\ED, kcuf1=\EC, khome=\Eh,
                   9374:        kctab=\E2, khts=\E1,
                   9375:        smkx=\E&s1A, rmkx=\E&s0A, knp=\EU, kpp=\EV, kri=\ET, kind=\ES,
                   9376:        kil1=\EL, kdl1=\EM, kich1=\EQ, kdch1=\EP,
                   9377:        kel=\EK, ked=\EJ, krmir=\ER, pb#9600, cr=^M$<20>, use=hpgeneric,
                   9378: # You should use this terminal at 4800 baud or less.
                   9379: hp2648|hp2648a|HP 2648a graphics terminal,
                   9380:        clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
                   9381:        dch1=\EP$<7>, ip=$<5>, use=hp2645,
                   9382:
                   9383: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   9384: # clreol standout problem. It also has graphics capabilities and
                   9385: # a touch screen, which we don't describe here.
                   9386: hp150|hewlett packard Model 150,
                   9387:        OTbs, use=hp2622,
                   9388:
                   9389: # HP 2382a terminals, "the little ones." They don't have any
                   9390: # alternate character set support and sending out ^N/^O will
                   9391: # leave the screen blank.
                   9392: hp2382a|hp2382|hewlett packard 2382a,
                   9393:        da, db, lm#48,
                   9394:        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   9395:        lh#1, use=hp+labels,
                   9396:        rmacs@, smacs@, acsc@,
                   9397:        sgr0=\E&d@,
                   9398:        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,
                   9399:        use=scrhp,
                   9400:
                   9401: hp2621-a|hp2621a-a|hp2621 with fn as arrows,
                   9402:        use=hp+pfk+arrows, use=hp2621-fl,
                   9403:
                   9404: # newer hewlett packard terminals
                   9405:
                   9406: newhpkeyboard|generic entry for HP extended keyboard,
                   9407:        kbs=^H, kcbt=\Ei, kclr=\EJ,
                   9408:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   9409:        kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK,
                   9410:        use=hp+pfk-cr,
                   9411:        khome=\Eh, kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF,
                   9412:        knp=\EU, kpp=\EV, kri=\ES, krmir=\ER,
                   9413:        rmkx=\E&s0A, smkx=\E&s1A,
                   9414:
                   9415: newhp|generic entry for new hewlett packard terminals,
                   9416:        am, bw, mir, xhp, xon,
                   9417:        cols#80, lines#24, pb#4800,
                   9418:        acsc=T1R!U2S"W3O#V4P$t5u6w7v8:'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X:4>q\,x.n/,
                   9419:        bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M,
                   9420:        cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
                   9421: # cub1=\ED, cud1=\EB,
                   9422:        dch1=\EP$<2>, dim=\E&dH, dl1=\EM,
                   9423:        ed=\EJ, el=\EK, ht=^I$<2>,
                   9424:        hts=\E1, il1=\EL, ind=^J, invis=\E&dS, ip=$<2>, is1=\E&jB$<8>,
                   9425: # ind=\ES,
                   9426:        nel=^M^J,
                   9427:        pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
                   9428:        pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
                   9429:        pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s,
                   9430:        rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
                   9431:        rs1=\Eg,
                   9432:        sgr0=\E&d@^O,
                   9433: # <sgr> is figured out as follows:
                   9434: #     tparm parameters
                   9435: #      1=standout, 2=underlining, 3=reverse video, 4=blinking, 5=dim,
                   9436: #      6=bold, 7=blank, 8=protection, 9=alternate character set
                   9437: #      The protection parameter is ignored.
                   9438: #     combination parameters
                   9439: #      standout = reverse + half-intensity = 3 | 5.
                   9440: #      bold = reverse + underline = 2 | 3.
                   9441: #
                   9442:        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^N%e^O%;,
                   9443:        smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
                   9444:        tbc=\E3,
                   9445:        use=newhpkeyboard,
                   9446:
                   9447: memhp|memory relative addressing for new HP ttys,
                   9448:        vt#6,
                   9449:        clear=\EH\EJ$<40>,
                   9450:        cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, cuu=\E&a-%p1%dR,
                   9451:        cup=\E&a%p1%dr%p2%dC, mrcup=\E&a%p1%dr%p2%dC,
                   9452:        home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R^M, vpa=\E&a%p1%dR,
                   9453:        use=newhp,
                   9454:
                   9455: scrhp|screen relative addressing for new HP ttys,
                   9456:        clear=\E&a0c0Y\EJ$<40>,
                   9457:        cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, cuu=\E&a-%p1%dR,
                   9458:        cup=\E&a%p1%dy%p2%dC$<10>, mrcup=\E&a%p1%dr%p2%dC,
                   9459:        home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, vpa=\E&a%p1%dY,
                   9460:        use=newhp,
                   9461:
                   9462: # (hp+labels: added label values from a BRL termcap -- esr)
                   9463: hp+labels|"standard" label info for new HP ttys,
                   9464:        lh#2, lw#8, nlab#8,
                   9465:        pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   9466:        lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
                   9467:        rmln=\E&j@, smln=\E&jB,
                   9468:
                   9469: hp+printer|"standard" printer info for HP ttys,
                   9470:        ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
                   9471:
                   9472:
                   9473: # The new hp2621b is kind of a cross between the old 2621 and the
                   9474: # new 262x series of machines. It has dip-switched options.
                   9475: # The firmware has a bug in it such that if you give it a null
                   9476: # length label, the following character is eaten!
                   9477: hp2621b|hp 2621b with old style keyboard,
                   9478:        lm#48, lh#1, lw#8, nlab#8,
                   9479:        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,
                   9480:        smln=\E&jB,
                   9481:        khome=\Eh, kll=\EF, kri=\ES, kind=\ET,
                   9482:        kcuu1=\EA, kcub1=\ED, kcuf1=\EC, kcud1=\EB,
                   9483:        use=hp2621,
                   9484:
                   9485: hp2621b-p|hp 2621b with printer,
                   9486:        use=hp+printer,
                   9487:        use=hp2621b,
                   9488:
                   9489: # hp2621b - new 2621b with new extended keyboard
                   9490: # these are closer to the new 26xx series than the other 2621b
                   9491: hp2621b-kx|hp 2621b with extended keyboard,
                   9492:        use=newhpkeyboard,
                   9493:        use=hp2621b,
                   9494:
                   9495: hp2621b-kx-p|hp 2621b with new keyboard & printer,
                   9496:        use=hp+printer,
                   9497:        use=hp2621b-kx,
                   9498:
                   9499: # Some assumptions are made in the following entries.
                   9500: # These settings are NOT set up by the initialization strings.
                   9501: #
                   9502: #    Port Configuration
                   9503: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   9504: #
                   9505: #    Terminal Configuration
                   9506: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   9507: # XmitFnctn(A)=No              InhEolWrp=No
                   9508: #
                   9509: #
                   9510: # Hp 2622a & hp2623a display and graphics terminals
                   9511: #
                   9512: hp2622|hp2622a|hp 2622,
                   9513:        use=hp+pfk+cr,
                   9514:        is2=\E&dj@\r,
                   9515:        pb#19200,
                   9516:        da, db, lm#0,
                   9517:        use=hp+labels,
                   9518:        use=scrhp,
                   9519:
                   9520: # The 2623 is a 2622 with extra graphics hardware.
                   9521: hp2623|hp2623a|hp 2623,
                   9522:        use=hp2622,
                   9523:
                   9524: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
                   9525:        use=hp+printer,
                   9526:        use=hp2624,
                   9527:
                   9528: # The hewlett packard B can have an optional extra 6 pages of memory.
                   9529: hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
                   9530:        lm#240, use=hp2624,
                   9531:
                   9532: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
                   9533:        lm#240, use=hp2624b-p,
                   9534:
                   9535: # Color manipulations for HP terminals
                   9536: hp+color|hp with colors,
                   9537:        ccc,
                   9538:        pairs#7, colors#16, ncv#17,
                   9539:        scp=\E&v%p1%dS,
                   9540:        initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a
                   9541:                  %?%p3%{1000}%=%t1%e.%p3%d%;b
                   9542:                  %?%p4%{1000}%=%t1%e.%p4%d%;c
                   9543:                  %?%p5%{1000}%=%t1%e.%p5%d%;x
                   9544:                  %?%p6%{1000}%=%t1%e.%p6%d%;y
                   9545:                  %?%p7%{1000}%=%t1%e.%p7%d%;z
                   9546:                  %p1%dI,
                   9547:        oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
                   9548:        op=\E&v0S,
                   9549:
                   9550: # <is2> sets the screen to be 80 columns wide
                   9551: hp2397a|hp2397|hewlett packard 2397A color terminal,
                   9552:        is2=\E&w6f80X,
                   9553:        use=memhp, use=hp+labels, use=hp+color,
                   9554:
                   9555: #
                   9556: # (hp2392: copied <rmir> here from hpex -- esr)
                   9557: hp2392|239x series,
                   9558:        cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
                   9559:        kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
                   9560:        kf8=\Ew\r, kri=\EV, kind=\EU, rmir=\ER, rmul=\E&d@, smir=\EQ,
                   9561:        smul=\E&dD, vpa=\E&a%p1%dY, cols#80,
                   9562:        khome=\Eh, knp=\Eu, kpp=\Ev,
                   9563:        use=hpsub,
                   9564:
                   9565: hpsub|hp terminals -- capability subset,
                   9566:        am, da, db, mir, xhp, xon,
                   9567:        lines#24,
                   9568:        bel=^G, clear=\EH\EJ, cr=\r, cub1=\b, cud1=\EB,
                   9569:        cuf1=\EC, cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
                   9570:        hpa=\E&a%p1%dC, ht=\t, if=/usr/share/tabset/stdcrt,
                   9571:        il1=\EL, ind=\n, is2=\E&s1A\E<\E&k0\\, kbs=\b,
                   9572:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   9573:        rmkx=\E&s0A, rmso=\E&d@, sgr0=\E&d@, smkx=\E&s1A,
                   9574:        smso=\E&dB,
                   9575:
                   9576: # hpex:
                   9577: #      May be used for most 24 x 80 hp terminals,
                   9578: # but has no padding added, so may allow runover in some terminals at high
                   9579: # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
                   9580: # hp98x5 terminal emulators or hp98x6 consoles.
                   9581: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   9582: # last line, and underline capabilities.
                   9583: #
                   9584: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
                   9585: # moved <rmir> here from hpsub -- esr)
                   9586: hpex|hp extended capabilites,
                   9587:        cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I,
                   9588:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   9589:        rmul=\E&d@, rmir=\ER, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub,
                   9590:
                   9591: # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
                   9592: hp2|hpex2|hewlett-packard extended capabilities newer version,
                   9593:        am, xhp, da, db, mir,
                   9594:        cols#80, lines#24, lm#0, xmc#0, nlab#8, lh#2, lw#8,
                   9595:        bel=^G, cr=\r, tbc=\E3, clear=\E&a0y0C\EJ,
                   9596:        el=\EK, ed=\EJ, hpa=\E&a%p1%dC, cup=\E&a%p1%dy%p2%dC,
                   9597:        cud1=\EB, cub1=\b, cuf1=\EC, cuu1=\EA,
                   9598:        dch1=\EP, dl1=\EM, smir=\EQ, smso=\E&dB,
                   9599:        smul=\E&dD, sgr0=\E&d@, rmir=\ER, rmso=\E&d@,
                   9600:        rmul=\E&d@, il1=\EL, kbs=\b, ktbc=\E3,
                   9601:        kclr=\EJ, kctab=\E2, kdch1=\EP, kdl1=\EM,
                   9602:        kcud1=\EB, krmir=\ER, kel=\EK, ked=\EJ,
                   9603:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
                   9604:        kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   9605:        khome=\Eh, kich1=\EQ, kil1=\EL, kcub1=\ED,
                   9606:        kll=\EF, knp=\EU, kpp=\EV, kcuf1=\EC,
                   9607:        kind=\ES, kri=\ET, khts=\E1, kcuu1=\EA,
                   9608:        rmkx=\E&s0A, smkx=\E&s1A, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   9609:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   9610:        vpa=\E&a%p1%dY, ind=\n, sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'^N'%c%e%'^O'%c%;,
                   9611:        hts=\E1, ht=\t, meml=\El, memu=\Em,
                   9612:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, smln=\E&jB, rmln=\E&j@,
                   9613:
                   9614: # HP 236 console
                   9615: # From: <ddavis@ic.berkeley.edu>
                   9616: hp236|hp236 internal terminal emulator,
                   9617:        am, OTbs,
                   9618:        cols#80, lines#24,
                   9619:        clear=\EF, cnorm=\EDE,
                   9620:        cub1=^H, cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   9621:        cvvis=\EDB, dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI,
                   9622:        il1=\EG, rmso=\ECI, sgr0=\ECI, smso=\EBI,
                   9623:
                   9624: # This works on a hp300 console running Utah 4.3 BSD
                   9625: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   9626: hp300h|HP Catseye console,
                   9627:        OTbs, am, da, db, mir, xhp,
                   9628:        cols#128, lines#51, lm#0, xmc#0,
                   9629:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H,
                   9630:        cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
                   9631:        dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
                   9632:        ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL,
                   9633:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   9634:        kcuu1=\EA, khome=\Eh, rmir=\ER, rmkx=\E&s0A,
                   9635:        rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smir=\EQ,
                   9636:        smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
                   9637:        vpa=\E&a%p1%dY,
                   9638: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   9639: hp9837|hp98720|hp98721|HP 9000/300 workstations,
                   9640:        am, da, db, mir, xhp, OTbs,
                   9641:        cols#128, it#8, lines#46, lm#0,
                   9642:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H,
                   9643:        cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
                   9644:        dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
                   9645:        ht=\t, hts=\E1, il1=\EL, ind=^J, is2=\E&v0m1b0i&j@,
                   9646:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   9647:        kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   9648:        kich1=\EQ, kil1=\EL, knp=\EU, kpp=\EV, rmir=\ER, rmkx=\E&s0A,
                   9649:        rmso=\E&v0S, rmul=\E&d@, sgr0=\E&d@, smir=\EQ,
                   9650:        smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, tbc=\E3,
                   9651:        vpa=\E&a%p1%dY,
                   9652: # HP 9845 desktop computer from BRL
                   9653: # (hp9845: removed unknown capability :gu: -- esr)
                   9654: hp9845|HP 9845,
                   9655:        OTbs, am, da, db, eo, mir, xhp,
                   9656:        cols#80, lines#21,
                   9657:        OTbc=\ED, clear=\EH\EJ, cuf1=\EC,
                   9658:        cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
                   9659:        ed=\EJ, el=\EK, if=/usr/share/tabset/std, il1=\EL,
                   9660:        rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
                   9661: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
                   9662: # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
                   9663: # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
                   9664: hp98550|hp98550a|HP 9000 Series 300 color console,
                   9665:        am, da, db, mir, xhp, OTbs,
                   9666:        cols#128, it#8, lines#49, lm#0,
                   9667:        acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei,
                   9668:        civis=\E*dR, clear=\EH\EJ, cnorm=\E*dQ, cr=^M,
                   9669:        cub1=^H, cud1=^J, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
                   9670:        cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ,
                   9671:        el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   9672:        if=/usr/share/tabset/std, il1=\EL, ind=^J,
                   9673:        invis=\E&ds, kbs=^H, kclr=\EJ, kctab=\E2,
                   9674:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   9675:        kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   9676:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
                   9677:        kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
                   9678:        kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV,
                   9679:        kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, rmacs=^O,
                   9680:        rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   9681:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A,
                   9682:        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   9683:
                   9684: bobcat|sbobcat|HP 9000 model 300 console,
                   9685:        am, da, db, mir, xhp,
                   9686:        cols#128, it#8, lines#47, xmc#0,
                   9687:        cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB,
                   9688:        cuf1=\EC, cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP,
                   9689:        dl1=\EM$<10*/>, ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>,
                   9690:        ht=^I, il1=\EL$<10*/>, ind=^J, kbs=^H, kcub1=\ED,
                   9691:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   9692:        nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@,
                   9693:        rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB,
                   9694:        smul=\E&dD, vpa=\E&a%dY$<6/>,
                   9695: gator-t|HP 9000 model 237 emulating extra-tall AAA,
                   9696:        lines#94, use=gator,
                   9697: gator|HP 9000 model 237 emulating AAA,
                   9698:        bw, km, mir, ul,
                   9699:        cols#128, it#8, lines#47,
                   9700:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H,
                   9701:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
                   9702:        dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
                   9703:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   9704:        hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@,
                   9705:        il=\E[%p1%dL$<1*/>, il1=\E[L, kbs=^H, kcub1=^H,
                   9706:        kcud1=^J, nel=^M^J, rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m,
                   9707:        rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   9708:        smso=\E[7m, smul=\E[4m,
                   9709: gator-52|HP 9000 model 237 emulating VT52,
                   9710:        cols#128, lines#47,
                   9711:        use=vt52,
                   9712: gator-52t|HP 9000 model 237 emulating extra-tall VT52,
                   9713:        lines#94, use=gator-52,
                   9714:
                   9715: #### Honeywell-Bull
                   9716: #
                   9717: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
                   9718: #
                   9719:
                   9720: # Honeywell Bull terminal.  Its cursor and function keys send single
                   9721: # control characters and it has standout/underline glitch.  Most programs
                   9722: # do not like these features/bugs.  Visual bell is realized by flashing the
                   9723: # "keyboard locked" LED.
                   9724: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
                   9725:        cols#80, lines#25,
                   9726:        clear=\035\037, cr=\r, cub1=\031, cud1=\013,
                   9727:        cuf1=\030, cup=\E[%i%p1%d;%p2%dH, cuu1=\032,
                   9728:        ed=\037, el=\E[K, flash=\E[2h\E[2l, home=\035,
                   9729:        ht=\011, ind=\012, kbs=\010, kcub1=\031,
                   9730:        kcud1=\013, kcuf1=\030, kcuu1=\032, khome=\035,
                   9731:        nel=\r\012,
                   9732: dku7003|Honeywell Bull DKU 7003 all features described,
                   9733:        msgr,
                   9734:        xmc#1,
                   9735:        blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m,
                   9736:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   9737:        use=dku7003-dumb,
                   9738:
                   9739: #### IBM
                   9740: #
                   9741:
                   9742: ibm327x|line mode IBM 3270 style,
                   9743:        gn, clear=^M^J, el=^M, home=^M,
                   9744:
                   9745: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
                   9746: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
                   9747: # (ibm3101: <if=/usr/share/tabset/ibm3101> removed, no such file -- esr)
                   9748: ibm3101|i3101|IBM 3101-10,
                   9749:        am, xon, OTbs,
                   9750:        cols#80, lines#24,
                   9751:        bel=\007, clear=\EK, cr=\r, cub1=^H, cud1=^J, cuf1=\EC,
                   9752:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   9753:        el=\EI, home=\EH, ht=^I, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
                   9754:        kbs=\010, kcuf1=\EC, kcuu1=\EA, nel=\015\012, tbc=\E1,
                   9755: #   Received from the IBM terminals division (given to DRB)
                   9756: #   June 1988 for PS/2 OS 2.2.3 cut
                   9757: ibm3151|i3151|IBM 3151,
                   9758:        smso=\E4\101, rmso=\E4\100,
                   9759:        smul=\E4\102, rmul=\E4\100,
                   9760:        sgr=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c,
                   9761:        sgr0=\E4\100,
                   9762:        tc=ibm3163,
                   9763: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
                   9764: # I've commented out or translated some IBM extensions.
                   9765: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
                   9766:        OTbs,
                   9767:        am,             mir,            cr=^M,          ind=^J,
                   9768:        cols#80,        it#8,           lines#24,       kich1=\EP\040\010,
                   9769:        ed=\EJ,         el=\EI,         cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   9770:        clear=\EH\EJ,   dch1=\EQ,       dl1=\EO,        cud1=\EB,
                   9771:        cub1=\ED,       blink=\E4D,     bold=\E4H,      sgr0=\E4@\E<@,
                   9772:        invis=\E4P,     rev=\E4A,       cuf1=\EC,       rmso=\E4@,
                   9773:        smso=\E4A,      rmul=\E4@,      cuu1=\EA,       smul=\E4B,
                   9774:        sgr=\E4%'@'%?%p1%t%'A'%|%;
                   9775:                   %?%p2%t%'B'%|%;
                   9776:                   %?%p3%t%'A'%|%;
                   9777:                   %?%p4%t%'D'%|%;
                   9778:                   %?%p5%t%'@'%|%;
                   9779:                   %?%p6%t%'H'%|%;
                   9780:                   %?%p7%t%'P'%|%;%c
                   9781:                   %?%p9%t\E>A%e\E<@%;,
                   9782:        acsc=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356,
                   9783:        .box1=\354\361\353\370\352\355\367\365\366\364\356,
                   9784:        .box2=\354\361\353\370\352\355\367\365\366\364\356, .batt2=md,
                   9785:        ktbc=\E\0401,   kil1=\EN,       kbs=^H,         kclr=\EL^M,
                   9786:        kcud1=\EB,      kdch1=\EQ,      kel=\EI,        khome=\EH,
                   9787:        kcub1=\ED,      kdl1=\EO,       .ktab=^I,       kcbt=\E2,
                   9788:        kcuf1=\EC,      ked=\EJ,        kctab=\E1,      khts=\E0,
                   9789:        kcuu1=\EA,      .knl=\r,        .kact=\E8\r,
                   9790:        kf1=\Ea\r,      kf2=\Eb\r,      kf3=\Ec\r,      kf4=\Ed\r,
                   9791:        kf5=\Ee\r,      kf6=\Ef\r,      kf7=\Eg\r,      kf8=\Eh\r,
                   9792:        kf9=\Ei\r,      kf10=\Ej\r,     kf11=\Ek\r,     kf12=\El\r,
                   9793:        kf13=\E!a\r,    kf14=\E!b\r,    kf15=\E!c\r,    kf16=\E!d\r,
                   9794:        kf17=\E!e\r,    kf18=\E!f\r,    kf19=\E!g\r,    kf20=\E!h\r,
                   9795:        kf21=\E!i\r,    kf22=\E!j\r,    kf23=\E!k\r,    kf24=\E!l\r,
                   9796:        smcup=\E>A,     rmcup=\E>A,     msgr,
                   9797:        home=\EH,       bel=^G,
                   9798:
                   9799: # How the 3164 sgr string works:
                   9800: #      %{32}           # push space for no special video characteristics
                   9801: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   9802: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   9803: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   9804: #      %c              # pop Pa1
                   9805: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   9806: #      %c              # pop Pa2
                   9807: #      %{64}           # use only black background for now
                   9808: #      %c              # pop Pa3
                   9809: ibm3164|i3164|IBM 3164,
                   9810:        blink=\E4D, bold=\E4H,
                   9811:        sgr=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c,
                   9812:        sgr0=\E4@,
                   9813:        use=ibm3163,
                   9814:
                   9815: ibmaed|IBM Experimental display,
                   9816:        am, eo, msgr, OTbs,
                   9817:        cols#80, it#8, lines#52,
                   9818:        clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
                   9819:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   9820:        dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, flash=\EG,
                   9821:        home=\EH, ht=\t, ich1=\EP, il1=\EN, kbs=^H, kcub1=\ED,
                   9822:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, rmso=\E0,
                   9823:        sgr0=\E0, smso=\E0,
                   9824: ibm-apl|apl|IBM apl terminal simulator,
                   9825:        lines#25,
                   9826:        use=dm1520,
                   9827: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   9828: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   9829: ibmmono|ibm5151|IBM workstation monochrome,
                   9830:        eslok, hs,
                   9831:        bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek,
                   9832:        il1=\EL, invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<,
                   9833:        kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
                   9834:        kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, khome=\EH,
                   9835:        kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
                   9836:        lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
                   9837:        sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW,
                   9838:        tsl=\Ej\EY8%+ \Eo, use=ibm3101,
                   9839: ibmega|ibm5154|IBM Enhanced Color Display,
                   9840:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   9841:        kcud1=^J, nel=^M^J, use=ibmmono,
                   9842: ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
                   9843:        rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, use=ibmmono,
                   9844: ibmvga-c|IBM VGA display color termcap,
                   9845:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   9846:        kcud1=^J, nel=^M^J, use=ibmega-c,
                   9847: ibmvga|IBM VGA display,
                   9848:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   9849:        kcud1=^J, nel=^M^J, use=ibmega,
                   9850: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   9851: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display,
                   9852:        lines#32,
                   9853:        dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
                   9854: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   9855: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display,
                   9856:        lines#31,
                   9857:        dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
                   9858: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
                   9859:        lines#31,
                   9860:        dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek,
                   9861:        tsl=\Ej\EY?%+ \Eo, use=ibmega-c,
                   9862: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   9863: # also in /usr/lpp/bos/bsdsysadmin.
                   9864: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   9865: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   9866: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
                   9867: # I also added <rmam>/<smam> based on the terminal reset string.
                   9868: # There was an unknown boolean ":ht:" which I assume was meant to set hardware
                   9869: # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
                   9870: # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
                   9871: ibm8512|ibm8513|hft-c|IBM High Function Terminal,
                   9872:        am, mir, msgr,
                   9873:        cols#80, it#8, lines#25,
                   9874:        acsc=, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cub1=\E[D, cud1=^J,
                   9875:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM,
                   9876:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL,
                   9877:        il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A,
                   9878:        kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
                   9879:        kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\E[009q,
                   9880:        khome=\E[H, rc=\E[u, rev=\E[7m, rmacs=^O, rmam=\E[?7l, rmcup=\E[20h,
                   9881:        rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   9882:        rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, smacs=^N,
                   9883:        smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, smdc=\E[4h,
                   9884:        smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   9885: hft|AIWS High Function Terminal,
                   9886:        am, xon,
                   9887:        cols#80, lines#25,
                   9888:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
                   9889:        cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   9890:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   9891:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   9892:        ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
                   9893:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9894:        kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
                   9895:        kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
                   9896:        kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
                   9897:        ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m,
                   9898:        rmul=\E[m, sgr0=\E[m, smir=\E6, smso=\E[7m,
                   9899:        smul=\E[4m,
                   9900: ibm-system1|system1|ibm system/1 computer,
                   9901:        ind=^J, bel=^G, xt, am, cub1=^H,
                   9902:        cup=^E%p1%{32}%+%c%p2%{32}%+%c, clear=^Z,
                   9903:        cols#80, home=^K, lines#24, cuf1=^\, cuu1=^^,
                   9904:
                   9905: # From: <pryor@math.berkeley.edu>
                   9906: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 Megapel color display,
                   9907:        eslok, hs,
                   9908:        lines#33,
                   9909:        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono,
                   9910: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
                   9911:        eslok, hs,
                   9912:        lines#33,
                   9913:        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c,
                   9914: ibm8514|IBM 8514 color display,
                   9915:        eslok, hs,
                   9916:        lines#41,
                   9917:        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I,
                   9918:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   9919:        tsl=\Ej\EYI%+ \Eo, use=ibmega,
                   9920: ibm8514-c|IBM 8514 color display with standout and underline,
                   9921:        eslok, hs,
                   9922:        lines#41,
                   9923:        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I,
                   9924:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   9925:        tsl=\Ej\EYI%+ \Eo, use=ibmega-c,
                   9926:
                   9927: #
                   9928: # AIX entries.  IBM ships these with AIX 3.
                   9929: # AIX extension caps are commented out,
                   9930: # except for box1 which has been translated to an <acsc> string.
                   9931: #
                   9932: aixterm-m|IBM AIXterm Monochrome Terminal Emulator,
                   9933:        bold=\E[1m, .topl=\E[38m, .btml=\E[49m, .rvert=\E[48m, .lvert=\E[39m,
                   9934:        hs, eslok, tsl=\E[?%p1%dT, fsl=\E[?F, dsl=\E[?E, ri@,
                   9935:        acsc=llqqkkxxjjmmwwuuvvttnn,
                   9936:        .box1=\154\161\153\170\152\155\167\165\166\164\156, .batt1=f1,
                   9937:        .box2=\154\161\153\170\152\155\167\165\166\164\156, .batt2=f1md,
                   9938:        s0ds=\E(B,     s1ds=\E(0,  sgr0=\E[0;10m\E(B,
                   9939:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   9940:        use=ibm6153,
                   9941: aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
                   9942:        bold=\E[1m,
                   9943:        hs, eslok, tsl=\E[?%p1%dT, fsl=\E[?F, dsl=\E[?E, ri@,
                   9944:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   9945:        use=ibm6153,
                   9946: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
                   9947:        acsc@, .box1@, .box2@,
                   9948:        use=aixterm-m,
                   9949:
                   9950: #### Infoton/General Terminal Corp.
                   9951: #
                   9952:
                   9953: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   9954: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
                   9955:        am, OTbs,
                   9956:        cols#80, lines#24,
                   9957:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   9958:        cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
                   9959:        ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, ind=^J,
                   9960:        rmso=\Ea, smso=\Eb,
                   9961: i400|infoton 400,
                   9962:        am, OTbs,
                   9963:        cols#80, lines#25,
                   9964:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   9965:        cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A,
                   9966:        dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
                   9967:        il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
                   9968: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   9969: addrinfo,
                   9970:        am,
                   9971:        cols#80, lines#24,
                   9972:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
                   9973:        cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K,
                   9974:        home=^H, ll=^H^\, ind=^J,
                   9975: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
                   9976: infoton,
                   9977:        am,
                   9978:        cols#80, lines#24,
                   9979:        bel=^G, clear=\f, cr=\r, cub1=^Z, cud1=\n, cuf1=^Y,
                   9980:        cuu1=^\, ed=^K, ind=\n, ll=\b^\,
                   9981:
                   9982: # The ICL6402 was actually the Kokusai Display System 6402.
                   9983: # The 6404 was the KDS7372 (color version of the 6402).
                   9984: #
                   9985: # ICL6404 control codes follow:
                   9986: #
                   9987: #code            function
                   9988: #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   9989: #ctrl-A          set SOM position at cursor position
                   9990: #ctrl-G          Bell
                   9991: #ctrl-H          Backspace
                   9992: #ctrl-I          Horiz tab
                   9993: #ctrl-J          Linefeed
                   9994: #ctrl-K          Cursor up
                   9995: #ctrl-L          Cursor right
                   9996: #ctrl-M          Carriage return
                   9997: #ctrl-N          Disable xon/xoff to host
                   9998: #ctrl-O          Enable xon/xoff to host
                   9999: #ctrl-R          Enable bidirectional mode
                   10000: #ctrl-T          Disable bidirectional mode
                   10001: #ctrl-V          Cursor down
                   10002: #ctrl-Z          Clear unprotected data to insert char
                   10003: #ctrl-^          Cursor home
                   10004: #ctrl-_          Newline
                   10005: #
                   10006: #ESC             lead-in char for multiple character command
                   10007: #
                   10008: #ESC space R     execute power on sequence
                   10009: #ESC ! p1 p2     define scroll region:
                   10010: #                p1 = scroll top    line:  20h - 37h
                   10011: #                p1 = scroll bottom line:  20h - 37h
                   10012: #ESC "           unlock keyboard
                   10013: #ESC #           lock keyboard
                   10014: #ESC $           Semi-graphics mode on
                   10015: #ESC %           Semi-graphics mode off
                   10016: #ESC &           protect mode on
                   10017: #ESC '           protect mode off
                   10018: #ESC (           write protect mode off (full intensity)
                   10019: #ESC )           write protect mode on (half intensity)
                   10020: #
                   10021: #ESC *           clear screen
                   10022: #ESC +           clear unprotected data to insert char
                   10023: #ESC ,           clear unprotected data to half intensity spaces
                   10024: #ESC - p1 p2 p3 p4     address cursor to page, row, column:
                   10025: #                      p1 = page number  0 - 3
                   10026: #                      p2 = row          20h - 7fh
                   10027: #                      p3 = column (lo)  20h - 7fh
                   10028: #                      p4 = column (hi)  20h - 21h (only 132 col)
                   10029: #ESC . p1        set cursor style:
                   10030: #                p1 = 0  invisible cursor
                   10031: #                p1 = 1  block blinking cursor
                   10032: #                p1 = 2  block steady cursor
                   10033: #                p1 = 3  underline blinking cursor
                   10034: #                p1 = 4  underline steady cursor
                   10035: #ESC /           transmit cursor location (page, row, column)
                   10036: #ESC 0 p1 p2 p3 p4     program edit key:
                   10037: #                      p1 = edit key code: '@'-'S', '`'-'s'
                   10038: #                      p2 p3 p4 = program data (3 bytes)
                   10039: #
                   10040: #ESC 1           set tab
                   10041: #ESC 2           clear tab at cursor
                   10042: #ESC 3           clear all tabs
                   10043: #ESC 4           send unprotect line to cursor
                   10044: #ESC 5           send unprotect page to cursor
                   10045: #ESC 6           send line to cursor
                   10046: #ESC 7           send page to cursor
                   10047: #ESC 8 n         set scroll mode:
                   10048: #                n = 0   set jump scroll
                   10049: #                n = 1   set smooth scroll
                   10050: #ESC 9 n         control display:
                   10051: #                n = 0   display off
                   10052: #                n = 1   display on
                   10053: #ESC :           clear unprotected data to null
                   10054: #ESC ;           clear unprotected data to insert char
                   10055: #
                   10056: #ESC <           keyclick on
                   10057: #ESC = p1 p2     address cursor to row, column
                   10058: #                p1 = row          20h - 7fh
                   10059: #                p2 = column (lo)  20h - 7fh
                   10060: #                p3 = column (hi)  20h - 21h (only 132 col)
                   10061: #ESC >           keyclick off
                   10062: #ESC ?           transmit cursor location (row, column)
                   10063: #
                   10064: #ESC @           copy print mode on
                   10065: #ESC A           copy print mode off
                   10066: #ESC B           block mode on
                   10067: #ESC C           block mode off (conversation mode)
                   10068: #ESC D F         set full duplex
                   10069: #ESC D H         set half duplex
                   10070: #ESC E           line insert
                   10071: #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
                   10072: #                0 = black, 1 = red,     2 = green, 3 = yellow
                   10073: #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
                   10074: #ESC G n         set serial field attribute (n = 30h - 3Fh)
                   10075: #ESC H n         full graphics mode:
                   10076: #                n = 0  exit full graphics mode
                   10077: #                n = 1  enter full graphics mode
                   10078: #ESC I           back tab
                   10079: #ESC J           back page
                   10080: #ESC K           forward page
                   10081: #
                   10082: #ESC L           unformatted page print
                   10083: #ESC M L         move window left  (132 col mode only)
                   10084: #ESC M R         move window right (132 col mode only)
                   10085: #ESC N           set page edit (clear line edit)
                   10086: #ESC O           set line edit (clear page edit)
                   10087: #ESC P           formatted page print
                   10088: #ESC Q           character insert
                   10089: #ESC R           line delete
                   10090: #ESC S           send message unprotected only
                   10091: #ESC T           erase line to insert char
                   10092: #ESC U           set monitor mode   (see ESC X, ESC u)
                   10093: #
                   10094: #ESC V n         select video attribute mode:
                   10095: #                n = 0   serial field attribute mode
                   10096: #                n = 1   parallel character attribute mode
                   10097: #ESC V 2 n       define line attribute:
                   10098: #                n = 0   single width single height
                   10099: #                n = 1   single width double height
                   10100: #                n = 2   double width single height
                   10101: #                n = 3   double width double height
                   10102: #ESC V 3 n       select character font:
                   10103: #                n = 0   system font
                   10104: #                n = 1   user defined font
                   10105: #ESC V 4 n       select screen mode:
                   10106: #                n = 0   page screen mode
                   10107: #                n = 1   virtual screen mode
                   10108: #ESC V 5 n       control mouse mode:
                   10109: #                n = 0   disable mouse
                   10110: #                n = 1   enable sample mode
                   10111: #                n = 2   send mouse information
                   10112: #                n = 3   enable request mode
                   10113: #ESC W           character delete
                   10114: #ESC X           clear monitor mode (see ESC U, ESC u)
                   10115: #ESC Y           erase page to insert char
                   10116: #
                   10117: #ESC Z n         send user/status line:
                   10118: #                n = 0   send user line
                   10119: #                n = 1   send status line
                   10120: #                n = 2   send terminal ID
                   10121: #ESC [ p1 p2 p3  set character attribute (parallel char mode):
                   10122: #                p1: 0 = normal
                   10123: #                    1 = blank
                   10124: #                    2 = blink
                   10125: #                    3 = blink blank (= blank)
                   10126: #                    4 = reverse
                   10127: #                    5 = reverse blank
                   10128: #                    6 = reverse blink
                   10129: #                    7 = reverse blink blank (= reverse blank)
                   10130: #                    8 = underline
                   10131: #                    9 = underline blank
                   10132: #                    : = underline blink
                   10133: #                    ; = underline blink blank
                   10134: #                    < = reverse underline
                   10135: #                    = = reverse underline blank
                   10136: #                    > = reverse underline blink
                   10137: #                    ? = reverse underline blink blank
                   10138: #                p2, p3: f/grnd, b/grnd colour
                   10139: #                (see ESC F for colours)
                   10140: #                use ZZ for mono, eg.
                   10141: #                    ESC [ 0 Z Z for normal
                   10142: #                    ESC [ 4 Z Z for inverse etc.
                   10143: #
                   10144: #ESC \ n         set page size:
                   10145: #                n = 1   24 lines/page
                   10146: #                n = 2   48 lines/page
                   10147: #                n = 3   72 lines/page
                   10148: #                n = 4   96 lines/page
                   10149: #ESC ] n         set Wordstar mode:
                   10150: #                n = 0   normal (KDS7372) mode
                   10151: #                n = 1   Wordstar mode
                   10152: #
                   10153: #ESC b           set foreground colour screen
                   10154: #
                   10155: #ESC c n         enter self-test mode:
                   10156: #                n = 0   exit self test mode
                   10157: #                n = 1   ROM test
                   10158: #                n = 2   RAM test
                   10159: #                n = 3   NVRAM test
                   10160: #                n = 4   screen display test
                   10161: #                n = 5   main/printer port test
                   10162: #                n = 6   mouse port test
                   10163: #                n = 7   graphics board test
                   10164: #                n = 8   graphics memory test
                   10165: #                n = 9   display all 'E'
                   10166: #                n = :   display all 'H'
                   10167: #ESC d           set background colour screen
                   10168: #
                   10169: #ESC e n         program insert char (n = insert char)
                   10170: #ESC f text CR   load user status line with 'text'
                   10171: #
                   10172: #ESC g           display user status line on 25th line
                   10173: #ESC h           display system status line on 25th line
                   10174: #ESC i           tab
                   10175: #ESC j           reverse linefeed
                   10176: #ESC k n         duplex/local edit mode:
                   10177: #                n = 0   duplex edit mode
                   10178: #                n = 1   local edit mode
                   10179: #ESC l n         select virtual screen:
                   10180: #                n = 0   screen 1
                   10181: #                n = 1   screen 2
                   10182: #ESC m           save current config to NVRAM
                   10183: #ESC n p1        select display screen:
                   10184: #                p1 = 0  screen 1
                   10185: #                p1 = 1  screen 2
                   10186: #                p1 = 2  screen 3
                   10187: #                p1 = 3  screen 4
                   10188: #ESC o p1 p2     set characters/line and attribute:
                   10189: #                p1 = 0  80 chars/line
                   10190: #
                   10191: #ESC o p1 p2     set characters/line and attribute:
                   10192: #                p1 = 0  80 chars/line
                   10193: #                p1 = 1  132 chars/line
                   10194: #                p2 = 0  single width single height
                   10195: #                p2 = 1  single width double height
                   10196: #                p2 = 2  double width single height
                   10197: #                p2 = 3  double width double height
                   10198: #
                   10199: #ESC q           insert mode on
                   10200: #ESC r           edit mode on
                   10201: #ESC s           send message all
                   10202: #ESC t           erase line to null
                   10203: #ESC u           clear monitor mode (see ESC U, ESC X)
                   10204: #ESC v           autopage mode on
                   10205: #ESC w           autopage mode off
                   10206: #ESC x p1 p2 p3  define delimiter code...
                   10207: #ESC y           erase page to null
                   10208: #
                   10209: #ESC z 2 p1 p2 p3 p4   draw quadrangle:
                   10210: #                      p1 = starting row
                   10211: #                      p2 = starting column
                   10212: #                      p3 = end row
                   10213: #                      p4 = end column
                   10214: #
                   10215: #ESC { p1 p2 p3 p4     configure main port
                   10216: #                      (baud, stop bits, parity, word length)
                   10217: #
                   10218: #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
                   10219: #                        p1 = function key code:
                   10220: #                             '1' - ';'  normal f1- f11
                   10221: #                             '<' - 'F'  shifted f1 - f11
                   10222: #                        p2 = program mode:
                   10223: #                             1 = FDX
                   10224: #                             2 = LOC
                   10225: #                             3 = HDX
                   10226: #                        Ctrl-Y = terminator
                   10227: #                        (use Ctrl-P to escape ^P, ^Y )
                   10228: #
                   10229: #ESC } p1 p2 p3 p4     configure printer port
                   10230: #                      (baud, stop bits, parity, word length)
                   10231: #ESC ~           send system status
                   10232: #
                   10233: # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
                   10234: #
                   10235: # Entry is by esr going solely on above information and is UNTESTED.
                   10236: # This actually looks a lot like a Televideo 9xx.
                   10237: # This entry uses page 0 and is monochrome; I'm not brave enough to try
                   10238: # to make color work without a test terminal.  The <am> capability is a guess.
                   10239: # The initialization string sets conversation mode, blinking underline cursor,
                   10240: # full duplex, parallel attribute mode, display user status line, white
                   10241: # foreground, black background, normal highlight.
                   10242: #
                   10243: icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
                   10244:        OTbs, am, hs,
                   10245:        cols#80, lines#24,
                   10246:        bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*, cnorm=\E.3,
                   10247:        cr=^M, csr=\E!%+%p1%{32}%+%p2%{32} cud1=^V, cuf1=^L, cup=\E=%p1%'
                   10248:        '%+%c%p2%{80}%m%' '%+%c%p2%{80}%>%' '%+%c, cuu1=^K, cvvis=\E.1,
                   10249:        dch=\EW, dl1=\ER, home=^^, ht=^I, hts=\E1, il1=\EE, invis=\E[1ZZ,
                   10250:        is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ, rmir=\Er,
                   10251:        rmso=\E[%gh%{4}%^%Ph%gh%dZZ, rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
                   10252:        sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ,
                   10253:        sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
                   10254: icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
                   10255:        rs2=\Eo1, use=icl6404,
                   10256:
                   10257: #### Interactive Systems Corp
                   10258: #
                   10259: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   10260: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   10261: # bought out by Sun.
                   10262: #
                   10263:
                   10264: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
                   10265: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
                   10266: # ":le=^_:" later overridden -- esr)
                   10267: intext|Interactive Systems Corporation modified owl 1200,
                   10268:        am, OTbs,
                   10269:        cols#80, it#8, lines#24, xmc#1,
                   10270:        bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H,
                   10271:        cud1=^J, cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c,
                   10272:        cuu1=^\, dch1=\022$<5.5*>, dl1=\021$<5.5*>,
                   10273:        ed=\026J$<5.5*>, el=^Kp^R, ht=^I, il1=\020$<5.5*>,
                   10274:        ind=^J, ip=$<5.5*>, kbs=^H, kcub1=^_, kcud1=^J,
                   10275:        kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
                   10276:        kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r,
                   10277:        kf6=^VF\r, kf7=^VG\r, kf8=^VH\r, kf9=^VI\r,
                   10278:        khome=^Z, rmir=^V<, rmkx=^V9, rmso=^V# , smir=^V;,
                   10279:        smkx=\036\072\264\026%, smso=^V$\054,
                   10280: intext2|intextii|INTERACTIVE modified owl 1251,
                   10281:        am, bw, ul,
                   10282:        cols#80, lines#24, xmc#0,
                   10283:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
                   10284:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10285:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
                   10286:        flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
                   10287:        hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L,
                   10288:        ind=\E[S, kbs=^H, kcub1=\ED\r, kcud1=\EB\r,
                   10289:        kcuf1=\EC\r, kcuu1=\EA\r, kf0=\E@\r, kf1=\EP\r,
                   10290:        kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, kf5=\EU\r,
                   10291:        kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
                   10292:        khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET,
                   10293:        lf3=GOTO, lf4=+PAGE, lf5=+SRCH, lf6=-PAGE,
                   10294:        lf7=-SRCH, lf8=LEFT, lf9=RIGHT, ri=\E[T,
                   10295:        rmso=\E[2\sD, rmul=\E[2\sD, smso=\E[6\sD,
                   10296:        smul=\E[18\sD,
                   10297:
                   10298: #### Kimtron (abm, kt)
                   10299: #
                   10300: # Kimtron seems to be history, but as March 1998 these people are still
                   10301: # offering repair services for Kimtron equipment:
                   10302: #
                   10303: #    Com/Pair Monitor Service
                   10304: #    1105 N. Cliff Ave.
                   10305: #    Sioux Falls, South Dakota 57103
                   10306: #
                   10307: #    WATS voice:  1-800/398-4946
                   10308: #    POTS   fax: +1 605/338-8709
                   10309: #    POTS voice: +1 605/338-9650
                   10310: #         Email: <compair@sd.cybernex.net>
                   10311: #  Internet/Web: <http://www.com-pair.com>
                   10312: #
                   10313: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   10314: # enter bold mode, enter reverse mode, turn off all attributes.
                   10315: #
                   10316:
                   10317: # Kimtron ABM 85 added by Dual Systems
                   10318: # (abm85: removed duplicated ":kd=^J:" -- esr)
                   10319: abm85|Kimtron ABM 85,
                   10320:        am, bw, msgr, OTbs,
                   10321:        cols#80, it#8, lines#24, xmc#1,
                   10322:        cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
                   10323:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   10324:        dl1=\ER, ed=\Ey, el=\Et, ht=\t,
                   10325:        if=/usr/share/tabset/stdcrt, il1=\EE,
                   10326:        is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H,
                   10327:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   10328:        rmir=\Er, rmso=\Ek, rmul=\Em, smir=\EQ, smso=\Ej,
                   10329:        smul=\El,
                   10330: # Kimtron ABM 85H added by Dual Systems.
                   10331: # Some notes about the abm85h entries:
                   10332: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
                   10333: #    firmware revs prior to SP51
                   10334: # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
                   10335: #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
                   10336: #    in some places and NOT software settable i.e., <is2> can't fix it)
                   10337: # 3) In 85h mode, the arrow keys and special functions transmit when
                   10338: #    the terminal is in dup-edit, and work only locally in local-edit.
                   10339: #    Vi won't swallow `del char' for instance, but <smcup> turns on
                   10340: #    dup-edit anyway so that the arrow keys will work right. If the
                   10341: #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
                   10342: #    <is2>.  Note that 920E mode does not have software commands to toggle
                   10343: #    between dup and local edit, so you get whatever was set last on the
                   10344: #    terminal.
                   10345: # 4) <flash> attribute is nice, but seems too slow to work correctly
                   10346: #    (\Eb<pad>\Ed)
                   10347: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
                   10348: #    are selected, the <xmc@> entry should be removed.
                   10349: # 6) auto new-line should be on (selectable from setup mode only)
                   10350: #
                   10351: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
                   10352: abm85h|Kimtron ABM 85H native mode,
                   10353:        hs, xmc@,
                   10354:        cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
                   10355:        bel=^G, fsl=^M,
                   10356:        is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El,
                   10357:        kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef,
                   10358:        invis@, use=adm+sgr, use=abm85,
                   10359: abm85e|Kimtron ABM 85H in 920E mode,
                   10360:        xmc@,
                   10361:        bel=^G, dim=\E), flash@,
                   10362:        is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
                   10363:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
                   10364: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
                   10365:        xmc@,
                   10366:        bel=^G, dim=\E),
                   10367:        is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
                   10368:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
                   10369: # From: <malman@bbn-vax.arpa>
                   10370: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
                   10371: kt7|kimtron model kt-7,
                   10372:        am, OTbs,
                   10373:        cols#80, it#8, lines#24,
                   10374:        cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
                   10375:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   10376:        dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=\t,
                   10377:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE,
                   10378:        is2=\El\E", kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H,
                   10379:        kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   10380:        kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   10381:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   10382:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   10383:        kich1=\EQ, kil1=\EE, tsl=\Ef,
                   10384:        invis@, use=adm+sgr,
                   10385: # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
                   10386: # other kt7 entry and the adjacent key capabilities).  Removed EE which is
                   10387: # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
                   10388: # but we can't figure out what.
                   10389: kt7ix|kimtron model kt-7 or 70 in IX mode,
                   10390:        am, bw,
                   10391:        cols#80, it#8, lines#25,
                   10392:        acsc=lZm@k?jYt4uCvAwBqDx3nE, bel=^G, blink=\EG2, cbt=\EI,
                   10393:        civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
                   10394:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   10395:        dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
                   10396:        home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J,
                   10397:        is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*,
                   10398:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER,
                   10399:        ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   10400:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   10401:        kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ,
                   10402:        nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0,
                   10403:        sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef,
                   10404:
                   10405: #### Microdata/MDIS
                   10406: #
                   10407: # This was a line of terminals made by McDonnell-Douglas Information Systems.
                   10408: # These entries come direct from MDIS documentation.  I have edited them only
                   10409: # to move primary names of the form p[0-9] * to aliases, and to comment out
                   10410: # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have
                   10411: # also removed the change history; the last version indicates this is
                   10412: # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
                   10413: #
                   10414:
                   10415: # McDonnell Information Systems Terminal Family History
                   10416: # =========================================
                   10417: #
                   10418: # Prism-1, Prism-2 and P99:
                   10419: #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
                   10420: #
                   10421: # Prism-4 and Prism-5:
                   10422: #       Slightly less ancient range of Microdata terminals. Follow-on from
                   10423: #       Prism-2, but with many enhancements. P5 has eight display pages.
                   10424: #
                   10425: # Prism-6:
                   10426: #       A special terminal for use with library systems, primarily in Germany.
                   10427: #       Limited numbers. Similar functionality to P5 (except attributes?).
                   10428: #
                   10429: # Prism-7, Prism-8 and Prism-9:
                   10430: #       More recent range of MDIS terminals, in which P7 and P8
                   10431: #       replace the P4 & P5, with added functionality, and P9 is the flagship.
                   10432: #       The P9 has two emulation modes - P8 and ANSI - and includes a
                   10433: #       large number of the DEC VT220 control sequences. Both
                   10434: #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
                   10435: #
                   10436: # Prism-12 and Prism-14:
                   10437: #       Latest range, functionally very similar to the P9.  The P14 has a
                   10438: #       black-on-white overscanning screen.
                   10439: #
                   10440: # The terminfo definitions given here are:
                   10441: #
                   10442: # p2      - Prism-2 (or Prism-1 or P99).
                   10443: #
                   10444: # p4      - Prism-4 (and older P7s & P8s).
                   10445: # p5      - Prism-5 (or Prism-6).
                   10446: #
                   10447: # p7      - Prism-7.
                   10448: # p8      - Prism-8 (in national or multinational mode).
                   10449: # p8-w    - 132 column version of p8.
                   10450: # p9      - Prism-9 in ANSI mode.
                   10451: # p9-w    - 132 column version of p9.
                   10452: # p9-8    - Prism-9 in Prism-8 emulation mode.
                   10453: # p9-8-w  - As p9-8, but with 132 columns.
                   10454: #
                   10455: # p12     - Prism-12 in ANSI mode.
                   10456: # p12-w   - 132 column version of p12.
                   10457: # p12-m   - Prism-12 in MDC emulation mode.
                   10458: # p12-m-w - As p12-m, but with 132 columns.
                   10459: # p14     - Prism-14 in ANSI mode.
                   10460: # p14-w   - 132 column version of p14.
                   10461: # p14-m   - Prism-14 in MDC emulation mode.
                   10462: # p14-m-w - As p14-m, but with 132 columns.
                   10463: #
                   10464: # p2: Prism-2
                   10465: # -----------
                   10466: #
                   10467: # Includes Prism-1 and basic P99 without SP or MP loaded.
                   10468: # The simplest form of Prism-type terminal.
                   10469: # Basic cursor movement and clearing operations only.
                   10470: # No video attributes.
                   10471: # Notes:
                   10472: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   10473: #  value up, followed by backspace.
                   10474: #
                   10475: prism2|MDC Prism-2,
                   10476:        am, bw, msgr,
                   10477:        cols#80, lines#24,
                   10478:        bel=^G, clear=\f$<20>, cr=\r,
                   10479:        cub1=\b, cud1=\n, cuf1=^F,
                   10480:        cup=^K%p1%'\s'%+%c^P%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   10481:        cuu1=^Z, ed=\EJ, el=\EK, home=^A,
                   10482:        hpa=^P%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, ind=\n,
                   10483:        kbs=\b, khome=^A,
                   10484:        vpa=^K%p1%'\s'%+%c,
                   10485:
                   10486: # p4: Prism-4
                   10487: # -----------
                   10488: #
                   10489: # Includes early versions of P7 & P8.
                   10490: # Basic family definition for most Prisms (except P2 and P9 ANSI).
                   10491: # Notes:
                   10492: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   10493: #  value up, followed by backspace.
                   10494: #  Cursor key definitions removed because they interfere with vi and csh keys.
                   10495: #
                   10496: prism4|p4|P4|MDC Prism-4,
                   10497:        am, bw, hs, mc5i, msgr,
                   10498:        cols#80, lines#24, wsl#72, xmc#1,
                   10499:        bel=^G, blink=^CB, clear=\f$<20>, cr=\r, civis=^]\344, cnorm=^]\342,
                   10500:        cub1=\b, cud1=\n, cuf1=^F,
                   10501:        cup=^K%p1%'\s'%+%c^P%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   10502:        cuu1=^Z, dsl=^]\343^]\345, dim=^CA, ed=\EJ, el=\EK, fsl=^]\345, home=^A,
                   10503:        hpa=^P%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, ind=\n, invis=^CH,
                   10504:        kbs=\b, khome=^A,
                   10505:        mc0=\EU, mc4=\ET, mc5=\ER,
                   10506:        rev=^CD, rmso=^C\s, rmul=^C\s,
                   10507:        sgr=^C%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t^N%e^O%;,
                   10508:        sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
                   10509:        vpa=^K%p1%'\s'%+%c,
                   10510:
                   10511: # p5: Prism-5
                   10512: # -----------
                   10513: #
                   10514: # Same definition as p4. Includes Prism-6 (not tested!).
                   10515: # Does not use any multi-page features.
                   10516: #
                   10517: prism5|p5|P5|MDC Prism-5,
                   10518:        use=p4,
                   10519:
                   10520: # p7: Prism-7
                   10521: # -----------
                   10522: #
                   10523: # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
                   10524: # Notes:
                   10525: #  Use p4 for very early models of P7.
                   10526: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   10527: #
                   10528: prism7|p7|P7|MDC Prism-7,
                   10529:        cup=\E[%i%p1%d;%p2%dH,
                   10530:        hpa@,
                   10531:        .ri=^]\355^A\000\000\000^N0^]\357\000\000\000P\s$<25>,
                   10532:        vpa@,
                   10533:        use=p4,
                   10534:
                   10535: # p8: Prism-8
                   10536: # -----------
                   10537: #
                   10538: # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
                   10539: # Supports national and multinational character sets.
                   10540: # Notes:
                   10541: #  Alternate char set operations only work in multinational mode.
                   10542: #  Use p4 for very early models of P8.
                   10543: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   10544: # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
                   10545: #
                   10546: prism8|p8|P8|MDC Prism-8,
                   10547:        cup=\E[%i%p1%d;%p2%dH,
                   10548:        hpa=\E[%i%p1%d`,
                   10549:        is2=\E[<12h,
                   10550:        .rmacs=^O, .smacs=^N,
                   10551:        .ri=^]\355^A\000\000\000^N0^]\357\000\000\000P\s$<25>,
                   10552:        vpa=\E[%i%p1%dd,
                   10553:        use=p4,
                   10554:
                   10555: # p8-w: Prism-8 in 132 column mode
                   10556: # --------------------------------
                   10557: #
                   10558: # 'Wide' version of p8.
                   10559: # Notes:
                   10560: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   10561: #
                   10562: prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode,
                   10563:        cols#132,
                   10564:        is2=\E[<12h\E[<14h,
                   10565:        .ri=^]\355\r\000\f\000^K\,^]\355^A\000\000\000\f0^]\357\000\000\201\204$<25>,
                   10566:        use=p8,
                   10567:
                   10568: # p9: Prism-9 in ANSI mode
                   10569: # -------------------------
                   10570: #
                   10571: # The "flagship" model of this generation of terminals.
                   10572: # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
                   10573: # Notes:
                   10574: #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
                   10575: #  Fixes to deal with terminal firmware bugs:
                   10576: #  . 'ri' uses insert-line since rev index doesn't always
                   10577: #  . 'sgr0' has extra '0' since esc[m fails
                   10578: #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
                   10579: #  Not covered in the current definition:
                   10580: #  . Labels
                   10581: #  . Programming Fn keys
                   10582: #  . Graphic characters (defaults correctly to vt100)
                   10583: #  . Padding values (sets xon)
                   10584: # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
                   10585: #
                   10586: prism9|p9|P9|MDC Prism-9 in ANSII mode,
                   10587:        am, bw, hs, mc5i, msgr, xenl, xon,
                   10588:        cols#80, it#8, lines#24, vt#3, wsl#72,
                   10589:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, cnorm=\E[<4h,
                   10590:        clear=\f, cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, cuu=\E[%p1%dA,
                   10591:        cr=\r, csr=\E[%i%p1%d;%p2%d%%v,
                   10592:        cub1=\b, cud1=\n, cuf1=\E[C, cuu1=\E[A, cup=\E[%i%p1%d;%p2%dH,
                   10593:        dch1=\E[P, dch=\E[%p1%dP, dl1=\E[M, dl=\E[%p1%dM, dsl=\E[%}\024,
                   10594:        ech=\E[%p1%dX, ed=\E[J$<10>, el=\E[K, .enacs=^N, fsl=\024,
                   10595:        home=\E[H, hpa=\E[%i%p1%d`, ht=\t, hts=\EH,
                   10596:        .ich1=\E[@, .ich=\E[%p1%d@, il1=\E[L, il=\E[%p1%dL, ind=\n,
                   10597:        is2=\E[&p\E[<12l\E\sF,
                   10598:        kbs=\b, kclr=\f, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   10599:    kf1=\E[11~,kf2=\E[12~,kf3=\E[13~,kf4=\E[14~,kf5=\E[15~,
                   10600:        kf6=\E[17~,kf7=\E[18~,kf8=\E[19~,kf9=\E[20~,kf10=\E[21~,
                   10601:        kf11=\E[23~,kf12=\E[24~,kf13=\E[25~,kf14=\E[26~,kf15=\E[28~,
                   10602:        kf16=\E[29~,kf17=\E[31~,kf18=\E[32~,
                   10603:        khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\r\n,
                   10604:        prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, ri=\E[L,
                   10605:        .rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   10606:        rs2=\E[&p\E[<12l\E\sF\E[3g\E[9;17;25;33;41;49;57;65;73\sN, sc=\E[%y,
                   10607:        sgr=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t^N%e^O%;,
                   10608:        sgr0=\E[0m, .smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   10609:        tbc=\E[2g, tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
                   10610:
                   10611: # p9-w: Prism-9 in 132 column mode
                   10612: # --------------------------------
                   10613: #
                   10614: # 'Wide' version of p9.
                   10615: #
                   10616: prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode,
                   10617:        cols#132,
                   10618:        is2=\E[&p\E[<12l\E\sF\E[<14h,
                   10619:        rs2=\E[&p\E[<12l\E\sF\E[<14h,
                   10620:        use=p9,
                   10621:
                   10622: # p9-8: Prism-9 in P8 mode
                   10623: # ------------------------
                   10624: #
                   10625: # P9 terminal in P8 emulation mode.
                   10626: # Similar to p8 definition.
                   10627: # Insertion and deletion operations possible.
                   10628: #
                   10629: prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode,
                   10630:        dch1=\E[P, dch=\E[%p1%dP, dl1=\E[M, dl=\E[%p1%dM,
                   10631:        ich1=\E[@, ich=\E[%p1%d@, il1=\E[L, il=\E[%p1%dL,
                   10632:        use=p8,
                   10633:
                   10634: # p9-8-w: Prism-9 in P8 and 132 column modes
                   10635: # ------------------------------------------
                   10636: #
                   10637: # P9 terminal in P8 emulation mode and 132 column mode.
                   10638: #
                   10639: prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode,
                   10640:        dch1=\E[P, dch=\E[%p1%dP, dl1=\E[M, dl=\E[%p1%dM,
                   10641:        ich1=\E[@, ich=\E[%p1%d@, il1=\E[L, il=\E[%p1%dL,
                   10642:        use=p8-w,
                   10643:
                   10644: # p12: Prism-12 in ANSI mode
                   10645: # ---------------------------
                   10646: #
                   10647: # See p9 definition.
                   10648: #
                   10649: prism12|p12|P12|MDC Prism-12 in ANSI mode,
                   10650:        use=p9,
                   10651:
                   10652: # p12-w: Prism-12 in 132 column mode
                   10653: # ----------------------------------
                   10654: #
                   10655: # 'Wide' version of p12.
                   10656: #
                   10657: prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode,
                   10658:        use=p9-w,
                   10659:
                   10660: # p12-m: Prism-12 in MDC emulation mode
                   10661: # -------------------------------------
                   10662: #
                   10663: # P12 terminal in MDC emulation mode.
                   10664: # Similar to p8 definition.
                   10665: # Insertion and deletion operations possible.
                   10666: #
                   10667: prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode,
                   10668:        use=p9-8,
                   10669:
                   10670: # p12-m-w: Prism-12 in MDC emulation and 132 column modes
                   10671: # -------------------------------------------------------
                   10672: #
                   10673: # P12 terminal in MDC emulation mode and 132 column mode.
                   10674: #
                   10675: prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode,
                   10676:        use=p9-8-w,
                   10677:
                   10678: # p14: Prism-14 in ANSII mode
                   10679: # ---------------------------
                   10680: #
                   10681: # See p9 definition.
                   10682: #
                   10683: prism14|p14|P14|MDC Prism-14 in ANSII mode,
                   10684:        use=p9,
                   10685:
                   10686: # p14-w: Prism-14 in 132 column mode
                   10687: # ----------------------------------
                   10688: #
                   10689: # 'Wide' version of p14.
                   10690: #
                   10691: prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode,
                   10692:        use=p9-w,
                   10693:
                   10694: # p14-m: Prism-14 in MDC emulation mode
                   10695: # -------------------------------------
                   10696: #
                   10697: # P14 terminal in MDC emulation mode.
                   10698: # Similar to p8 definition.
                   10699: # Insertion and deletion operations possible.
                   10700: #
                   10701: prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode,
                   10702:        use=p9-8,
                   10703:
                   10704: # p14-m-w: Prism-14 in MDC emulation and 132 column modes
                   10705: # -------------------------------------------------------
                   10706: #
                   10707: # P14 terminal in MDC emulation mode and 132 column mode.
                   10708: #
                   10709: prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode,
                   10710:        use=p9-8-w,
                   10711:
                   10712: # End of McDonnell Information Systems Prism definitions
                   10713:
                   10714: # These things were popular in the Pick database community at one time
                   10715: # From: George Land <georgeland@aol.com> 24 Sep 1996
                   10716: p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
                   10717:        am, bw, hs, mir,
                   10718:        cols#80, lines#24, ma#1, wsl#78, xmc#1,
                   10719:        bel=^G, blink=^CB, clear=\f, cr=\r, cub1=^U, cud1=\n,
                   10720:        cuf1=^F, cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s\b,
                   10721:        dim=^CA, dl1=^P, ed=\EJ, el=\EK, home=^A, ind=\n,
                   10722:        invis=^CH, kbs=\b, kcub1=^U, kcud1=\n, kcuf1=^F,
                   10723:        kcuu1=^Z, kdch1=\s\b, kdl1=^P, ked=\EJ, kel=\EK,
                   10724:        kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r,
                   10725:        kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r,
                   10726:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   10727:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1,
                   10728:        lf10=F10, lf2=F2, lf3=F3, lf4=F4, lf5=F5, lf6=F6,
                   10729:        lf7=F7, lf8=F8, lf9=F9, nel=\n\r, pad=\0, rev=^CD,
                   10730:        rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, smul=^C0,
                   10731:
                   10732: #### Microterm (act, mime)
                   10733: #
                   10734: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   10735: # The default mime is assumed to be in enhanced act iv mode.
                   10736: #
                   10737:
                   10738: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
                   10739: # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
                   10740: # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
                   10741: # since Sytek insists ^S means xoff.
                   10742: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   10743: act4|microterm|microterm act iv,
                   10744:        am, OTbs,
                   10745:        cols#80, lines#24,
                   10746:        bel=^G, clear=^L$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
                   10747:        cup=\024%p1%{24}%+%c%p2%p2%?%'/'%>%t%'0'%+%;%'P'%+%c,
                   10748:        cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, ed=\037$<2.2*/>,
                   10749:        el=\036$<.1*/>, home=^], il1=\001<2.3*/>, ind=^J, kcub1=^H,
                   10750:        kcud1=^K, kcuf1=^X, kcuu1=^Z,
                   10751: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   10752: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   10753: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   10754: act5|microterm5|microterm act v,
                   10755:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>,
                   10756:        uc=^H\EA, use=act4,
                   10757: # Mimes using brightness for standout.  Half bright is really dim unless
                   10758: # you turn up the brightness so far that lines show up on the screen.
                   10759: mime-fb|full bright mime1,
                   10760:        is2=^S\E, rmso=^S, smso=^Y, use=mime,
                   10761: mime-hb|half bright mime1,
                   10762:        is2=^Y\E, rmso=^Y, smso=^S, use=mime,
                   10763: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
                   10764: # the more plausible ":do=^J:" -- esr)
                   10765: # uc was at one time disabled to get around a curses bug, be wary of it
                   10766: mime|mime1|mime2|mimei|mimeii|microterm mime1,
                   10767:        am, OTbs,
                   10768:        cols#80, it#8, lines#24, vt#9,
                   10769:        bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
                   10770:        cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%'0'%+%;%'P'%+%c,
                   10771:        cuu1=^Z, dl1=^W$<80>, ed=^_, el=^^, home=^], ht=^I$<2>,
                   10772:        il1=^A$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, kcuf1=^X,
                   10773:        kcuu1=^Z, ri=^R$<3>, uc=^U,
                   10774: # These termcaps (for mime2a) put the terminal in low intensity mode
                   10775: # since high intensity mode is so obnoxious.
                   10776: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
                   10777:        am, OTbs,
                   10778:        cols#80, lines#24,
                   10779:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10780:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI,
                   10781:        dch1=\ED, dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
                   10782:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
                   10783:        kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;,
                   10784:        rmul=\E7, smir=\EE, smso=\E\072, smul=\E6,
                   10785: # This is the preferred mode (but ^X can't be used as a kill character)
                   10786: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
                   10787:        cols#80, it#8, lines#24, OTbs,
                   10788:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10789:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
                   10790:        dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
                   10791:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, kcud1=\EB,
                   10792:        kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
                   10793:        rmul=\E5, smir=^O, smso=\E8, smul=\E4,
                   10794: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   10795: mime3a|mime1 emulating 3a,
                   10796:        am@,
                   10797:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
                   10798: mime3ax|mime-3ax|mime1 emulating enhanced 3a,
                   10799:        it#8,
                   10800:        dl1=^W$<80>, ed=^_, el=^X, ht=\011$<3>, il1=^A$<80>, use=mime3a,
                   10801: # Wed Mar  9 18:53:21 1983
                   10802: # We run our terminals at 2400 baud, so there might be some timing problems at
                   10803: # higher speeds. The major improvements in this model are the terminal now
                   10804: # scrolls down and insert mode works without redrawing the rest of the line
                   10805: # to the right of the cursor. This is done with a bit of a kludge using the
                   10806: # exit graphics mode to get out of insert, but it does not appear to hurt
                   10807: # anything when using vi at least. If you have some users using act4s with
                   10808: # programs that use curses and graphics mode this could be a problem.
                   10809: mime314|mm314|mime 314,
                   10810:        am, cub1=^H, ht=^I, ed=^_, el=^^, clear=^L, cup=^T%p1%c%p2%c,
                   10811:        cols#80, lines#24, cuf1=^X, cuu1=^Z,
                   10812:        home=^], kcud1=^K, kcub1=^H, kcuf1=^X, kcuu1=^Z,
                   10813:        il1=^A, dch1=^D, dl1=^W, smir=^S, rmir=^V,
                   10814: # Microterm mime 340 from University of Wisconsin
                   10815: mm340|mime340|mime 340,
                   10816:        cols#80, lines#24,
                   10817:        clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10818:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   10819:        dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
                   10820:        el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J,
                   10821:        is2=\E\054, kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K,
                   10822:        nel=^M^J,
                   10823: # This came from University of Wisconsin marked "astro termcap for jooss".
                   10824: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   10825: # also added <rmam>/<smam> based  on the init string -- esr)
                   10826: mt4520-rv|micro-term 4520 reverse video,
                   10827:        am, hs, msgr, xenl, xon,
                   10828:        cols#80, it#8, lines#24, wsl#80,
                   10829:        bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
                   10830:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   10831:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   10832:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   10833:        cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P,
                   10834:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   10835:        flash=\E[?5l$<200/>\E[?5h, fsl=\E[?5l\E[?5h,
                   10836:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   10837:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   10838:        is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J,
                   10839:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   10840:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   10841:        khome=\E[H, ll=\E[24;1H, nel=\EE, rc=\E8,
                   10842:        rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
                   10843:        rmso=\E[0m, rmul=\E[24m,
                   10844:        rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
                   10845:        sc=\E7, sgr0=\E[m, smam=\E[?7h,  smso=\E[7m, smul=\E[4m, tbc=\E[g,
                   10846:        tsl=\E[25;1H,
                   10847:
                   10848: # Fri Aug  5 08:11:57 1983
                   10849: # This entry works for the ergo 4000 with the following setups:
                   10850: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   10851: # setup a & c.
                   10852: #
                   10853: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   10854: # Be advised that very early versions DO NOT WORK RIGHT !!
                   10855: # Microterm does have a ROM exchange program- use it or lose big
                   10856: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
                   10857: ergo4000|microterm ergo 4000,
                   10858:        cr=^M, cud1=^J, ind=^J, bel=^G, ed=\E[0J$<15>, el=\E[0K$<13>,
                   10859:        clear=\E[H\E[2J$<80>, cub1=^H, cuf1=\E[C, cuu1=\E[A, cud1=\E[B,
                   10860:        cup=\E[%i%p1%d;%p2%dH, cols#80, lines#66, da, db, dch1=\E[1P$<80>,
                   10861:        il=\E[1L$<5*>, dl1=\E[1M$<5*>, smir=\E[4h$<6>, rmir=\E[4l,
                   10862:        is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, kf1=\EOP,
                   10863:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kcud1=\E[B, rmkx=\E=$<4>,
                   10864:        kcub1=\E[D, kcuf1=\E[C, smkx=\E=$<4>, kcuu1=\E[A, lf1=pf1,
                   10865:        lf2=pf2, lf3=pf3, lf4=pf4, msgr, ht=^I, rmam=\E[?7l, rmso=\E[m$<20>,
                   10866:        sgr0=\E[m$<20>, smam=\E[?7m, smso=\E[7m$<20>, ri=\EM$<20*>,
                   10867:        ind=\ED$<20*>,
                   10868:
                   10869: #### NCR
                   10870: #
                   10871: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   10872: # For what happened to that group, see the ADDS section.
                   10873: #
                   10874: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   10875: #
                   10876:
                   10877: # The following vendor-supplied termcaps were captured from the Boundless
                   10878: # Technologies site, 8 March 1998.  I removed all-upper-case names that were
                   10879: # identical, except for case, to lower-case ones.  I also uncommented the acsc
                   10880: # capabilities.X
                   10881: #
                   10882: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
                   10883: # DEC vt200/300 with color capabilities added.
                   10884: ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
                   10885:        colors#8, pairs#64,
                   10886:        op=\E[0m,
                   10887:        setaf=\E[3%p1%dm,
                   10888:        setab=\E[4%p1%dm,
                   10889:        use=ncr260vt300an,
                   10890: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
                   10891: # DEC vt200/300 with color capabilities added.
                   10892: ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
                   10893:        colors#8, pairs#64,
                   10894:        op=\E[0m,
                   10895:        setaf=\E[3%p1%dm,
                   10896:        setab=\E[4%p1%dm,
                   10897:        use=ncr260vt300wan,
                   10898: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a DEC
                   10899: # vt200/300 with color capabilities added.
                   10900: ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard,
                   10901:        colors#8, pairs#64,
                   10902:        op=\E[0m,
                   10903:        setaf=\E[3%p1%dm,
                   10904:        setab=\E[4%p1%dm,
                   10905:        use=ncr260vt300pp,
                   10906: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
                   10907: # DEC vt200/300 with color capabilities added.
                   10908: ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode,
                   10909:        colors#8, pairs#64,
                   10910:        op=\E[0m,
                   10911:        setaf=\E[3%p1%dm,
                   10912:        setab=\E[4%p1%dm,
                   10913:        use=ncr260vt300wpp,
                   10914: # This definition for ViewPoint supports several attributes.  This means
                   10915: # that it has magic cookies (extra spaces where the attributes begin).
                   10916: # Some applications do not function well with magic cookies.  The System
                   10917: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   10918: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   10919: # attributes can be removed.
                   10920: # Mapping to ASCII character set ('acsc' capability) can also be
                   10921: # restored if needed.
                   10922: ncr260vppp|NCR 2900_260 viewpoint,
                   10923:        am, hs, bw, xon, msgr, km, mir, mc5i,
                   10924:        xmc#1,
                   10925:        cols#80, lines#24, nlab#32,
                   10926:        cuu1=^Z$<2>, cud1=^J$<2>, cub1=^H$<2>, cuf1=^F$<2>,
                   10927:        home=^^$<2>, ll=^A$<5>, cr=^M$<2>,
                   10928:        acsc=a?h;07j5k3l2m1n8q:t4u9v=w0x6,
                   10929:        cup=\EY%p1%'\s'%+%c%p2%'\s'%+%c$<5>,
                   10930:        mrcup=\Ew@%p1%{48}%+%c%p2%'\s'%+%c%p3%'\s'%+%c$<5>,
                   10931:        ind=^J$<2>, ri=\Ej$<2>, nel=^_$<2>, tsl=\EF,
                   10932:        fsl=^M, dsl=\E`c, il1=\EM$<2>,
                   10933:        clear=^L$<40>, ed=\Ek$<2>, el=\EK$<2>, dl1=\El$<2>,
                   10934:        dch1=\EW$<2>, smir=\Eq, rmir=\Er,
                   10935:        hts=\E1, ht=^I, cbt=\EI,
                   10936:        smso=\EG4, rmso=\EG0,
                   10937:        smul=\EG8, rmul=\EG0,
                   10938:        smxon=\Ec21, rmxon=\Ec20,
                   10939:        rev=\EG4, blink=\EG2,
                   10940:        dim=\EGp, invis=\EG1,
                   10941:        bel=^G, cvvis=\E`5, civis=\E`0, cnorm=\E`5,
                   10942:        sgr0=\EG0\EH^C,
                   10943:        smacs=\EcB1\EH^B, rmacs=\EcB0\EH^C,
                   10944:        kf1=^B1^M, kf2=^B2^M, kf3=^B3^M,
                   10945:        kf4=^B4^M, kf5=^B5^M, kf6=^B6^M, kf7=^B7^M, kf8=^B8^M, kf9=^B9^M,
                   10946:        kf10=^B:^M, kf11=^B;^M, kf12=^B<^M, kf13=^B=^M, kf14=^B>^M,
                   10947:        kf15=^B?^M, kf16=^B@^M, kf17=^B!^M, kf18=^B"^M, kf19=^B#^M,
                   10948:        kf20=^B$^M, kf21=^B%^M, kf22=^B&^M, kf23=^B'^M, kf24=^B(^M,
                   10949:        kf25=^B)^M, kf26=^B*^M, kf27=^B+^M, kf28=^B\,^M, kf29=^B-^M,
                   10950:        kf30=^B.^M, kf31=^B/^M, kf32=^B0^M, kcuu1=^Z, kcub1=^U, kcuf1=^F,
                   10951:        kcud1=^J, khome=^A, ka1=^A, ka3=\EJ, kc1=\ET, kc3=\EJ, kbs=^H,
                   10952:        kdch1=\EW, kich1=\Eq, knp=\EJ, kpp=\EJ, kHOM=^A,
                   10953:        kend=\EK, kprt=\EP, kDC=\El, kEND=\Ek, kPRT=\E7, kRIT=^F,
                   10954:        mc0=\EP$<100>, mc5=^R, mc4=^T,
                   10955:        is2=\Ee6\E~%$<100>\E+\E`:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   10956:        rs2=\Ee6\E~%$<100>\E+\E`:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   10957: ncr260vpwpp|NCR 2900_260 viewpoint wide mode,
                   10958:        cols#132,
                   10959:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   10960:        is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   10961:        rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   10962:        use=ncr260vppp,
                   10963: ncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
                   10964:        am, hs, mir, msgr, xon, nlab#32, xenl,
                   10965:        lines#24, cols#80,
                   10966:        cuu=\E[%p1%dA$<5>, cuu1=\E[A$<5>,
                   10967:        cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
                   10968:        cub=\E[%p1%dD$<5>, cub1=\E[D$<5>,
                   10969:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
                   10970:        home=\E[H$<1>, cr=^M$<1>,
                   10971:        cup=\E[%i%p1%d;%p2%dH$<10>,
                   10972:        hpa=\E[%p1%dG$<40>, vpa=\E[%p1%dd$<40>,
                   10973:        sc=\E7, rc=\E8, bel=^G,
                   10974:        kbs=^H, acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~,
                   10975:        ind=\ED$<5>, ri=\EM$<5>, indn=\E[%p1%dE$<5>,
                   10976:        csr=\E[%i%p1%d;%p2%dr, nel=\EE$<5>,
                   10977:        tsl=\E[2$~\E[1$}, fsl=\E[0$}, dsl=\E[0$~\E[1$~,
                   10978:        clear=\E[2J\E[1;1H$<20>, ed=\E[0J$<5>,
                   10979:        el=\E[0K$<3>, el1=\E[1K$<3>,
                   10980:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>,
                   10981:        il=\E[%p1%dL$<5>, il1=\E[L$<5>,
                   10982:        dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   10983:        ech=\E[%p1%dX, smir=\E[4h,
                   10984:        rmir=\E[4l, ich=\E[%p1%d@$<5>,
                   10985:        civis=\E[?25l, cnorm=\E[?25h,
                   10986:        hts=\EH, tbc=\E[3g, ht=^I,
                   10987:        smso=\E[1;7m, rmso=\E[0m,
                   10988:        smul=\E[4m, rmul=\E[0m,
                   10989:        smacs=^N, rmacs=^O,
                   10990:        rev=\E[7m, blink=\E[5m, bold=\E[1m, invis=\E[8m,
                   10991:        smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
                   10992:        sgr0=\E[0m^O$<20>,
                   10993:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;$<20>,
                   10994:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   10995:        kcuu1=\EOA, kcub1=\EOD, kcuf1=\EOC, kcud1=\EOB,
                   10996:        kdch1=\E[3~, kich1=\E[2~, kfnd=\E[1~, krdo=\E[29~,
                   10997:        kslt=\E[4~, knp=\E[6~, kpp=\E[5~, khlp=\E[28~,
                   10998:        ka1=\EOw, kb2=\EOy, ka3=\EOu,
                   10999:        kc1=\EOq, kc3=\EOs, kent=\EOM,
                   11000:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11001:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11002: ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
                   11003:        cols#132,
                   11004:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   11005:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11006:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11007:        use=ncr260vt100an,
                   11008: ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
                   11009:        kich1=\E[1~, kdch1=\E[4~, khome=\E[2~,
                   11010:        kend=\E[5~, kpp=\E[3~, knp=\E[6~,
                   11011:        kcuu1=\E[A, kcub1=\E[D, kcuf1=\E[C, kcud1=\E[B,
                   11012:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
                   11013:        smkx=\E=, rmkx=\E>,
                   11014:        ka1=\E[H, kb2=\E[V, ka3=\EOu, kc3=\E[U,
                   11015:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11016:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11017:        use=ncr260vt100an,
                   11018: ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
                   11019:        cols#132,
                   11020:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   11021:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11022:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11023:        use=ncr260vt100pp,
                   11024: ncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
                   11025:        am, hs, mir, msgr, xenl, xon,
                   11026:        cols#80, lines#24, nlab#32,
                   11027:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   11028:        blink=\E[5m, bold=\E[1m, invis=\E[8m,
                   11029:        clear=\E[2J\E[1;1H$<20>, rev=\E[7m,
                   11030:        cr=\r$<1>, kbs=\b, home=\E[H,
                   11031:        cup=\E[%i%p1%d;%p2%dH$<10>, csr=\E[%i%p1%d;%p2%dr$<5>,
                   11032:        cub=\E[%p1%dD$<5>, cub1=\E[D$<5>,
                   11033:        cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
                   11034:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
                   11035:        cuu=\E[%p1%dA$<5>, cuu1=\E[A$<5>,
                   11036:        dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   11037:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>,
                   11038:        ich=\E[%p1%d@$<5>,
                   11039:        il=\E[%p1%dL$<5>,
                   11040:        il1=\E[L$<5>,
                   11041:        el=\E[0K$<5>, el1=\E[1K$<5>, ech=\E[%p1%dX$<5>,
                   11042:        dsl=\E[0$~\E[1$~, fsl=\E[0$}, tsl=\E[2$~\E[1$},
                   11043:        ed=\E[0J,
                   11044:        hpa=\E[%p1%dG$<40>, vpa=\E[%p1%dd$<40>,
                   11045:        ht=\t, hts=\EH, tbc=\E[3g,
                   11046:        ind=\ED$<5>, indn=\E[%p1%dE$<5>, ri=\EM$<5>, nel=\EE,
                   11047:        civis=\E[?25l, cnorm=\E[?25h, sc=\E7, rc=\E8,
                   11048:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
                   11049:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   11050:        kdch1=\E[3~, kich1=\E[2~, kfnd=\E[1~, krdo=\E[29~,
                   11051:        kslt=\E[4~, knp=\E[6~, kpp=\E[5~, khlp=\E[28~,
                   11052:        ka1=\EOw, kb2=\EOy, ka3=\EOu,
                   11053:        kc1=\EOq, kc3=\EOs, kent=\EOM,
                   11054:        kf0=\EOy, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   11055:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~,
                   11056:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   11057:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   11058:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   11059:        kf18=\E[32~, kf19=\E[33~,
                   11060:        kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, kf23=\E[33~, kf24=\E[34~,
                   11061:        kf25=\E[35~, kf26=\E[1~, kf27=\E[2~, kf28=\E[3~,
                   11062:        kf29=\E[4~, kf30=\E[5~, kf31=\E[6~,
                   11063:        kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, kf35=\E[10~,
                   11064:        smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
                   11065:        smso=\E[7m, rmso=\E[27m,
                   11066:        smam=\E[?7h, rmam=\E[?7l,
                   11067:        smul=\E[4m, rmul=\E[24m,
                   11068:        smir=\E[4h, rmir=\E[4l,
                   11069:        smacs=^N$<20>, rmacs=^O$<20>,
                   11070:        sgr0=\E[0m^O$<20>,
                   11071:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;$<20>,
                   11072:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11073:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11074: ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
                   11075:        cols#132, cup=\E[%i%p1%d;%p2%dH$<30>,
                   11076:        is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0^O\E[2J\E[1;1H$<200>,
                   11077:        rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0^O\E[2J\E[1;1H$<200>,
                   11078:        use=ncr260vt200an,
                   11079: ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
                   11080:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   11081:        kich1=\E[2~, khome=\E[H, knp=\E[6~,
                   11082:        kdch1=\E[4~, kend=\E[1~, kpp=\E[5~,
                   11083:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
                   11084:        ka1=\E[H, kb2=\E[V, ka3=\EOu, kc3=\E[U,
                   11085:        smkx=\E=, rmkx=\E>,
                   11086:        use=ncr260vt200an,
                   11087: ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
                   11088:        cols#132, cup=\E[%i%p1%d;%p2%dH$<30>,
                   11089:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11090:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11091:        use=ncr260vt200pp,
                   11092: ncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
                   11093:        am, hs, mir, msgr, xenl, xon,
                   11094:        cols#80, lines#24, nlab#32,
                   11095:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   11096:        blink=\E[5m, bold=\E[1m, invis=\E[8m,
                   11097:        clear=\E[2J\E[1;1H$<20>, rev=\E[7m,
                   11098:        cr=\r$<1>, kbs=\b, home=\E[H,
                   11099:        cup=\E[%i%p1%d;%p2%dH$<10>, csr=\E[%i%p1%d;%p2%dr$<5>,
                   11100:        cub=\E[%p1%dD$<5>, cub1=\E[D$<5>,
                   11101:        cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
                   11102:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
                   11103:        cuu=\E[%p1%dA$<5>, cuu1=\E[A$<5>,
                   11104:        dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   11105:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>,
                   11106:        ich=\E[%p1%d@$<5>,
                   11107:        il=\E[%p1%dL$<5>,
                   11108:        il1=\E[L$<5>,
                   11109:        el=\E[0K$<5>, el1=\E[1K$<5>, ech=\E[%p1%dX$<5>,
                   11110:        dsl=\E[0$~\E[1$~, fsl=\E[0$}, tsl=\E[2$~\E[1$},
                   11111:        ed=\E[0J,
                   11112:        hpa=\E[%p1%dG$<40>, vpa=\E[%p1%dd$<40>,
                   11113:        ht=\t, hts=\EH, tbc=\E[3g,
                   11114:        ind=\ED$<5>, indn=\E[%p1%dE$<5>, ri=\EM$<5>, nel=\EE,
                   11115:        civis=\E[?25l, cnorm=\E[?25h, sc=\E7, rc=\E8,
                   11116:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
                   11117:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   11118:        kdch1=\E[3~, kich1=\E[2~, kfnd=\E[1~, krdo=\E[29~,
                   11119:        kslt=\E[4~, knp=\E[6~, kpp=\E[5~, khlp=\E[28~,
                   11120:        ka1=\EOw, kb2=\EOy, ka3=\EOu,
                   11121:        kc1=\EOq, kc3=\EOs, kent=\EOM,
                   11122:        kf0=\EOy, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   11123:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~,
                   11124:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   11125:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   11126:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   11127:        kf18=\E[32~, kf19=\E[33~,
                   11128:        kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, kf23=\E[33~, kf24=\E[34~,
                   11129:        kf25=\E[35~, kf26=\E[1~, kf27=\E[2~, kf28=\E[3~,
                   11130:        kf29=\E[4~, kf30=\E[5~, kf31=\E[6~,
                   11131:        kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, kf35=\E[10~,
                   11132:        smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
                   11133:        smso=\E[7m, rmso=\E[27m,
                   11134:        smam=\E[?7h, rmam=\E[?7l,
                   11135:        smul=\E[4m, rmul=\E[24m,
                   11136:        smir=\E[4h, rmir=\E[4l,
                   11137:        smacs=^N$<20>, rmacs=^O$<20>,
                   11138:        sgr0=\E[0m^O$<20>,
                   11139:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;$<20>,
                   11140:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11141:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11142: ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
                   11143:        cols#132, cup=\E[%i%p1%d;%p2%dH$<30>,
                   11144:        is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0^O\E[2J\E[1;1H$<200>,
                   11145:        rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0^O\E[2J\E[1;1H$<200>,
                   11146:        use=ncr260vt300an,
                   11147: ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
                   11148:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   11149:        kich1=\E[2~, khome=\E[H, knp=\E[6~,
                   11150:        kdch1=\E[4~, kend=\E[1~, kpp=\E[5~,
                   11151:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
                   11152:        ka1=\E[H, kb2=\E[V, ka3=\EOu, kc3=\E[U,
                   11153:        smkx=\E=, rmkx=\E>,
                   11154:        use=ncr260vt300an,
                   11155: NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
                   11156:        cols#132, cup=\E[%i%p1%d;%p2%dH$<30>,
                   11157:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11158:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0^O\E[2J\E[1;1H\E>$<200>,
                   11159:        use=ncr260vt300pp,
                   11160: # This terminfo file contains color capabilities for the Wyse325 emulation of
                   11161: # the NCR 2900/260C color terminal.  Because of the structure of the command
                   11162: # (escape sequence) used to set color attributes, one of the fore/background
                   11163: # colors must be preset to a given value. I have set the background color to
                   11164: # black.  The user can change this setup by altering the last section of the
                   11165: # 'setf' definition.  The escape sequence to set color attributes is
                   11166: #              ESC d y <foreground_color> <background_color> 1
                   11167: # In addition, the background color can be changed through the desk accessories.
                   11168: # The capablitiy 'op' sets colors to green on black (default combination).
                   11169: #
                   11170: # NOTE:  The NCR Unix System Administrator's Shell will not function properly
                   11171: #          if the 'pairs' capability is defined. Un-Comment the 'pairs'
                   11172: #          capability and recompile if you wish to have it included.
                   11173: #
                   11174: ncr260wy325pp|NCR 2900_260 wyse 325,
                   11175:        am, bw, hs, mir, msgr, xon, km, mc5i,
                   11176:        cols#80, lines#24, nlab#32,
                   11177:        colors#16,
                   11178:        .pairs#16,
                   11179:        ncv#33,
                   11180:        .op=\Edy311,
                   11181:        setb=\s,
                   11182:        setf=%?%p1%{0}%=%t%'1'
                   11183:                %e%p1%{1}%=%t%'2'
                   11184:                %e%p1%{2}%=%t%'3'
                   11185:                %e%p1%{3}%=%t%'4'
                   11186:                %e%p1%{4}%=%t%'5'
                   11187:                %e%p1%{5}%=%t%'6'
                   11188:                %e%p1%{6}%=%t%'7'
                   11189:                %e%p1%{7}%=%t%'@'
                   11190:                %e%p1%{8}%=%t%'9'
                   11191:                %e%p1%{9}%=%t%':'
                   11192:                %e%p1%{10}%=%t%';'
                   11193:                %e%p1%{11}%=%t%'<'
                   11194:                %e%p1%{12}%=%t%'='
                   11195:                %e%p1%{13}%=%t%'>'
                   11196:                %e%p1%{14}%=%t%'?'
                   11197:                %e%p1%{15}%=%t%'8'%;\Edy%c11$<100>,
                   11198:        bel=^G, cbt=\EI,
                   11199:        cud1=^J$<5>, cub1=^H$<5>, cuf1=^L$<5>, cuu1=^K$<5>,
                   11200:        home=^^$<5>, cr=^M,
                   11201:        acsc=a?h;07j5k3l2m1n8q:t4u9v=w0x6,
                   11202:        cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c$<10>,
                   11203:        mrcup=\Ew@%p1%{48}%+%c%p2%'\s'%+%c%p3%'\s'%+%c$<10>,
                   11204:        ind=^J$<5>, ri=\Ej$<5>, nel=^_$<5>,
                   11205:        tsl=\EF, fsl=^M, dsl=\E`c,
                   11206:        il1=\EE$<5>, clear=\E*$<10>,
                   11207:        ed=\Ey$<5>, el=\Et$<5>,
                   11208:        dl1=\ER$<5>, dch1=\EW$<50>,
                   11209:        smir=\Eq, rmir=\Er,
                   11210:        smam=\Ed/, rmam=\Ed.,
                   11211:        hts=\E1, tbc=\E0, kcbt=\EI, ht=^I,
                   11212:        smso=\EGt, rmso=\EG0,
                   11213:        smul=\EG8, rmul=\EG0,
                   11214:        rev=\EG4, blink=\EG2, invis=\EG1,
                   11215:        smacs=\EH^B\EcB1, rmacs=\EH^C\EcB0,
                   11216:        .enacs=\EcD,
                   11217:        sgr0=\EG0\EcB0\EcD$<15>,
                   11218:        cvvis=\E`5, civis=\E`0, cnorm=\E`1,
                   11219:        kf1=^A@^M, kf2=^AA^M, kf3=^AB^M, kf4=^AC^M, kf5=^AD^M,
                   11220:        kf6=^AE^M, kf7=^AF^M, kf8=^AG^M, kf9=^AH^M, kf10=^AI^M,
                   11221:        kf11=^AJ^M, kf12=^AK^M, kf13=^AL^M, kf14=^AM^M, kf15=^AN^M,
                   11222:        kf16=^AO^M, kf17=^A`^M, kf18=^Aa^M, kf19=^Ab^M, kf20=^Ac^M,
                   11223:        kf21=^Ad^M, kf22=^Ae^M, kf23=^Af^M, kf24=^Ag^M, kf25=^Ah^M,
                   11224:        kf26=^Ai^M, kf27=^Aj^M, kf28=^Ak^M, kf29=^Al^M, kf30=^Am^M,
                   11225:        kf31=^An^M, kf32=^Ao^M,
                   11226:        kcuu1=^K, kcub1=^H, kcuf1=^L, kcud1=^J,
                   11227:        khome=^^, ka1=^^,
                   11228:        kb2=\EJ, kc1=\ET, kc3=\EK, kbs=^H,
                   11229:        kdch1=\EW, kend=\ET,
                   11230:        kprt=\EP, kich1=\Eq,
                   11231:        knp=\EK, kpp=\EJ,
                   11232:        kDC=\ER, kHOM=\E{, kEND=\EY, kPRT=\E7,
                   11233:        kRIT=^L, kNXT=\EK, kPRV=\EJ,
                   11234:        smxon=\Ec21, rmxon=\Ec20,
                   11235:        mc0=\EP, mc4=^T, mc5=^R,
                   11236:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11237:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11238: ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
                   11239:        cols#132,
                   11240:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   11241:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11242:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11243:        use=ncr260wy325pp,
                   11244: # This definition for Wyse 350 supports several attributes.  This means
                   11245: # that it has magic cookies (extra spaces where the attributes begin).
                   11246: # Some applications do not function well with magic cookies.  The System
                   11247: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   11248: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   11249: # attributes can be removed.
                   11250: # Mapping to ASCII character set ('acsc' capability) can also be
                   11251: # restored if needed.
                   11252: # In addition, color capabilities have been added to this file.  The drawback,
                   11253: # however, is that the background color has to be black.  The foreground colors
                   11254: # are numbered 0 through 15.
                   11255: #
                   11256: # NOTE:  The NCR Unix System Administrator's Shell does not function properly
                   11257: #          with the 'pairs' capability defined as below.  If you wish to
                   11258: #          have it included, Un-comment it and recompile (using 'tic').
                   11259: #
                   11260: ncr260wy350pp|NCR 2900_260 wyse 350,
                   11261:        am, bw, hs, mir, msgr, xon, km, mc5i,
                   11262:        cols#80, lines#24, nlab#32,
                   11263:        xmc#1,
                   11264:        .pairs#16,
                   11265:        colors#16, ncv#33,
                   11266:        setb=\s,
                   11267:        setf=%?%p1%{0}%=%t%'1'
                   11268:                %e%p1%{1}%=%t%'2'
                   11269:                %e%p1%{2}%=%t%'3'
                   11270:                %e%p1%{3}%=%t%'4'
                   11271:                %e%p1%{4}%=%t%'5'
                   11272:                %e%p1%{5}%=%t%'6'
                   11273:                %e%p1%{6}%=%t%'7'
                   11274:                %e%p1%{7}%=%t%'f'
                   11275:                %e%p1%{8}%=%t%'a'
                   11276:                %e%p1%{9}%=%t%'b'
                   11277:                %e%p1%{10}%=%t%'c'
                   11278:                %e%p1%{11}%=%t%'e'
                   11279:                %e%p1%{12}%=%t%'j'
                   11280:                %e%p1%{13}%=%t%'n'
                   11281:                %e%p1%{14}%=%t%'o'
                   11282:                %e%p1%{15}%=%t%'8'%;\Em0%c$<100>,
                   11283:        kcbt=\EI, cbt=\EI,
                   11284:        cud1=^J$<5>, cub1=^H$<5>, cuf1=^L$<5>, cuu1=^K$<5>,
                   11285:        home=^^$<10>, cr=^M,
                   11286:        acsc=a?h;07j5k3l2m1n8q:t4u9v=w0x6,
                   11287:        cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c$<40>,
                   11288:        mrcup=\Ew@%p1%{48}%+%c%p2%'\s'%+%c%p3%'\s'%+%c$<20>,
                   11289:        ind=^J$<5>, ri=\Ej$<5>, nel=^_$<5>, tsl=\EF, fsl=^M, dsl=\E`c,
                   11290:        il1=\EE$<5>, clear=\E+$<20>,
                   11291:        ed=\Ey$<5>, el=\Et$<5>,
                   11292:        dl1=\ER$<5>, dch1=\EW$<50>,
                   11293:        smir=\Eq, rmir=\Er,
                   11294:        smam=\Ed/, rmam=\Ed.,
                   11295:        hts=\E1, tbc=\E0, ht=^I,
                   11296:        smso=\EGt, rmso=\EG0,
                   11297:        smul=\EG8, rmul=\EG0,
                   11298:        rev=\EG4, blink=\EG2, invis=\EG1, dim=\EGp,
                   11299:        smacs=\EH^B\EcB1, rmacs=\EH^C\EcB0,
                   11300:        sgr0=\EG0\EH^C\EcD,
                   11301:        bel=^G,
                   11302:        cvvis=\E`5, civis=\E`0, cnorm=\E`1,
                   11303:        kf1=^A@^M, kf2=^AA^M, kf3=^AB^M, kf4=^AC^M, kf5=^AD^M, kf6=^AE^M,
                   11304:        kf7=^AF^M, kf8=^AG^M, kf9=^AH^M, kf10=^AI^M, kf11=^AJ^M,
                   11305:        kf12=^AK^M, kf13=^AL^M, kf14=^AM^M, kf15=^AN^M, kf16=^AO^M,
                   11306:        kf17=^A`^M, kf18=^Aa^M, kf19=^Ab^M, kf20=^Ac^M, kf21=^Ad^M,
                   11307:        kf22=^Ae^M, kf23=^Af^M, kf24=^Ag^M, kf25=^Ah^M, kf26=^Ai^M,
                   11308:        kf27=^Aj^M, kf28=^Ak^M, kf29=^Al^M, kf30=^Am^M,
                   11309:        kf31=^An^M, kf32=^Ao^M,
                   11310:        kcuu1=^K, kcub1=^H, kcuf1=^L, kcud1=^J, khome=^^, ka1=^^,
                   11311:        kc1=\ET, kc3=\EK, kbs=^H, kdch1=\EW, kend=\ET, kprt=\EP,
                   11312:        kich1=\Eq, knp=\EK, kpp=\EJ, kEND=\EY, kDC=\ER,
                   11313:        kHOM=\E{, kPRT=\E7, kRIT=^L,
                   11314:        smxon=\Ec21, rmxon=\Ec20,
                   11315:        mc0=\EP$<10>, mc4=^T, mc5=^R,
                   11316:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11317:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11318: ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
                   11319:        cols#132,
                   11320:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   11321:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   11322:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   11323:        use=ncr260wy350pp,
                   11324: # This definition for Wyse 50+ supports several attributes.  This means
                   11325: # that it has magic cookies (extra spaces where the attributes begin).
                   11326: # Some applications do not function well with magic cookies.  The System
                   11327: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   11328: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   11329: # attributes can be removed.
                   11330: # Mapping to ASCII character set ('acsc' capability) can also be
                   11331: # restored if needed.
                   11332: # (ncr260wy50+pp: originally contained commented-out
                   11333: # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
                   11334: ncr260wy50+pp|NCR 2900_260 wyse 50+,
                   11335:        am, bw, hs, mir, xon, km, mc5i, msgr,
                   11336:        cols#80, lines#24, nlab#32,
                   11337:        xmc#1,
                   11338:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv,
                   11339:        smacs=\EH^B, rmacs=\EH^C,
                   11340:        sgr0=\EG0\EH^C$<15>,
                   11341:        cud1=^J$<5>, cub1=^H$<5>, cuf1=^L$<5>, cuu1=^K$<5>,
                   11342:        home=^^$<10>, cr=^M,
                   11343:        cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c$<30>,
                   11344:        mrcup=\Ew@%p1%{48}%+%c%p2%'\s'%+%c%p3%'\s'%+%c$<10>,
                   11345:        ind=^J$<5>, ri=\Ej$<5>, nel=^_$<5>,
                   11346:        tsl=\EF, fsl=^M, dsl=\E`c,
                   11347:        il1=\EE$<5>, clear=\E+$<20>,
                   11348:        ed=\EY$<5>, el=\ET$<5>,
                   11349:        dl1=\ER$<5>, dch1=\EW$<50>,
                   11350:        smir=\Eq, rmir=\Er,
                   11351:        smam=\Ed/, rmam=\Ed.,
                   11352:        hts=\E1$<5>, tbc=\E0$<5>, ht=^I$<5>,
                   11353:        kcbt=\EI, cbt=\EI$<5>,
                   11354:        smso=\EGt, rmso=\EG0,
                   11355:        smul=\EG8, rmul=\EG0,
                   11356:        rev=\EG4, blink=\EG2, invis=\EG1, dim=\EGp,
                   11357:        bel=^G,
                   11358:        cvvis=\E`5, civis=\E`0, cnorm=\E`1,
                   11359:        kf1=^A@^M, kf2=^AA^M, kf3=^AB^M, kf4=^AC^M, kf5=^AD^M, kf6=^AE^M,
                   11360:        kf7=^AF^M, kf8=^AG^M, kf9=^AH^M, kf10=^AI^M, kf11=^AJ^M,
                   11361:        kf12=^AK^M, kf13=^AL^M, kf14=^AM^M, kf15=^AN^M, kf16=^AO^M,
                   11362:        kf17=^A`^M, kf18=^Aa^M, kf19=^Ab^M, kf20=^Ac^M, kf21=^Ad^M,
                   11363:        kf22=^Ae^M, kf23=^Af^M, kf24=^Ag^M, kf25=^Ah^M, kf26=^Ai^M,
                   11364:        kf27=^Aj^M, kf28=^Ak^M, kf29=^Al^M, kf30=^Am^M,
                   11365:        kf31=^An^M, kf32=^Ao^M,
                   11366:        kcuu1=^K, kcub1=^H, kcuf1=^L, kcud1=^J,
                   11367:        ka1=^^, kc1=\ET, kc3=\EK,
                   11368:        kbs=^H, kdch1=\EW, kend=\ET, kprt=\EP, khome=^^,
                   11369:        kich1=\Eq, knp=\EK, kpp=\EJ, kEND=\EY, kDC=\ER,
                   11370:        kHOM=\E{, kPRT=\E7, kRIT=^L,
                   11371:        smxon=\Ec21, rmxon=\Ec20,
                   11372:        mc0=\EP$<10>, mc4=^T, mc5=^R,
                   11373:        is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11374:        rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11375: ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
                   11376:        cols#132,
                   11377:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   11378:        is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   11379:        rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   11380:        use=ncr260wy50+pp,
                   11381: ncr260wy60pp|NCR 2900_260 wyse 60,
                   11382:        am, bw, hs, mir, msgr, xon, km, mc5i,
                   11383:        cols#80, lines#24, nlab#32,
                   11384:        bel=^G, cbt=\EI$<15>,
                   11385:        cud1=^J$<5>, cub1=^H$<5>, cuf1=^L$<5>, cuu1=^K$<5>,
                   11386:        home=^^$<25>, cr=^M,
                   11387:        acsc=a?h;07j5k3l2m1n8q:t4u9v=w0x6,
                   11388:        cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c$<10>,
                   11389:        mrcup=\Ew@%p1%{48}%+%c%p2%'\s'%+%c%p3%'\s'%+%c$<30>,
                   11390:        ind=^J$<5>, ri=\Ej$<5>, nel=^_$<5>,
                   11391:        tsl=\EF, fsl=^M, dsl=\E`c,
                   11392:        il1=\EE$<5>, clear=\E*$<100>,
                   11393:        ed=\Ey$<5>, el=\Et$<5>,
                   11394:        dl1=\ER$<5>, dch1=\EW$<50>,
                   11395:        smir=\Eq, rmir=\Er,
                   11396:        smam=\Ed/, rmam=\Ed.,
                   11397:        hts=\E1$<15>, tbc=\E0$<15>, kcbt=\EI$<15>, ht=^I$<15>,
                   11398:        smso=\EGt, rmso=\EG0,
                   11399:        smul=\EG8, rmul=\EG0,
                   11400:        rev=\EG4, blink=\EG2, invis=\EG1,
                   11401:        smacs=\EH^B, rmacs=\EH^C,
                   11402: #      enacs=\EcD,
                   11403:        sgr0=\EG0\EcB0\EcD$<15>,
                   11404:        cvvis=\E`5, civis=\E`0, cnorm=\E`1,
                   11405:        kf1=^A@^M, kf2=^AA^M, kf3=^AB^M, kf4=^AC^M, kf5=^AD^M,
                   11406:        kf6=^AE^M, kf7=^AF^M, kf8=^AG^M, kf9=^AH^M, kf10=^AI^M,
                   11407:        kf11=^AJ^M, kf12=^AK^M, kf13=^AL^M, kf14=^AM^M, kf15=^AN^M,
                   11408:        kf16=^AO^M, kf17=^A`^M, kf18=^Aa^M, kf19=^Ab^M, kf20=^Ac^M,
                   11409:        kf21=^Ad^M, kf22=^Ae^M, kf23=^Af^M, kf24=^Ag^M, kf25=^Ah^M,
                   11410:        kf26=^Ai^M, kf27=^Aj^M, kf28=^Ak^M, kf29=^Al^M, kf30=^Am^M,
                   11411:        kf31=^An^M, kf32=^Ao^M,
                   11412:        kcuu1=^K, kcub1=^H, kcuf1=^L, kcud1=^J,
                   11413:        khome=^^, ka1=^^,
                   11414:        kb2=\EJ, kc1=\ET, kc3=\EK, kbs=^H,
                   11415:        kdch1=\EW, kend=\ET,
                   11416:        kprt=\EP, kich1=\Eq,
                   11417:        knp=\EK, kpp=\EJ,
                   11418:        kDC=\ER, kHOM=\E{, kEND=\EY, kPRT=\E7,
                   11419:        kRIT=^L, kNXT=\EK, kPRV=\EJ,
                   11420:        smxon=\Ec21, rmxon=\Ec20,
                   11421:        mc0=\EP, mc4=^T, mc5=^R,
                   11422:        is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11423:        rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11424: ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
                   11425:        cols#132,
                   11426:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   11427:        is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11428:        rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   11429:        use=ncr260wy60pp,
                   11430: ncr160vppp|NCR 2900_160 viewpoint,
                   11431:        use=ncr260vppp,
                   11432: ncr160vpwpp|NCR 2900_160 viewpoint wide mode,
                   11433:        use=ncr260vpwpp,
                   11434: ncr160vt100an|NCR 2900_160 vt100 with ansi kybd,
                   11435:        use=ncr260vt100an,
                   11436: ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd,
                   11437:        use=ncr260vt100pp,
                   11438: ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd,
                   11439:        use=ncr260vt100wan,
                   11440: ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd,
                   11441:        use=ncr260vt100wpp,
                   11442: ncr160vt200an|NCR 2900_160 vt200 with ansi kybd,
                   11443:        use=ncr260vt200an,
                   11444: ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd,
                   11445:        use=ncr260vt200pp,
                   11446: ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd,
                   11447:        use=ncr260vt200wan,
                   11448: ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd,
                   11449:        use=ncr260vt200wpp,
                   11450: ncr160vt300an|NCR 2900_160 vt300 with ansi kybd,
                   11451:        use=ncr260vt300an,
                   11452: ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd,
                   11453:        use=ncr260vt300pp,
                   11454: ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd,
                   11455:        use=ncr260vt300wan,
                   11456: ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd,
                   11457:        use=ncr260vt300wpp,
                   11458: ncr160wy50+pp|NCR 2900_160 wyse 50+,
                   11459:        use=ncr260wy50+pp,
                   11460: ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode,
                   11461:        use=ncr260wy50+wpp,
                   11462: ncr160wy60pp|NCR 2900_160 wyse 60,
                   11463:        use=ncr260wy60pp,
                   11464: ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode,
                   11465:        use=ncr260wy60wpp,
                   11466: ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal,
                   11467:        am, hs, mir, msgr, xon, nlab#32, mc5i,
                   11468:        lines#24, cols#80, it#8,
                   11469:        cuu1=\E[A$<2>, cud1=\E[B$<2>, cub1=\E[D$<2>, cuf1=\E[C$<2>,
                   11470:        home=\E[H$<2>$<80>, cr=^M,
                   11471:        cuu=\E[%p1%dA$<30>, cud=\E[%p1%dB$<30>, cub=\E[%p1%dD$<30>,
                   11472:        cuf=\E[%p1%dC$<30>,
                   11473:        cup=\E[%i%p1%d;%p2%dH$<100>, sc=\E7, rc=\E8,
                   11474:        ind=\ED, ri=\EM$<50>,
                   11475:        csr=\E[%i%p1%d;%p2%dr$<100>, nel=\EE, tsl=\E[>+1$<70>, fsl=1$<10>,
                   11476:        dsl=\E[31l$<25>, il1=\E[B\E[L$<80>, il=\E[%p1%dL$<80>,
                   11477:        clear=\E[2J\E[1;1H$<300>, ed=\E[0J$<300>, el=\E[0K$<30>,
                   11478:        el1=\E[1K$<30>, dl1=\E[M$<40>, dl=\E[%p1%dM$<70>,
                   11479:        dch1=\E[1P$<10>, dch=\E[%p1%dP$<40>,
                   11480:        smir=\E[4h$<80>, rmir=\E[4l$<80>, bel=^G,
                   11481:        hts=\EH, tbc=\E[3g$<40>, ht=^I, smso=\E[7m$<30>, rmso=\E[0m$<30>,
                   11482:        smul=\E[4m$<30>, rmul=\E[0m$<30>, rev=\E[7m$<30>,
                   11483:        blink=\E[5m$<30>, bold=\E[1m$<30>,
                   11484:        smacs=^N$<90>, rmacs=^O$<90>, enacs=\E(B\E)0$<40>, sgr0=^O\E[0m$<120>,
                   11485:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;$<100>,
                   11486:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   11487:        kcuu1=\E[A, kcub1=\E[D, kcuf1=\E[C, kcud1=\E[B, ka1=\E[H,
                   11488:        kbs=^H, kent=^M, kLFT=\E[D, kRIT=\E[C, mc0=\E[i$<100>,
                   11489:        acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~,
                   11490:        rs2=\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P^Y$<200>,
                   11491:        is2=\E[12h\E[?10l\E%/0n\E[P^Y\E[?3l\E(B\E)0$<200>,
                   11492: ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
                   11493:        cols#132,
                   11494:        rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P^Y$<200>,
                   11495:        is2=\E[12h\E[?10l\E%/0n\E[P^Y\E[?3h\E(B\E)0$<200>,
                   11496:        use=ncrvt100an,
                   11497: #
                   11498: # Vendor-supplied NCR termcaps end here
                   11499:
                   11500: # NCR7900 DIP switches:
                   11501: #
                   11502: # Switch A:
                   11503: # 1-4 - Baud Rate
                   11504: # 5   - Parity (Odd/Even)
                   11505: # 6   - Don't Send or Do Send Spaces
                   11506: # 7   - Parity Enable
                   11507: # 8   - Stop Bits (One/Two)
                   11508: #
                   11509: # Switch B:
                   11510: # 1   - Upper/Lower Shift
                   11511: # 2   - Typewriter Shift
                   11512: # 3   - Half Duplex / Full Duplex
                   11513: # 4   - Light/Dark Background
                   11514: # 5-6 - Carriage Return Without / With Line Feed
                   11515: # 7   - Extended Mode
                   11516: # 8   - Suppress Keyboard Display
                   11517: #
                   11518: # Switch C:
                   11519: # 1   - End of line entry disabled/enabled
                   11520: # 2   - Conversational mode / (Local?) Mode
                   11521: # 3   - Control characters displayed / not displayed
                   11522: # 4   - (2-wire?) / 4-wire communications
                   11523: # 5   - RTS on and off for each character
                   11524: # 6   - (50Hz?) / 60 Hz
                   11525: # 7   - Exit after level zero diagnostics
                   11526: # 8   - RS-232 interface
                   11527: #
                   11528: # Switch D:
                   11529: # 1   - Reverse Channel (yes / no)
                   11530: # 2   - Manual answer (no / yes)
                   11531: # 3-4 - Cursor appearance
                   11532: # 5   - Communication Rate
                   11533: # 6   - Enable / Disable EXT turnoff
                   11534: # 7   - Enable / Disable CR turnoff
                   11535: # 8   - Enable / Disable backspace
                   11536: #
                   11537: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
                   11538: ncr7900i|ncr7900|ncr 7900 model 1,
                   11539:        am, bw, ul,
                   11540:        cols#80, lines#24, xmc#1,
                   11541:        bel=^G, blink=\E0B, clear=\f, cr=\r, cub1=\b, cud1=\n,
                   11542:        cuf1=^F, cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek,
                   11543:        el=\EK, ind=\n, is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=\n,
                   11544:        kcuf1=^F, kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R,
                   11545:        rev=\E0P, rmso=\E0@, rmul=\E0@,
                   11546:        sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
                   11547:        sgr0=\E0@, smso=\E0Q, smul=\E0`,
                   11548: ncr7900iv|ncr 7900 model 4,
                   11549:        am, bw, hs, eslok,
                   11550:        cols#80, lines#24,
                   11551:        bel=^G, cr=\r, clear=\f,
                   11552:        cup=^K%p1%'@'%+%c\E^E%p2%02d, cud1=\n, home=^K@\E^E00,
                   11553:        cub1=\b, dl1=\E^O, dsl=\Ey1,
                   11554:        fsl=\Ek\Ey5, il1=\E^N, kbs=\b,
                   11555:        kcud1=\EB, kf1=\ES, kf2=\ET,
                   11556:        kf3=\EU, kf4=\EV, kf5=\EW,
                   11557:        kf6=\EP, kf7=\EQ, kf8=\ER,
                   11558:        khome=\EH, kcub1=\ED, kcuf1=\EC,
                   11559:        kcuu1=\EA, lf6=blue, lf7=red,
                   11560:        lf8=white, nel=\r\n, ind=\n,
                   11561:        tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
                   11562:        ind=^J,
                   11563: ncr7901|ncr 7901 model,
                   11564:        cols#80, lines#24,
                   11565:        am, bel=^G, bw, clear=^L, cr=^M,
                   11566:        cub1=^H, cud1=^J, cuf1=^F, cuu1=^Z,
                   11567:        ind=^J, ll=^A,
                   11568:        ed=\Ek, el=\EK,
                   11569:        civis=^W, cnorm=^X,
                   11570:        mc4=^T, mc5=^R,
                   11571:        kcud1=^J, kcub1=^U, kcuf1=^F, kcuu1=^Z, khome=^H, kclr=^L,
                   11572:        is2=^X,
                   11573:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   11574:        vpa=^K%p1%'@'%+%c,
                   11575:        hpa=^P%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
                   11576:        sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c^N,
                   11577:        is2=\E4^O,
                   11578:        blink=\E0B, dim=\E0A, rev=\E0P,
                   11579:        smso=\E0Q^N, rmso=^O,
                   11580:        smul=\E0`^N, rmul=^O, sgr0=^O, ul,
                   11581:
                   11582: #### Perkin-Elmer (Owl)
                   11583: #
                   11584: # These are official terminfo entries from within Perkin-Elmer.
                   11585: #
                   11586:
                   11587: bantam|pe550|pe6100|perkin elmer 550,
                   11588:        cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, cols#80, el=\EI$<20>, OTbs,
                   11589:        clear=\EK$<20>, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, home=\EH,
                   11590:        lines#24, ll=\EH\EA, cuf1=\EC, cuu1=\EA,
                   11591: fox|pe1100|perkin elmer 1100,
                   11592:        tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H, OTbs,
                   11593:        ed=\EJ$<5.5*>, el=\EI, clear=\EH\EJ$<132>, cols#80, home=\EH, lines#24,
                   11594:        ll=\EH\EA, cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c,
                   11595:        cuu1=\EA, flash=^P^B$<200/>^P^C,
                   11596: owl|pe1200|perkin elmer 1200,
                   11597:        tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EL$<5.5*>, OTbs,
                   11598:        am, cub1=^H, ed=\EJ$<5.5*>, el=\EI$<5.5>, clear=\EH\EJ$<132>, home=\EH,
                   11599:        ll=\EH\EA, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cols#80, dch1=\EO$<5.5*>,
                   11600:        dl1=\EM$<5.5*>, ich1=\EN, ip=$<5.5*>, kbs=^h, in, lines#24,
                   11601:        cuf1=\EC, cuu1=\EA, rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, flash=^P^B$<200/>^P^C,
                   11602:        kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, kf5=\ERE, kf6=\ERF,
                   11603:        kf7=\ERG, kf8=\ERH, kf9=\ERI, kf0=\ERJ,
                   11604: pe1251|pe6300|pe6312|perkin elmer 1251,
                   11605:        am, cols#80, it#8, lines#24, xmc#1, pb#300, vt#8,
                   11606:        bel=^G, cr=^M, clear=\EK$<332>, el=\EI$<10*>, ed=\EJ$<20*>,
                   11607:        cud1=\EB, home=\EH, cub1=\ED, cuf1=\EC, cuu1=\EA,
                   11608:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, ind=^J, hts=\E1, kf0=\ERA,
                   11609:        kf1=\ERB, kf2=\ERC, kf3=\ERD, kf4=\ERE, kf5=\ERF, kf6=\ERG,
                   11610:        kf7=\ERH, kf8=\ERI, kf9=\ERJ, kf10=\ERK, tbc=\E3,
                   11611: # (pe7000m: this had
                   11612: #      rmul=\E!\0, smul=\E!\040,
                   11613: # which is probably wrong, it collides with kf0
                   11614: pe7000m|perkin elmer 7000 series monochrome monitor,
                   11615:        am,     cols#80,    lines#24,
                   11616:        bel=^G, cr=^M,  clear=\EK, el=\EI,   ed=\EJ,
                   11617:        cud1=\EB,  home=\EH, cub1=\ED, cuf1=\EC, cuu1=\EA,
                   11618:        cup=\ES%p1%{32}%+%c%p2%{32}%+%c,ind=^J,
                   11619:        is1=\E!\0\EW  7o\Egf\ES7 ,
                   11620:        cbt=\E!Y,
                   11621:        kf0=\E!\0, kf1=\E!\001, kf2=\E!\002, kf3=\E!\003,
                   11622:        kf4=\E!\004, kf5=\E!\005, kf6=\E!\006, kf7=\E!\007,
                   11623:        kf8=\E!\010, kf9=\E!\011, kf10=\E!\012,
                   11624:        kbs=^H, kcud1=\E!U, khome=\E!S, kcub1=\E!V, kcuf1=\E!W,
                   11625:        kcuu1=\E!T, ll=\ES7 , ri=\ER,
                   11626: pe7000c|perkin elmer 7000 series colour monitor,
                   11627:        is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s,
                   11628:        rmso=\Eb0, rmul=\E!\0, smso=\Eb2, smul=\E!\040,
                   11629:        use=pe7000m,
                   11630:
                   11631: #### Prime
                   11632: #
                   11633: # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
                   11634: # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
                   11635: # Prime merged with ComputerVision in the late 1980s; you can reach them at:
                   11636: #
                   11637: #      ComputerVision Services
                   11638: #      500 Old Connecticut Path
                   11639: #      Framingham, Mass.
                   11640: #
                   11641:
                   11642: # Standout mode is dim reverse-video.
                   11643: pt100|pt200|wren|fenix|prime pt100/pt200,
                   11644:        am, bw, mir, msgr,
                   11645:        cols#80, it#8, lines#24,
                   11646:        cbt=\E[Z, clear=\E?, cr=\r, cub=\E[%p1%dD,
                   11647:        cub1=\010, cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC,
                   11648:        cuf1=\E[C, cup=\E0%p1%'!'%+%c%p2%'!'%+%c,
                   11649:        cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
                   11650:        dim=\E[2m, dl=\E[M, ed=\E[J\E[r, el=\E[K\E[t,
                   11651:        flash=\E$$<200/>\E$P,
                   11652:        home=\E$B, ht=\011, il1=\E[L\E[t, ind=\012,
                   11653:        kbs=\010, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   11654:        kcuu1=\E[A, khome=\E$A, nel=\r\012, rmcup=, rmir=\E[4l,
                   11655:        rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   11656:        smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
                   11657:        smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
                   11658: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
                   11659:        cols#132,
                   11660:        cup=\E[%i%p1%d;%p2%dH, use=pt100,
                   11661: pt250|Prime PT250,
                   11662:        smso@, rmso@, use=pt100,
                   11663: pt250w|Prime PT250 in 132-column mode,
                   11664:        smso@, rmso@, use=pt100w,
                   11665:
                   11666: #### Sperry Univac
                   11667: #
                   11668: # Sperry Univac has merged with Burroughs to form Unisys.
                   11669: #
                   11670:
                   11671: # This entry is for the Sperry UTS30 terminal running the TTY
                   11672: # utility under control of CP/M Plus 1R1. The functionality
                   11673: # provided is comparable to the DEC vt100.
                   11674: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
                   11675: uts30|sperry uts30 with cp/m@1R1,
                   11676:        am, bw, hs,
                   11677:        cols#80, lines#24, wsl#40,
                   11678:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   11679:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=\f, cnorm=\ES,
                   11680:        cr=\r, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, cub=\E[%p1%dD, cub1=\b,
                   11681:        cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
                   11682:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP,
                   11683:        dch1=\EM, dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=\r,
                   11684:        home=\E[H, ht=\t, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
                   11685:        kbs=\b, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
                   11686:        ind=\l, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, rc=\EX, rev=\E[7m,
                   11687:        rf=/usr/share/tabset/vt100, ri=\EI, rin=\E[%p1%dA, rmacs=\Ed,
                   11688:        rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
                   11689:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\EW, sgr0=\E[m,
                   11690:        smacs=\EF, smam=\E[?7m, smso=\E[7m, smul=\E[4m, tsl=\E], uc=\EPB,
                   11691:
                   11692: #### Tandem
                   11693: #
                   11694: # Tandem builds these things for use with its line of fault-tolerant
                   11695: # transaction-processing computers.  They aren't generally available
                   11696: # on the merchant market, and so are fairly uncommon.
                   11697: #
                   11698:
                   11699: tandem6510|adm3a repackaged by Tandem,
                   11700:        use=adm3a,
                   11701:
                   11702: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   11703: # have a fourth digit after 653 that designates minor variants.  These are
                   11704: # natively block-mode and rather ugly, but they have a character mode which
                   11705: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
                   11706: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   11707: # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
                   11708: tandem653|t653x|Tandem 653x multipage terminal,
                   11709:        am, da, db, hs, OTbs,
                   11710:        cols#80, lines#24, wsl#64, xmc#1,
                   11711:        clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
                   11712:        cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   11713:        dsl=\Eo\r, ed=\EJ, el=\EK, fsl=^M, home=\EH,
                   11714:        ind=\ES, ri=\ET,
                   11715:        rmso=\E6\s, rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60,
                   11716:        tsl=\Eo,
                   11717:
                   11718: #### Tandy/Radio Shack
                   11719: #
                   11720: # Tandy has a line of VDTs distinct from its microcomputers.
                   11721: #
                   11722:
                   11723: dmterm|deskmate terminal,
                   11724:        am, bw,
                   11725:        cols#80, lines#24,
                   11726:        bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M,
                   11727:        cub1=^H, cud1=\EB, cuf1=\EC,
                   11728:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   11729:        dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   11730:        ich1=\EQ, il1=\EP, ind=\EX, kcub1=\ED, kcud1=\EB,
                   11731:        kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3,
                   11732:        kf3=\E4, kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8,
                   11733:        kf8=\E9, kf9=\E0, khome=\EH, lf0=f1, lf1=f2,
                   11734:        lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
                   11735:        lf8=f9, lf9=f10, ll=\EE,
                   11736:        invis@, smul@, rmul@, use=adm+sgr,
                   11737: dt100|dt-100|Tandy DT-100 terminal,
                   11738:        xon,
                   11739:        cols#80, lines#24, xmc#1,
                   11740:        acsc=kkllmmjjnnwwvvttuuqqxx, bel=^G, civis=\E[?25l,
                   11741:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   11742:        csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B,
                   11743:        cuf1=\E[C, cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   11744:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   11745:        ht=^I, ich1=\E[@, il1=\E[L, ind=^J,
                   11746:        is2=\E[?3l\E)0\E(B, kcub1=\E[D, kcud1=\E[B,
                   11747:        kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, kf10=\E[?5i,
                   11748:        kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
                   11749:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
                   11750:        khome=\E[H, knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2,
                   11751:        lf3=f3, lf4=f4, lf5=f5, lf6=f6, lf7=f7, lf8=f8,
                   11752:        ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smacs=^N,
                   11753:        smso=\E[7m, smul=\E[4m,
                   11754: dt100w|dt-100w|Tandy DT-100 terminal (wide mode),
                   11755:        cols#132,
                   11756:        use=dt100,
                   11757: dt110|Tandy DT-110 emulating ansi,
                   11758:        xon,
                   11759:        cols#80, lines#24,
                   11760:        acsc=kkllmmjjnnwwvvuuttqqxx, bel=^G, civis=\E[?25l,
                   11761:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   11762:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B,
                   11763:        cuf1=\E[C, cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A,
                   11764:        dch1=\E[0P, dl1=\E[0M, ed=\E[0J, el=\E[0K,
                   11765:        enacs=\E(B\E)0, home=\E[H, ht=^I, ich1=\E[0@,
                   11766:        il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
                   11767:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
                   11768:        kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~,
                   11769:        kf4=\E[4~, kf5=\E[5~, kf6=\E[6~, kf7=\E[7~,
                   11770:        kf8=\E[8~, kf9=\E[9~, khome=\E[G, kich1=\E[@,
                   11771:        knp=\E[26~, kpp=\E[25~, lf0=f1, lf1=f2, lf2=f3,
                   11772:        lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
                   11773:        lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
                   11774:        sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
                   11775: pt210|TRS-80 PT-210 printing terminal,
                   11776:        hc, os,
                   11777:        cols#80,
                   11778:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   11779:
                   11780: #### Tektronix (tek)
                   11781: #
                   11782: # Tektronix tubes are graphics terminals.  Most of them use modified
                   11783: # oscilloscope technology incorporating a long-persistence green phosphor,
                   11784: # and support vector graphics on a main screen with an attached "dialogue
                   11785: # area" for interactive text.
                   11786: #
                   11787:
                   11788: tek|tek4012|tektronix 4012,
                   11789:        OTbs, cr=^M, cud1=^J, bel=^G, ff=^L$<1000>,
                   11790:        is2=\E^O, cub1=^H, clear=\E^L$<1000>, cols#75, lines#35, os,
                   11791: # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   11792: tek4013|tektronix 4013,
                   11793:        acsc=, smacs=\E^N, rmacs=\E^O, use=tek4012,
                   11794: tek4014|tektronix 4014,
                   11795:        is2=\E^O\E9, cols#81, lines#38, use=tek4012,
                   11796: # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   11797: tek4015|tektronix 4015,
                   11798:        acsc=, smacs=\E^N, rmacs=\E^O, use=tek4014,
                   11799: tek4014-sm|tektronix 4014 in small font,
                   11800:        is2=\E^O\E\072, cols#121, lines#58, use=tek4014,
                   11801: # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
                   11802: tek4015-sm|tektronix 4015 in small font,
                   11803:        acsc=, smacs=\E^N, rmacs=\E^O, use=tek4014-sm,
                   11804: # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
                   11805: #
                   11806: # You need to have "stty nl2" in effect.  Some versions of tset(1) know
                   11807: # how to set it for you.
                   11808: #
                   11809: # It's got the Magic Cookie problem around stand-out mode.  If you can't
                   11810: # live with Magic Cookie, remove the :so: and :se: fields and do without
                   11811: # reverse video.  If you like reverse video stand-out mode but don't want
                   11812: # it to flash, change the letter 'H' to 'P' in the :so: field.
                   11813: tek4023|tektronix 4023,
                   11814:        OTbs, am,
                   11815:        OTdN#4, cols#80, lines#24, vt#4, xmc#1,
                   11816:        OTnl=^J, cr=^M, cud1=^J, bel=^G, kbs=^H, smso=^_P, rmso=^_@,
                   11817:        cup=\034%p2%{32}%+%c%p1%{32}%+%c, cuf1=\t, cub1=^H,
                   11818:        clear=\E^L$<4/>,
                   11819: # It is recommended that you run the 4025 at 4800 baud or less;
                   11820: # various bugs in the terminal appear at 9600.  It wedges at the
                   11821: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   11822: # on keyboard don't work.  You have to hit BREAK twice to get
                   11823: # one break at any speed - this is a documented feature.
                   11824: # Can't use cursor motion because it's memory relative, and
                   11825: # because it only works in the workspace, not the monitor.
                   11826: # Same for home. Likewise, standout only works in the workspace.
                   11827: #
                   11828: # <el> was commented out since vi and rogue seem to work better
                   11829: # simulating it with lots of spaces!
                   11830: #
                   11831: # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
                   11832: # and didn't seem necessary.
                   11833: #
                   11834: tek4024|tek4025|tek4027|tektronix 4024/4025/4027,
                   11835:        OTbs, cr=^M, ind=^F^J, cud1=^F^J, bel=^G, am, da, db, ht=^I, it#8,
                   11836:        cub1=^H, lm#0, lines#34, cols#80, clear=^_era\r\n\n,
                   11837:        is2=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r,
                   11838:        smkx=^_lea p4 /h/\r^_lea p8 /k/\r^_lea p6 / /\r^_lea p2 /j/\r^_lea f5 /H/\r,
                   11839:        rmkx=^_lea p2\r^_lea p4\r^_lea p6\r^_lea p8\r^_lea f5\r,
                   11840:        cuu1=^K, cuf1=^_rig\r,
                   11841:        ed=^_dli 50\r, cmdch=^_,
                   11842:        dch1=^_dch\r, ich1=^_ich\r ^H,
                   11843:        il1=^_up\r^_ili\r, dl1=^_dli\r^F,
                   11844:        il=^_up\r^_ili %p1%d\r, dl=^_dli %p1%d\r^F,
                   11845:        cuu=^_up %p1%d\r, cud=^_dow %p1%d\r,
                   11846:        cub=^_lef %p1%d\r, cuf=^_rig %p1%d\r,
                   11847: tek4025-17|tek 4025 17 line window,
                   11848:        lines#17, use=tek4025,
                   11849: tek4025-17-ws|tek 4025 17 line window in workspace,
                   11850:        is2=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r^_wor 17\r^_mon 17\r,
                   11851:        smcup=^_wor h\r, rmcup=^_mon h\r, smso=^_att e\r, rmso=^_att s\r, use=tek4025-17,
                   11852: tek4025-ex|tek4027-ex|tek 4025/4027 w/!,
                   11853:        smcup=\41com 31\r, rmcup=^_com 33\r,
                   11854:        is2=^_com 33\r\n\41sto 9 17 25 33 41 49 57 65 73\r, use=tek4025,
                   11855: # Tektronix 4025a
                   11856: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   11857: # The following status modes are assumed for normal operation (replace the
                   11858: # initial "!" by whatever the current command character is):
                   11859: #      !COM 29                 # NOTE: changes command character to GS (^])
                   11860: #      ^]DUP
                   11861: #      ^]ECH R
                   11862: #      ^]EOL
                   11863: #      ^]RSS T
                   11864: #      ^]SNO N
                   11865: #      ^]STO 9 17 25 33 41 49 57 65 73
                   11866: # Other modes may be set according to communication requirements.
                   11867: # If the command character is inadvertently changed, termcap can't restore it.
                   11868: # Insert-character cannot be made to work on both top and bottom rows.
                   11869: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
                   11870: # There also seems to be a problem with vertical motion, perhaps involving
                   11871: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   11872: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   11873: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   11874: # work any more. -- esr)
                   11875: tek4025a|Tektronix 4025A,
                   11876:        OTbs, OTpt, am, bw, da, db, xon,
                   11877:        cols#80, it#8, lines#34,
                   11878:        OTrs=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;,
                   11879:        bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;,
                   11880:        cmdch=^], cr=^M, cub=\035lef %p1%d;, cub1=^H,
                   11881:        cud=\035dow %p1%d;, cud1=^J, cuf=\035rig %p1%d;,
                   11882:        cuf1=\035rig;, cuu=\035up %p1%d;, cuu1=^K,
                   11883:        dch=\035dch %p1%d;, dch1=\035dch;,
                   11884:        dl=\035dli %p1%d;, dl1=\035dli;, el=\035dch 80;,
                   11885:        hpa=\r\035rig %p1%d;, ht=^I, il1=\013\035ili;,
                   11886:        ind=^J, indn=\035dow %p1%d;, tbc=\035sto;,
                   11887: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   11888: # Here's the command file that I use to get rogue to work on the 4025.
                   11889: # It should work with any program using the old curses (e.g. it better
                   11890: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   11891: # see the cursor.)
                   11892: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
                   11893: tek4025-cr|tek 4025 for curses and rogue,
                   11894:        am, OTbs,
                   11895:        cols#80, it#8, lines#33,
                   11896:        clear=\037era;, cub1=^H, cud1=^F^J, ind=^F^J,
                   11897:        cuf1=\037rig;, cup=\037jum%i%p1%d\054%p2%d;,
                   11898:        cuu1=^K, ht=\t,
                   11899:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   11900:        rmcup=\037wor 0, smcup=\037wor 33h,
                   11901: # next two lines commented out since curses only allows 128 chars, sigh.
                   11902: #      :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:\
                   11903: #      :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:
                   11904: tek4025ex|4025ex|4027ex|tek 4025 w/!,
                   11905:        is2=\037com 33\r\n!sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r,
                   11906:        rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
                   11907: tek4105|tektronix 4105,
                   11908:        am, acsc=, il1=\E[1L, ed=\E[J, el=\E[K, clear=\E[2J\E[H,
                   11909:        cup=\E[%i%p1%2d;%p2%2dH, OTbs,
                   11910:        cols#79, lines#29,
                   11911:        dch1=\E[1P, dl1=\E[1M,
                   11912:        home=\E[H, smir=\E[4h, rmir=\E[4l, mir,
                   11913:        cuf1=\E[1C, cud1=\E[1B, cuu1=\E[1A,
                   11914:        smacs=\E[1m, rmacs=\E[m, msgr,
                   11915:        rmso=\E[=0;<1m, smso=\E[=2;<3m,
                   11916:        ul, smul=\E[=5;<2m, rmul=\E[=0;<1m,
                   11917:        is1=\E%!1\E[m,
                   11918:        rev=\E[=1;<3m, bold=\E[=7;<4m, invis=\E[=6;<5, dim=\E[=1;<6m,
                   11919:        blink=\E[=3;<7m, sgr0=\E[=0;<1m,
                   11920:        rmcup=, smcup=\E%!1\E[?6l\E[2J, xenl, xt,
                   11921:        msgr, mir, kbs=^h, kcuu1=\E[1A, kcud1=\E[1B,
                   11922:        kcub1=\E[1D, kcuf1=\E[1C,
                   11923:        is2=\E%!1\E[?6141\E[m,
                   11924:        cbt=\E[Z, cr=^M, ri=\E[T, ind=\E[S, it#8,
                   11925:        tbc=\E[1g, ht=^I, bel=^G,
                   11926:
                   11927: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
                   11928: tek4105-30|4015 emulating 30 line vt100,
                   11929:        am, mir, msgr, xenl, xon,
                   11930:        cols#80, it#8, lines#30, vt#3,
                   11931:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   11932:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   11933:        clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
                   11934:        cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
                   11935:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   11936:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   11937:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>,
                   11938:        el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=\t,
                   11939:        hts=\EH, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b,
                   11940:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
                   11941:        kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
                   11942:        kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   11943:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   11944:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>,
                   11945:        rmso=\E[m$<2>, rmul=\E[m$<2>,
                   11946:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   11947:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
                   11948:        sgr0=\E[m^O$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   11949:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   11950:
                   11951: # Tektronix 4105 from BRL
                   11952: # The following setup modes are assumed for normal operation:
                   11953: #      CODE ansi               CRLF no                 DABUFFER 141
                   11954: #      DAENABLE yes            DALINES 30              DAMODE replace
                   11955: #      DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
                   11956: #      FLAGGING input          INSERTREPLACE replace   LFCR no
                   11957: #      ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
                   11958: #      SELECTCHARSET G1 0      TABS -2
                   11959: # Other setup modes may be set for operator convenience or communication
                   11960: # requirements; I recommend
                   11961: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   11962: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   11963: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   11964: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
                   11965: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   11966: #      PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
                   11967: #      XMTDELAY 0
                   11968: # and factory color maps.  After setting these modes, save them with NVSAVE. No
                   11969: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   11970: # "IC" cannot be used in combination with "im" & "ei".
                   11971: # "tek4105a" is just a guess:
                   11972: tek4105a|Tektronix 4105,
                   11973:        OTbs, OTpt, msgr, xon,
                   11974:        OTkn#8, cols#80, it#8, lines#30, vt#3,
                   11975:        OTrs=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLA>\ELM0\EKE0\ENF1\EKS0\END0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>,
                   11976:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   11977:        civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
                   11978:        cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   11979:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   11980:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11981:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
                   11982:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   11983:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   11984:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
                   11985:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   11986:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
                   11987:        kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
                   11988:        lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   11989:        rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
                   11990:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7,
                   11991:        sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
                   11992:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   11993:
                   11994: #
                   11995: # Tektronix 4106/4107/4109 from BRL
                   11996: # The following setup modes are assumed for normal operation:
                   11997: #      CODE ansi               COLUMNMODE 80           CRLF no
                   11998: #      DABUFFER 141            DAENABLE yes            DALINES 32
                   11999: #      DAMODE replace          DAVISIBILITY yes        ECHO no
                   12000: #      EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
                   12001: #      LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
                   12002: #      PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
                   12003: #      TABS -2
                   12004: # Other setup modes may be set for operator convenience or communication
                   12005: # requirements; I recommend
                   12006: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   12007: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   12008: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   12009: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
                   12010: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   12011: #      PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
                   12012: #      XMTDELAY 0
                   12013: # and factory color maps.  After setting these modes, save them with NVSAVE.  No
                   12014: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   12015: # "IC" cannot be used in combination with "im" & "ei".
                   12016: tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109,
                   12017:        msgr, xon,
                   12018:        cols#80, it#8, lines#32, vt#3,
                   12019:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   12020:        civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
                   12021:        cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   12022:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   12023:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   12024:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
                   12025:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   12026:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   12027:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
                   12028:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   12029:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
                   12030:        kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
                   12031:        lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   12032:        rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
                   12033:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   12034:        rs1=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>,
                   12035:        sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
                   12036:        smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g,
                   12037:
                   12038: tek4107|tek4109|tektronix terminals 4107 4109,
                   12039:        am, mir, msgr, ul, xenl, xt, OTbs,
                   12040:        cvvis=\E%!3,
                   12041:        cnorm=\E%!0,
                   12042:        cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\EJ, el=\EK,
                   12043:        clear=\ELZ, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cols#79, lines#29,
                   12044:        cuf1=\EC, ht=^I, it#8, ri=\EI, cuu1=\EA,
                   12045:        kcuu1=\EA, kcud1=\EB, kcuf1=\EC, kcub1=\ED, kbs=^H,
                   12046:        smso=\E%!1\E[7;5m$<2>\E%!0,
                   12047:        rmso=\E%!1\E[m$<2>\E%!0,
                   12048:        smul=\E%!1\E[4m$<2>\E%!0,
                   12049:        rmul=\E%!1\E[m$<2>\E%!0,
                   12050:        bold=\E%!1\E[1m$<2>\E%!0,
                   12051:        rev=\E%!1\E[7m$<2>\E%0,
                   12052:        blink=\E%!1\E[5m$<2>\E%!0,
                   12053:        dim=\E%!1\E[<0m$<2>\E%!0,
                   12054:        sgr0=\E%!1\E[m$<2>\E%!0,
                   12055:        sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0,
                   12056: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   12057: # see the note attached to tek4207.
                   12058: tek4207-s|Tektronix 4207 with sysline but no memory,
                   12059:        eslok, hs,
                   12060:        dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
                   12061:        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,
                   12062:        is2=\E7\E[?6l\E[2K\E[?6h\E8,
                   12063:        tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
                   12064:
                   12065: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   12066: # look good for screen editing.  In the dialog area, you can't move the cursor
                   12067: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   12068: # is no way to scroll.
                   12069: #
                   12070: # Note that there is a floppy for free from Tek that makes the
                   12071: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   12072: # an expected enhancement that will use ANSI standard sequences.
                   12073: #
                   12074: # 4112 in non-dialog area pretending to scroll. It really wraps
                   12075: # but vi is said to work (more or less) in this mode.
                   12076: #
                   12077: # 'vi' works reasonably well with this entry.
                   12078: #
                   12079: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
                   12080:        cr=^M, cud1=^J, ind=^J, bel=^G, cuu1=^K, cub1=^H,
                   12081:        am, clear=\E^L, lines#34, cols#80,
                   12082:        smcup=\EKA0\ELV0\EMG0, rmcup=\EKA1\ELV1,
                   12083: # The 4112 with the ANSI compatibility enhancement
                   12084: tek4112|tek4114|tektronix 4110 series,
                   12085:        am, db, OTbs,
                   12086:        cols#80, lines#34,
                   12087:        cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C,
                   12088:        cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P,
                   12089:        dl1=\E[M, ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
                   12090:        ind=\E7\E[0;0H\E[M\E8, is2=\E3!1,
                   12091:        ri=\E7\E[0;0H\E[L\E8, rmso=\E[m, rmul=\E[m,
                   12092:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   12093: tek4112-nd|4112 not in dialog area,
                   12094:        OTns,
                   12095:        cuu1=^K, use=tek4112,
                   12096: tek4112-5|4112 in 5 line dialog area,
                   12097:        lines#5,
                   12098:        use=tek4112,
                   12099: # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
                   12100: # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
                   12101: # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
                   12102: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   12103: # to be 4-digit octal -- esr)
                   12104: tek4113|tektronix 4113 color graphics with 5 line dialog area,
                   12105:        am, da, eo, OTbs,
                   12106:        cols#80, lines#5,
                   12107:        clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
                   12108:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
                   12109:        is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
                   12110: tek4113-34|tektronix 4113 color graphics with 34 line dialog area,
                   12111:        lines#34,
                   12112:        is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
                   12113: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   12114: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   12115: # :vb: needs enough delay to let you see the background color being toggled.
                   12116: tek4113-nd|tektronix 4113 color graphics with no dialog area,
                   12117:        am, eo, OTbs,
                   12118:        cols#80, it#8, lines#34,
                   12119:        clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
                   12120:        cvvis=\ELZ\EKA0, ht=\t,
                   12121:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
                   12122:        home=\ELF7l\177 @, is2=\ELZ\EKA0\ELF7l\177 @,
                   12123:        ll=\ELF hl @, rmso=\EMT1, smso=\EMT2,
                   12124:        uc=\010\EMG1_\EMG0,
                   12125: # This entry is from Tek. Inc.  (Brian Biehl)
                   12126: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
                   12127: otek4115|Tektronix 4115,
                   12128:        OTbs, am, da, db, eo,
                   12129:        cols#80, it#8, lines#34,
                   12130:        cbt=\E[Z, clear=\E[H\E[2J,
                   12131:        cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D,
                   12132:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   12133:        cuu1=\E[A, cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P,
                   12134:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=\t,
                   12135:        if=/usr/share/tabset/vt100, il1=\E[L,
                   12136:        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,
                   12137:        kbs=^H, ri=\EM, rmam=\E[?7l, rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J,
                   12138:        rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   12139:        smcup=\E%!0\ELBB2\E%!1, smam=\E[?7h, smir=\E[4h, smkx=\E=,
                   12140:        smso=\E[7m, smul=\E[4m,
                   12141: tek4115|newer tektronix 4115 entry with more ANSI capabilities,
                   12142:        am, xon,
                   12143:        cols#80, lines#34,
                   12144:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   12145:        clear=\E[H\E[J, cr=\r, cub=\E[%p1%dD, cub1=\b,
                   12146:        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
                   12147:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   12148:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   12149:        home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=\t, hts=\EH,
                   12150:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                   12151:        ind=\n, invis=\E[8m, kbs=\b, kcub1=\E[D, kcud1=\E[B,
                   12152:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   12153:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, rmso=\E[m,
                   12154:        rmul=\E[m,
                   12155:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   12156:        sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   12157:        vpa=\E[%p1%{1}%+%dd,
                   12158: # The tek4125 emulates a vt100 incorrectly - the scrolling region
                   12159: # command is ignored.  The following entry replaces <csr> with the needed
                   12160: # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
                   12161: # chokes on; and adds a lot of initialization for the tek dialog area.
                   12162: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   12163: # Steve Jacobson 8/85
                   12164: # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
                   12165: # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
                   12166: tek4125|tektronix 4125,
                   12167:        lines#34,
                   12168:        csr@, dl1=\E[1M, il1=\E[1L,
                   12169:        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,
                   12170:        rc@, sc@, .smir=\E1, smkx=\E=, use=vt100,
                   12171:
                   12172: # From: <jcoker@ucbic>
                   12173: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   12174: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
                   12175: # note that if jcoker wasn't confused you may be able to use this one.
                   12176: # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
                   12177: tek4207|Tektronix 4207 graphics terminal with memory,
                   12178:        am, bw, mir, msgr, ul, xenl,
                   12179:        cols#80, it#8, lines#32,
                   12180:        blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   12181:        clear=\E[H\E[J$<156/>, cub1=^H, cud1=^J, cuf1=\E[C,
                   12182:        cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P$<4/>,
                   12183:        dl1=\E[M$<3/>, ed=\E[J, el=\E[K$<5/>, home=\E[H,
                   12184:        ht=\t, ich1=\E[@$<4/>, il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5,
                   12185:        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,
                   12186:        kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM,
                   12187:        khome=\E[H, rev=\E[7m, ri=\E[T,
                   12188:        rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f,
                   12189:        rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   12190:        smcup=\E[?6l\E[H\E[J, smso=\E[7m,
                   12191:        smul=\E[4m, tbc=\E[1g,
                   12192:
                   12193: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
                   12194: # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
                   12195: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   12196: tek4404|tektronix 4404,
                   12197:        cols#80, it#8, lines#32, OTbs,
                   12198:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
                   12199:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   12200:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   12201:        dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=\t, hts=\E[2I,
                   12202:        il1=\E[1L, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   12203:        kcuu1=\E[A, rc=\E8, rmcup=\E[1;1H\E[0J\E[?6h\E[?1l,
                   12204:        rmir=\E[4l, rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m,
                   12205:        sc=\E7, sgr0=\E[m, smcup=\E%\E!1\E[1;32r\E[?6l\E>,
                   12206:        smir=\E[4h, smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
                   12207: # Some unknown person wrote:
                   12208: # I added the is string - straight Unix has ESC ; in the login
                   12209: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   12210: # mode). The is string here cleans up a few things (but not
                   12211: # everything).
                   12212: ct8500|tektronix ct8500,
                   12213:        cr=^M, cud1=^J, ind=^J, bel=^G, cr=^M, cud1=^J, ind=^J, bel=^G,
                   12214:        il1=\E^L, am, cub1=^H, cbt=\E^I, bw, ed=\E^U, el=\E^T,
                   12215:        clear=\E^E, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cols#80,
                   12216:        da, db, dch1=\E^],
                   12217:        dl1=\E^M, ich1=\E^\, lines#25, cuf1=\ES, ht=^I, ri=\E^A, rmso=\E ,
                   12218:        smso=\E$, rmul=\E , cuu1=\ER, smul=\E\041, is2=^_\EZ\Ek,
                   12219:        sgr0=\E\s,
                   12220:
                   12221: # Tektronix 4205 terminal.
                   12222: #
                   12223: # am is not defined because the wrap around occurs not when the char.
                   12224: # is placed in the 80'th column, but when we are attempting to type
                   12225: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   12226: # version of xenl, perhaps am + xenl would work!)
                   12227: #
                   12228: # Bold, dim, and standout are simulated by colors and thus not allowed
                   12229: # with colors.  The tektronix color table is mapped into the RGB color
                   12230: # table by setf/setb. All colors are reset to factory specifications by oc.
                   12231: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
                   12232: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   12233: # interval then maps into pre-defined value.
                   12234: tek4205|tektronix 4205,
                   12235:        .am, msgr, mir, ccc,
                   12236:        cols#80, lines#30, it#8, colors#8, pairs#63, ncv#49,
                   12237:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   12238:        il1=\E[1L, ed=\E[J, el=\E[K, clear=\E[2J\E[H,
                   12239:        il=\E[%p1%dL,
                   12240:        cup=\E[%i%p1%d;%p2%dH,
                   12241:        dch1=\E[1P, dl1=\E[1M,
                   12242:        home=\E[H, smir=\E[4h, rmir=\E[4l,
                   12243:        cuf1=\E[C, cud1=\E[B, cuu1=\E[A, cub1=\E[D,
                   12244:        cuf=\E[%p1%dC, cud=\E[%p1%dB, cuu=\E[%p1%dA, cub=\E[%p1%dD,
                   12245:        ech=\E%p1%dX, el1=\E[1K, ich=\E[%p1%d@,
                   12246:        smacs=, rmacs=, enacs=\E)0,
                   12247:        rmso=\E[=0;<1m, smso=\E[=2;<3m,
                   12248:        smul=\E[4m, rmul=\E[24m,
                   12249:        is1=\E%!0\ETM1\E%!1\E[m,
                   12250:        rev=\E[7m, bold=\E[=7;<4m, invis=\E[=6;<5, dim=\E[=1;<6m,
                   12251:        blink=\E[5m, sgr0=\E[=0;<1m\E[24;25;27m,
                   12252:        rmcup=, smcup=\E%%!1\E[?6l\E[2J,
                   12253:        kbs=^h, kcuu1=\E[A, kcud1=\E[B,
                   12254:        kcub1=\E[D, kcuf1=\E[C,
                   12255:        .is2=\E%%!1\E[?6141\E[m,
                   12256:        cbt=\E[Z, cr=^M, ind=\ED, ri=\EM,
                   12257:        tbc=\E[1g, ht=^I, bel=^G,
                   12258:        setf=\E[<%?%p1%{0}%=%t0m
                   12259:                 %e%p1%{1}%=%t4m
                   12260:                 %e%p1%{2}%=%t3m
                   12261:                 %e%p1%{3}%=%t5m
                   12262:                 %e%p1%{4}%=%t2m
                   12263:                 %e%p1%{5}%=%t6m
                   12264:                 %e%p1%{6}%=%t7m
                   12265:                 %e1m%;,
                   12266:        setb=\E[=%?%p1%{0}%=%t0m
                   12267:                 %e%p1%{1}%=%t4m
                   12268:                 %e%p1%{2}%=%t3m
                   12269:                 %e%p1%{3}%=%t5m
                   12270:                 %e%p1%{4}%=%t2m
                   12271:                 %e%p1%{5}%=%t6m
                   12272:                 %e%p1%{6}%=%t7m
                   12273:                 %e1m%;,
                   12274:        oc=\E%!0
                   12275:              \ETFB0
                   12276:                0000
                   12277:                1F4F4F4
                   12278:                2F400
                   12279:                30F40
                   12280:                4A4C<F4
                   12281:                50F4F4
                   12282:                6F40F4
                   12283:                7F4F40
                   12284:            \E%!1,
                   12285:        op=\E[39;40m,
                   12286:        initc=\E%%!0
                   12287:              \ETF4
                   12288:                 %?%p1%{0}%=%t0
                   12289:                 %e%p1%{1}%=%t4
                   12290:                 %e%p1%{2}%=%t3
                   12291:                 %e%p1%{3}%=%t5
                   12292:                 %e%p1%{4}%=%t2
                   12293:                 %e%p1%{5}%=%t6
                   12294:                 %e%p1%{6}%=%t7
                   12295:                 %e1%;
                   12296:                  %?%p2%{125}%<%t0
                   12297:                  %e%p2%{250}%<%tA2
                   12298:                  %e%p2%{375}%<%tA?
                   12299:                  %e%p2%{500}%<%tC8
                   12300:                  %e%p2%{625}%<%tD4
                   12301:                  %e%p2%{750}%<%tE1
                   12302:                  %e%p2%{875}%<%tE:
                   12303:                  %eF4%;
                   12304:                  %?%p3%{125}%<%t0
                   12305:                  %e%p3%{250}%<%tA2
                   12306:                  %e%p3%{375}%<%tA?
                   12307:                  %e%p3%{500}%<%tC8
                   12308:                  %e%p3%{625}%<%tD4
                   12309:                  %e%p3%{750}%<%tE1
                   12310:                  %e%p3%{875}%<%tE:
                   12311:                  %eF4%;
                   12312:                  %?%p4%{125}%<%t0
                   12313:                  %e%p4%{250}%<%tA2
                   12314:                  %e%p4%{375}%<%tA?
                   12315:                  %e%p4%{500}%<%tC8
                   12316:                  %e%p4%{625}%<%tD4
                   12317:                  %e%p4%{750}%<%tE1
                   12318:                  %e%p4%{875}%<%tE:
                   12319:                  %eF4%;
                   12320:              \E%%!1,
                   12321:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD,
                   12322:        kf4=\EP, kf5=\EQ, kf6=\ER, kf7=\ES,
                   12323:
                   12324: #### Teletype (tty)
                   12325: #
                   12326: # These are the hardcopy Teletypes from before AT&T bought the company,
                   12327: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   12328: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   12329: # Teletype-branded VDTs are listed in the AT&T section.
                   12330: #
                   12331: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   12332: # other programs still default to emitting codes for the Model 37.
                   12333: #
                   12334:
                   12335: tty33|tty35|model 33 or 35 teletype,
                   12336:        hc, os, xon,
                   12337:        cols#72,
                   12338:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   12339: tty37|model 37 teletype,
                   12340:        hc, os, xon, OTbs,
                   12341:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, ind=^J,
                   12342:
                   12343: # There are known to be at least three flavors of the tty40, all seem more
                   12344: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   12345: # awful braindamage, such as printing a visible newline indicator after each
                   12346: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   12347: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   12348: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   12349: # it - it's null here to prevent it from showing the BL character.
                   12350: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
                   12351: # a "newline" style terminal (-crmode) vi figures all it needs is nl
                   12352: # to get crlf, even if <cr> is not ^M.)
                   12353: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   12354: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
                   12355:        OTbs,
                   12356:        clear=\EH$<20>\EJ$<80>, ed=\EJ$<75>, il1=\EL$<50>, dl1=\EM$<50>,
                   12357:        dch1=\EP$<50>, ich1=\E\^$<50>, cuf1=\EC, cuu1=\E7, cub1=^H, cr=\EG,
                   12358:        ind=\ES$<20>, cud1=\EB, cols#80, lines#24, smso=\E3, rmso=\E4,
                   12359:        xon, kbs=\035, kcub1=^H, rs2=^S\ER$<60>, hts=\E1, home=\EH$<10>,
                   12360:        ri=\ET$<10>, tbc=\EH\E2$<80>, mc5=^R$<2000>, mc4=^T, ht=\E@$<10>,
                   12361: tty43|model 43 teletype,
                   12362:        OTbs, am, hc, os, xon,
                   12363:        cols#132,
                   12364:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
                   12365:
                   12366: #### Tymshare
                   12367: #
                   12368:
                   12369: # You can add <is2=\E<> to put this 40-column mode, though I can't
                   12370: # for the life of me think why anyone would want to.
                   12371: scanset|sc410|sc415|Tymshare Scan Set,
                   12372:        msgr, am, bw,
                   12373:        cols#80, lines#24,
                   12374:        bel=^G, cub1=^H, cud1=^J, ind=^J, cuu1=^K, cr=^M, cuf1=^I,
                   12375:        sc=^B, rc=^C, clear=\EH\EJ,
                   12376:        kcuu1=\EA, kcud1=\EB, kcuf1=\EC, kcub1=\ED,
                   12377:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   12378:        ed=\EJ, el=\EK, home=\EH,
                   12379:        rs1=\E>,
                   12380:        smacs=^N, rmacs=^O, acsc=l<m-k4j%q\,x5,
                   12381:        mc0=\E;3, mc4=\E;0, mc5=\E;0,
                   12382:
                   12383: #### Volker-Craig (vc)
                   12384: #
                   12385: # If you saw a Byte Magazine cover with a terminal on it during the early
                   12386: # 1980s, it was probably one of these.  Carl Helmers liked them because
                   12387: # they could crank 19.2 and were cheap (that is, he liked them until he tried
                   12388: # to program one...)
                   12389: #
                   12390:
                   12391: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   12392: # every other linefeed.
                   12393: vc303|vc103|vc203|volker-craig 303,
                   12394:        OTbs, OTns, am,
                   12395:        cols#80, lines#24,
                   12396:        bel=^G, clear=^L$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^N,
                   12397:        home=^K$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^N,
                   12398:        ll=\017$<1>W,
                   12399: vc303a|vc403a|volker-craig 303a,
                   12400:        clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
                   12401:        home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P,
                   12402:        use=vc303,
                   12403: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   12404: vc404|volker-craig 404,
                   12405:        am, OTbs,
                   12406:        cols#80, lines#24,
                   12407:        bel=^G, clear=^X$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   12408:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, ed=^W$<40>,
                   12409:        el=^V$<20>, home=^Y$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^U,
                   12410:        kcuu1=^Z,
                   12411: vc404-s|volker-craig 404 w/standout mode,
                   12412:        cud1=^J, rmso=^O, smso=^N, use=vc404,
                   12413: # From: <wolfgang@cs.sfu.ca>
                   12414: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
                   12415: vc414|vc414h|Volker-Craig 414H in sane escape mode.,
                   12416:        OTbs, am,
                   12417:        cols#80, lines#24,
                   12418:        clear=\E\034$<40>, cud1=\E^K, cuf1=^P, cuu1=\E^L,
                   12419:        cup=\E\021%p2%c%p1%c$<40>, dch1=\E3, dl1=\E\023$<40>,
                   12420:        ed=\E^X, el=\E\017$<10/>, home=\E^R, ich1=\E\072,
                   12421:        il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P,
                   12422:        kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
                   12423:        kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R,
                   12424:        lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, lf4=PF5,
                   12425:        lf5=PF6, lf6=PF7, lf7=PF8, rmso=\E^_, smso=\E^Y,
                   12426: vc415|volker-craig 415,
                   12427:        clear=^L, use=vc404,
                   12428:
                   12429: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   12430: #
                   12431:
                   12432: #### IBM PC and clones
                   12433: #
                   12434:
                   12435: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   12436: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   12437: # doesn't support scrolling regions, ignores add line commands, and ignores
                   12438: # delete line commands. Consequently, the resulting behavior looks like a
                   12439: # crude adm3a-type terminal.
                   12440: # Steve Jacobson 8/85
                   12441: pcplot|pc-plot terminal emulation program,
                   12442:        xenl@,
                   12443:        csr@, rc@, sc@, il@, dl@, il1@, dl1@, use=vt100,
                   12444: # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
                   12445: # I've found that my KayPro II, running MDM730, continues to emulate an
                   12446: # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
                   12447: # system the following termcap entry works well:
                   12448: # I have noticed a couple of minor glitches, but nothing I can't work
                   12449: # around. (I added two capabilities from the BRL entry -- esr)
                   12450: kaypro|kaypro2|kaypro II,
                   12451:        am, OTbs,
                   12452:        cols#80, lines#24,
                   12453:        bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L,
                   12454:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W,
                   12455:        el=^X, home=^^, il1=\EE, ind=^J,
                   12456:        kcud1=^J, kcuf1=^L, kcuu1=^K,
                   12457:
                   12458: # From IBM, Thu May  5 19:35:27 1983
                   12459: # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
                   12460: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
                   12461:        cud1=^J, ind=^J$<10>, bel=^G, .smir=\0R, am, cub1=^], OTbs,
                   12462:        kcud1=^_, clear=^L^K, cr=^M^^, home=^K, lines#24, cuu1=^^,
                   12463:        cuf1=^\, cols#80,
                   12464:
                   12465: #### Apple II
                   12466: #
                   12467: # Apple II firmware console first, then various 80-column cards and
                   12468: # terminal emulators.  For two cents I'd toss all these in the UFO file
                   12469: # along with the 40-column apple entries.
                   12470: #
                   12471:
                   12472: # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
                   12473: #      'it#8' tells UNIX that you have tabs every 8 columns.  This is a
                   12474: #              function of TIC, not the firmware.
                   12475: #      The clear key on a IIgs will do something like clear-screen,
                   12476: #              depending on what you're in.
                   12477: appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface,
                   12478:        OTbs, am, bw, eo, msgr,
                   12479:        cols#80, it#8, lines#24,
                   12480:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
                   12481:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   12482:        home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J,
                   12483:        kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N,
                   12484:        smso=^O,
                   12485: # Apple //e with 80-column card, entry from BRL
                   12486: # The modem interface is permitted to discard LF (maybe DC1), otherwise
                   12487: # passing characters to the 80-column firmware via COUT (PR#3 assumed).
                   12488: # Auto-wrap does not work right due to newline scrolling delay, which also
                   12489: # requires that you set "stty cr2".
                   12490: # Note: Cursor addressing is only available via the Pascal V1.1 entry,
                   12491: # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
                   12492: # using a terminal emulation program instead of the built-in firmware.
                   12493: apple2e|Apple //e,
                   12494:        bw, msgr,
                   12495:        cols#80, lines#24,
                   12496:        bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_,
                   12497:        ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W,
                   12498:        is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K,
                   12499:        nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
                   12500:        smso=^O,
                   12501: # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
                   12502: # 4.20, with incoming and outgoing terminals both on 0, emulation On.
                   12503: apple2e-p|Apple //e via Pascal,
                   12504:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H,
                   12505:        kcud1=^J,
                   12506:        use=apple2e,
                   12507: # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
                   12508: # Enable DC3/DC1 flow control with "stty ixon -ixany".
                   12509: apple-ae|ASCII Express,
                   12510:        OTbs, am, bw, msgr, nxon, xon,
                   12511:        cols#80, it#8, lines#24,
                   12512:        bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   12513:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   12514:        home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H,
                   12515:        kcud1=^J, kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N,
                   12516:        rs1=^R^N, sgr0=^N, smso=^O,
                   12517: appleII|apple ii plus,
                   12518:        OTbs, am,
                   12519:        cols#80, it#8, lines#24,
                   12520:        clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
                   12521:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
                   12522:        cvvis=^TC6, ed=^K, el=^], flash=\024G1$<200/>\024T1,
                   12523:        home=\E^Y, ht=\t, is2=\024T1\016, kcud1=^J, kcuf1=^U,
                   12524:        rmso=^N, sgr0=^N, smso=^O,
                   12525: # Originally by Gary Ford 21NOV83
                   12526: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   12527: apple-80|apple II with smarterm 80 col,
                   12528:        am, bw, OTbs,
                   12529:        cols#80, lines#24,
                   12530:        cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
                   12531:        cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
                   12532:        ed=\013$<10*/>, el=^]$<10/>, home=^Y,
                   12533: apple-soroc|apple emulating soroc 120,
                   12534:        am,
                   12535:        cols#80, lines#24,
                   12536:        bel=^G, clear=\E*$<300>, cr=\r, cub1=\b, cud1=\n,
                   12537:        cuf1=\f, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   12538:        ed=\EY, el=\ET, home=^^, ind=\n, kcub1=\b, kcud1=\n,
                   12539:        kcuf1=\f, kcuu1=^K,
                   12540: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   12541: #   ucbvax!ucsfmis!harrison  .....uucp
                   12542: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   12543: # "These two work.  If you don't have the inverse video chip for the
                   12544: # Apple with videx then remove the :so: and :se: fields."
                   12545: # (apple-videx: this used to be called DaleApple -- esr)
                   12546: apple-videx|Apple with videx videoterm 80 column board with inverse video,
                   12547:        am, xenl, OTbs,
                   12548:        cols#80, it#8, lines#24,
                   12549:        clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
                   12550:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K,
                   12551:        el=^], home=^Y, ht=\t, kcub1=^H, kcud1=^J, kcuf1=^U,
                   12552:        khome=^Y, rmso=^Z2, sgr0=^Z2, smso=^Z3,
                   12553: # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
                   12554: #                            Apple Cat ][ 212 modem, + more all
                   12555: #                            controlled by ASCII Express: Pro.
                   12556: # From Dave Shaver <isucs1!shaver>
                   12557: apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell,
                   12558:        OTbs, am, eo, xt,
                   12559:        cols#80, lines#24,
                   12560:        acsc=, clear=^L, cuf1=^\,
                   12561:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   12562:        flash=^W35^W06, home=^Y,
                   12563:        is2=^V4^W06\017\rVisible Bell Installed.\016\r\n,
                   12564:        rmso=^N, smso=^O,
                   12565: apple-uterm|Ultraterm for Apple micros,
                   12566:        OTbs, am, eo, xt,
                   12567:        cols#80, lines#24,
                   12568:        acsc=, clear=^L, cuf1=^\,
                   12569:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   12570:        home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O,
                   12571: # from trwrba!bwong (Bradley W. Wong):
                   12572: #
                   12573: # This entry assumes that you are using an apple with the UCSD Pascal
                   12574: # language card.  SYSTEM.MISCINFO is assumed to be the same as that
                   12575: # supplied with the standard apple except that screenwidth should be set
                   12576: # using SETUP to 80 columns.  Note that the right arrow in not mapped in
                   12577: # this termcap entry.  This is because that key, on the Apple, transmits
                   12578: # a ^U and would thus preempt the more useful "up" function of vi.
                   12579: #
                   12580: # HMH 2/23/81
                   12581: apple80p|80-column apple with Pascal card,
                   12582:        am, bw,
                   12583:        cols#80, lines#24,
                   12584:        clear=^Y^L, cuf1=\034\072, cuu1=\037,
                   12585:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, ed=^K, el=^], home=^Y, kcub1=^H,
                   12586: #
                   12587: # Apple II+ equipped with Videx 80 column card
                   12588: #
                   12589: # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
                   12590: # manually converted by D A Gwyn
                   12591: #
                   12592: # DO NOT use any terminal emulation with this data base, it works directly
                   12593: # with the Videx card.  This has been tested with vi 1200 baud and works fine.
                   12594: #
                   12595: # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
                   12596: # 1 screen, while in R2 ^U doesn't.
                   12597: # For inverse alternate character set add:
                   12598: #      <smacs>=^O:<rmacs>=^N:
                   12599: # (apple-v: added it#8 -- esr)
                   12600: apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520),
                   12601:        am, xenl,
                   12602:        cols#80, it#8, lines#24,
                   12603:        bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H,
                   12604:        cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c,
                   12605:        cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>,
                   12606:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
                   12607:        khome=^Y, rmso=^Z2, smso=^Z3,
                   12608: apple-videx3|vapple|Apple II with 80 col card,
                   12609:        OTbs, am,
                   12610:        cols#80, lines#24,
                   12611:        clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   12612:        el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   12613:        kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E , kf4=\E!, kf5=\E", kf6=\E#,
                   12614:        kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH,
                   12615: #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
                   12616: aepro|Apple II+ running ASCII Express Pro--vt52,
                   12617:        OTbs, cols#80, lines#24,
                   12618:        clear=\014$<300/>, cuf1=\EC,
                   12619:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   12620:        el=\EK, home=\EH,
                   12621: # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
                   12622: apple-vm80|ap-vm80|apple with viewmax-80,
                   12623:        OTbs,
                   12624:        cols#80, lines#24,
                   12625:        clear=\014$<300/>,
                   12626:        cuf1=\034\072, el=\035,
                   12627:        cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_,
                   12628:        ed=\013$<300/>, home=\031$<200/>,
                   12629:
                   12630: #### Apple Lisa & Macintosh
                   12631: #
                   12632:
                   12633: # (lisa: changed <cvvis> to <cnorm> -- esr)
                   12634: lisa|apple lisa console display (black on white),
                   12635:        am, eo, msgr, OTbs,
                   12636:        cols#88, it#8, lines#32,
                   12637:        acsc=lfmekcjdttuvvuwsqax`nb,
                   12638:        clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   12639:        civis=\E[5h, cnorm=\E[5l,
                   12640:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   12641:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=\t, ich1=\E[@,
                   12642:        il1=\E[L, is2=\E>\E[m\014, kbs=^H, kcub1=\E[D,
                   12643:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m,
                   12644:        rmso=\E[m, rmul=\E[m, smacs=\E[11m,
                   12645:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   12646: liswb|apple lisa console display (white on black),
                   12647:        is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
                   12648:        smso=\E[m, smul=\E[4m, use=lisa,
                   12649:
                   12650: # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
                   12651: # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
                   12652: #
                   12653: # These entries assume that the 'Auto Wraparound' is enabled.
                   12654: # Xon-Xoff flow control should also be enabled.
                   12655: #
                   12656: # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
                   12657: # settings are in non-volatile memory and don't need to be reset upon login.
                   12658: # Also setting the number of columns glitches the screen annoyingly.
                   12659: # You can type "reset" to get them set.
                   12660: #
                   12661: lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation,
                   12662:        OTbs, OTpt, am, xenl, xon,
                   12663:        OTkn#4, cols#80, it#8, lines#24, vt#3,
                   12664:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   12665:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   12666:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   12667:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
                   12668:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD,
                   12669:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ,
                   12670:        kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
                   12671:        rc=\E8, rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m,
                   12672:        rmul=\E[m,
                   12673:        rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r,
                   12674:        sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   12675:        tbc=\E[3g,
                   12676: # Lisaterm in 132 column ("wide") mode.
                   12677: lisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
                   12678:        cols#132,
                   12679:        kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm,
                   12680: # Although MacTerminal has insert/delete line, it is commented out here
                   12681: # since it is much faster and cleaner to use the "lock scrolling region"
                   12682: # method of inserting and deleting lines due to the MacTerminal implementation.
                   12683: # Also, the "Insert/delete ch" strings have an extra character appended to them
                   12684: # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
                   12685: # supported by MacTerminal.
                   12686: mac|macintosh|Macintosh with MacTerminal,
                   12687:        xenl,
                   12688:        OTdN#30,
                   12689:        blink@, dch1=\E[P$<7/>,
                   12690:        .dl1=\E[M$<20/>, ich1=\E[@$<9/>, .il1=\E[L$<20/>,
                   12691:        ip=$<7/>,
                   12692:        use=lisa,
                   12693: # Lisaterm in 132 column ("wide") mode.
                   12694: mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
                   12695:        cols#132, use=mac,
                   12696:
                   12697: #### Radio Shack/Tandy
                   12698: #
                   12699:
                   12700: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   12701: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   12702: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   12703: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
                   12704:        am, OTbs,
                   12705:        cols#80, it#8, lines#24,
                   12706:        bel=^G, blink=^_", bold=\E\072^A, civis=^E ,
                   12707:        clear=^L$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
                   12708:        cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
                   12709:        dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H,
                   12710:        kcud1=^J, kcuf1=^I, kcuu1=^L, rev=^_ , rmso=^_!,
                   12711:        rmul=^_#, sgr0=\037!\E\072\0, smso=^_ , smul=^_",
                   12712: # (trs2: removed obsolete ":nl=^_:" -- esr)
                   12713: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
                   12714:        am, msgr, OTbs,
                   12715:        cols#80, it#8, lines#24,
                   12716:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
                   12717:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K,
                   12718:        ed=^B, el=^A, home=^F, ht=\t, il1=^D, ind=^J, kbs=^H, kcub1=^\,
                   12719:        kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
                   12720: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
                   12721: # (This had extension capabilities
                   12722: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   12723: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
                   12724: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
                   12725: trs16|trs-80 model 16 console,
                   12726:        am, OTbs,
                   12727:        cols#80, it#8, lines#24,
                   12728:        acsc=l_mbk`javewcquxs,
                   12729:        bel=^G, civis=\ERc, clear=^L, cnorm=\ERC,
                   12730:        cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   12731:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   12732:        dch1=\EQ, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   12733:        ich1=\EP, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   12734:        kcuf1=\EC, kcuu1=\EA, kf0=^A, kf1=^B, kf2=^D,
                   12735:        kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, khome=^W,
                   12736:        lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
                   12737:        mc4=\E]+, mc5=\E]=,
                   12738:        lf7=f8, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, smacs=\ERG,
                   12739:        smso=\ERD,
                   12740:
                   12741: #### Atari ST
                   12742: #
                   12743:
                   12744: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   12745: atari|atari st,
                   12746:        am, OTbs,
                   12747:        cols#80, it#8, lines#25,
                   12748:        clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
                   12749:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   12750:        ed=\EJ, el=\EK, ht=\t, il1=\EL, kcub1=\ED, kcud1=\EB,
                   12751:        kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
                   12752: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   12753: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
                   12754: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
                   12755:        lines#49,
                   12756:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220,
                   12757: # MiNT VT52 emulation. 80 columns, 25 rows.
                   12758: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   12759: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   12760: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
                   12761: # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
                   12762: st52|Atari ST with VT52 emulation,
                   12763:        am, km,
                   12764:        cols#80, lines#25,
                   12765:        bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M,
                   12766:        cub1=\ED, cud1=\EB, cuf1=\EC,
                   12767:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   12768:        ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J,
                   12769:        ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
                   12770:        kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P,
                   12771:        kcuf1=\E#M, kcuu1=\E#H, kf0=\E#D, kf1=\E#;,
                   12772:        kf2=\E#<, kf3=\E#=, kf4=\E#>, kf5=\E#?, kf6=\E#@,
                   12773:        kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
                   12774:        kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J,
                   12775:        rc=\Ek, ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej,
                   12776:        sgr0=\Eq, smcup=\Ee, smso=\Ep,
                   12777:
                   12778: #### Commodore Business Machines
                   12779: #
                   12780: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   12781: # after years of shaky engineering and egregious mismanagement.  Made one
                   12782: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   12783: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   12784: # ever (most units sold); they can still be found gathering dust in closets
                   12785: # everywhere.
                   12786: #
                   12787:
                   12788: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   12789: # Added a few more entries, converted caret-type control sequence (^x) entries
                   12790: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   12791: #
                   12792: # :as:, :ae:                   Support for alternate character sets.
                   12793: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   12794: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   12795: #     This one appears to fix a problem I always had with a line ending
                   12796: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   12797: #     line tended to disappear and reappear depending on how the screen
                   12798: #     was refreshed. Note that this is probably needed only if you use
                   12799: #     something like a Dnet Fterm with the window sized to some peculiar
                   12800: #     dimension larger than 80 columns.
                   12801: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
                   12802: # (amiga: removed obsolete :kn#10:,
                   12803: # also added empty <acsc> to suppress a warning --esr)
                   12804: amiga|Amiga ANSI,
                   12805:        OTbs, am, bw, xenl,
                   12806:        cols#80, lines#24,
                   12807:        acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m,
                   12808:        cbt=\E[Z, civis=\E[0\sp, clear=\E[H\E[J,
                   12809:        cnorm=\E[\sp, cub=\E[%p1%dD, cub1=\E[D,
                   12810:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   12811:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   12812:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   12813:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   12814:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                   12815:        ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l,
                   12816:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   12817:        kf0=\E9~, kf1=\E0~, kf2=\E1~, kf3=\E2~, kf4=\E3~,
                   12818:        kf5=\E4~, kf6=\E5~, kf7=\E6~, kf8=\E7~, kf9=\E8~,
                   12819:        rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rs1=\Ec,
                   12820:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smacs=^N,
                   12821:        smso=\E[7m, smul=\E[4m,
                   12822:
                   12823: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
                   12824: # (amiga: added empty <acsc> to suppress a warning.
                   12825: # I'm told this entry screws up badly with AS225, the Amiga
                   12826: # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
                   12827: amiga-h|Hans Verkuil's Amiga ANSI,
                   12828:        bw, msgr, OTbs,
                   12829:        cols#80, lines#24,
                   12830:        acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
                   12831:        civis=\2330 p, clear=\233H\233J, cnorm=\233 p,
                   12832:        cr=^M, cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB,
                   12833:        cud1=\233B, cuf=\233%p1%dC, cuf1=\233C,
                   12834:        cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
                   12835:        dch=\233%p1%dP, dch1=\233P, dim=\2332m,
                   12836:        ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
                   12837:        home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@,
                   12838:        ind=\233S, indn=\233%p1%dS, invis=\2338m,
                   12839:        is2=\23320l, kbs=^H, kcub1=\233D, kcud1=\233B,
                   12840:        kcuf1=\233C, kcuu1=\233A, kdch1=\177, kf0=\2339~,
                   12841:        kf1=\2330~, kf2=\2331~, kf3=\2332~, kf4=\2333~,
                   12842:        kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
                   12843:        kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
                   12844:        rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h,
                   12845:        rmso=\2330m, rmul=\2330m, rs1=\Ec, sgr0=\2330m,
                   12846:        smacs=^N, smcup=\233?7l, smso=\2337m, smul=\2334m,
                   12847:
                   12848: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   12849: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   12850: # having a little trouble. I've had to map most of my control characters
                   12851: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   12852: # and create some functions (like cm), but thats life.
                   12853: #      The problem is with the arrow keys - right, and up work fine, but
                   12854: # left deletes the previous character and down I just can't figure out.
                   12855: # Jove knows what I want, but I don't know what it's sending to me (it
                   12856: # isn't thats bound to next-line in jove).
                   12857: #      Anybody got any ideas? Here's my termcap.
                   12858: # DAG -- I changed his "^n" entries to "\n"; see if that works.
                   12859: #
                   12860: commodore|b-128|Commodore B-128 micro,
                   12861:        am, bw,
                   12862:        OTdN#20, cols#80, lines#24, pb#150,
                   12863:        OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J, cuf1=^F,
                   12864:        cup=\E\013%p1%2d\054%p2%2d\054$<20/>, cuu1=^P,
                   12865:        dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
                   12866:        home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
                   12867:        kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E,
                   12868:        rmir=, smir=,
                   12869:
                   12870: #### North Star
                   12871: #
                   12872: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   12873: northstar|North Star Advantage,
                   12874:        OTbs, cols#80, lines#24,
                   12875:        clear=\004$<200/>,
                   12876:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
                   12877:        el=\016$<200/>, home=\034\032$<200/>,
                   12878:
                   12879: #### Osborne
                   12880: #
                   12881: # Thu Jul  7 03:55:16 1983
                   12882: #
                   12883: # As an aside, be careful; it may sound like an anomaly on the
                   12884: # Osborne, but with the 80-column upgrade, it's too easy to
                   12885: # enter lines >80 columns!
                   12886: #
                   12887: # I've already had several comments...
                   12888: # The Osborne-1 with the 80-col option is capable of being
                   12889: # 52, 80, or 104 characters wide; default to 80 for compatibility
                   12890: # with most systems.
                   12891: #
                   12892: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
                   12893: osborne-w|osborne1-w|osborne I in 104-column mode,
                   12894:        msgr, ul, xt,
                   12895:        cols#104, lines#24,
                   12896:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   12897:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   12898:        dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
                   12899:        kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
                   12900: # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
                   12901: osborne|osborne1|osborne I in 80-column mode,
                   12902:        OTbs, am, mir, msgr, ul, xhp,
                   12903:        OTdB#4, cols#80, lines#24,
                   12904:        clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L,
                   12905:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   12906:        dch1=\\EW$<4/>, dl1=\ER, el=\ET, il1=\EE,
                   12907:        is2=^Z, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   12908:        rmir=, rmso=\E), rmul=\Em, smir=\EQ, smso=\E(, smul=\El,
                   12909: #
                   12910: # Osborne Executive definition from BRL
                   12911: # Similar to tvi920
                   12912: # Added by David Milligan and Tom Smith (SMU)
                   12913: osexec|Osborne executive,
                   12914:        OTbs, am,
                   12915:        OTug#1, cols#80, lines#24, xmc#1,
                   12916:        OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   12917:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   12918:        dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ,
                   12919:        il1=\EE, is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J,
                   12920:        kcuf1=^L, kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r,
                   12921:        kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r,
                   12922:        kf8=^AH\r, kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em,
                   12923:        smir=, smso=\Ej, smul=\El, tbc=\E3,
                   12924:
                   12925: #### Console types for obsolete UNIX clones
                   12926: #
                   12927: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   12928: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
                   12929: # were commercial, Minix an educational tool sold in conjunction with a book.
                   12930: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   12931: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   12932: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   12933: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
                   12934: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   12935: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   12936: # even as single processes under SunOS and the Macintosh OS.
                   12937: #
                   12938:
                   12939: # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
                   12940: minix|minix console (v1.7),
                   12941:        am, xenl,
                   12942:        cols#80, it#8, lines#25,
                   12943:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
                   12944:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   12945:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   12946:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   12947:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
                   12948:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   12949:        is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   12950:        kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S,
                   12951:        kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +,
                   12952:        lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM,
                   12953:        rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   12954: # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
                   12955: minix-old|minix console (v1.5),
                   12956:        xon,
                   12957:        cols#80, it#8, lines#25,
                   12958:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
                   12959:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   12960:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   12961:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   12962:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H,
                   12963:        ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   12964:        il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   12965:        kcuf1=\E[C, kcuu1=\E[A, kf0=\E[Y, kf1=\E[V,
                   12966:        kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, khome=\E[H,
                   12967:        nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
                   12968:        rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   12969: # The linewrap option can be specified by editing /usr/include/minix/config.h
                   12970: # before recompiling the minix 1.5 kernel.
                   12971: minix-old-am|minix console with linewrap,
                   12972:        am, use=minix-old,
                   12973:
                   12974: pc-minix|minix console on an Intel box,
                   12975:        use=klone+acs, use=minix,
                   12976:
                   12977: # According to the Coherent 2.3 manual, the PC console is similar
                   12978: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   12979: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   12980: # has blinking and bold.
                   12981: pc-coherent|pcz19|coherent|IBM PC console running Coherent,
                   12982:        am, mir,
                   12983:        cols#80, it#8, lines#25,
                   12984:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB,
                   12985:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   12986:        cuu1=\EA, dch1=\EN, ed=\EJ, el=\EK, home=\EH,
                   12987:        ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   12988:        kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
                   12989:        rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
                   12990:
                   12991: # According to the Venix 1.1 manual, the PC console is similar
                   12992: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   12993: # different strings, (2) enhanced standout, (3) added insert/delete line.
                   12994: # Note in particular that it doesn't have automatic margins.
                   12995: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   12996: # not described here because this derives from an old termcap entry.
                   12997: pc-venix|venix|IBM PC console running Venix,
                   12998:        cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\EJ, el=\EK,
                   12999:        clear=\EH\EJ, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cols#80, lines#25,
                   13000:        cuf1=\EC, ht=^I, it#8, ri=\EI, cuu1=\EA,
                   13001:        kcuu1=\EH, kcud1=\EP, kcuf1=\EM, kcub1=\EK, kbs=^H,
                   13002:        il1=\EL, dl1=\EM, khome=\EG,
                   13003:
                   13004: #### Miscellaneous microcomputer consoles
                   13005: #
                   13006: # If you know anything more about any of these, please tell me.
                   13007: #
                   13008:
                   13009: # The MAI Basic Four computer was obsolete at the end of the 1980s.
                   13010: # It may be used as a terminal by putting it in "line" mode as seen on
                   13011: # one of the status lines.
                   13012: # Initialization is similar to CIT80. <is2> will set ANSI mode for you.
                   13013: # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
                   13014: # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I
                   13015: # used \ED instead.
                   13016: # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
                   13017: mai|basic4|MAI Basic Four in ansi mode,
                   13018:        am, da, db, mir, msgr,
                   13019:        cols#82, it#8, lines#25,
                   13020:        bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h,
                   13021:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,
                   13022:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
                   13023:        dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
                   13024:        if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED,
                   13025:        is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H,
                   13026:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   13027:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                   13028:        kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T,
                   13029:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
                   13030:        smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   13031: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   13032: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   13033: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   13034: basis|BASIS108 computer with terminal translation table active,
                   13035:        clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
                   13036:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
                   13037:        smso=\E(, use=adm3a,
                   13038: # luna's BMC terminal emulator
                   13039: luna|luna68k|LUNA68K Bitmap console,
                   13040:        cols#88, lines#46,
                   13041:        use=ansi-mini,
                   13042: megatek|pegasus workstation terminal emulator,
                   13043:        cols#83, lines#60, os, am,
                   13044: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   13045: # interface (pre-Macintosh by several years) that went nowhere.
                   13046: xerox820|x820|Xerox 820,
                   13047:        cr=^M, cud1=^J, ind=^J, bel=^G, am, cub1=^H,
                   13048:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   13049:        clear=1^Z, ed=^Q, el=^X, cols#80, home=^^, lines#24,
                   13050:        cuf1=^L, cuu1=^K,
                   13051:
                   13052: #### Videotex and teletext
                   13053: #
                   13054:
                   13055: # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
                   13056: #
                   13057: minitel1|minitel 1,
                   13058:        am, bw, eslok, hz,
                   13059:        cols#40, lines#24, colors#8, pairs#8,
                   13060:        bel=^G, cr=^M, civis=^T, cnorm=^Q, cub1=^H, cuf1=^I, cud1=^J,
                   13061:        cuu1=^K, home=^^,nel=^M^J, cup=^_%p1%'A'%+%c%p2%'A'%+%c, clear=^L,
                   13062:        el=^X, acsc=f0g1\,\,+../, enacs=^Y, ind=^J, ri=^K, blink=\EH,
                   13063:        rev=\E], sgr0=\EI\E\\, smso=\E], rmso=\E\\, msgr,
                   13064:        sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;, hs, tsl=^_@%p1%'A'%+%c,
                   13065:        fsl=^J, is2=\E;`ZQ\E:iC\E:iE^Q, rep=%p1%c^R%p2%'?'%+%c, op=\EG,
                   13066:        setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%'@'%+%c%;,
                   13067: # is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
                   13068: minitel1b|minitel 1-bistandard (in 40cols mode),
                   13069:        cub=\E[%p1%dD, cuf=\E[%p1%dC, cuu=\E[%p1%dA, cud=\E[%p1%dB,
                   13070:        ed=\E[J, el1=\E[1K, il1=\E[L, il=\E[%p1%dL, dl1=\E[M, dl=\E[%p1%dM,
                   13071:        smir=\E[4h, rmir=\E[4l, mir, dch1=\E[P, dch=\E[%p1%dP,
                   13072:        smkx=\E;iYA\E;jYC, .rmkx=\E;jYA, is1=\E;iYA\E;jYC, kcub1=\E[D,
                   13073:        kcuf1=\E[C, kcuu1=\E[A, kcud1=\E[B, kdch1=\E[P, kdl1=\E[M, kel=^X,
                   13074:        kctab=^I, khome=\E[H, kclr=\E[2J, kich1=\E[4h, kil1=\E[L,
                   13075:        use=minitel1,
                   13076: # <rmkx> posait des problemes (logout en sortant de vi).
                   13077: minitel1b-80|minitel 1-bistandard (standard teleinformatique),
                   13078:        am@, bw@,
                   13079:        cols#80, colors@, it#8, pairs@,
                   13080:        civis=^_@A^T^J, cnorm=^_@A^Q^J, cuf1=\E[C, cuu1=\E[A, home=\E[H,
                   13081:        nel=\EE, ht=^I, cup=\E[%i%p1%d;%p2%dH, clear=\E[H\E[2J, el=\E[K,
                   13082:        ind=\ED, ri=\EM, blink=\E[5m, rev=\E[7m, bold=\E[1m, sgr0=\E[m,
                   13083:        smso=\E[7m, rmso=\E[27m, smul=\E[4m, rmul=\E[24m,
                   13084:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   13085:        sc=\E7, rc=\E8, smkx@, rmkx@, is1@, is2@, rep@, hz@, kf0=\EOp,
                   13086:        kf1=\EOq, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv,
                   13087:        kf7=\EOw, kf8=\EOx,kf9=\EOy, kent=\EOM, op@, setf@,
                   13088:        use=minitel1b,
                   13089: # \E\:1}       switch to te'le'informatique mode (ascii terminal/ISO 6429)
                   13090: # \E[?3l       80 columns
                   13091: # \E[?4l       scrolling on
                   13092: # \E[12h       local echo off
                   13093: # \Ec          reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
                   13094: # \E)0         G1 DEC set (line graphics)
                   13095: #
                   13096: # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
                   13097: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique,
                   13098:        eslok, hs, xenl, OTbs,
                   13099:        cols#80, it#8, lines#24, wsl#72, xmc#0,
                   13100:        acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G,
                   13101:        blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J,
                   13102:        cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   13103:        cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   13104:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13105:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   13106:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G,
                   13107:        fsl=^J, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L,
                   13108:        ind=^J, indn=^J, ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h,
                   13109:        is2=\Ec\E[12h\E)0, is3=\E[?3l kbs=^H, kclr=\E[2J,
                   13110:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   13111:        kdch1=\E[P, kdl1=\E[M, kf0=\EOp, kf1=\EOq, kf10=\EOp,
                   13112:        kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu,
                   13113:        kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H,
                   13114:        kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H,
                   13115:        mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM,
                   13116:        rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E[?4l\E[12h,
                   13117:        rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, smacs=^N, smir=\E[4h,
                   13118:        smso=\E[7m, smul=\E[4m, tsl=^_@A, u6=\E[%i%d;%dR, u7=\E[6n,
                   13119:
                   13120: ######## OBSOLETE VDT TYPES
                   13121: #
                   13122: # These terminals are *long* dead -- these entries are retained for
                   13123: # historical interest only.
                   13124:
                   13125: #### Amtek Business Machines
                   13126: #
                   13127:
                   13128: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   13129: # but these caps were commented out in 8.3; also, removed overridden
                   13130: # ":do=^J:" -- esr)
                   13131: abm80|amtek business machines 80,
                   13132:        am, bw, OTbs,
                   13133:        cols#80, lines#24,
                   13134:        cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
                   13135:        cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
                   13136:        dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
                   13137:
                   13138: #### Bell Labs blit terminals
                   13139: #
                   13140: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   13141: # David Breneman <daveb@dgtl.com> has this to say:
                   13142: #
                   13143: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   13144: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   13145: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   13146: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   13147: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   13148: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   13149: #  world. And the Jerq lived the rest of its days in research, but never
                   13150: #  strayed from those paths.
                   13151: #
                   13152: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   13153: #  it started to be shown outside of the halls of the Bell Labs Research
                   13154: #  organization, the management powers that be decided that the name could
                   13155: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   13156: #
                   13157: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   13158: # 730, and 730+.)
                   13159: #
                   13160:
                   13161: blit|jerq|blit running teletype rom,
                   13162:        xon,cr=^M, ind=^J, bel=^G, am, ht=^I, it#8, ul, eo,
                   13163:        cud1=^J, cuf1=\EC, cuu1=\EA, cub1=\ED,
                   13164:        cols#87, lines#72, clear=^L, el=\EK,
                   13165:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c,
                   13166:        il1=\EF!, dl1=\EE!, ich1=\Ef!, dch1=\Ee!,
                   13167:        il=\EF%p1%{32}%+%c, dl=\EE%p1%{32}%+%c,
                   13168:        ich=\Ef%p1%{32}%+%c, dch=\Ee%p1%{32}%+%c,
                   13169:        kcuu1=\EA, kcud1=\EB, kcuf1=\EC, kcub1=\ED, kbs=^H,
                   13170:        kf1=\Ex, kf2=\Ey, kf3=\Ez,
                   13171:
                   13172: # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
                   13173: cbblit|fixterm|blit running columbus code,
                   13174:        smso=\EU!, rmso=\EV!, smul=\EU", rmul=\EV",
                   13175:        flash=\E^G, ed=\EJ, smir=\EQ, rmir=\ER, ich1@, cols#88,
                   13176:        mc5=^R, mc4=^T, mc5p=\EP%p1%03d, use=blit,
                   13177:
                   13178: oblit|ojerq|first version of blit rom,
                   13179:        xon,cr=^M, cud1=^J, ind=^J, bel=^G, cols#88, lines#72, it#8, ht=^I,
                   13180:        am, ul, eo, mir, il=\Ef%p1%{32}%+%c, dl=\Ee%p1%{32}%+%c,
                   13181:        dl1=\EE, rmir=\ER, smir=\EQ, dch1=\EO, cub1=\ED, da, db,
                   13182:        il1=\EF, ed=\EJ, el=\EK, clear=^L, cup=\EY%p2%{32}%+%c%p1%{32}%+%c,
                   13183:        cuf1=\EC, cuu1=\EA, flash=\E^G, kbs=^H,
                   13184:
                   13185: #### Bolt, Beranek & Newman (bbn)
                   13186: #
                   13187: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   13188: # The parent company, best known as the architects of the Internet, is
                   13189: # still around.
                   13190: #
                   13191: # Jeff DelPapa <dp@world.std.com> writes:
                   13192: # The bitgraph was a large white box that contained a monochrome bitmap
                   13193: # display, and a 68000 to run it.  You could download code and run it on
                   13194: # the cpu, it had 128kb (I think) of memory.  I used one in the late
                   13195: # 70's, sure beat a vt100.  It had one strange feature tho -- it used
                   13196: # the cpu to bitblt pixels to scroll, it took longer than the refresh
                   13197: # rate, and looked like a rubber sheet stretching, then snapping
                   13198: # upwards.  It had everything the early mac had, except a floppy drive a
                   13199: # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
                   13200: # Beranek and Neuman) sold at most a few hundred of them to the real
                   13201: # world.  DOD may have bought more...
                   13202: #
                   13203:
                   13204: # Entries for the BitGraph terminals.  The problem
                   13205: # with scrolling in vi can only be fixed by getting BBN to put
                   13206: # smarter scroll logic in the terminal or changing vi or padding
                   13207: # scrolls with about 500 ms delay.
                   13208: #
                   13209: # I always thought the problem was related to the terminal
                   13210: # counting newlines in its input buffer before scrolling and
                   13211: # then moving the screen that much. Then vi comes along and
                   13212: # paints lines in on the bottom line of the screen, so you get
                   13213: # this big white gap.
                   13214:
                   13215: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
                   13216:        is2=\E>\E[?5l\E[?7h, flash=\E[?5h$<200/>\E[?5l, use=bg2.0,
                   13217: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
                   13218:        is2=\E>\E[?5h\E[?7h, flash=\E[?5l$<200/>\E[?5h, use=bg2.0,
                   13219: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
                   13220:        OTbs, xenl,
                   13221:        cols#85, lines#64,
                   13222:        bel=^G, clear=\E[H\E[J$<150>, cr=^M,
                   13223:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
                   13224:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
                   13225:        dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
                   13226:        il1=\E[L$<2*>, ind=\n$<280>, kcub1=\E[D,
                   13227:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   13228:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, lf2=PF2,
                   13229:        lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m,
                   13230:        sc=\E7, sgr0=\E[m, smkx=\E=, smso=\E[7m,
                   13231:
                   13232: bg1.25rv|bbn bitgraph 1.25 (reverse video),
                   13233:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25,
                   13234: bg1.25nv|bbn bitgraph 1.25 (normal video),
                   13235:        is2=\E>\E[?5l\E[?7h, flash=\E[?5h$<200/>\E[?5l, use=bg1.25,
                   13236: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
                   13237: bg1.25|bbn bitgraph 1.25,
                   13238:        cr=^M, cud1=^J, bel=^G, il1=\E[L$<2*>, cub1=^H,
                   13239:        ed=\E[J$<150>, el=\E[K$<2>, clear=\E[H\E[J$<150>, cup=%i\E[%p1%d;%p2%dH,
                   13240:        cols#85, dl1=\E[M$<2*>, cud1=\E[B, kf1=\EP, kf2=\EQ, kf3=\ER,
                   13241:        kf4=\ES, kcud1=\EB, rmkx=\E>, kcub1=\ED, kcuf1=\EC, smkx=\E=,
                   13242:        kcuu1=\EA, lines#64, ll=\E[64;1H, lf1=PF1, lf2=PF2, lf3=PF3,
                   13243:        lf4=PF4, cuf1=\E[C, ht=^I, rmso=\E[m, sgr0=\E[m, ind=\n$<280>,
                   13244:        smso=\E[7m, cuu1=\E[A, rmam=\E[?7l, smam=\E[?7h,
                   13245:
                   13246: #### Chromatics
                   13247: #
                   13248:
                   13249: # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
                   13250: # that is smaller than the screen, and puts up a warning message
                   13251: # outside the window. Te erases the warning message, puts the
                   13252: # window back to be the whole screen, and puts the cursor at just
                   13253: # below the small window. I defined <cnorm> and <civis> to really turn
                   13254: # the cursor on and off, but I have taken this out since I don't
                   13255: # like the cursor being turned off when vi exits.
                   13256: cg7900|chromatics|chromatics 7900,
                   13257:        cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#40, am,
                   13258:        clear=^L, cub1=^H, cup=^AM%p2%d\,%p1%d\,, cuf1=\035, cuu1=^K,
                   13259:        home=\034, ll=^A|, el=^A`, ed=^Al, il1=^A>2, dl1=^A<2,
                   13260:        ich1=^A>1, dch1=^A<1,
                   13261:        smso=^AC4\,^Ac7\,, rmso=^AC1\,^Ac2\,, uc=^A^A_^A\0,
                   13262:        smcup=^AP0^AO1^AR1^AC4\,^Ac0\,^L^AM0\,42\,WARNING DOUBLE ENTER ESCAPE and ^U^AC1\,^Ac2\,^AW0\,0\,79\,39\,,
                   13263:        rmcup=^AW0\,40\,85\,48\,^L^AW0\,0\,85\,48\,^AM0\,40\,,
                   13264:
                   13265: #### Computer Automation
                   13266: #
                   13267:
                   13268: ca22851|computer automation 22851,
                   13269:        cr=^M, cud1=^J, ind=^J, bel=^G, cup=\02%i%p1%c%p2%c, cols#80,
                   13270:        lines#24, clear=^L$<8>, am, cub1=\025, cuu1=\026, home=\036,
                   13271:        el=\035, ed=\034, cuf1=\011, kcub1=\025, kcuu1=\026,
                   13272:        kcud1=\027, khome=\036,
                   13273:
                   13274: #### Cybernex
                   13275: #
                   13276:
                   13277: # This entry has correct padding and the undocumented "ri" capability
                   13278: cyb83|xl83|cybernex xl-83,
                   13279:        am, OTbs,
                   13280:        cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=^P$<62>, el=^O$<3>,
                   13281:        clear=^L$<62>, cup=^W%p1%{32}%+%c%p2%{32}%+%c, cols#80, home=^K,
                   13282:        kcud1=^J, kcub1=^H, kcuf1=^I, kcuu1=^N,
                   13283:        lines#24, cuu1=^N, cuf1=^I, ri=^N,
                   13284: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   13285: cyb110|mdl110|cybernex mdl-110,
                   13286:        am, OTbs,
                   13287:        cols#80, lines#24,
                   13288:        bel=^G, clear=^X$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   13289:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   13290:        dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
                   13291:        ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, ht=^I$<43>,
                   13292:        ich1=\016A\035$<3.5>, il1=\016A\016\035$<65>, ind=^J,
                   13293:        rmso=^NG, smso=^NF,
                   13294:
                   13295: #### Datapoint
                   13296: #
                   13297: # Datapoint is gone.  They used to be headquartered in Texas.
                   13298: # They created ARCnet, an Ethernet competitor that flourished for a while
                   13299: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   13300: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   13301: #
                   13302:
                   13303: dp3360|datapoint|datapoint 3360,
                   13304:        am, OTbs,
                   13305:        cols#82, lines#25,
                   13306:        bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
                   13307:        ed=^_, el=^^, home=^], ind=^J,
                   13308:
                   13309: # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
                   13310: # The Datapoint 8242 Workstation was sold at least between 1985
                   13311: # and 1989. To make the terminal work with this entry, press
                   13312: # CONTROL-INT-INT to take the terminal off-line, and type (opt).
                   13313: # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
                   13314: # CR/LF off. Use control-shift-[] as escape key, control-I as tab,
                   13315: # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
                   13316: # fact unusable because the strings sent by the terminal conflict
                   13317: # with other keys).
                   13318: # The terminal is capable of displaying "box draw" characters.
                   13319: # For each graphic character you must send 2 ESC's (\E\E) followed
                   13320: # by a control character as follows:
                   13321: #         character        meaning
                   13322: #         =========        =======
                   13323: #         ctrl-E           top tee
                   13324: #         ctrl-F           right tee
                   13325: #         ctrl-G           bottom tee
                   13326: #         ctrl-H           left tee
                   13327: #         ctrl-I           cross
                   13328: #         ctrl-J           top left corner
                   13329: #         ctrl-K           top right corner
                   13330: #         ctrl-L           bottom left corner
                   13331: #         ctrl-M           bottom right corner
                   13332: #         ctrl-N           horizontal line
                   13333: #         ctrl-O           vertical line
                   13334: # Unfortunately this cannot be fitted into the termcap/terminfo
                   13335: # description scheme.
                   13336: dp8242|datapoint 8242,
                   13337:        msgr,
                   13338:        cols#80, lines#25,
                   13339:        bel=^G, civis=^Y, clear=^U\E^D^W^X, cnorm=^X, cr=^M, cub1=^H,
                   13340:        cud1=^J, cup=^I%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z,
                   13341:        ed=^W, el=^V, home=^U, ht=^I, il1=\E^T, ind=^C,
                   13342:        is1=\E^L\E^N\0\230\0\317^U^W^X\E^D,
                   13343:        rs1=\E^L\E^N\0\230\0\317^U^W^X\E^D,
                   13344:        kbs=^H, kcub1=^D, kcud1=^B,
                   13345:        rep=\E^S%p1%c%p2%c,
                   13346:        kcuf1=^F, kcuu1=^E, kf1=\007\Ee, kf2=\011\Ed, kf3=\012\Ec,
                   13347:        kf4=\012\Eb, kf5=\023\Ea, kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec,
                   13348:        kf9=\EL\Eb, kf10=\EK\Ea, nel=^M^J, ri=^K,
                   13349:        rmso=\E^D, rmul=\E^D, smso=\E^E, smul=\E^F,
                   13350:        wind=\E^L\E^N%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025,
                   13351:
                   13352: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   13353: #
                   13354: # These entries are DEC's official terminfos for its older terminals.
                   13355: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   13356: # Engineering for more information.  Updated terminfos and termcaps
                   13357: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   13358: #
                   13359:
                   13360: gt40|dec gt40,
                   13361:        cr=^M, cud1=^J, bel=^G, OTbs,
                   13362:        cub1=^H, cols#72, lines#30, os,
                   13363: gt42|dec gt42,
                   13364:        cr=^M, cud1=^J, bel=^G, OTbs,
                   13365:        cub1=^H, cols#72, lines#40, os,
                   13366:
                   13367: vt50|dec vt50,
                   13368:        cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\EJ, el=\EK, clear=\EH\EJ,
                   13369:        cols#80, lines#12, cuf1=\EC, ht=^I, cuu1=\EA, OTbs,
                   13370: vt50h|dec vt50h,
                   13371:        cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\EJ, el=\EK, OTbs,
                   13372:        clear=\EH\EJ, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cols#80, lines#12,
                   13373:        cuf1=\EC, ht=^I, ri=\EI, cuu1=\EA,
                   13374: # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
                   13375: vt52|dec vt52,
                   13376:        cols#80, it#8, lines#24, OTbs,
                   13377:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   13378:        bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB,
                   13379:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   13380:        cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J,
                   13381:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   13382:        nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
                   13383:
                   13384: # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
                   13385: vt61|vt-61|vt61.5|dec vt61,
                   13386:        cr=^M$<20>, cud1=^J, ind=^J$<20>, bel=^G, cub1=^H,
                   13387:        ed=\EJ$<120>, el=\EK$<70>, clear=\EH\EJ$<120>,
                   13388:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cols#80, lines#24,
                   13389:        cuf1=\EC$<20>, ht=^I, ri=\E$<20>I, cuu1=\EA$<20>,
                   13390:        kcuu1=\EA, kcud1=\EB, kcuf1=\EC, kcub1=\ED,
                   13391:
                   13392: # The gigi does standout with red!
                   13393: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
                   13394: gigi|vk100|dec gigi graphics terminal,
                   13395:        OTbs, cr=^M, cud1=^J, ind=^J, bel=^G, cols#84, lines#24, am,
                   13396:        clear=\E[H\E[2J, cub1=^H, cup=\E[%i%p1%d;%p2%dH, cuf1=\E[C,
                   13397:        cuu1=\E[A, el=\E[K, ed=\E[J, smso=\E[7;31m, rmso=\E[m,
                   13398:        smul=\E[4m, rmul=\E[m, sgr0=\E[m,
                   13399:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, smkx=\E[?1h\E=,
                   13400:        rmkx=\E[?1l\E>, kcuu1=\EOA,
                   13401:        kcud1=\EOB, kcuf1=\EOC, kcub1=\EOD, khome=\E[H, kf1=\EOP,
                   13402:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, ht=^I, ri=\EM, xenl, cud=\E[%p1%dB,
                   13403:        cuu=\E[%p1%dA, cub=\E[%p1%dD, cuf=\E[%p1%dC, rmam=\E[?7l, smam=\E[?7h,
                   13404:
                   13405: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   13406: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   13407: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   13408: # a format program, so you had to buy pre-formatted floppies from DEC at
                   13409: # a hefty premium!).
                   13410: pro350|decpro|dec pro console,
                   13411:        cols#80, it#8, lines#24, OTbs,
                   13412:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   13413:        clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
                   13414:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   13415:        el=\EK, home=\EH, ht=\t, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   13416:        kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH,
                   13417:        kf4=\EI, kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH,
                   13418:        ri=\EI, rmacs=\EG, rmso=\E^N, rmul=\E^C, smacs=\EF,
                   13419:        smso=\E^H, smul=\E^D,
                   13420:
                   13421: dw1|decwriter I,
                   13422:        cr=^M, cud1=^J, ind=^J, bel=^G, OTbs,
                   13423:        cub1=^H, cols#72, hc, os,
                   13424: dw2|decwriter|dw|decwriter II,
                   13425:        cr=^M, cud1=^J, ind=^J, bel=^G, kbs=^H, cub1=^H, cols#132, hc, os, OTbs,
                   13426: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   13427: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   13428: # \E[w         10 char/in pitch
                   13429: # \E[1;132     full width horizontal margins
                   13430: # \E[2g                clear all tab stops
                   13431: # \E[z         6 lines/in
                   13432: # \E[66t       66 lines/page (for \f)
                   13433: # \E[1;66r     full vertical page can be printed
                   13434: # \E[4g                clear vertical tab stops
                   13435: # \E>          disable alternate keypad mode (so it transmits numbers!)
                   13436: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
                   13437: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   13438: #              a tab stop)
                   13439: #
                   13440: #       The dw3 does standout with wide characters.
                   13441: #
                   13442: dw3|la120|decwriter III,
                   13443:        cr=^M, cud1=^J, ind=^J, bel=^G, kbs=^h, cub1=^H, cols#132, hc,
                   13444:        os, smso=\E[6w, rmso=\E[w, sgr0=\E[w, ht=^I, OTbs,
                   13445:        is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
                   13446:        is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
                   13447: dw4|decwriter IV,
                   13448:        cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, cols#132, hc, os, am, OTbs,
                   13449:        ht=^I, is2=\Ec, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, kbs=^H,
                   13450:
                   13451: # These aren't official
                   13452: ln03|dec ln03 laser printer,
                   13453:        hc,
                   13454:        cols#80, lines#66,
                   13455:        bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL,
                   13456:        ind=^J, nel=^M^J, rmso=\E[22m, rmul=\E[24m,
                   13457:        sgr0=\E[m, smso=\E[1m, smul=\E[4m,
                   13458: ln03-w|dec ln03 laser printer 132 cols,
                   13459:        cols#132,
                   13460:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H,
                   13461:        kcub1=^H, kcud1=^J, nel=^M^J, use=ln03,
                   13462:
                   13463: #### Delta Data (dd)
                   13464: #
                   13465:
                   13466: # Untested. The cup sequence is hairy enough that it probably needs work.
                   13467: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   13468: # There are BSD-derived termcap entries floating around for this puppy
                   13469: # that are *certainly* wrong.
                   13470: delta|dd5000|delta data 5000,
                   13471:        cud1=^J, ind=^J, bel=^G, am, cub1=^H, clear=^NR, OTbs,
                   13472:        cup=^O%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c,
                   13473:        cols#80, lines#27, home=^NQ, cuf1=^Y, cuu1=^Z, el=^NU, dch1=^NV,
                   13474:
                   13475: #### Digital Data Research (ddr)
                   13476: #
                   13477:
                   13478: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
                   13479: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
                   13480:        am, xenl, OTbs,
                   13481:        cols#80, it#8, lines#24, vt#3,
                   13482:        blink=\E[5m$<2/>, bold=\E[1m$<2/>, clear=\E[H\E[2J$<50/>,
                   13483:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   13484:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, ed=\E[J$<50/>,
                   13485:        el=\E[K$<3/>, home=\E[H, ht=\t, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H,
                   13486:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   13487:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
                   13488:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
                   13489:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
                   13490:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, sgr0=\E[m$<2/>,
                   13491:        smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m$<2/>,
                   13492:
                   13493: #### Evans & Sutherland
                   13494: #
                   13495:
                   13496: # Jon Leech <leech@cs.unc.edu> tells us:
                   13497: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   13498: # performance 3D vector graphics system with a bunch of specialized hardware.
                   13499: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   13500: # evolutions including (limited) color versions such as the PS330C. PS300s
                   13501: # were effectively obsolete by the late 80s, replaced by raster graphics
                   13502: # systems, although specialized applications like molecular modelling
                   13503: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   13504: # are out of production, though of course E&S is very much alive (in 1996).
                   13505: # (ps300: changed ":pt@:" to "it@" -- esr)
                   13506: #
                   13507: ps300|Picture System 300,
                   13508:        xt,
                   13509:        it@,
                   13510:        rmso@, rmul@, smso@, smul@, use=vt100,
                   13511:
                   13512: #### General Electric (ge)
                   13513: #
                   13514:
                   13515: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
                   13516:        hc, os, OTbs,
                   13517:        cols#120,
                   13518:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   13519:
                   13520: #### Heathkit/Zenith
                   13521: #
                   13522:
                   13523: # Here is a description of the H19 DIP switches:
                   13524: #
                   13525: # S401
                   13526: # 0-3 = baud rate as follows:
                   13527: #
                   13528: #         3       2       1       0
                   13529: #      ---     ---     ---     ---
                   13530: #         0       0       1       1       300 baud
                   13531: #         0       1       0       1       1200 baud
                   13532: #         1       0       0       0       2400 baud
                   13533: #         1       0       1       0       4800 baud
                   13534: #         1       1       0       0       9600 baud
                   13535: #         1       1       0       1       19.2K baud
                   13536: #
                   13537: # 4 = parity (0 = no parity)
                   13538: # 5 = even parity (0 = odd parity)
                   13539: # 6 = stick parity (0 = normal parity)
                   13540: # 7 = full duplex (0 = half duplex)
                   13541: #
                   13542: # S402
                   13543: # 0 = block cursor (0 = underscore cursor)
                   13544: # 1 = no key click (0 = keyclick)
                   13545: # 2 = wrap at end of line (0 = no wrap)
                   13546: # 3 = auto LF on CR (0 = no LF on CR)
                   13547: # 4 = auto CR on LF (0 = no CR on LF)
                   13548: # 5 = ANSI mode (0 = VT52 mode)
                   13549: # 6 = keypad shifted (0 = keypad unshifted)
                   13550: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   13551: #
                   13552: # Factory Default settings are as follows:
                   13553: #          7 6 5 4 3 2 1 0
                   13554: # S401     1 0 0 0 1 1 0 0
                   13555: # S402     0 0 0 0 0 0 0 0
                   13556: # (h19: I added <rmam>/<smam> based on the init string;
                   13557: # also added empty <acsc> to suppress a tic warning -- esr)
                   13558: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
                   13559:        acsc=, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\E[1L$<1*>, am, cub1=^H,
                   13560:        ed=\E[J, el=\E[K, clear=\E[2J, cup=\E[%i%p1%d;%p2%dH, cols#80,
                   13561:        dch1=\E[1P, dl1=\E[1M$<1*>, cud1=\E[1B, OTbs,
                   13562:        rmir=\E[4l, home=\E[H, smir=\E[4h, lines#24, mir,
                   13563:        cuf1=\E[1C, smacs=\E[10m, rmacs=\E[11m, msgr, ht=^I, it#8,
                   13564:        rmso=\E[m, smso=\E[7m, cuu1=\E[1A, cvvis=\E[>4h, cnorm=\E[>4l,
                   13565:        kbs=^h, kcuu1=\E[1A, kcud1=\E[1B, kcub1=\E[1D, kcuf1=\E[1C,
                   13566:        khome=\E[H,
                   13567:        kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, lf6=blue,
                   13568:        lf7=red, lf8=white, kf6=\EOP, kf7=\EOQ, kf8=\EOR,
                   13569:        ri=\EM, is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
                   13570:        rmam=\E[?7l, smam=\E[?7h,
                   13571: h19-bs|heathkit w/keypad shifted,
                   13572:        smkx=\Et, rmkx=\Eu, use=h19-b,
                   13573: h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
                   13574:        smkx=\Et, rmkx=\Eu, use=h19-u,
                   13575: # (h19: merged in <ip> from BSDI hp19-e entry>;
                   13576: # also added empty <acsc> to suppress a tic warning --esr)
                   13577: # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
                   13578: # Tim tells us that:
                   13579: # I have an old Zenith-19 terminal at home that still gets a lot of use.
                   13580: # This terminal suffers from the same famous insert-mode padding lossage
                   13581: # that has been acknowledged for the Z29 terminal.  Emacs is nearly
                   13582: # unusable on this box, since even a half-scroll up or down the window
                   13583: # causes flaming terminal death.
                   13584: #
                   13585: # On the Z19, the only way I have found around this problem is to remove
                   13586: # the :al: and :dl: entries entirely.  No amount of extra padding will
                   13587: # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
                   13588: # makes Emacs a little slower, but it remains in the land of the living.
                   13589: # Big win.
                   13590: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
                   13591:        am, eslok, hs, mir, msgr, OTbs,
                   13592:        cols#80, it#8, lines#24,
                   13593:        acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H,
                   13594:        cud1=\EB, cuf1=\EC,
                   13595:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   13596:        cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK,
                   13597:        fsl=\Ek\Ey5, home=\EH, ht=^I, ind=^J, ip=<1.5/>,
                   13598:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   13599:        kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
                   13600:        kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue,
                   13601:        lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO,
                   13602:        rmso=\Eq, smacs=\EF, smir=\E@, smso=\Ep,
                   13603:        tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
                   13604: h19-u|heathkit with underscore cursor,
                   13605:        cvvis@, cnorm@,
                   13606:        use=h19-b,
                   13607: h19-g|h19g|heathkit w/block cursor,
                   13608:        cnorm=\Ex4,
                   13609:        use=h19-b,
                   13610: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
                   13611:        lines#60, il1=\EL, dl1=\EM,
                   13612:        use=h19,
                   13613:
                   13614: # The major problem with the Z29 is that it requires more padding than the Z19.
                   13615: #
                   13616: # The problem with declaring an H19 to be synonymous with a Z29 is that
                   13617: # it needs more padding. It especially loses if a program attempts
                   13618: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   13619: # even loses worse if the program attempts to insert tabs at 9600
                   13620: # baud. Adding padding to text that is inserted loses because in
                   13621: # order to make the Z29 not die, one must add so much padding that
                   13622: # whenever the program tries to use insert mode, the effective
                   13623: # rate is about 110 baud.
                   13624: #
                   13625: # What program would want to put the terminal into insert mode
                   13626: # and shove stuff at it at 9600 baud you ask?
                   13627: #
                   13628: # Emacs. Emacs seems to want to do the mathematically optimal
                   13629: # thing in doing a redisplay rather than the practical thing.
                   13630: # When it is about to output a line on top of a line that is
                   13631: # already on the screen, instead of just killing to the end of
                   13632: # the line and outputting the new line, it compares the old line
                   13633: # and the new line and if there are any similarities, it
                   13634: # constructs the new line by deleting the text on the old line
                   13635: # on the terminal that is already there and then inserting new
                   13636: # text into the line to transform it into the new line that is
                   13637: # to be displayed. The Z29 does not react kindly to this.
                   13638: #
                   13639: # But don't cry for too long.... There is a solution. You can make
                   13640: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   13641: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   13642: # line will be really slow", you say. Well there is a sort of a
                   13643: # solution to that too. There is an insert character option on
                   13644: # the Z29 that will insert one character. Unfortunately, it
                   13645: # involves putting the terminal into ansi mode, inserting the
                   13646: # character, and changing it back to H19 mode. All this takes 12
                   13647: # characters. Pretty expensive to insert one character, but it
                   13648: # works. Either Emacs doesn't try to use its inserting hack when
                   13649: # it's only given an insert character ability or the Z29 doesn't
                   13650: # require padding with this (the former is probably more likely,
                   13651: # but I haven't checked it out).
                   13652: # (z29: added empty <acsc> to suppress a tic warning, merged in
                   13653: # status line capabilities from BRL entry --esr)
                   13654: z29|zenith29|z29b|zenith z29b,
                   13655:        OTbs, OTpt, am, eslok, hs, mir, msgr,
                   13656:        OTkn#10, cols#80, lines#24,
                   13657:        OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4,
                   13658:        cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   13659:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, cvvis=\Ex4,
                   13660:        dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, ed=\EJ$<14>, el=\EK$<1>,
                   13661:        fsl=\Ek\Ey5, home=\EH, ht=^I, ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>,
                   13662:        ind=\n$<2>, is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB,
                   13663:        kcuf1=\EC, kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   13664:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, lf0=home,
                   13665:        ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, rmul=\Es0, smacs=\EG,
                   13666:        smir=\E@, smso=\Ep, smul=\Es8, tsl=\Ej\Ex5\Ex1\EY8%+\s\Eo,
                   13667: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   13668: # the world is stable. <rs1> causes the terminal to be reset to the state
                   13669: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   13670: # cursor, bc -> block cursor.
                   13671: # From: Mike Meyers
                   13672: # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
                   13673: # looks vt100-compatible -- esr)
                   13674: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
                   13675:        OTbs, OTpt, am, eslok, hs, mir, msgr,
                   13676:        OTkn#10, cols#80, it#8, lines#24,
                   13677:        OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J,
                   13678:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
                   13679:        cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
                   13680:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   13681:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
                   13682:        dl=\E[%p1%dM, dsl=\E[>1l, ed=\E[J, el=\E[K,
                   13683:        fsl=\E[u\E[>5l, home=\E[H, ht=^I, hts=\EH,
                   13684:        if=/usr/share/tabset/vt100, il=\E[%p1%dL,
                   13685:        ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
                   13686:        kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~,
                   13687:        kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW,
                   13688:        kf6=\EOP, kf7=\EOQ, kf8=\EOR, kf9=\EOX, khome=\E[H,
                   13689:        lf0=help, mc0=\E#7, nel=^M\ED, rc=\E[r, rev=\E[7m,
                   13690:        ri=\EM, rmcup=\E[?7h, rmso=\E[m, rmul=\E[m,
                   13691:        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,
                   13692:        sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m,
                   13693:        smul=\E[4m, tbc=\E[3g,
                   13694:        tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
                   13695: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
                   13696:        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
                   13697:        use=z29a,
                   13698: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
                   13699:        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,
                   13700:        use=z29a,
                   13701: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
                   13702:        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,
                   13703:        use=z29a,
                   13704: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   13705: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
                   13706:        am, eslok, hs, mc5i, mir, msgr, xon,
                   13707:        cols#80, lines#24,
                   13708:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a, bel=^G,
                   13709:        blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
                   13710:        clear=\E[2J\E[H, cnorm=\E[>5l, cr=\r,
                   13711:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
                   13712:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   13713:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   13714:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   13715:        dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
                   13716:        fsl=\E[u, home=\E[H, ht=\t, hts=\EH, il=\E[%p1%dL,
                   13717:        il1=\E[1L, ind=\n, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J,
                   13718:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=\b, kc1=\EOq,
                   13719:        kc3=\EOs, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   13720:        kcuu1=\E[A, ked=\E[J, kf1=\EOS, kf2=\EOT, kf3=\EOU,
                   13721:        kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, kf8=\EOR,
                   13722:        kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
                   13723:        mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u,
                   13724:        rev=\E[7m, rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l,
                   13725:        rmso=\E[0m, rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s,
                   13726:        sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smkx=\E[>7h,
                   13727:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   13728:        tsl=\E[s\E[>1h\E[25;%i%p1%dH,
                   13729:
                   13730: # From: Brad Brahms <Brahms@USC-ECLC>
                   13731: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
                   13732:        cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw,
                   13733: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
                   13734: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
                   13735:        OTbs, OTpt, mir, msgr,
                   13736:        OTkn#10, cols#80, it#8, lines#24,
                   13737:        acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, cuf1=\EC,
                   13738:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, cuu1=\EA,
                   13739:        cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, ed=\EJ, el=\EK,
                   13740:        home=\EH, ht=\t, il1=\EL$<5*/>, kbs=^H, kcub1=\ED, kcud1=\EB,
                   13741:        kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, kf2=\ET,
                   13742:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ,
                   13743:        kf8=\ER, kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG,
                   13744:        rmir=\EO, rmso=\Eq, smacs=\EF, smir=\E@, smso=\Ep,
                   13745: p19|h19-b with il1/dl1,
                   13746:        dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
                   13747: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
                   13748: # (ztx: removed duplicate :sr: -- esr)
                   13749: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
                   13750:        am, eslok, hs, OTbs,
                   13751:        cols#80, it#8, lines#24,
                   13752:        clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
                   13753:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   13754:        dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH,
                   13755:        ht=\t, il1=\EL,
                   13756:        is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, kbs=^H,
                   13757:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   13758:        kf0=\ES, kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW,
                   13759:        kf5=\EP, kf6=\EQ, kf7=\ER, ri=\EI, rmso=\Eq,
                   13760:        rmul=\Eq, smso=\Es5, smul=\Es2,
                   13761:        tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
                   13762:
                   13763: #### IMS International (ims)
                   13764: #
                   13765: # There was a company called IMS International located in Carson City,
                   13766: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   13767: # bus/Z80 hardware and a line of terminals called Ultimas.
                   13768: #
                   13769:
                   13770: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   13771: ims950-b|bare ims950 no init string,
                   13772:        is2@, use=ims950,
                   13773: # (ims950: removed obsolete ":ko@:" -- esr)
                   13774: ims950|ims televideo 950 emulation,
                   13775:        xenl@,
                   13776:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@,
                   13777:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   13778:        kf9@, khome@, use=tvi950,
                   13779: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   13780: ims950-rv|ims tvi950 rev video,
                   13781:        xenl@,
                   13782:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@,
                   13783:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   13784:        kf9@, khome@, use=tvi950-rv,
                   13785: ims-ansi|ultima2|ultimaII|IMS Ultima II,
                   13786:        am, OTbs,
                   13787:        cols#80, it#8, lines#24,
                   13788:        clear=\E[H\E[2J, cub1=^H, cud1=\ED,
                   13789:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J,
                   13790:        el=\E[0K, if=/usr/share/tabset/vt100, ht=\t,
                   13791:        is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
                   13792:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   13793:        ri=\EM, rmso=\E[m\E[1m, rmul=\E[m\E[1m,
                   13794:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   13795:
                   13796: #### Intertec Data Systems
                   13797: #
                   13798: # I think this company is long dead as of 1995.  They made an early CP/M
                   13799: # micro called the "Intertec Superbrain" that was moderately popular,
                   13800: # then sank out of sight.
                   13801: #
                   13802:
                   13803: superbrain|intertec superbrain,
                   13804:        OTbs, am, bw,
                   13805:        cols#80, lines#24,
                   13806:        OTbc=^U, cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\E~k<10*>,
                   13807:        el=\E~K$<15>, clear=\f$<5*>,
                   13808:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
                   13809:        kcud1=^J, kcub1=^U, kcuf1=^F, kcuu1=^K,
                   13810:        cuf1=^F, ht=^I, rmcup=\f, smcup=\f, cuu1=^k,
                   13811: # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
                   13812: # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
                   13813: # and the reverse is actually true.  Try it. -- esr)
                   13814: intertube|intertec|Intertec InterTube,
                   13815:        am, OTbs,
                   13816:        cols#80, lines#25,
                   13817:        bel=^G, cr=^M, ind=^J, cud1=^J, bel=^G, cub1=^H,
                   13818:        clear=^L, home=^A, cuu1=^Z, cuf1=^F,
                   13819:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>,
                   13820:        smso=\E0P, rmso=\E0@,
                   13821: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   13822: # are typing and a command comes in, the keystrokes you type get interspersed
                   13823: # with the command and it messes up
                   13824: intertube2|intertec data systems intertube 2,
                   13825:        OTbs, cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
                   13826:        el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
                   13827:        ll=^K^X\r, vpa=\013%p1%c, use=intertube,
                   13828:
                   13829: #### Ithaca Intersystems
                   13830: #
                   13831: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   13832: # past.  They used to be reachable at:
                   13833: #
                   13834: #      Ithaca Intersystems
                   13835: #      1650 Hanshaw Road
                   13836: #      Ithaca, New York 14850
                   13837: #
                   13838: # However, the outfit went bankrupt years ago.
                   13839: #
                   13840:
                   13841: # The Graphos III was a color graphics terminal from Ithaca Intersystems.
                   13842: # These entries were written (originally in termcap syntax) by Brian Yandell
                   13843: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   13844: # University of Wisconsin.
                   13845:
                   13846: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   13847: # removed <if=/usr/share/tabset/init.graphos> and
                   13848: # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
                   13849: graphos|graphos III,
                   13850:        am, mir,
                   13851:        cols#80, it#8, lines#24,
                   13852:        clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, cr=^M,
                   13853:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   13854:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   13855:        cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   13856:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L,
                   13857:        ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   13858:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED,
                   13859:        rc=\E8, ri=\EM, rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, sc=\E7,
                   13860:        sgr0=\E[m, smdc=\E[4h, smir=\E[4h, smso=\E[7m,
                   13861: graphos-30|graphos III with 30 lines,
                   13862:        lines#30,
                   13863:        cvvis=\Ez4;2;1z\Ez56;2;80;30z,
                   13864:        use=graphos,
                   13865:
                   13866: #### Modgraph
                   13867: #
                   13868: # These people used to be reachable at:
                   13869: #
                   13870: #      Modgraph, Inc
                   13871: #      1393 Main Street,
                   13872: #      Waltham, MA 02154
                   13873: #      Vox: (617)-890-5796.
                   13874: #
                   13875: # However, if you call that number today you'll get an insurance company.
                   13876: # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
                   13877: # 26 Feb 1997 that says:
                   13878: #
                   13879: # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
                   13880: # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
                   13881: # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
                   13882: # panel-mount etc).  I can be emailed at sonfour@aol.com
                   13883: #
                   13884: # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
                   13885: # dated 1984.  According to the manual, it featured Tek 4010/4014
                   13886: # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
                   13887: #
                   13888:
                   13889: modgraph|mod24|modgraph terminal emulating vt100,
                   13890:        xenl@,
                   13891:        cols#80, lines#24,
                   13892:        cvvis=\E\^9;0s\E\^7;1s,
                   13893:        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,
                   13894:        rf@, ri=\EM\E[K$<5/>, use=vt100,
                   13895: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   13896: modgraph2|modgraph gx-1000 80x24 with keypad not enabled,
                   13897:        am, da, db,
                   13898:        cols#80, it#8, lines#24,
                   13899:        clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>,
                   13900:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>,
                   13901:        ed=\EJ$<50/>, el=\EK$<3/>, ht=\t,
                   13902:        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,
                   13903:        ri=\EI$<5/>,
                   13904: #
                   13905: # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
                   13906: # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
                   13907: # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
                   13908: # mark and using delete-to-killbuffer work correctly.  However, we would
                   13909: # like normal mode of operation to be using a Modgraph with 48 line setting.
                   13910: # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
                   13911: # the setting mark and delete-to-killbuffer results in the deletion of only
                   13912: # the line the mark is set on.
                   13913: # We've discovered that the delete-to-killbuffer works correctly
                   13914: # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
                   13915: # the first line disappears but a ctrl-l shows that it did work
                   13916: # correctly.
                   13917: modgraph48|mod|Modgraph w/48 lines,
                   13918:        OTbs, OTpt, am, xenl,
                   13919:        cols#80, it#8, lines#48, vt#3,
                   13920:        OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M,
                   13921:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   13922:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   13923:        flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q,
                   13924:        home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h,
                   13925:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   13926:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
                   13927:        rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   13928:        rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
                   13929:        smso=\E[7m, smul=\E[4m,
                   13930:
                   13931: #### Morrow Designs
                   13932: #
                   13933: # This was George Morrow's company.  They started in the late 1970s making
                   13934: # S100-bus machines.  They used to be reachable at:
                   13935: #
                   13936: #        Morrow
                   13937: #        600 McCormick St.
                   13938: #        San Leandro, CA 94577
                   13939: #
                   13940: # but they're long gone now (1995).
                   13941: #
                   13942:
                   13943: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   13944: # Jeff's specimen was dated June 1984.
                   13945: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   13946: mt70|mt-70|Morrow MD-70; native Morrow mode,
                   13947:        am, xon, mir, msgr, xon,
                   13948:        cols#80, lines#24, it#8,
                   13949:        bel=^G, cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2,
                   13950:        cr=\r, cub1=\b, cud1=\n, cuf1=\f,
                   13951:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, cuu1=^K, dch1=\EW,
                   13952:        dl1=\ER, ed=\EY, el=\ET$<10>, home=^^, ht=\t,
                   13953:        ich1=\EQ, il1=\EE, ind=\n, is1=\E"2\EG0\E], kbs=\b,
                   13954:        kcub1=^AL^M, kcud1=^AK^M, kcuf1=^AM^M, kcuu1=^AJ^M, kcbt=^A^Z^M,
                   13955:        kdch1=\177, khome=^AN^M, kclr=^An^M, khlp=^AO^M,
                   13956:        kf1=^A@^M, kf2=^AA^M, kf3=^AB^M, kf4=^AC^M, kf5=^AD^M,
                   13957:        kf6=^AE^M, kf7=^AF^M, kf8=^AG^M, kf9=^AH^M, kf10=^AI^M,
                   13958:        kf11=^A`^M, kf12=^Aa^M, kf13=^Ab^M, kf14=^Ac^M, kf15=^Ad^M,
                   13959:        kf16=^Ae^M, kf17=^Af^M, kf18=^Ag^M, kf19=^Ah^M, kf20=^Ai^M,
                   13960:        nel=^_, tbc=\E0,
                   13961:        flash=\EK1$<200>\EK0, smcup=\E"2\EG0\E], rmcup=,
                   13962:        smacs=\E$, rmacs=\E%,
                   13963:        acsc=+z\,{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ,
                   13964:        invis@, dim=\EG2, smul=\EG1, use=adm+sgr,
                   13965:
                   13966: #### Motorola
                   13967: #
                   13968:
                   13969: # Motorola EXORterm 155        from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
                   13970: # (Seth H Zirin)
                   13971: ex155|Motorola Exorterm 155,
                   13972:        OTbs, am, bw,
                   13973:        OTkn#5, OTug#1, cols#80, lines#24,
                   13974:        cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED,
                   13975:        cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU,
                   13976:        home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H,
                   13977:        kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@,
                   13978:        rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED,
                   13979:
                   13980: #### Omron
                   13981: #
                   13982: # This company is still around in 1995, manufacturing point-of-sale systems.
                   13983:
                   13984: omron|Omron 8025AG,
                   13985:        am, da, db, OTbs,
                   13986:        cols#80, lines#24,
                   13987:        bel=^G, lines#24, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   13988:        cuu1=\EA, cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER,
                   13989:        el=\EK, home=\EH, il1=\EL, ind=\ES, ri=\ET,
                   13990:        rmso=\E4, smso=\Ef,
                   13991:
                   13992: #### Ramtek
                   13993: #
                   13994: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   13995: # were competition for things like the Tektronics 4025.
                   13996: #
                   13997:
                   13998: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   13999: # The following SET-UP modes are assumed for normal operation:
                   14000: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   14001: #      NEWLINE_OFF             80_COLUMNS
                   14002: # Other SET-UP modes may be set for operator convenience or communication
                   14003: # requirements; I recommend
                   14004: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   14005: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   14006: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   14007: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   14008: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   14009: rt6221|Ramtek 6221 80x24,
                   14010:        OTbs, OTpt, msgr, xon,
                   14011:        OTkn#4, cols#80, it#8, lines#24, vt#3,
                   14012:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
                   14013:        clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
                   14014:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   14015:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   14016:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   14017:        cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
                   14018:        hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   14019:        kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
                   14020:        kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
                   14021:        nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
                   14022:        rmso=\E[m, rmul=\E[m,
                   14023:        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>,
                   14024:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
                   14025:        smul=\E[4m, tbc=\E[3g,
                   14026: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
                   14027: rt6221-w|Ramtek 6221 160x48,
                   14028:        cols#160, lines#48,
                   14029:        ll=\E[48;1H, use=rt6221,
                   14030:
                   14031: #### RCA
                   14032: #
                   14033:
                   14034: # RCA VP3301 or VP3501
                   14035: rca|rca vp3301/vp3501,
                   14036:        OTbs, cols#40, lines#24,
                   14037:        clear=^L, cuf1=^U,
                   14038:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^Z,
                   14039:        rmso=\E\ES0, smso=\E\ES1,
                   14040:
                   14041:
                   14042: #### Selanar
                   14043: #
                   14044:
                   14045: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   14046: # The following SET-UP modes are assumed for normal operation:
                   14047: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   14048: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   14049: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   14050: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   14051: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   14052: # For use with graphics software, all graphics modes should be set to factory
                   14053: # default.  Other SET-UP modes may be set for operator convenience or
                   14054: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   14055: # to enable DC3/DC1 flow control!
                   14056: # I commented out the scrolling capabilities since they are too slow.
                   14057: hirez100|Selanar HiREZ-100,
                   14058:        OTbs, OTpt, mir, msgr, xon,
                   14059:        OTkn#4, cols#80, it#8, lines#48, vt#3,
                   14060:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   14061:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   14062:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   14063:        cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
                   14064:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   14065:        hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H,
                   14066:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
                   14067:        kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
                   14068:        lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
                   14069:        mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
                   14070:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   14071:        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>,
                   14072:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
                   14073:        smul=\E[4m, tbc=\E[3g,
                   14074: hirez100-w|Selanar HiREZ-100 in 132-column mode,
                   14075:        cols#132,
                   14076:        use=hirez100,
                   14077:
                   14078: #### Signetics
                   14079: #
                   14080:
                   14081: # From University of Wisconsin
                   14082: vsc|Signetics Vsc Video driver by RMC,
                   14083:        am, msgr,
                   14084:        cols#80, it#8, lines#26,
                   14085:        clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J,
                   14086:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   14087:        el=\E[K, home=\E[H, ht=^I, ind=^J, kbs=^H,
                   14088:        kcub1=^H, kcud1=^J, nel=^M^J, rev=^_ , rmso=^_!,
                   14089:        rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_",
                   14090:
                   14091: #### Soroc
                   14092: #
                   14093: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   14094: #
                   14095: # As you may recall, the Soroc logo consisted of their name,
                   14096: # with the letter "S" superimposed over an odd design.   This
                   14097: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   14098: # wedge with rounded corners inside it.   The color was sort of
                   14099: # a metallic gold/yellow.
                   14100: #
                   14101: # If I had been more of a beer drinker it might have been obvious
                   14102: # to me, but it took a clue from their service department to make
                   14103: # me exclaim, "Of course!"   The circular object was the top of
                   14104: # a beer can (the old removable pop-top style) and "Soroc" was an
                   14105: # anagram for "Coors".
                   14106: #
                   14107: # I can just imagine the founders of the company sitting around
                   14108: # one evening, tossing back a few and trying to decide what to
                   14109: # call their new company and what to use for a logo.
                   14110: #
                   14111:
                   14112: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
                   14113: soroc120|iq120|soroc|soroc iq120,
                   14114:        clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H,
                   14115:        kcud1=^J, kcuf1=^L, kcuu1=^K, use=adm3a,
                   14116: soroc140|iq140|soroc iq140,
                   14117:        cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, am, OTbs,
                   14118:        clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuf1=^L, cuu1=^K,
                   14119:        home=^^, ll=^^^K, el=\Et, ed=\Ey, il1=\Ee$<1*>, dl1=\Er$<.7*>,
                   14120:        smir=\E9, cbt=\EI, rmir=\E8, mir, dch1=\Ew, smso=\E\177, rmso=\E\177,
                   14121:        kbs=^H, kcuf1=^L, khome=^^, kcuu1=^K, kf0=^A0\r,
                   14122:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   14123:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, smul=\E^A,
                   14124:        rmul=\E^A,
                   14125:
                   14126: #### Southwest Technical Products
                   14127: #
                   14128: # These guys made an early personal micro called the M6800.
                   14129: # The ct82 was probably its console terminal.
                   14130: #
                   14131:
                   14132: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   14133: swtp|ct82|southwest technical products ct82,
                   14134:        am,
                   14135:        cols#82, lines#20,
                   14136:        bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
                   14137:        cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z,
                   14138:        ed=^V, el=^F, home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
                   14139:        is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
                   14140:        ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
                   14141:
                   14142: #### Synertek
                   14143: #
                   14144: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   14145: #
                   14146: # Synertek used to make ICs, various 6502-based single-board process
                   14147: # control and hobbyist computers, and assorted peripherals including a
                   14148: # series of small inexpensive terminals (I think they were one of the
                   14149: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   14150: # was only slightly larger than the keyboard).
                   14151: #
                   14152: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   14153: # was a 40x24 terminal that could connect to a standard TV through a
                   14154: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   14155: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   14156: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   14157: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   14158: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   14159: # and I've never had any problems with mine (witness the fact that mine
                   14160: # was made in 1981 and is still working great... I've blown the video
                   14161: # output transistor a couple of times, but it's a 2N2222 :-)
                   14162: #
                   14163: # The KTM-3 (which is what is listed in the terminfo file) was their
                   14164: # attempt at putting a KTM-2 in a box (and some models came with a
                   14165: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   14166: # control and escape sequences are very different. The KTM-3 was always
                   14167: # real broken, at least according to the folks I've talked to about it.
                   14168: #
                   14169: # The padding in the entry is probably off--these terminals were very
                   14170: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   14171: # anyone with any sanity replaced the ROMs with something that provided
                   14172: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   14173: # obviously very primitive... oh, you could get an upgraded ROM from
                   14174: # Synertek for some incredible amount of money, but what hacker with an
                   14175: # EPROM burner would do that? :)
                   14176: #
                   14177: # Sorry I don't have any contact info; I believe they were located in
                   14178: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   14179: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   14180: # business these days.
                   14181: #
                   14182:
                   14183: # Tested, seems to work fine with vi.
                   14184: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
                   14185:        am, cub1=^H, cols#80, lines#24, ed=\EJ, el=\EK, clear=^Z,
                   14186:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cuf1=^L,
                   14187:
                   14188: #### Tab Office Products
                   14189: #
                   14190: #      TAB Products Co. - Palo Alto, California
                   14191: #      Electronic Office Products,
                   14192: #      1451 California Avenue 94304
                   14193: #
                   14194: # I think they're out of business.
                   14195: #
                   14196:
                   14197: # The tab 132 uses xon/xoff, so no padding needed.
                   14198: # <smkx>/<rmkx> have nothing to do with arrow keys.
                   14199: # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
                   14200: # Seems to be no way to get rid of status line.
                   14201: # The manual for this puppy was dated June 1981.  It claims to be VT52-
                   14202: # compatible but looks more vt100-like.
                   14203: tab132|tab|tab132-15|tab 132/15,
                   14204:        da, db,
                   14205:        OTdN@, cols#80, lines#24, lm#96,
                   14206:        cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P,
                   14207:        dl1=\E[M, il1=\E[L, is2=\E[?7h\E[?3l\E[?5l,
                   14208:        kcub1=\E[D, kcud1=\E[B, kcuu1=\E[A, rmir=\E[4l,
                   14209:        rmkx@, smir=\E[4h, smkx@, use=vt100,
                   14210: tab132-w|tab132 in wide mode,
                   14211:        cols#132, is2=\E[?7h\E[?3h\E[?5l, use=tab132,
                   14212: tab132-rv|tab132 in reverse-video mode,
                   14213:        is2=\E[?7h\E[?3l\E[?5h, use=tab132,
                   14214: tab132-w-rv|tab132 in reverse-video/wide mode,
                   14215:        is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
                   14216:
                   14217:
                   14218: #### Teleray
                   14219: #
                   14220: #      Research Incorporated
                   14221: #      6425 Flying Cloud Drive
                   14222: #      Eden Prairie, MN 55344
                   14223: #      Vox: (612)-941-3300
                   14224: #
                   14225: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   14226: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   14227: # people believe that all the types listed below are very rare now (1995).
                   14228: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   14229: # Model 100) that were ANSI-compatible.
                   14230: #
                   14231: # Note two things called "teleray".  Reorder should move the common one
                   14232: # to the front if you have either.  A dumb teleray with the cursor stuck
                   14233: # on the bottom and no obvious model number is probably a 3700.
                   14234: #
                   14235: #% Teleray: Steve Schaefgen (612)-941-3300 (Sales Manager)
                   14236:
                   14237: t3700|dumb teleray 3700,
                   14238:        cols#80, lines#24, OTbs,
                   14239:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   14240: t3800|teleray 3800 series,
                   14241:        cols#80, it#8, lines#24, OTbs,
                   14242:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   14243:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ,
                   14244:        el=\EK, home=\EH, ht=^I, ind=^J, ll=\EY7 ,
                   14245: t1061|teleray|teleray 1061,
                   14246:        am, km, xhp, xt, OTbs,
                   14247:        cols#80, it#8, lines#24, xmc#1,
                   14248:        bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J,
                   14249:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   14250:        cuu1=\EA, dch1=\EQ, dl1=\EM$<2*>, ed=\EJ$<1>,
                   14251:        el=\EK, home=\EH, ht=^I, hts=\EF, ich1=\EP,
                   14252:        il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
                   14253:        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,
                   14254:        kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
                   14255:        kf6=^Z6, kf7=^Z7, kf8=^Z8, rmso=\ER@, rmul=\ER@,
                   14256:        smso= \ERD, smul=\ERH, tbc=\EG,
                   14257: t1061f|teleray 1061 with fast PROMs,
                   14258:        il1=\EL, ip@, dl1=\EM, use=t1061,
                   14259: # "Teleray Arpa Special", officially designated as
                   14260: # "Teleray Arpa network model 10" with "Special feature 720".
                   14261: # This is the new (1981) fast microcode updating the older "arpa" proms
                   14262: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
                   14263: # converts the keypad to programmable function keys, and has other goodies.
                   14264: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   14265: # programs handle such lossage properly.
                   14266: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   14267: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
                   14268: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
                   14269: t10|teleray 10 special,
                   14270:        km, xhp, xt, OTbs,
                   14271:        cols#80, it#8, lines#24, xmc#2,
                   14272:        clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
                   14273:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   14274:        dch1=\EQ, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=\t,
                   14275:        ich1=\EP, il1=\EL, ind=\Eq, pad=\0, ri=\Ep,
                   14276:        rmso=\ER@, rmul=\ER@, smso=\ERD, smul=\ERH,
                   14277: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   14278: # back/forth words. Put the function keys (f1-f10) where they can be
                   14279: # found, and turn off the other magic keys along the top row, except
                   14280: # for line/local. Do the magic appropriate to make the page shifts work.
                   14281: # Also toggle ^S/^Q for those of us who use Emacs.
                   14282: t16|teleray 16,
                   14283:        am, da, db, mir, xhp, xt,
                   14284:        cols#80, lines#24,
                   14285:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   14286:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A,
                   14287:        dch1=\E[P, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
                   14288:        ht=^I, il1=\E[L, ind=^J, kf1=^Z1, kf10=^Z0,
                   14289:        kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6,
                   14290:        kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
                   14291:        rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
                   14292:        rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
                   14293:        smso=\E[7m, smul=\E[4m,
                   14294:
                   14295: #### Texas Instruments (ti)
                   14296: #
                   14297:
                   14298: # The Silent 700 was so called because it was built around a quiet thermal
                   14299: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   14300: # neat for its day.
                   14301: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
                   14302:        hc, os, OTbs,
                   14303:        cols#80,
                   14304:        bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
                   14305:
                   14306: #
                   14307: # Texas Instruments 916 VDT 7 bit control mode
                   14308: #
                   14309: ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL,
                   14310:        da, db, in, msgr,
                   14311:        cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
                   14312:        cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
                   14313:        cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   14314:        cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P,
                   14315:        dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K,
                   14316:        el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
                   14317:        hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
                   14318:        il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
                   14319:        kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
                   14320:        kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
                   14321:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   14322:        kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
                   14323:        kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p,
                   14324:        smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=vt220,
                   14325: #
                   14326: # Texas Instruments 916 VDT 8 bit control mode
                   14327: #
                   14328: ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL,
                   14329:        kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
                   14330:        kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~,
                   14331:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~,
                   14332:        kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
                   14333:        kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H,
                   14334:        kich1=\233@, knp=\233S, kpp=\233T, kprt=^X,
                   14335:        use=ti916,
                   14336: #
                   14337: # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
                   14338: #
                   14339: ti916-132|Texas Instruments 916 VDT vt220 132 column,
                   14340:        cols#132, use=ti916,
                   14341: #
                   14342: # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
                   14343: #
                   14344: ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column,
                   14345:        cols#132, use=ti916-8,
                   14346: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
                   14347:        am, xon, OTbs,
                   14348:        cols#80, it#8, lines#24,
                   14349:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   14350:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=\r,
                   14351:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B,
                   14352:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
                   14353:        cvvis=\E[?31h, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   14354:        ht=\t, hts=\EH, il1=\E[L, ind=\ED, kbs=\b, kcub1=\E[D,
                   14355:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   14356:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[16~,
                   14357:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   14358:        kich1=\E[@, rc=\E8, rev=\E[7m, ri=\EM, rmso=\E[m,
                   14359:        rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   14360:        tbc=\E[3g,
                   14361: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
                   14362:        am, xon,
                   14363:        cols#80, it#8, lines#24,
                   14364:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   14365:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=\r,
                   14366:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B,
                   14367:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
                   14368:        cvvis=\E[?31h, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   14369:        ht=\t, hts=\EH, il1=\E[L, ind=\ED, kbs=\b, kcub1=\E[D,
                   14370:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>,
                   14371:        kf1=P$<\217>, kf2=Q$<\217>, kf3=R$<\217>,
                   14372:        kf4=S$<\217>, kf5=~$<\23316>, kf6=~$<\23317>,
                   14373:        kf7=~$<\23318>, kf8=~$<\23319>, kf9=~$<\23320>,
                   14374:        kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, rmso=\E[m,
                   14375:        rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   14376:        tbc=\E[3g,
                   14377: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
                   14378:        cols#132,
                   14379:        use=ti924,
                   14380: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
                   14381:        cols#132,
                   14382:        use=ti924-8,
                   14383: ti931|Texas Instruments 931 VDT,
                   14384:        am, xon, OTbs,
                   14385:        cols#80, lines#24,
                   14386:        bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=\r,
                   14387:        cub1=\ED, cud1=\EB, cuf1=\EC,
                   14388:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   14389:        dl1=\EO, ed=\EJ, el=\EI, home=\EH, ich1=\ER\EP\EM,
                   14390:        il1=\EN, ind=\Ea, invis=\E4H, is2=\EGB\E(@B@@\E),
                   14391:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
                   14392:        kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, kf4=\Ei4,
                   14393:        kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
                   14394:        kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@,
                   14395:        rmul=\E4@, sgr0=\E4@, smso=\E4A, smul=\E4D,
                   14396: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
                   14397:        csr@, ind=\E[1S, ri=\E[1T,
                   14398:        use=ti924,
                   14399: # (ti926-8: I corrected this from the broken SCO entry -- esr)
                   14400: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
                   14401:        csr@, ind=\2331S, ri=\2331T,
                   14402:        use=ti924-8,
                   14403: ti_ansi|basic entry for ti928,
                   14404:        xenl, csr=\E[%i%p1%d;%p2%dr,
                   14405:        am, eo, xon, bce,
                   14406:        cols#80, lines#25, colors#8, pairs#64,
                   14407:        op=\E[37;40m,
                   14408:        setaf=\E[3%p1%dm,
                   14409:        setab=\E[4%p1%dm,
                   14410:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   14411:        clear=\E[2J\E[H, cr=\r, cub1=\b, cud1=\E[B, cuf1=\E[C,
                   14412:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   14413:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   14414:        ht=\t, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=\b,
                   14415:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   14416:        kf0=\E[V, kf1=\E[M, kf2=\E[N, kf3=\E[O, kf4=\E[P,
                   14417:        kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U,
                   14418:        khome=\E[H, kend=\E[F, kpp=\E[I, knp=\E[G,
                   14419:        ri=\E[T, rmso=\E[m,
                   14420:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   14421:        it#8, ht=^I, cbt=\E[Z,
                   14422: #
                   14423: #       928 VDT 7 bit control mode
                   14424: #
                   14425: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
                   14426:        kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~,
                   14427:        kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
                   14428:        kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   14429:        kf9=\E[26~, kf10=\E[28~, kf11=\E[29~, kf12=\E[31~,
                   14430:        kf13=\E[32~, kf15=\E[34~,
                   14431:        kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~,
                   14432:        use=ti_ansi,
                   14433: #
                   14434: #       928 VDT 8 bit control mode
                   14435: #
                   14436: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
                   14437:        kdch1=\233P, kend=\2371\234, kent=\2338~,
                   14438:        kf1=\23317~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
                   14439:        kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
                   14440:        kf9=\23326~, kf10=\23328~, kf11=\23329~, kf12=\23331~,
                   14441:        kf13=\23332~, kf15=\23334~,
                   14442:        khome=\233H, kich1=\233@, knp=\233S, kpp=\233T, kprt=\23335~,
                   14443:        use=ti_ansi,
                   14444:
                   14445: #### Zentec (zen)
                   14446: #
                   14447:
                   14448: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   14449: # had just <smso>=\EG6 which I think means standout was supposed to be
                   14450: # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
                   14451: # <invis> might work-- esr)
                   14452: zen30|z30|zentec 30,
                   14453:        am, mir, ul, OTbs,
                   14454:        cols#80, lines#24,
                   14455:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   14456:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   14457:        dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
                   14458:        il1=\EE$<1.5*>, ind=^J, rmir=\Er, smir=\Eq,
                   14459:        smso=\EG6, smul@, rmul@, use=adm+sgr,
                   14460: # (zen50: this had extension capabilities
                   14461: #      :BS=^U:CL=^V:CR=^B:
                   14462: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   14463: # which were also in the original entry -- esr)
                   14464: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   14465: zen50|z50|zentec zephyr,
                   14466:        am, OTbs,
                   14467:        cols#80, lines#24, xmc#1,
                   14468:        clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   14469:        cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
                   14470:        ich1=\EQ, il1=\EE, kcub1=^H, kcud1=^J, kcuf1=^L,
                   14471:        kcuu1=^K, khome=^^,
                   14472:        invis@, rmul@, smul@, use=adm+sgr,
                   14473:
                   14474: # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
                   14475: cci|cci1|z8001|zen8001|CCI Custom Zentec 8001,
                   14476:        OTbs, am, bw,
                   14477:        cols#80, lines#24,
                   14478:        blink=\EM", clear=\EH\EJ, cnorm=\EP,
                   14479:        csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J,
                   14480:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   14481:        cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH,
                   14482:        invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H,
                   14483:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
                   14484:        mc4=^T, mc5=^R, rev=\EM$, ri=\EI, rmso=\EM ,
                   14485:        rmul=\EM , sgr0=\EM , smso=\EM$, smul=\EM0,
                   14486:
                   14487: ######## OBSOLETE UNIX CONSOLES
                   14488: #
                   14489:
                   14490: #### Altos
                   14491: #
                   14492: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
                   14493: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
                   14494: # Acer has a web site at http://www.acer.com.
                   14495: #
                   14496: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   14497: # His comments suggest they were shipped with the system.
                   14498: #
                   14499:
                   14500: # (altos2: had extension capabilities
                   14501: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   14502: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   14503: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   14504: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   14505: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   14506: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   14507: #      :HL=^AP\r:SP=\E[i:\
                   14508: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   14509: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   14510: # Comparison with the k* capabilities makes it obvious that the c* things are
                   14511: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   14512: # :sr: was given as a boolean-- esr)
                   14513: altos2|alt2|altos-2|altos II,
                   14514:        cols#80, it#8, lines#24, xmc#0,
                   14515:        clear=\E[H\E[2J, cr=\r, cub1=\010, cud1=\E[1B,
                   14516:        cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A,
                   14517:        dch1=\E[P, dl=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   14518:        ht=\011, ich1=\E[@, if=/usr/share/tabset/vt100,
                   14519:        il1=\E[L, ind=\012,
                   14520:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   14521:        kDL=^Am\r, kEOL=^An\r, kbs=\010,
                   14522:        kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
                   14523:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   14524:        kdch1=^AM\r, kel=^AN\r, kf0=^AI\r,
                   14525:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   14526:        kf32=^A`\r, kf33=^Aa\r, kf34=^Ab\r,
                   14527:        kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   14528:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r,
                   14529:        kf40=^Ah\r, kf41=^Ai\r, kf42=^Aj\r,
                   14530:        kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r,
                   14531:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   14532:        khome=\E[f, kil1=^AJ\r, kind=^AO\r,
                   14533:        nel=\r\012, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
                   14534:        sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   14535: # (altos3: had extension capabilities
                   14536: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   14537: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   14538: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   14539: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   14540: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   14541: #      :HL=^AP\r:SP=\E[i:\
                   14542: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   14543: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
                   14544:        blink=\E[5p, ri=\EM, sgr0=\E[p,
                   14545:        use=altos2,
                   14546: altos4|alt4|altos-4|altos IV,
                   14547:        use=wy50,
                   14548: # (altos7: had extension capabilities:
                   14549: #      :GG#0:GI=\EH8:GF=\EH7:\
                   14550: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   14551: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   14552: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   14553: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   14554: # Comparison with the k* capabilities makes it obvious that the c* things are
                   14555: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
                   14556: # also made this entry relative to adm12 in order to give it an <sgr>. The
                   14557: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
                   14558: altos7|alt7|altos VII,
                   14559:        am, mir,
                   14560:        cols#80, lines#24, xmc#0,
                   14561:        acsc=l2m1k3j5t4u9v=w0q\072x6n8,
                   14562:        blink=\EG2, bold=\EGt, clear=\E+\036, cr=\r,
                   14563:        cub1=\010, cud1=\012, cuf1=\014,
                   14564:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013,
                   14565:        dch1=\EW, dim=\EGp, dl=\ER, ed=\EY, el=\ET,
                   14566:        home=\036, ht=\011, il1=\EE, ind=\012, invis=\EG1,
                   14567:        is2=\E`:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2,
                   14568:        kDL=^Am\r, kEOL=^An\r, kbs=\010,
                   14569:        kcbt=^AK\r, kclr=^AL\r, kcub1=\010,
                   14570:        kcud1=\012, kcuf1=\014, kcuu1=\013,
                   14571:        kdch1=^AM\r, kel=^AN\r, kf0=^AI\r,
                   14572:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   14573:        kf32=^A`\r, kf33=^Aa\r, kf34=^Ab\r,
                   14574:        kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   14575:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r,
                   14576:        kf40=^Ah\r, kf41=^Ai\r, kf42=^Aj\r,
                   14577:        kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r,
                   14578:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   14579:        khome=\036, kil1=^AJ\r, kind=^AO\r,
                   14580:        knp=\EK, kpp=\EJ, mc5=\Ed#, mc4=\EJ,
                   14581:        nel=\r\012, ri=\Ej, rmir=\Er, smir=\Eq,
                   14582:        use=adm+sgr,
                   14583: altos7pc|alt7pc|altos PC VII,
                   14584:        kend=\ET, use=altos7,
                   14585:
                   14586: #### Apollo consoles
                   14587: #
                   14588: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   14589: # labeled HP700s now.
                   14590: #
                   14591:
                   14592: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   14593: apollo|apollo console,
                   14594:        OTbs, am, mir,
                   14595:        cols#88, lines#53,
                   14596:        clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
                   14597:        cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP,
                   14598:        dl1=\EL, ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI,
                   14599:        ind=\EE, ri=\ED, rmcup=\EX, rmir=\ER, rmso=\ET,
                   14600:        rmul=\EV, smcup=\EW, smir=\EQ, smso=\ES, smul=\EU,
                   14601:        vpa=\EO+\s,
                   14602:
                   14603: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   14604: # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
                   14605: # both these capabilities.
                   14606: apollo_15P|apollo 15 inch display,
                   14607:        rmir@, smir@,
                   14608:        use=vt132,
                   14609: apollo_19L|apollo 19 inch display,
                   14610:        rmir@, smir@,
                   14611:        use=vt132,
                   14612: apollo_color|apollo color display,
                   14613:        rmir@, smir@,
                   14614:        use=vt132,
                   14615:
                   14616: #### Convergent Technology
                   14617: #
                   14618: # Burroughs bought Convergent shortly before it merged with Univac.
                   14619: # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
                   14620: # from 1991 or earlier).
                   14621: #
                   14622:
                   14623: # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
                   14624: # (aws: removed unknown :dn=^K: -- esr)
                   14625: aws|Convergent Technologies AWS workstation under UTX and Xenix,
                   14626:        am,
                   14627:        OTug#0, cols#80, lines#28, xmc#0,
                   14628:        OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=,
                   14629:        clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A,
                   14630:        dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c,
                   14631:        ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K,
                   14632:        kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF,
                   14633:        rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN,
                   14634:        vpa=\EV%p1%c,
                   14635: awsc|Convergent Technologies AWS workstation under CTOS,
                   14636:        am,
                   14637:        OTug#0, cols#80, lines#24, xmc#0,
                   14638:        OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L,
                   14639:        cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF,
                   14640:        el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A,
                   14641:        rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE,
                   14642:        smul=\EAC,
                   14643:
                   14644: #### DEC consoles
                   14645: #
                   14646:
                   14647: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   14648: # The digital uVax II's had a graphic display called a qdss.  It was
                   14649: # supposed to be a high performance graphic accelerator, but it was
                   14650: # late to market and barely appeared before faster dumb frame buffers
                   14651: # appeared.  I have only used this display while running X11.  However,
                   14652: # during bootup, it was in text mode, and probably had a terminal emulator
                   14653: # within it.  And that is what your termcap entry is for.  In graphics
                   14654: # mode the screen size is 1024x864 pixels.
                   14655: qdss|qdcons|qdss glass tty,
                   14656:        am, OTbs,
                   14657:        cols#128, lines#57,
                   14658:        clear=^Z$<1/>, cub1=^H, cud1=^J, cuf1=^L,
                   14659:        cup=\E=%p1%c%p2%c, cuu1=^K,
                   14660:
                   14661: #### Fortune Systems consoles
                   14662: #
                   14663: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   14664: # in their day; I (esr) used one myself for a year or so around 1984.
                   14665: # They had no graphics, though, and couldn't compete against Suns and
                   14666: # the like.  R.I.P.
                   14667: #
                   14668:
                   14669: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   14670: # (This had extension capabilities
                   14671: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   14672: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   14673: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   14674: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   14675: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   14676: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   14677: # to force both magic cookie glitches off.  Once upon a time, I
                   14678: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   14679: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   14680: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   14681: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   14682: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   14683: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   14684: fos|fortune|Fortune system,
                   14685:        am, bw, OTbs,
                   14686:        cols#80, lines#25,
                   14687:        acsc=l\sm"k(j*v%w#q&x-,
                   14688:        bel=^G, blink=\EN, clear=^L$<20>, cnorm=\E\\, cr=^M,
                   14689:        cub1=^H, cud1=^J$<3>, cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K$<3>,
                   14690:        civis=\E], cvvis=\E\072,
                   14691:        dch1=^\W$<5>, dl1=\034R$<15>, ed=\034Y$<3*>, el=^\Z,
                   14692:        home=^^$<10>, ht=^Z, ich1=^\Q$<5>, il1=\034E$<15>, ind=^J,
                   14693:        is2=^_.., kbs=^H, kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r,
                   14694:        kcuu1=^Ax\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
                   14695:        kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r,
                   14696:        kf8=^Ah\r, kend=^Ak\r, khome=^A?\r,
                   14697:        knp=^Ao\r, kpp=^An\r, nel=^M^J,
                   14698:        rev=\EH, rmacs=^O,
                   14699:        rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
                   14700:        smso=^\H`, smul=^\HP,
                   14701:
                   14702: #### IBM Unix consoles
                   14703: #
                   14704:
                   14705: # The following is a version of the ibm-pc entry distributed with PC/IX,
                   14706: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                   14707: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                   14708: # (the former is untrue, and the latter failed under UCB/man); standout and
                   14709: # underline modes have been added.  Note: this entry describes the "native"
                   14710: # capabilities of the PC monochrome display, without ANY emulation; most
                   14711: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                   14712: pcix|PC/IX console,
                   14713:        am, bw, eo,
                   14714:        cols#80, lines#24,
                   14715:        clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   14716:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J,
                   14717:        el=\E[K, home=\E[H, rmso=\E[m, rmul=\E[m,
                   14718:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   14719:
                   14720: # (ibmpcx: this entry used to be known as ibmx.
                   14721: # It formerly included the following extension capabilities:
                   14722: #      :GC=b:GL=v:GR=t:RT=^J:\
                   14723: #      :GH=\E[196g:GV=\E[179g:\
                   14724: #      :GU=\E[193g:GD=\E[194g:\
                   14725: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                   14726: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                   14727: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                   14728: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
                   14729: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                   14730: # what was there before. -- esr)
                   14731: ibmpcx|xenix|ibmx|IBM PC xenix console display,
                   14732:        am, msgr, OTbs,
                   14733:        cols#80, lines#25,
                   14734:        clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   14735:        cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   14736:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@,
                   14737:        il1=\E[L, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   14738:        kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, kf1=\E[K,
                   14739:        kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
                   14740:        kpp=\E[Z, use=klone+acs, use=klone+sgr,
                   14741:
                   14742:
                   14743: #### Masscomp consoles
                   14744: #
                   14745: # Masscomp has gone out of business.  Their product line was purchased by
                   14746: # comany in Georgia (US) called "XS International", parts and service may
                   14747: # still be available through them.
                   14748: #
                   14749:
                   14750: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   14751: masscomp|masscomp workstation console,
                   14752:        km, mir, OTbs,
                   14753:        cols#80, it#8, lines#24,
                   14754:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   14755:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   14756:        dl1=\E[M, ed=\E[J, el=\E[K, ht=\t, il1=\E[L,
                   14757:        is2=\EGc\EGb\EGw, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   14758:        kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, rmso=\E[m,
                   14759:        rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
                   14760: masscomp1|masscomp large screen version 1,
                   14761:        cols#104, lines#36,
                   14762:        use=masscomp,
                   14763: masscomp2|masscomp large screen version 2,
                   14764:        cols#64, lines#21,
                   14765:        use=masscomp,
                   14766:
                   14767:
                   14768: #### Sony NEWS workstations
                   14769: #
                   14770:
                   14771: # (news-unk: this had :KB=news: -- esr)
                   14772: news-unk|SONY NEWS vt100 emulator common entry,
                   14773:        OTbs, OTpt, am, xenl,
                   14774:        cols#80,
                   14775:        OTnl=^J,
                   14776:        OTrs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, bel=^G,
                   14777:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   14778:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   14779:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM,
                   14780:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   14781:        if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
                   14782:        is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
                   14783:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY,
                   14784:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
                   14785:        kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, rc=\E8,
                   14786:        rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m,
                   14787:        rmul=\E[m, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
                   14788:        smso=\E[7m, smul=\E[4m,
                   14789: #
                   14790: # (news-29: this had :TY=ascii: --esr)
                   14791: news-29,
                   14792:        lines#29, use=news-unk,
                   14793: # (news-29-euc: this had :TY=euc: --esr)
                   14794: news-29-euc,
                   14795:        use=news-29,
                   14796: # (news-29-sjis: this had :TY=sjis: --esr)
                   14797: news-29-sjis,
                   14798:        use=news-29,
                   14799: #
                   14800: # (news-33: this had :TY=ascii: --esr)
                   14801: news-33,
                   14802:        lines#33, use=news-unk,
                   14803: # (news-33-euc: this had :TY=euc: --esr)
                   14804: news-33-euc,
                   14805:        use=news-33,
                   14806: # (news-33-sjis: this had :TY=sjis: --esr)
                   14807: news-33-sjis,
                   14808:        use=news-33,
                   14809: #
                   14810: # (news-42: this had :TY=ascii: --esr)
                   14811: news-42,
                   14812:        lines#42, use=news-unk,
                   14813: # (news-42-euc: this had :TY=euc: --esr)
                   14814: news-42-euc,
                   14815:        use=news-42,
                   14816: # (news-42-sjis: this had :TY=sjis: --esr)
                   14817: news-42-sjis,
                   14818:        use=news-42,
                   14819: #
                   14820: #      NEWS-OS old termcap entry
                   14821: #
                   14822: # (news-old-unk: this had :KB=news:TY=sjis: --esr)
                   14823: news-old-unk|SONY NEWS vt100 emulator common entry,
                   14824:        OTbs, OTpt, am, xenl,
                   14825:        cols#80, vt#3,
                   14826:        OTnl=^J, OTrs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   14827:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
                   14828:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J,
                   14829:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   14830:        ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   14831:        if=/usr/lib/tabset/vt100, kbs=^H, kcub1=\EOD,
                   14832:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   14833:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m,
                   14834:        ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   14835:        sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m,
                   14836:        smul=\E[4m,
                   14837: #
                   14838: # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
                   14839: nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines,
                   14840:        OTbs,
                   14841:        lines#40,
                   14842:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk,
                   14843: #
                   14844: # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
                   14845: nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
                   14846:        lines#42,
                   14847:        is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk,
                   14848: #
                   14849: # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
                   14850: nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
                   14851:        OTbs,
                   14852:        lines#40,
                   14853:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk,
                   14854: #
                   14855: # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
                   14856: nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
                   14857:        OTbs,
                   14858:        lines#31,
                   14859:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk,
                   14860: #
                   14861: # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
                   14862: # also the alias vt100-bm.
                   14863: nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines,
                   14864:        OTbs,
                   14865:        lines#33,
                   14866:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk,
                   14867: #
                   14868: # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
                   14869: nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines,
                   14870:        OTbs,
                   14871:        lines#31,
                   14872:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk,
                   14873: #
                   14874: # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
                   14875: news28|sony vt100 emulator 28 lines,
                   14876:        OTbs,
                   14877:        lines#28,
                   14878:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk,
                   14879: #
                   14880: # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
                   14881: news29|news28-a|sony vt100 emulator 29 lines,
                   14882:        lines#29,
                   14883:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk,
                   14884: #
                   14885: # (news511: this had :TY=sjis: --esr)
                   14886: nwp511|nwp-511|nwp-511 vt100,
                   14887:        OTbs, OTpt, am, xenl,
                   14888:        cols#80, lines#24,
                   14889:        OTrs=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h,
                   14890:        clear=\E[;H\E[2J$<20/>, cuf1=\E[C,
                   14891:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
                   14892:        ed=\E[J$<30/>, el=\E[K$<3/>,
                   14893:        flash=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l,
                   14894:        il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h,
                   14895:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   14896:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
                   14897:        kf6=\E#W, khome=\E[H, ri=\EM$<5/>, rmso=\E[m$<2/>,
                   14898:        rmul=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
                   14899: # (news517: this had :TY=sjis:. --esr)
                   14900: nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
                   14901:        eslok, hs,
                   14902:        cols#80, lines#30,
                   14903:        OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
                   14904:        is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   14905:        tsl=\E[1$}\E[;%df, use=vt200,
                   14906: # (news517-w: this had :TY=sjis:. --esr)
                   14907: nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
                   14908:        eslok, hs,
                   14909:        cols#132, lines#50,
                   14910:        OTi2=\E[2$~\n,
                   14911:        OTrs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, dsl=\E[1$~,
                   14912:        fsl=\E[0$},
                   14913:        is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
                   14914:        tsl=\E[1$}\E[;%df, use=vt200,
                   14915:
                   14916: #### Obsolete virtual-terminal types.
                   14917: #
                   14918:
                   14919: # Columbus UNIX virtual terminal. This terminal also appears in
                   14920: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   14921: # undocumented and does not really work quite right.
                   14922: cbunix|cb unix virtual terminal,
                   14923:        OTbs, am, da, db,
                   14924:        cols#80, lines#24, lm#0,
                   14925:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   14926:        cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
                   14927:        el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
                   14928:        kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D,
                   14929:        rmul=\Eb^A, smso=\Ea^D, smul=\Ea^A,
                   14930: # (vremote: removed obsolete ":nl@:" -- esr)
                   14931: vremote|virtual remote terminal,
                   14932:        am@,
                   14933:        cols#79,
                   14934:        use=cbunix,
                   14935:
                   14936: pty|4bsd pseudo teletype,
                   14937:        smso=\Ea$, rmso=\Eb$, smul=\Ea!, rmul=\Eb!,
                   14938:        cup=\EG%p1%{32}%+%c%p2%{32}%+%c, use=cbunix,
                   14939:
                   14940: ######## OTHER OBSOLETE TYPES
                   14941: #
                   14942: # These terminals are *long* dead -- these entries are retained for
                   14943: # historical interest only.
                   14944: #
                   14945:
                   14946: #### Obsolete non-ANSI software emulations
                   14947: #
                   14948:
                   14949: #### Avatar
                   14950: #
                   14951: # These entries attempt to describe Avatar, a terminal emulation used with
                   14952: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   14953: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   14954: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   14955: # in the BBS world.
                   14956: #
                   14957: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   14958: # models that terminfo knows about.  An Avatar color attribute is the
                   14959: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   14960: #
                   14961: # I wrote these entries while looking at the Avatar spec.  I don't have
                   14962: # the facilities to test them.  Let me know if they work, or don't.
                   14963: #
                   14964: # Avatar escapes not used by these entries (because maybe you're smarter
                   14965: # and more motivated than I am and can figure out how to wrap terminfo
                   14966: # around some of them, and because they are weird enough to be funny):
                   14967: #                              level 0:
                   14968: # ^L           -- clear window/reset current attribute to default
                   14969: # ^V^A%p1%c    -- set current color attribute, parameter decodes as follows:
                   14970: #
                   14971: #      bit:         6   5   4   3   2   1   0
                   14972: #                   |       |   |   |       |
                   14973: #                   +---+---+   |   +---+---+
                   14974: #                       |       |       |
                   14975: #                       |       |  foreground color
                   14976: #                       |  foreground intensity
                   14977: #                  background color
                   14978: #                              level 0+:
                   14979: # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) up by p1 lines
                   14980: # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) down by p1 lines
                   14981: # ^V^L%p1%c%p2%c%p3%c          -- clear p2 lines and p3 cols w/attr %p1
                   14982: # ^V^M%p1%c%p2%c%p3%c%p4%c     -- fill p3 lines & p4 cols w/char p2+attr %p1
                   14983: # (^V^L and ^V^M set the current attribute as a side-effect.)
                   14984: # ^V ^Y <a> [...] <c>  -- repeat pattern. <a> specifies the number of bytes
                   14985: #                         in the pattern, <c> the number of times the pattern
                   14986: #                         should be repeated. If either value is 0, no-op.
                   14987: #                         The pattern can contain Avatar console codes,
                   14988: #                         including other ^V ^Y patterns.
                   14989: #                              level 1:
                   14990: # ^V^O         -- clockwise mode on; turn print direction right each time you
                   14991: #                 hit a window edge (yes, really).  Turned off by CR
                   14992: # ^V^P         -- no-op
                   14993: # ^V^Q%c       -- query the driver
                   14994: # ^V^R         -- driver reset
                   14995: # ^V^S         -- Sound tone (PC-specific)
                   14996: # ^V^T                 -- change highlight at current cursor poition to %c
                   14997: # ^V^U%p1%c%p2%c       -- highlight window <a> with attribute <b>
                   14998: # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
                   14999: #                      -- define window
                   15000: #
                   15001: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   15002: # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
                   15003: # tell ncurses that the corresponding highlights exist; it should use <sgr>,
                   15004: # which is the only method that will actually work for multiple highlights.)
                   15005: avatar0|avatar terminal emulator level 0,
                   15006:        am, bce, msgr,
                   15007:        cols#80, it#8, lines#25,
                   15008:        blink=^A^V^?, bold=^V^A\020, cr=\r, cub1=^V^E, cud1=^V^D, cuf1=^V^F,
                   15009:        cup=^V^H%p1%c%p2%c, cuu1=^V^C, el=^V^G, ind=\n, invis=^V^A\0,
                   15010:        rep=^Y%p1%c%p2%d, rev=^A^V\160, rs2=^L, sgr0=^V^A\007,
                   15011:        sgr=^V^A%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;,
                   15012:        smacs=, smso=^A^V\160, smul=^V\001,
                   15013:        use=klone+acs,
                   15014: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   15015: avatar0+|avatar terminal emulator level 0+,
                   15016:        smir=^V^I, rmir=^V^J\0\0\0\0,
                   15017:        dch1=^V^N, use=avatar0,
                   15018: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   15019: avatar|avatar1|avatar terminal emulator level 1,
                   15020:        rmir=^V^P, cnorm=^V'\001, civis=^V'\002, cvvis=^V\003,
                   15021:        il1=^V+, dl1=^V-, smam=^V$, rmam=^V", use=avatar0+,
                   15022:
                   15023: #### RBcomm
                   15024: #
                   15025: # RBComm is a lean and mean terminal emulator written by the Interrupt List
                   15026: # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
                   15027: # '90s), especially in the BBS world, and still has some loyal users due to
                   15028: # its very small memory footprint and to a cute macro language.
                   15029: rbcomm|IBM PC with RBcomm and EMACS keybindings,
                   15030:        am, bw, mir, msgr, xenl,
                   15031:        cols#80, it#8, lines#25,
                   15032:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   15033:        civis=\E[?25l, clear=^L, cnorm=\E[?25h, cr=^M,
                   15034:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^C, cuf1=^B,
                   15035:        cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^,
                   15036:        cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z,
                   15037:        ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I,
                   15038:        il=\E[%p1%dL, il1=^K, ind=\ED, invis=\E[8m,
                   15039:        is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,
                   15040:        kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A,
                   15041:        nel=^M\ED, rc=\E8, rep=\030%p1%c%p2%c, rev=^R,
                   15042:        ri=\EM, .rmacs=^O, rmcup=, rmdc=, rmir=^], rmkx=\E>,
                   15043:        rmso=^U, rmul=^U, rs1=\017\E(B\E)0\025\E[?3l\E[>8g,
                   15044:        sc=\E7, sgr0=\E[m, .smacs=^N, smcup=, smdc=,
                   15045:        smir=^\, smkx=\E=, smso=^R, smul=^T,
                   15046: rbcomm-nam|IBM PC with RBcomm without autowrap,
                   15047:        am@,
                   15048:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
                   15049:        is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H,
                   15050:        kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
                   15051: rbcomm-w|IBM PC with RBcomm in 132 column mode,
                   15052:        cols#132,
                   15053:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
                   15054:        is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H,
                   15055:        kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
                   15056:
                   15057: # CTRM terminal emulator
                   15058: # 1. underlining is not allowed with colors: first, is is simulated by
                   15059: # black on white, second, it disables background color manipulations.
                   15060: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   15061: # so we have to save their status in the static registers A, B and H
                   15062: # respectively, to be able to restore them when color changes
                   15063: # (because any color change turns off ALL attributes)
                   15064: # 3. <bold> and <rev> sequences alternate modes,
                   15065: # rather then simply  entering them.  Thus we have to check the
                   15066: # static register B and H to determine the status, before sending the
                   15067: # escape sequence.
                   15068: # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
                   15069: # and then reset colors
                   15070: # 5. implementation of the protect mode would badly penalize the performance.
                   15071: # we would have to use \E&bn sequence to turn off colors (as well as all
                   15072: # other attributes), and keep the status of protect mode in yet another
                   15073: # static variable.  If someone really needs this mode, they would have to
                   15074: # create another terminfo entry.
                   15075: # 6. original color-pair is white on black.
                   15076: # store the information about colors into static registers
                   15077: # 7. set foreground color.  it performs the following steps.
                   15078: #   1) turn off all attributes
                   15079: #   2) turn on the background and video attributes that have been turned
                   15080: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   15081: #   3) turn on foreground attributes
                   15082: #   4) store information about foreground into U,V,W static registers
                   15083: # 8. turn on background: similar to turn on foreground above
                   15084: ctrm|C terminal emulator,
                   15085:        am, xon, bce,
                   15086:        cols#80, lh#0, lines#24, lm#0, lw#0, nlab#0, colors#8, pairs#63,
                   15087:        pb#19200, vt#6, ncv#2,
                   15088:        bel=^G, cbt=\Ei, clear=\EH\EJ, cr=\r, cub1=\b,
                   15089:        cud1=\n, cuf1=\EC, cup=\E&a%p2%dc%p1%dY, cuu1=\EA,
                   15090:        dch1=\EP$<2>, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
                   15091:        ht=\t$<2>, hts=\E1, il1=\EL, ind=\n, ip=$<2>,
                   15092:        is2=\E&jA\r, kbs=\b, kcub1=\Eu\r, kcud1=\Ew\r,
                   15093:        kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, kf2=\Eq\r,
                   15094:        kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
                   15095:        kf8=\Ew\r, khome=\Ep\r, rmir=\ER, rmkx=\E&jA, smir=\EQ,
                   15096:        smkx=\E&jB, smso=\E&dD, smul=\E&dD, tbc=\E3,
                   15097:        vpa=\E&a%p1%dY,
                   15098:        blink=\E&dA%{1}%PA,
                   15099:        rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;,
                   15100:        bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;,
                   15101:        smul=\E&dD,
                   15102:        sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH,
                   15103:        sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH
                   15104:                 %?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;
                   15105:                 %?%p4%t\E&dA%{1}%PA%;
                   15106:                 %?%p6%t\E&dH%{1}%PH%;
                   15107:                 %?%p2%t\E&dD%;,
                   15108:        op=\E&bn\E&bB\E&bG\E&bR
                   15109:            %{0}%PX%{0}%PY%{0}%PZ
                   15110:            %{1}%PW%{1}%PV%{1}%PU,
                   15111:        setf=\E&bn
                   15112:                %?%gA%t\E&dA%;
                   15113:                %?%gB%t\E&dB%;
                   15114:                %?%gH%t\E&dH%;
                   15115:                %?%gX%t\E&br%;
                   15116:                %?%gY%t\E&bg%;
                   15117:                %?%gZ%t\E&bb%;
                   15118:
                   15119:                %?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW
                   15120:                %?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV
                   15121:                %?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU,
                   15122:        setb=\E&bn
                   15123:                %?%gA%t\E&dA%;
                   15124:                %?%gB%t\E&dB%;
                   15125:                %?%gH%t\E&dH%;
                   15126:                %?%gU%t\E&bR%;
                   15127:                %?%gV%t\E&bG%;
                   15128:                %?%gW%t\E&bB%;
                   15129:
                   15130:                %?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ
                   15131:                %?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY
                   15132:                %?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX,
                   15133:
                   15134: # gs6300 - can't use blue foreground, it clashes with underline;
                   15135: # it's simulated with cyan
                   15136: # Bug: The <op> capability probably resets attributes.
                   15137: # (gs6300: commented out <rmln> (no <smln>) --esr)
                   15138: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
                   15139:        am, msgr, xon, bce,
                   15140:        cols#80, it#8, lines#24, colors#8, pairs#63,
                   15141:        acsc=\,\,..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   15142:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   15143:        cr=\r, cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
                   15144:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   15145:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   15146:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, .el1=\E[1K,
                   15147:        home=\E[H, ht=\t, ich=\E[%p1%d@, ich1=\E[@,
                   15148:        il=\E[%p1%dL, il1=\E[L, ind=\n, is2=\E[m, kbs=\b,
                   15149:        kcbt=^R\t, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   15150:        kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
                   15151:        kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s,
                   15152:        kf8=\E[21s, khome=\E[H, mc4=\E[4i, mc5=\E[5i,
                   15153:        rev=\E[7m, ri=\E[L, rmacs=\E[10m, .rmln=\E|, rs1=\Ec,
                   15154:        sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
                   15155:        op=\E[?;m,
                   15156:        setf=\E[?%?%p1%{0}%=%t0
                   15157:                 %e%p1%{1}%=%t2
                   15158:                 %e%p1%{1}%-%d%;m,
                   15159:        setb=\E[?;%p1%dm,
                   15160:
                   15161: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   15162: # MS-Kermit with Heath-19 emulation mode enabled
                   15163: # (h19k: changed ":pt@:" to ":it@"
                   15164: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
                   15165:        am@, da, db, xt,
                   15166:        it@,
                   15167:        ht@, use=h19-u,
                   15168:
                   15169: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   15170: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   15171: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   15172: # also be reached at support@synergy.com.
                   15173: versaterm|versaterm vt100 emulator for the macintosh,
                   15174:        am, xenl,
                   15175:        cols#80, it#8, lines#24,
                   15176:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   15177:        clear=\E[;H\E[2J$<50/>, cr=^M,
                   15178:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J,
                   15179:        cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
                   15180:        cuu1=\E[A$<2/>, dch1=\E[1P$<7/>, dl1=\E[1M$<9/>,
                   15181:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   15182:        ich1=\E[1@$<7/>, il1=\E[1L$<9/>,
                   15183:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
                   15184:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   15185:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8,
                   15186:        rev=\E[7m$<2/>, rf=/usr/share/tabset/vt100,
                   15187:        ri=\EM$<5/>, rmkx=\E>\E[?1l, rmso=\E[m$<2/>,
                   15188:        rmul=\E[m$<2/>, rs1=\E>, sc=\E7, sgr0=\E[m$<2/>,
                   15189:        smkx=\E=\E[?1h, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
                   15190:
                   15191: # From: Rick Thomas <ihnp4!btlunix!rbt>
                   15192: # (xtalk: I added <rmam>/<smam> based on the init string.
                   15193: xtalk|IBM PC with xtalk communication program (versions up to 3.4),
                   15194:        am, mir, msgr, xon,
                   15195:        cols#80, it#8, lines#24, vt#3, xmc#1,
                   15196:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   15197:        bel=^G, clear=\E[H\E[J$<50>, cr=\r, cub=\E[%p1%dD,
                   15198:        cub1=\b, cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC,
                   15199:        cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>,
                   15200:        cuu=\E[%p1%dA, cuu1=\E[A$<2>, dl1=\E[M$<99>,
                   15201:        ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   15202:        enacs=\E(B\E)0, home=\E[H, ht=\t, hts=\EH,
                   15203:        il1=\E[L$<99>, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr,
                   15204:        kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
                   15205:        kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
                   15206:        kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   15207:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, ri=\EM$<5>,
                   15208:        rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m\s,
                   15209:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, smacs=^N,
                   15210:        smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s, tbc=\E[3g,
                   15211:
                   15212: # The official PC terminal emulator program of the AT&T Product Centers.
                   15213: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   15214: simterm|attpc running simterm,
                   15215:        am,
                   15216:        cols#80, lines#24,
                   15217:        bel=^G, clear=\EH\EJ, cr=\r, cub1=\b, cud1=\EB,
                   15218:        cuf1=\EC, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   15219:        dch1=\ER, dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL,
                   15220:        ind=\n, rmcup=\EVE, .rmir=\EE, rmso=\E&d@, sgr0=\E&d@, smcup=\EVS,
                   15221:        .smir=\EQ, smso=\E&dB,
                   15222:
                   15223: #### Miscellaneous obsolete terminals, manufacturers unknown
                   15224: #
                   15225: # If you have any information about these (like, a manufacturer's name,
                   15226: # and a date on the serial-number plate) please send it!
                   15227:
                   15228: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
                   15229:        am, OTbs,
                   15230:        cols#73, lines#36,
                   15231:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
                   15232: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
                   15233:        am, OTbs,
                   15234:        cols#85, lines#39,
                   15235:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
                   15236:        kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6,
                   15237:        kf3=\E7, kf4=\E8, rmso=\Em^C, smso=\Em^L,
                   15238: cops10|cops|cops-10|cops 10,
                   15239:        am, bw,
                   15240:        cols#80, lines#24,
                   15241:        bel=^G, clear=^X$<30/>, cr=^M, cub1=^H, cud1=^J,
                   15242:        cuf1=^L, cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   15243:        ed=^W, el=^V, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   15244:        kcuf1=^L, kcuu1=^K, khome=^Y,
                   15245: # (d132: removed duplicate :ic=\E5:,
                   15246: # merged in capabilities from a BRL entry -- esr)
                   15247: d132|datagraphix|datagraphix 132a,
                   15248:        da, db, in,
                   15249:        cols#80, lines#30,
                   15250:        bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, cuf1=\EL,
                   15251:        cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, dch1=\E6, home=\ET,
                   15252:        ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
                   15253:        nel=^M^J, ri=\Ew,
                   15254: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   15255: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   15256: # mode (which is what this entry looks like) and several other lesser-known
                   15257: # emulations.
                   15258: d800|Direct 800/A,
                   15259:        am, da, db, msgr, xhp, OTbs,
                   15260:        cols#80, it#8, lines#24,
                   15261:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   15262:        bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
                   15263:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   15264:        cuu1=\E[A, cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I,
                   15265:        ind=\ED, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   15266:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   15267:        kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, ri=\EM,
                   15268:        rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smacs=\E[1m,
                   15269:        smso=\E[7m, smul=\E[4m,
                   15270: digilog|digilog 333,
                   15271:        cols#80, lines#16, OTbs,
                   15272:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O,
                   15273:        el=^X, home=^N, ind=^J,
                   15274: # The DWK was a terminal manufactured in the Soviet Union c.1986
                   15275: dwk|dwk-vt|dwk terminal,
                   15276:        am,
                   15277:        cols#80, it#8, lines#24,
                   15278:        acsc=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\072f'g#~_\054Q+\^.M-Sh#i#0\177,
                   15279:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J,
                   15280:        cuf1=\EC, cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA,
                   15281:        dch1=\EP, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   15282:        ich1=\EQ, ind=^J, kbs=\177, kcub1=\ED, kcud1=\EB,
                   15283:        kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, kf1=\Ef1,
                   15284:        kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
                   15285:        kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed,
                   15286:        knp=\Eh, kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES,
                   15287:        rmacs=\EG, rmso=\EX, sgr0=\EX, smacs=\EF, smso=\ET,
                   15288: env230|envision230|envision 230 graphics terminal,
                   15289:        xenl@,
                   15290:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   15291:        sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   15292:        use=vt100,
                   15293: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   15294: # coupler attached, the whole rig fitting in a suitcase and more or less
                   15295: # portable.  Hot stuff for c.1977 :-) -- esr
                   15296: ep48|ep4080|execuport 4080,
                   15297:        am, os, OTbs,
                   15298:        cols#80,
                   15299:        bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
                   15300: ep40|ep4000|execuport 4000,
                   15301:        cols#136, use=ep4080,
                   15302: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   15303: # Informer series - these are all portable units, resembling older
                   15304: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   15305: # design, but isn't.  The structure is similar to the Direct terminals,
                   15306: # but only half the width.  The entire unit is only about 10" wide.
                   15307: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   15308: # keyboard.  All the keys are crammed together, much like some laptop
                   15309: # PCs today, but perhaps less well organized...all these units have a
                   15310: # bewildering array of plugs on the back, including a built-in modem.
                   15311: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   15312: # color terminals built for IBM bisync protocols.
                   15313: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   15314: ifmr|Informer D304,
                   15315:        am, OTbs,
                   15316:        cols#80, lines#24,
                   15317:        clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
                   15318:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
                   15319:        dch1=\E\\, ed=\E/, el=\EQ, home=\EH, ich1=\E[,
                   15320:        ri=\En, rmso=\EK, sgr0=\EK, smso=\EJ,
                   15321: # Entry largely based on wy60 and has the features of wy60ak.
                   15322: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
                   15323:        is2=\E`:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A^?\Ezz'\E[B^?\Ezz(\E[D^?\Ezz)\E[C^?\Ezz<\E[Q^?\Ezz`\E[F^?\EA1*\EZH12,
                   15324:        kbs=\b, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   15325:        kcuu1=\E[A,
                   15326:        smcup=\Ezz&\E[A^?\Ezz'\E[B^?\Ezz(\E[D^?\Ezz)\E[C^?\Ezz<\E[Q^?, rmcup=,
                   15327:        tsl=\EF, fsl=^M,
                   15328:        kend=\E[F,
                   15329:        am, hs, mir, ul, xon,
                   15330:        cols#80, lines#24,
                   15331:        bel=^G, blink=\EG2, kcbt=\EI, cbt=\EI, clear=\E*$<100>, cr=^M,
                   15332:        cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC,
                   15333:        cuu1=^K, dch1=\EW$<11>, dl1=\ER$<5>, dsl=\Ez(^M, ed=\EY$<100>,
                   15334:        el=\ET, fsl=^M, ht=^I$<5>, hts=\E1, if=/usr/share/tabset/std,
                   15335:        il1=\EE$<4>, ind=\n,
                   15336:        ip=$<3>,
                   15337:        kcbt=\EI,
                   15338:        kdch1=\EW, kdl1=\ER, kel=\ET, kent=\E7,
                   15339:        ked=\EY,
                   15340:        kf1=^A@^M, kf2=^AA^M, kf3=^AB^M, kf4=^AC^M, kf5=^AD^M, kf6=^AE^M,
                   15341:        kf7=^AF^M, kf8=^AG^M, kf9=^AH^M, kf10=^AI^M, kf11=^AJ^M, kf12=^AK^M,
                   15342:        kf13=^AL^M, kf14=^AM^M, kf15=^AN^M, kf16=^AO^M,
                   15343:        rmir=\Er,
                   15344:        civis=\E`0,
                   15345:        cnorm=\E`1,
                   15346:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv,
                   15347:        rmacs=\EH^C,
                   15348:        smacs=\EH^B,
                   15349:        knp=\EK,
                   15350:        kpp=\EJ,
                   15351:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH^B%e\EH^C%;\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   15352:        sgr0=\E(\EH^C\EG0\EcD,
                   15353:        kich1=\EQ, kil1=\EE, km, kprt=\EP, krpl=\Er,
                   15354:        lh#1, lw#8, mc0=\EP, mc4=^T, mc5=^R, mir, msgr,
                   15355:        nel=^M^J$<3>, nlab#8, pfloc=\EZ2%p1%'?'%+%c%p2%s\177,
                   15356:        pfx=\EZ1%p1%'?'%+%c%p2%s\177, pln=\Ez%p1%'/'%+%c%p2%s^M, prot=\E),
                   15357:        ri=\Ej$<7>, rmam=\Ed., rmln=\EA11,
                   15358:        rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
                   15359:        rs3=\EwG\Ee($<150>,
                   15360:        smam=\Ed/, smln=\EA10,
                   15361:        smxon=\Ec21, tbc=\E0, uc=\EG8%p1%c\EG0,
                   15362:        wsl#80, .xon,
                   15363:        bw, dim=\EGp,
                   15364:        kHOM=\E{,
                   15365:        smir=\Eq, tsl=\Ez(,
                   15366:        home=^^$<2>, khome=^^,
                   15367:        use=adm+sgr,
                   15368: teletec|Teletec Datascreen,
                   15369:        am, OTbs,
                   15370:        cols#80, lines#24,
                   15371:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
                   15372:        home=^^, ind=^J,
                   15373: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   15374: # This description is for the LANPAR Technologies VISION 3220
                   15375: # terminal from 1984/85.  The function key definitions k0-k5 represent the
                   15376: # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   15377: # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
                   15378: # (v3220: removed obsolete ":kn#10:",
                   15379: # I added <rmam>/<smam> based on the init string -- esr)
                   15380: v3220|LANPAR Vision II model 3220/3221/3222,
                   15381:        am, mir, xenl, OTbs,
                   15382:        cols#80, it#8, lines#24,
                   15383:        clear=\E[H\E[J, cub1=^H, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   15384:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
                   15385:        ht=\t, il1=\E[L, is2=\E>\E[?3l\E[?7h\E[?8h\E[p,
                   15386:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   15387:        kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, kf3=\E[4~,
                   15388:        kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
                   15389:        kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM,
                   15390:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   15391:        smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
                   15392:
                   15393: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   15394: #
                   15395: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   15396: # are present; the symptom is doubled characters in an update using insert.
                   15397: # These applications are technically correct; in both 4.3BSD termcap and
                   15398: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   15399: # unless the terminal needs both.  To my knowledge, no terminal still in this
                   15400: # file requires both other than the very obsolete dm2500.
                   15401: #
                   15402: # For ncurses-based applications this is not a problem, as ncurses uses
                   15403: # one or the other as appropriate but never mixes the two.  Therefore we
                   15404: # have not corrected entries like `linux' and `xterm' that specify both.
                   15405: # If you see doubled characters from these, use the linux-nic and xterm-nic
                   15406: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   15407: #
                   15408:
                   15409: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
                   15410: #
                   15411: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   15412: # ECMA-48 standards are said to be almost identical, but are not the same
                   15413: # as X3.64 (though for practical purposes they are close supersets of it).
                   15414: #
                   15415: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   15416: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   15417: # Coded Character Sets"), include your snail-mail address, and you should
                   15418: # receive the document in due course.  Don't expect an email acknowledgement.
                   15419: #
                   15420: # Related standards include "X3.4-1977: American National Standard Code for
                   15421: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   15422: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
                   15423: # American National Standard for Information Interchange."  I believe (but
                   15424: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   15425: # respectively.
                   15426: #
                   15427:
                   15428: #### VT100/ANSI/ECMA-48
                   15429: #
                   15430: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
                   15431: # and ECMA-48 Control Functions for Coded Character Sets.
                   15432: #
                   15433: # Much of the content of this comment is adapted from a table prepared by
                   15434: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   15435: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   15436: # have been added.  Control functions described in ECMA-48 only are tagged
                   15437: # with * after their names.
                   15438: #
                   15439: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   15440: # sequences.  In the main table, \E stands for an escape (\033) character,
                   15441: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   15442: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   15443: # semicolons.  Parameter meanings for most parametrized sequences are
                   15444: # decribed in the notes.
                   15445: #
                   15446: # Sequence     Sequence                             Parameter   or
                   15447: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   15448: # -----------------------------------------------------------------------------
                   15449: # APC  Applicatn Program Command \E _                -         Delim  -
                   15450: # BEL  Bell *                    ^G                  -         -      bel
                   15451: # BPH  Break Permitted Here *    \E B                -         *      -
                   15452: # BS   Backpace *                ^H                  -         EF     -
                   15453: # CAN  Cancel *                  ^X                  -         -      -   (A)
                   15454: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   15455: # CCH  Cancel Previous Character \E T                -         -      -
                   15456: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   15457: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   15458: # CMD  Coding Method Delimiter * \E
                   15459: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
                   15460: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
                   15461: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
                   15462: # CSI  Control Sequence Intro    \E [                -         Intro  -
                   15463: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
                   15464: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   15465: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   15466: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
                   15467: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
                   15468: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
                   15469: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
                   15470: # DA   Device Attributes         \E [ Pn c           0         -      -
                   15471: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   15472: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   15473: # DCS  Device Control String     \E P                -         Delim  -
                   15474: # DL   Delete Line               \E [ Pn M           1         eF     dl
                   15475: # DLE  Data Link Escape *        ^P                  -         -      -
                   15476: # DMI  Disable Manual Input      \E \                -         Fs     -
                   15477: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   15478: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   15479: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
                   15480: # ECH  Erase Character           \E [ Pn X           1         eF     ech
                   15481: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
                   15482: # EF   Erase in Field            \E [ Ps N           0         eF     -
                   15483: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
                   15484: # EM   End of Medium *           ^Y                  -         -      -
                   15485: # EMI  Enable Manual Input       \E b                          Fs     -
                   15486: # ENQ  Enquire                   ^E                  -         -      -
                   15487: # EOT  End Of Transmission       ^D                  -         *      -
                   15488: # EPA  End of Protected Area     \E W                -         -      -   (K)
                   15489: # ESA  End of Selected Area      \E G                -         -      -
                   15490: # ESC  Escape                    ^[                  -         -      -
                   15491: # ETB  End Transmission Block    ^W                  -         -      -
                   15492: # ETX  End of Text               ^C                  -         -      -
                   15493: # FF   Form Feed                 ^L                  -         -      -
                   15494: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   15495: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
                   15496: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
                   15497: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
                   15498: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
                   15499: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   15500: # HPB  Char Position Backward    \E [ j              1         FE     -
                   15501: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   15502: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   15503: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
                   15504: # HTS  Horizontal Tab Set        \E H                -         FE     hts
                   15505: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
                   15506: # ICH  Insert Character          \E [ Pn @           1         eF     ich
                   15507: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   15508: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
                   15509: # IL   Insert Line               \E [ Pn L           1         eF     il
                   15510: # IND  Index                     \E D                -         FE     -
                   15511: # INT  Interrupt                 \E a                -         Fs     -
                   15512: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
                   15513: # IS1  Info Separator #1 *       ^_                  -         *      -
                   15514: # IS2  Info Separator #1 *       ^^                  -         *      -
                   15515: # IS3  Info Separator #1 *       ^]                  -         *      -
                   15516: # IS4  Info Separator #1 *       ^\                  -         *      -
                   15517: # LF   Line Feed                 ^J                  -         -      -
                   15518: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   15519: # LS2  Locking Shift 2 *         \E n                -         -      -
                   15520: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   15521: # LS3  Locking Shift 3 *         \E o                -         -      -
                   15522: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   15523: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
                   15524: # MW   Message Waiting           \E U                -         -      -
                   15525: # NAK  Negative Acknowledge *    ^U                  -         *      -
                   15526: # NBH  No Break Here *           \E C                -         -      -
                   15527: # NEL  Next Line                 \E E                -         FE     nel (D)
                   15528: # NP   Next Page                 \E [ Pn U           1         eF     -
                   15529: # NUL  Null *                    ^@                  -         -      -
                   15530: # OSC  Operating System Command  \E ]                -         Delim  -
                   15531: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   15532: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   15533: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   15534: # PLU  Partial Line Up           \E L                -         FE     -   (U)
                   15535: # PM   Privacy Message           \E ^                -         Delim  -
                   15536: # PP   Preceding Page            \E [ Pn V           1         eF     -
                   15537: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   15538: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   15539: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   15540: # PTX  Parallel Texts *          \E [ \              -         -      -
                   15541: # PU1  Private Use 1             \E Q                -         -      -
                   15542: # PU2  Private Use 2             \E R                -         -      -
                   15543: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   15544: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
                   15545: # RI   Reverse Index             \E M                -         FE     -   (V)
                   15546: # RIS  Reset to Initial State    \E c                -         Fs     -
                   15547: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   15548: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   15549: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   15550: # SCI  Single-Char Introducer    \E Z                -         -      -
                   15551: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   15552: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
                   15553: # SD   Scroll Down               \E [ Pn T           1         eF     rin
                   15554: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   15555: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   15556: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
                   15557: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
                   15558: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
                   15559: # SI   Shift In                  ^O                  -         -      -   (P)
                   15560: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
                   15561: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
                   15562: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   15563: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   15564: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   15565: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
                   15566: # SO   Shift Out                 ^N                  -         -      -   (Q)
                   15567: # SOH  Start Of Heading *        ^A                  -         -      -
                   15568: # SOS  Start of String *         \E X                -         -      -
                   15569: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   15570: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   15571: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
                   15572: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
                   15573: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   15574: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
                   15575: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
                   15576: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   15577: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   15578: # SSA  Start of Selected Area    \E F                -         -      -
                   15579: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   15580: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
                   15581: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   15582: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   15583: # ST   String Terminator         \E \                -         Delim  -
                   15584: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
                   15585: # STS  Set Transmit State        \E S                -         -      -
                   15586: # STX  Start pf Text *           ^B                  -         -      -
                   15587: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
                   15588: # SUB  Substitute *              ^Z                  -         -      -
                   15589: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   15590: # SYN  Synchronous Idle *        ^F                  -         -      -
                   15591: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   15592: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   15593: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
                   15594: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
                   15595: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   15596: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
                   15597: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
                   15598: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   15599: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   15600: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   15601: # VT   Vertical Tabulation *     ^K                  -         FE     -
                   15602: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   15603: #
                   15604: # ---------------------------------------------------------------------------
                   15605: #
                   15606: # Notes:
                   15607: #
                   15608: # Some control characters are listed in the ECMA-48 standard without
                   15609: # being assigned functions relevant to terminal control there (they
                   15610: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   15611: # here anyway for completeness.
                   15612: #
                   15613: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
                   15614: #
                   15615: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
                   15616: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
                   15617: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
                   15618: # preserved the CHA abbreviation.
                   15619: #
                   15620: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
                   15621: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
                   15622: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
                   15623: # CHT abbreviation.
                   15624: #
                   15625: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
                   15626: #
                   15627: # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
                   15628: # abbreviation.
                   15629: #
                   15630: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   15631: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   15632: # 5 = clear all char tabs, 6 = clear all line tabs.
                   15633: #
                   15634: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   15635: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
                   15636: # Position Absolute" but retains the HVP abbreviation.
                   15637: #
                   15638: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   15639: # abbreviation.
                   15640: #
                   15641: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   15642: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   15643: # DSR, 6 = request CPR response.
                   15644: #
                   15645: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   15646: # 1 = clear from beginning, 2 = clear.
                   15647: #
                   15648: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
                   15649: #
                   15650: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   15651: #
                   15652: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   15653: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
                   15654: # Position Relative" but retains the HPR abbreviation.
                   15655: #
                   15656: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   15657: # abbreviation.
                   15658: #
                   15659: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   15660: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   15661: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   15662: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   15663: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   15664: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   15665: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   15666: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   15667: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   15668: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   15669: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   15670: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   15671: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   15672: # 61-65 = variable highlights for ideograms.
                   15673: #
                   15674: # (P) SI is also called LSO, Locking Shift Zero.
                   15675: #
                   15676: # (Q) SI is also called LS1, Locking Shift One.
                   15677: #
                   15678: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
                   15679: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
                   15680: # Absolute' but retains the VPA abbreviation.
                   15681: #
                   15682: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   15683: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   15684: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   15685: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   15686: # 7 = start relay to secondary aux device.
                   15687: #
                   15688: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   15689: # abbreviation.
                   15690: #
                   15691: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   15692: # abbreviation.
                   15693: #
                   15694: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   15695: #
                   15696: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   15697: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   15698: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   15699: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   15700: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   15701: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   15702: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   15703: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   15704: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   15705: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   15706: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   15707: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   15708: # from ECMA-48's 5th edition but are listed here for reference.
                   15709: #
                   15710: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   15711: # alphabets.
                   15712: #
                   15713: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   15714: #
                   15715: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   15716: # abbreviation.
                   15717: #
                   15718: # ---------------------------------------------------------------------------
                   15719: #
                   15720: # Abbreviations:
                   15721: #
                   15722: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   15723: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   15724: #
                   15725: # Delim  a Delimiter
                   15726: #
                   15727: # x/y    identifies a character by position in the ASCII table (column/row)
                   15728: #
                   15729: # eF     editor function (see explanation)
                   15730: #
                   15731: # FE     format effector (see explanation)
                   15732: #
                   15733: # F      is a Final character in
                   15734: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   15735: #             a control sequence (F from 4/0 to 7/14)
                   15736: #
                   15737: # Gs     is a graphic character appearing in strings (Gs ranges from
                   15738: #        2/0 to 7/14) in the ASCII table
                   15739: #
                   15740: # Ce     is a control represented as a single bit combination in the C1 set
                   15741: #        of controls in an 8-bit character set
                   15742: #
                   15743: # C0     the familiar set of 7-bit ASCII control characters
                   15744: #
                   15745: # C1     roughly, the set of control chars available only in 8-bit systems.
                   15746: #        This is too complicated to explain fully here, so read Jim Fleming's
                   15747: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   15748: #
                   15749: # Fe     is a Final character of a 2-character Escape sequence that has an
                   15750: #        equivalent representation in an 8-bit environment as a Ce-type
                   15751: #        (Fe ranges from 4/0 to 5/15)
                   15752: #
                   15753: # Fs     is a Final character of a 2-character Escape sequence that is
                   15754: #        standardized internationally with identical representation in 7-bit
                   15755: #        and 8-bit environments and is independent of the currently
                   15756: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   15757: #
                   15758: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   15759: #        ASCII table
                   15760: #
                   15761: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   15762: #        table
                   15763: #
                   15764: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   15765: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   15766: #
                   15767: # Ps     is a variable number of selective parameters in a control sequence
                   15768: #        with each selective parameter separated from the other by the code
                   15769: #        3/11 (which usually represents a semicolon); Ps ranges from
                   15770: #        3/0 to 3/9 and includes 3/11
                   15771: #
                   15772: # *      Not relevant to terminal control, listed for completeness only.
                   15773: #
                   15774: # Format Effectors versus Editor Functions
                   15775: #
                   15776: # A format effector specifies how following output is to be displayed.
                   15777: # An editor function allows you to modify the display.  Informally
                   15778: # format effectors may be destructive; format effectors should not be.
                   15779: #
                   15780: # For instance, a format effector that moves the "active position" (the
                   15781: # cursor or equivalent) one space to the left would be useful when you want to
                   15782: # create an overstrike, a compound character made of two standard characters
                   15783: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   15784: # format effector, so you can do this. But many systems use it in a
                   15785: # nonstandard fashion, as an editor function, deleting the character to the
                   15786: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   15787: # be an editor function, you cannot predict whether its use will create an
                   15788: # overstrike unless you also know whether the output device is in an "insert
                   15789: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   15790: # its effect can always be predicted. The familiar characters carriage
                   15791: # return, linefeed, formfeed, etc., are defined as format effectors.
                   15792: #
                   15793: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   15794: #
                   15795: # Control sequences implemented in the VT100 are as follows:
                   15796: #
                   15797: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   15798: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   15799: #
                   15800: # plus several private DEC commands.
                   15801: #
                   15802: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   15803: #
                   15804: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   15805: #      Erase from beginning of line to cursor     Esc [ 1 K
                   15806: #      Erase line containing cursor               Esc [ 2 K
                   15807: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   15808: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   15809: #      Erase entire screen                        Esc [ 2 J
                   15810: #
                   15811: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   15812: # Esc [ 2 J, but this is wrong; the default is 0.
                   15813: #
                   15814: # The VT100 responds to receiving the DA (Device Attributes) control
                   15815: #
                   15816: #      Esc [ c    (or Esc [ 0 c)
                   15817: #
                   15818: # by transmitting the sequence
                   15819: #
                   15820: #      Esc [ ? l ; Ps c
                   15821: #
                   15822: # where Ps is a character that describes installed options.
                   15823: #
                   15824: # The VT100's cursor location can be read with the DSR (Device Status
                   15825: # Report) control
                   15826: #
                   15827: #      Esc [ 6 n
                   15828: #
                   15829: # The VT100 reports by transmitting the CPR sequence
                   15830: #
                   15831: #      Esc [ Pl ; Pc R
                   15832: #
                   15833: # where Pl is the line number and Pc is the column number (in decimal).
                   15834: #
                   15835: # The specification for the DEC VT100 is document EK-VT100-UG-003.
                   15836:
                   15837: #### ANSI.SYS
                   15838: #
                   15839: # Here is a description of the color and attribute controls supported in the
                   15840: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
                   15841: # terminal emulators for Intel boxes obey these.  They are a proper subset
                   15842: # of the ECMA-48 escapes.
                   15843: #
                   15844: # 0    all attributes off
                   15845: # 1    foreground bright
                   15846: # 4    underscore on
                   15847: # 5    blink on/background bright (not reliable with brown)
                   15848: # 7    reverse-video
                   15849: # 8    set blank (non-display)
                   15850: # 10   set primary font
                   15851: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   15852: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   15853: #
                   15854: #                      Color attribute sets
                   15855: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   15856: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   15857: # Bright black becomes gray.  Bright brown becomes yellow,
                   15858: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
                   15859: #
                   15860: # * If the 5 attribute is on and you set a background color (40-47) it is
                   15861: #   supposed to enable bright background.
                   15862: #
                   15863: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   15864: #   when you try to set a "bright brown" (yellow) background with attribute
                   15865: #   5 (you get a blinking yellow foreground instead).  A few displays
                   15866: #   (including the System V console) support an attribute 6 that undoes this
                   15867: #   braindamage (this is required by iBCS2).
                   15868: #
                   15869: # * Some older versions of ANSI.SYS have a bug that causes thems to require
                   15870: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
                   15871: #   compatible.)
                   15872:
                   15873: #### Intel Binary Compatibility Standard
                   15874: #
                   15875: # For comparison, here are the capabilities implied by the Intel Binary
                   15876: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   15877: # These recommendations are optional.  IBCS2 allows the leading escape to
                   15878: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   15879: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   15880: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   15881: # terminfo entry are followed with the corresponding capability in parens:
                   15882: #
                   15883: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   15884: #      CSI 2h                  lock keyboard
                   15885: #      CSI 2i                  send screen as input
                   15886: #      CSI 2l                  unlock keyboard
                   15887: #      CSI 6m                  enable background color intensity
                   15888: #      CSI <0-2>c              reserved
                   15889: #      CSI <0-59>m             select graphic rendition
                   15890: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   15891: #      CSI <n>;<m>f            cursor to line n and column m
                   15892: #      CSI <n>@        (ich)   insert characters
                   15893: #      CSI <n>A        (cuu)   cursor up n lines
                   15894: #      CSI <n>B        (cud)   cursor down n lines
                   15895: #      CSI <n>C        (cuu)   cursor right n characters
                   15896: #      CSI <n>D        (cud)   cursor left n characters
                   15897: #      CSI <n>E                cursor down n lines and in first column
                   15898: #      CSI <n>F                cursor up n lines and in first column
                   15899: #      CSI <n>G        (hpa)   position cursor at column n-1
                   15900: #      CSI <n>J        (ed)    erase in display
                   15901: #      CSI <n>K        (el)    erase in line
                   15902: #      CSI <n>L        (il)    insert line(s)
                   15903: #      CSI <n>P        (dch)   delete characters
                   15904: #      CSI <n>S        (indn)  scroll up n lines
                   15905: #      CSI <n>T        (rin)   scroll down n lines
                   15906: #      CSI <n>X        (ech)   erase characters
                   15907: #      CSI <n>Z        (cbt)   back up n tab stops
                   15908: #      CSI <n>`                cursor to column n on line
                   15909: #      CSI <n>a        (cuu)   cursor right n characters
                   15910: #      CSI <n>d        (vpa)   cursor to line n
                   15911: #      CSI <n>e                cursor down n lines and in first column
                   15912: #      CSI <n>g        (cbt)   clear all tabs
                   15913: #      CSI <n>z                make virtual terminal n active
                   15914: #      CSI ?7h         (smam)  turn automargin on
                   15915: #      CSI ?7l         (rmam)  turn automargin off
                   15916: #      CSI s                   save cursor position
                   15917: #      CSI u                   restore cursor position to saved value
                   15918: #      CSI =<c>A               set overscan color
                   15919: #      CSI =<c>F               set normal foreground color
                   15920: #      CSI =<c>G               set normal background color
                   15921: #      CSI =<c>H               set reverse foreground color
                   15922: #      CSI =<c>I               set reverse foreground color
                   15923: #      CSI =<c>J               set graphic foreground color
                   15924: #      CSI =<c>K               set graphic foreground color
                   15925: #      CSI =<n>g       (dispc) display n from alternate graphics character set
                   15926: #      CSI =<p>;<d>B           set bell parameters
                   15927: #      CSI =<s>;<e>C           set cursor parameters
                   15928: #      CSI =<x>D               enable/disable intensity of background color
                   15929: #      CSI =<x>E               set/clear blink vs. bold background
                   15930: #      CSI 7           (sc)    (sc) save cursor position
                   15931: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   15932: #      CSI H           (hts)   (hts) set tab stop
                   15933: #      CSI Q<n><string>        define function key string
                   15934: #                              (string must begin and end with delimiter char)
                   15935: #      CSI c           (clear) clear screen
                   15936: #
                   15937: # The lack of any specification for attributes in SGR (among other things)
                   15938: # makes this a wretchedly weak standard. The table above is literally
                   15939: # everything iBSC2 has to say about terminal escape sequences; there is
                   15940: # no further discussion of their meaning or how to set the parameters
                   15941: # in these sequences at all.
                   15942: #
                   15943:
                   15944: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   15945: #
                   15946: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   15947: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   15948: # with the extension names chosen for compatibility with the termcap names
                   15949: # assigned in System V terminfo.  There are some variant extension sets out
                   15950: # there.  We try to describe them here.
                   15951: #
                   15952: # XENIX extensions:
                   15953: #
                   15954: # The XENIX extensions include a set of function-key capabilities as follows:
                   15955: #
                   15956: #       code   XENIX variable name     terminfo name   name clashes?
                   15957: #      ----    -------------------     -------------   -----------------------
                   15958: #      CL      key_char_left
                   15959: #      CR      key_char_right
                   15960: #      CW      key_change_window                       create_window
                   15961: #      EN      key_end                 kend
                   15962: #      HM      key_home                khome
                   15963: #      HP      ??
                   15964: #      LD      key_delete_line         kdl1
                   15965: #      LF      key_linefeed                            label_off
                   15966: #      NU      key_next_unlocked_cell
                   15967: #      PD      key_page_down           knp
                   15968: #      PL      ??
                   15969: #      PN      start_print             mc5
                   15970: #      PR      ??
                   15971: #      PS      stop_print              mc4
                   15972: #      PU      key_page_up             kpp             pulse
                   15973: #      RC      key_recalc                              remove_clock
                   15974: #      RF      key_toggle_ref                          req_for_input
                   15975: #      RT      key_return              kent
                   15976: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   15977: #      WL      key_word_left
                   15978: #      WR      key_word_right
                   15979: #
                   15980: # The XENIX extensions also include the following character-set and highlight
                   15981: # capabilities:
                   15982: #
                   15983: #      XENIX   terminfo        function
                   15984: #      -----   --------        ------------------------------
                   15985: #      GS      smacs           start alternate character set
                   15986: #      GE      rmacs           end alternate character set
                   15987: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   15988: #      bo      blink           begin blink (not used in /etc/termcap)
                   15989: #      be                      end blink (not used in /etc/termcap)
                   15990: #      bb                      blink glitch  (not used in /etc/termcap)
                   15991: #      it      dim             begin dim (not used in /etc/termcap)
                   15992: #      ie                      end dim (not used in /etc/termcap)
                   15993: #      ig                      dim glitch  (not used in /etc/termcap)
                   15994: #
                   15995: # Finally, XENIX also used the following forms-drawing capabilities:
                   15996: #
                   15997: #      single  double  type             ASCII approximation
                   15998: #      ------  ------  -------------    -------------------
                   15999: #      GV      Gv      vertical line             |
                   16000: #      GH      Gv      horizontal line       -   _
                   16001: #      G1      G5      top right corner       _   |
                   16002: #      G2      G6      top left corner       |
                   16003: #      G3      G7      bottom left corner         |_
                   16004: #      G4      G8      bottom right corner   _|
                   16005: #      GD      Gd      down-tick character        T
                   16006: #      GL      Gl      left-tick character   -|
                   16007: #      GR      Gr      right-tick character       |-
                   16008: #      GC      Gc      middle intersection   -|-
                   16009: #      GU      Gu      up-tick character          _|_
                   16010: #
                   16011: # These were invented to take advantage of the IBM PC ROM character set.  One
                   16012: # can compose an acsc string from the single-width characters as follows
                   16013: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
                   16014: # When translating a termcap file, ncurses tic will do this automatically.
                   16015: # The double forms characters don't fit the SVr4 terminfo model.
                   16016: #
                   16017: # AT&T Extensions:
                   16018: #
                   16019: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   16020: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   16021: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   16022: # set.  Comments in the original, and a little cross-checking with other AT&T
                   16023: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   16024: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   16025: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   16026: # cursor invisible), and CV=:ve: (make cursor normal).
                   16027: #
                   16028: # HP Extensions
                   16029: #
                   16030: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   16031: # have the System V capabilities up to SVr1 level.  After that, it supports
                   16032: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   16033: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   16034: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   16035: # HP binary format incompatible with SVr4's.
                   16036: #
                   16037: # IBM Extensions
                   16038: #
                   16039: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   16040: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   16041: # capabilities following prtr_non with the following special capabilties:
                   16042: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   16043: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   16044: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   16045: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   16046: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   16047: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   16048: # correspond to acsc chars, here is the mapping:
                   16049: #
                   16050: #      box1[0]  = ACS_ULCORNER
                   16051: #      box1[1]  = ACS_HLINE
                   16052: #      box1[2]  = ACS_URCORNER
                   16053: #      box1[3]  = ACS_VLINE
                   16054: #      box1[4]  = ACS_LRCORNER
                   16055: #      box1[5]  = ACS_LLCORNER
                   16056: #      box1[6]  = ACS_TTEE
                   16057: #      box1[7]  = ACS_RTEE
                   16058: #      box1[8]  = ACS_BTEE
                   16059: #      box1[9]  = ACS_LTEE
                   16060: #      box1[10] = ACS_PLUS
                   16061: #
                   16062: # The box2 characters are the double-line versions of these forms graphics.
                   16063: # The AIX binary terminfo format is incompatible with SVr4's.
                   16064: #
                   16065: # Iris console extensions:
                   16066: #
                   16067: # HS is half-intensity start; HE is half-intensity end
                   16068: # CT is color terminal type (for Curses & rogue)
                   16069: # CP is color change escape sequence
                   16070: # CZ are color names (for Curses & rogue)
                   16071: #
                   16072: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   16073: #
                   16074: # TC Extensions:
                   16075: #
                   16076: # There is a set of extended termcaps associated with something
                   16077: # called the "Terminal Control" or TC package created by MainStream Systems,
                   16078: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   16079: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   16080: # that flags color terminals.
                   16081: #
                   16082: ######## CHANGE HISTORY
                   16083: #
                   16084: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   16085: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   16086: # project.
                   16087: #
                   16088: # This file contains all the capability information present in John Kunze's
                   16089: # last version of the termcap master file, except as noted in the change
                   16090: # comments at end of file.  Some information about very ancient obsolete
                   16091: # capabilities has been moved to comments.  Some all-numeric names of older
                   16092: # terminals have been retired.
                   16093: #
                   16094: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   16095: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   16096: # used by BSD curses.
                   16097: #
                   16098: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   16099: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   16100: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   16101: # making perfectly synchronized mistakes which I then failed to catch by
                   16102: # eyeball, the translation was correct and perfectly information-preserving.
                   16103: #
                   16104: # Major version number bumps correspond to major version changes in ncurses.
                   16105: #
                   16106: # Here is a log of the changes since then:
                   16107: #
                   16108: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   16109: #      * First terminfo master translated from 8.3.
                   16110: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   16111: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   16112: #
                   16113: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   16114: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   16115: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   16116: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   16117: #      * Contact and history info supplied by Qume.
                   16118: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
                   16119: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
                   16120: #      * Added information on X3.64 and VT100 standard escape sequences.
                   16121: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   16122: #      * Added a correct X11R6 xterm entry.
                   16123: #      * Fixed terminfo translations of padding.
                   16124: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   16125: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   16126: #      * Added u6/u7/u8/u9 capabilities.
                   16127: #      * Added PCVT entry.
                   16128: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   16129: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   16130: #        to use reverse-video standout so Emacs will look right.
                   16131: #      * Added el1 capability to ansi.
                   16132: #      * Added smacs/rmacs to ansi.sys.
                   16133: #
                   16134: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   16135: #      * New mt70 entry.
                   16136: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   16137: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   16138: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   16139: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   16140: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   16141: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   16142: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   16143: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   16144: #      * Restored the old minimal-ansi entry, luna needs it.
                   16145: #      * Fixed some incorrect ip and proportional-padding translations.
                   16146: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   16147: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   16148: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   16149: #        to force a particular height.
                   16150: #      * Added beehive4 and reorganized other Harris entries.
                   16151: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   16152: #      * Merged in DEC's official entries for its terminals.  The only old
                   16153: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   16154: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   16155: #        ones from AT&T's SVr3.
                   16156: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   16157: #      * Added teleray 16, vc415, cops10.
                   16158: #      * Merged in many individual capabilities from SCO terminfo files.
                   16159: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   16160: #      * Typo fixes.
                   16161: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   16162: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   16163: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   16164: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   16165: #        simterm, citoh and variants.
                   16166: #      * Replaced sol entry with sol1 and sol2.
                   16167: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   16168: #        terminfo entries.
                   16169: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   16170: #        and dg200 entries using caps from from SCO.
                   16171: #      * Added the usual set of function-key mappings to ANSI entry.
                   16172: #      * Corrected xterm's function-key capabilities.
                   16173: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   16174: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   16175: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   16176: #      * Fix in xterm entry, get the arrow keys right.
                   16177: #      * Change some \0 escapes to \200.
                   16178: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   16179: #      * Added apple (Videx card), adm1a, oadm31.
                   16180: #      * Fixed malformed ampex csr.
                   16181: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   16182: #      * Changed mandatory to advisory padding in many entries.
                   16183: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   16184: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   16185: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   16186: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   16187: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   16188: #        more efficient (but the entries otherwise identical).
                   16189: #      * Added dg211 from Shuford archive.
                   16190: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   16191: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   16192: #      * Pull SCO's padding into vi200 entry.
                   16193: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   16194: #        entries merged in from SCO's descriptions.
                   16195: #      * Fixed old-style prefix padding on zen50, h1500.
                   16196: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   16197: #        entry from SCO's description.
                   16198: #      * Reorganized the special entries.
                   16199: #      * Added lm#0 to cbunix and virtual entries.
                   16200: #
                   16201: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   16202: #      * Restored cdc456tst.
                   16203: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   16204: #      * Added megatek, beacon, microkit.
                   16205: #      * Freeze for ncurses-1.9 release.
                   16206: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   16207: #      * Added historical data for TAB.
                   16208: #      * Comment fixes from David MacKenzie.
                   16209: #      * Added the new BSDI pc3 entry.
                   16210: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   16211: #      * A change in the tic -C logic now ensures that all entries in
                   16212: #        the termcap translation will fit in < 1024 bytes.
                   16213: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   16214: #        from GNU termcap file.  This merges in all their local information.
                   16215: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   16216: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   16217: #      * Added warnings about entries with long translations (restoring
                   16218: #        all the GNU termcaps pushes a few over the edge).
                   16219: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   16220: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   16221: #        number of long (> 1024) termcap translations back to 0.
                   16222: #
                   16223: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   16224: #      * Added kf13-kf20 to Linux entry.
                   16225: #      * Regularize Prime terminal names.
                   16226: #      * Historical data on Synertek.
                   16227: #      * Freeze for ncurses-1.9.1.
                   16228: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   16229: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   16230: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   16231: #      * Name field changes to shorten some long entries.
                   16232: #      * Termcap translation now automatically generates empty rmir/smir
                   16233: #        when ich1/ich is present (copes with an ancient vi bug).
                   16234: #      * Added `screen' entries from FSF's screen-3.6.2.
                   16235: #      * Added linux-nic and xterm-nic entries.
                   16236: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   16237: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   16238: #        eliminating some special-case code in ncurses.
                   16239: #
                   16240: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   16241: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   16242: #        that captures everything unique from it.
                   16243: #      * Added reorder script generator.
                   16244: #      * Freeze for ncurses 1.9.2 release.
                   16245: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   16246: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   16247: #      * Added Olaf Siebert's corrections for adm12.
                   16248: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   16249: #        entries which use it will inherit them automatically.
                   16250: #      * The linux entry can now recognize the center (keypad 5) key.
                   16251: #      * Removed some junk that found its way into Linux acsc.
                   16252: #
                   16253: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   16254: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   16255: #      * xterm doesn't try to use application keypad mode any more.
                   16256: #      * Freeze for ncurses-1.9.3 release.
                   16257: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   16258: #      * Added corrected sun entry from vendor.
                   16259: #      * Added csr capability to linux entry.
                   16260: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   16261: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   16262: #      * Some commented-out caps in long entries come back in, my code
                   16263: #        for computing string-table lengths had a bug in it.
                   16264: #      * pcansi series modified to fit comm-program reality better.
                   16265: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   16266: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   16267: #      * Correct some bad aliases in the pcansi series
                   16268: #      * Added entry for QNX console.
                   16269: #      * Clean up duplicate long names for use with 4.4 library.
                   16270: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   16271: #        this makes the Emacs status line look better.
                   16272: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   16273: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   16274: #      * Minor surgery, mostly on name strings, to shorten termcap version.
                   16275: #
                   16276: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   16277: #      * Added dec-vt100 for use with the EWAN emulator.
                   16278: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   16279: #      * Freeze for 1.9.5 alpha release.
                   16280: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   16281: #      * Changed xterm lines to 24, the X11R6 default.
                   16282: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   16283: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   16284: #        entry (the pryz{|} characters).
                   16285: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   16286: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   16287: #      * I finally figured out how to translate ko capabilities.  Done.
                   16288: #      * Added tvi921 entries from Tim Theisen.
                   16289: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   16290: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   16291: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   16292: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   16293: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   16294: #        by making them relative to use capabilities
                   16295: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   16296: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   16297: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   16298: #        ampex80,
                   16299: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   16300: #        equivalent.
                   16301: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   16302: #        vt100 and ANSI-like terminals.
                   16303: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   16304: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   16305: #        does this now, too.
                   16306: #      * fviewpoint is gone, it duplicated screwpoint.
                   16307: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   16308: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   16309: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   16310: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   16311: #      * No more embedded commas in name fields.
                   16312: #
                   16313: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   16314: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   16315: #      * Introduced klone+* entries for describing Intel-console behavior.
                   16316: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   16317: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   16318: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   16319: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   16320: #        that it was messing up someone's 3270 emulator.
                   16321: #      * Added some longname fields in order to avoid warning messages from
                   16322: #        older tic implementations.
                   16323: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   16324: #        it! (This gives us pi, greater than, less than, and a few more.)
                   16325: #      * Freeze for ncurses-1.9.6 release.
                   16326: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   16327: #      * Add xon to a number of console entries, they're memory-mapped and
                   16328: #        don't need padding.
                   16329: #      * Correct the use dependencies in the ansi series.
                   16330: #      * Hand-translate more XENIX capabilities.
                   16331: #      * Added hpterm entry for HP's X terminal emulator.
                   16332: #      * Added aixterm entries.
                   16333: #      * Shortened four names so everything fits in 14 chars.
                   16334: #
                   16335: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   16336: #      * Added ibcs2 entry and info on iBCS2 standard.
                   16337: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   16338: #      * We can handle the HP meml/memu capability now.
                   16339: #      * Added smacs to klone entries, just as documentation.
                   16340: #      * Carrected ansi.sys and cit-500 entries.
                   16341: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   16342: #      * Make pcansi use the ansi.sys invis capability.
                   16343: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   16344: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   16345: #      * X3.64 has been withdrawn, change some references.
                   16346: #      * Removed function keys from ansi-m entry.
                   16347: #      * Corrected ansi.sys entry.
                   16348: #      * Freeze for ncurses-1.9.7 release.
                   16349: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   16350: #      * Added rmam/smam capabilities to many entries based on init strings.
                   16351: #      * Added correct hpa/vpa to linux.
                   16352: #      * Reduced several entries relative to vt52.
                   16353: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   16354: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   16355: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   16356: #        look flat-out incorrect, garbled, or redundant.  These include the
                   16357: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   16358: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   16359: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   16360: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   16361: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   16362: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   16363: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   16364: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   16365: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   16366: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   16367: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   16368: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   16369: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   16370: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   16371: #        <bgrayson@pine.ece.utexas.edu>.
                   16372: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   16373: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   16374: #      * Added kent=\EOM to xterm entry.
                   16375: #
                   16376: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   16377: #      * Corrected gigi entry.
                   16378: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   16379: #        bad hpa/vpa capabilities.
                   16380: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   16381: #        more speed-dependent NUL-padding!
                   16382: #      * terminfo capabilities in comments bracketed with <>.
                   16383: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
                   16384: #      * Replaced pcvt with the 3.31 pcvt entries.
                   16385: #      * Freeze for 1.9.7a.
                   16386: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   16387: #      * Added emu entry from the X11R6 contrib tape sources.
                   16388: #
                   16389: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   16390: #      * Improved iris-ansi and sun entries.
                   16391: #      * More flash string improvements.
                   16392: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   16393: #      * Added dim to at386.
                   16394: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   16395: #        he's ready to start using the termcap generated from this one.
                   16396: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   16397: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   16398: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   16399: #        att610, att620, att630,
                   16400: #      * Changed hazeltine name prefix from h to hz.
                   16401: #      * Sent t500 to the UFI file.
                   16402: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   16403: #      * Freeze for ncurses 1.9.8 release
                   16404: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   16405: #      * Unfreeze, linux kbs needed to be fixed.
                   16406: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   16407: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   16408: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   16409: #        (The broken ones had been shadowed by sgr.)
                   16410: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   16411: #      * Added documentation on ECMA-48 standard.
                   16412: #      * New Amiga entry.
                   16413: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   16414: #      * More ECMA-48 stuff
                   16415: #      * Corrected typo in minix entry, added pc-minix.
                   16416: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   16417: #      * Added rxvt entry.
                   16418: #      * Added 1.3.x color-change capabilities to linux entry.
                   16419: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   16420: #      * Corrected rxvt entry khome/kend.
                   16421: #      * Corrected linux color change capabilities.
                   16422: #      * NeXT entries from Dave Wetzel.
                   16423: #      * Cleaned up if and rf file names (all in /usr/share now).
                   16424: #      * Changed linux op capability to avoid screwing up a background color
                   16425: #        pair set by setterm.
                   16426: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   16427: #      * Added xterm-sun.
                   16428: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   16429: #      * Added visa50.
                   16430: #
                   16431: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   16432: #      * Another sweep through the Shuford archive looking for new info.
                   16433: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   16434: #      * Added st52 from Per Persson.
                   16435: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   16436: #      * Freeze for 1.9.9.
                   16437: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   16438: #      * FreeBSD console entries from Andrew Chernov.
                   16439: #      * Removed duplicate Atari st52 name.
                   16440: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   16441: #      * xterm doesn't actually have ACS_BLOCK.
                   16442: #      * Change klone+color setf/setb to simpler forms that can be
                   16443: #        translated into termcap.
                   16444: #      * Added xterm1.
                   16445: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   16446: #      * Added color support to bsdos.
                   16447: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   16448: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   16449: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   16450: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   16451: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   16452: #        some aliases to <= 14 chars for portability.
                   16453: #      * Added x68k console
                   16454: #      * Added OTbs to several VT-series entries.
                   16455: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   16456: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   16457: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   16458: #      * kterm correction due to Kenji Rikitake.
                   16459: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   16460: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   16461: #      * Sun console entry correction from J.T. Conklin.
                   16462: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   16463: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   16464: #      * Added smul to linux entry (we never noticed it was missing
                   16465: #        because of sgr!).
                   16466: #      * Added rmln to hp+labels (deduced from other HP entries).
                   16467: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   16468: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   16469: #      * Corrected vt220 acsc.
                   16470: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   16471: #        this corresponds to reality and helps prevent some tic warnings.
                   16472: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   16473: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   16474: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   16475: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   16476: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   16477: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   16478: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   16479: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   16480: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   16481: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   16482: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   16483: #      * Added DWK terminal description.
                   16484: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
                   16485: #      * Many entries now have highlights inherited from adm+sgr.
                   16486: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   16487: #      * xtitle and xtitle-twm enable access to the X status line.
                   16488: #      * Added linux-1.3.6 color palette caps in conventional format.
                   16489: #      * Added adm1178 terminal.
                   16490: #      * Move fos and apollo terminals to obsolete category.
                   16491: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   16492: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   16493: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
                   16494: #        cit500, adm11.
                   16495: # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
                   16496: #      * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
                   16497: #        aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
                   16498: #      * Corrected, from BRL termcap file: vi50.
                   16499: #      * Better rxvt entry & corrected xterm entries from Thomas Dickey.
                   16500: # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
                   16501: #      * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
                   16502: #        att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
                   16503: #        (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
                   16504: #        tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
                   16505: #        apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
                   16506: #      * Paired-attribute fixes to various terminals.
                   16507: #      * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
                   16508: #      * xterm entry corrections from Thomas Dickey.
                   16509: # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
                   16510: #      * Added t916 entry, translated from a termcap in SCO's support area.
                   16511: #      * New qnx entry from Michael Hunter.
                   16512: # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
                   16513: #      * Added hpex2 from Ville Sulko.
                   16514: #      * Fixed a bug that ran the qnx and pcvtXX together.
                   16515: # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
                   16516: #      * Added dtterm entry from Solaris CDE.
                   16517: # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
                   16518: #      * corrected pairs#8 typo in dtterm entry.
                   16519: #      * added tvi9065.
                   16520: # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
                   16521: #      * updated xterm entry to cover 3.1.2E's new features.
                   16522: # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
                   16523: #      * Added new minix entry
                   16524: #      * Removed aliases of the form ^[0-9]* for obsolete terminals.
                   16525: #      * Commented out linux-old, nobody's using pre-1.2 kernels now.
                   16526: # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
                   16527: #      * Added Prism entries and kt7ix.
                   16528: #      * Caution notes about EWAN and tabset files.
                   16529: #      * Changed /usr/lib/tabset -> /usr/share/tabset.
                   16530: #      * Added acsc/rmacs/smacs to vt52.
                   16531: # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
                   16532: #      * Merged in Thomas Dickey's reorganization of the xterm entries;
                   16533: #        added technical corrections to avoid warning messages.
                   16534: # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
                   16535: #      * Added rmso=\E[27m in Linux entry.
                   16536: #      * Added koi8-r support for Linux console.
                   16537: #      * Replace xterm entries with canonical ones from XFree86 3.2.
                   16538: # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
                   16539: #      * Added color_xterm from Jacob Mandelson
                   16540: # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
                   16541: #      * Back off the xterm entry to use r6 as a base.
                   16542: # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
                   16543: #      * Added dec-vt220 at Adrian Garside's request.
                   16544: # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
                   16545: #      * Replaced minitel-2 entry.
                   16546: #      * Added MGR, ansi-nt.
                   16547: #      * Minor corrections to xterm entries.
                   16548: #      * Replaced EWAN telnet entry.
                   16549: #      * Dropped the reorder script generator.  It was a fossil.
                   16550: # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
                   16551: #      * Thorsten Lockert added termcap `bs' to a lot of types, working from
                   16552: #        the 4.4BSD Lite2 file.
                   16553: # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
                   16554: #      * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
                   16555: #      * Updated iris-ansi; corrected vt102-w.
                   16556: #      * Switch base xterm entry to 3.3 level.
                   16557: # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
                   16558: #      * Added basic4.
                   16559: #      * Removed rmir/smir from tv92B.
                   16560: #
                   16561: # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
                   16562: #      * add hds200 description (Walter Skorski)
                   16563: #      * add beterm entry (Fred Fish)
                   16564: #      * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
                   16565: #        iris-color entries.
                   16566: #      * add emx entries.
                   16567: #      * Replaced unixpc entry with Benjamin Sittler's corrected version.
                   16568: #      * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
                   16569: #        versions.
                   16570: #      * remove sgr string from qnx based on report by Xiaodan Tang
                   16571: #      * Added u8/u9, removed rmul/smul from sun-il.
                   16572: #      * 4.2 tic displays \0 rather than \200.
                   16573: #      * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
                   16574: #        apparently based on cp-866).
                   16575: #      * Merged in Pavel Roskin's acsc for linux-koi8
                   16576: #      * Corrected some erroneous \\\s to \.
                   16577: #      * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
                   16578: #      * II -> ii in pcvtXX, screen, xterm.
                   16579: #      * Removed \n chars following ANSI escapes in sgr & friends.
                   16580: #      * Updated Wyse entries.
                   16581: #      * h19 corrections from Tim Pierce.
                   16582: #      * Noted that the dm2500 has both ich and smir.
                   16583: #      * added pccons for the Alpha under OSF/1.
                   16584: #      * Added Sony NEWS workstation entries and cit101e-rv.
                   16585: #      * Reverted `amiga'; to Kent Polk's version, as I'm told
                   16586: #        the Verkuil entry messes up with Amiga Telnet.
                   16587: # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
                   16588: #      * Corrected attributions in 10.2.0 release notes.
                   16589: #      * Scanned the Shuford archive for new terminfos and information.
                   16590: #      * Removed sgr from qnx entry (Thomas Dickey).
                   16591: #      * Added entries for ICL and Kokusai Data Systems terminals.
                   16592: #      * Incorporated NCR terminfos from the Boundless Technology FTP site.
                   16593: #      * Incorporated att700 from the Boundless Technology FTP site.
                   16594: #      * Miscellaneous contact-address and Web-page updates.
                   16595: # 10.2.2 (Thu May  7 12:18:04 EDT 1998):
                   16596: #      * Moved Altos to OBSOLETE UNIX CONSOLES
                   16597: #      * Moved Hewlett-Packard terminals to OLDER TERMINAL TYPES, except for
                   16598: #        the 700s which go to WORKSTATION CONSOLES.
                   16599: #      * Major reorganization of ANSI/console/VT types.  Moved vt52 to the
                   16600: #        obsolete section.
                   16601: #      * Daisy-wheel printers moved to UFO file.
                   16602: # 10.2.3 (Tue May 12 22:59:11 EDT 1998):
                   16603: #      * Commented out hds200 is2 to avoid overflowing terminfo length limit.
                   16604: #      * Restored OT capabilities to UFO file.
                   16605: #      * add nxterm and xterm-color terminfo description (request by Cristian
                   16606: #        Gafton <gafton@redhat.com>).
                   16607: #      * Modify rxvt terminfo description to clear alternate screen before
                   16608: #        switching back to normal screen, for compatibility with applications
                   16609: #        which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
                   16610: #      * Modify linux terminfo description to reset color palette (reported
                   16611: #        by Telford Tendys <telford@eng.uts.edu.au>).
                   16612: # 10.2.4 (Thu Jul  2 18:13:26 EDT 1998):
                   16613: #      * Added minitel1 entries from Alexander Montaron.
                   16614: #      * Added qnxt2 from Federico Bianchi.
                   16615: # 10.2.5: (Mon Aug 24 07:32:34 EDT 1998):
                   16616: #      * Resolve NetBSD Problem Report #4583 by adding civis/cnorm to pcvtXX.
                   16617: #      * dtterm enacs correction from Alexander V. Lukyanov.
                   16618: #      * Added ncsa-telnet, resolving Debian bug report 25341.
                   16619: #      * Added Francesco Potorti's tuned Wyse 99 entries.
                   16620: #
                   16621: # The following sets edit modes for GNU EMACS.
                   16622: # Local Variables:
                   16623: # fill-prefix:"\t"
                   16624: # fill-column:75
                   16625: # comment-column:0
                   16626: # comment-start-skip:"^#+"
                   16627: # comment-start:"# "
                   16628: # compile-command:"tic -c termtypes.master"
                   16629: # End:
                   16630: ######## SHANTIH!  SHANTIH!  SHANTIH!