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

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

1.1       millert     1: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
                      2: #
1.24    ! millert     3: # $OpenBSD: termtypes.master,v 1.23 2000/05/15 23:52:17 millert Exp $
1.15      millert     4: #
1.11      millert     5: # This version of terminfo.src is distributed with ncurses.
                      6: # Report bugs to
                      7: #      bug-ncurses@gnu.org
                      8: #
                      9: #      Version 10.2.1
1.24    ! millert    10: #      Date: 2000/06/11 01:40:36
1.11      millert    11: #      terminfo syntax
1.1       millert    12: #
                     13: #      Eric S. Raymond         (current maintainer)
                     14: #      John Kunze, Berkeley
                     15: #      Craig Leres, Berkeley
                     16: #
1.14      millert    17: # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
1.1       millert    18: # address is no longer valid.  The latest version can always be found at
1.14      millert    19: # <http://www.tuxedo.org/terminfo>.
1.1       millert    20: #
                     21: # PURPOSE OF THIS FILE:
                     22: #
                     23: # This file describes the capabilities of various character-cell terminals,
                     24: # as needed by software such as screen-oriented editors.
                     25: #
                     26: # Other terminfo and termcap files exist, supported by various OS vendors
                     27: # or as relics of various older versions of UNIX.  This one is the longest
                     28: # and most comprehensive one in existence.  It subsumes not only the entirety
                     29: # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
                     30: # termcap file, but also large numbers of vendor-maintained termcap and
                     31: # terminfo entries more complete and carefully tested than those in historical
                     32: # termcap/terminfo versions.
                     33: #
                     34: # Pointers to related resources (including the ncurses distribution) may
1.14      millert    35: # be found at <http://www.tuxedo.org/terminfo>.
1.1       millert    36: #
                     37: # INTERNATIONALIZATION:
                     38: #
                     39: # This file uses only the US-ASCII character set (no ISO8859 characters).
                     40: #
                     41: # This file assumes a US-ASCII character set. If you need to fix this, start
                     42: # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
                     43: # for your character set.  \E(A and \E)A enables the British character set
                     44: # with the pound sign at position 2/3.
                     45: #
                     46: # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
                     47: # C1 characters are considered the first-byte set of the Japanese encodings,
                     48: # so \E)0 should be avoided in <enacs> and initialization strings.
                     49: #
                     50: # FILE FORMAT:
                     51: #
                     52: # The version you are looking at may be in any of three formats: master
                     53: # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
                     54: # which by the format given in the header above.
                     55: #
                     56: # The master format is accepted and generated by the terminfo tools in the
                     57: # ncurses suite; it differs from stock (System V-compatible) terminfo only
                     58: # in that it admits a group of capabilities (prefixed `OT') equivalent to
                     59: # various obsolete termcap capabilities.  You can, thus, convert from master
                     60: # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
                     61: # you have ncurses `tic -I' is nicer (among other things, it automatically
                     62: # outputs entries in a canonical form).
                     63: #
                     64: # The termcap version is generated automatically from the master version
                     65: # using tic -C.  This filtering leaves in the OT capabilities under their
                     66: # original termcap names.  All translated entries fit within the 1023-byte
                     67: # string-table limit of archaic termcap libraries except where explicitly
                     68: # noted below.  Note that the termcap translation assumes that your termcap
                     69: # library can handle multiple tc capabilities in an entry. 4.4BSD has this
                     70: # capability.  Older versions of GNU termcap, through 1.3, do not.
                     71: #
                     72: # For details on these formats, see terminfo(5) in the ncurses distribution,
                     73: # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
                     74: # curses has been declared obsolete by the caretakers of the 4.4BSD sources
                     75: # as of June 1995; they are encouraging everyone to migrate to ncurses.
                     76: #
                     77: # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
                     78: # no entry in this file has embedded comments.  This is so source translation
                     79: # to termcap only has to carry over leading comments.  Also, no name field
                     80: # contains embedded whitespace (such whitespace confuses rdist).
                     81: #
                     82: # Further note: older versions of this file were often installed with an editor
                     83: # script (reorder) that moved the most common terminal types to the front of
                     84: # the file.  This should no longer be necessary, as the file is now ordered
                     85: # roughly by type frequency with ANSI/VT100 and other common types up front.
                     86: #
                     87: # Some information has been merged in from terminfo files distributed by
                     88: # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
                     89: # comes from vendors who maintain official terminfos for their hardware
                     90: # (notably DEC and Wyse).
                     91: #
                     92: # A detailed change history is included at the end of this file.
                     93: #
                     94: # FILE ORGANIZATION:
                     95: #
                     96: # Comments in this file begin with # - they cannot appear in the middle
                     97: # of a terminfo/termcap entry (this feature had to be sacrificed in order
                     98: # to allow standard terminfo and termcap syntax to be generated cleanly from
                     99: # the master format).  Individual capabilities are commented out by
                    100: # placing a period between the colon and the capability name.
                    101: #
                    102: # The file is divided up into major sections (headed by lines beginning with
                    103: # the string "########") and minor sections (beginning with "####"); do
                    104: #
                    105: #      grep "^####" <file> | more
                    106: #
                    107: # to see a listing of section headings.  The intent of the divisions is
                    108: # (a) to make it easier to find things, and (b) to order the database so
                    109: # that important and frequently-encountered terminal types are near the
                    110: # front (so that you'll get reasonable search efficiency from a linear
                    111: # search of the termcap form even if you don't use reorder).  Minor sections
                    112: # usually correspond to manufacturers or standard terminal classes.
                    113: # Parenthesized words following manufacturer names are type prefixes or
                    114: # product line names used by that manufacturers.
                    115: #
                    116: # HOW TO READ THE ENTRIES:
                    117: #
                    118: # The first name in an entry is the canonical name for the model or
                    119: # type, last entry is a verbose description.  Others are mnemonic synonyms for
                    120: # the terminal.
                    121: #
                    122: # Terminal names look like <manufacturer> <model> - <modes/options>
                    123: # The part to the left of the dash, if a dash is present, describes the
                    124: # particular hardware of the terminal.  The part to the right may be used
                    125: # for flags indicating special ROMs, extra memory, particular terminal modes,
                    126: # or user preferences.
                    127: #
                    128: # All names should be in lower case, for consistency in typing.
                    129: #
                    130: # The following are conventionally used suffixes:
                    131: #      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
                    132: #      -am     Enable auto-margin.
                    133: #      -m      Monochrome.  Suppress color support
                    134: #      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
                    135: #              only support one attribute without magic-cookie lossage.
                    136: #              Their base entry is usually paired with another that
                    137: #              uses magic cookies to support multiple attributes.
                    138: #      -nam    No auto-margin - suppress <am> capability
                    139: #      -nl     No labels - suppress soft labels
                    140: #      -ns     No status line - suppress status line
                    141: #      -rv     Terminal in reverse video mode (black on white)
                    142: #      -s      Enable status line.
                    143: #      -vb     Use visible bell (<flash>) rather than <bel>.
                    144: #      -w      Wide - in 132 column mode.
                    145: # If a name has multiple suffixes and one is a line height, that one should
                    146: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
                    147: #
                    148: # Entries with embedded plus signs are designed to be included through use/tc
                    149: # capabilities, not used as standalone entries.
                    150: #
                    151: # To avoid search clashes, some older all-numeric names for terminals have
                    152: # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
                    153: # All primary names of terminals now have alphanumeric prefixes.
                    154: #
                    155: # Comments marked "esr" are mostly results of applying the termcap-compiler
                    156: # code packaged with ncurses and contemplating the resulting error messages.
                    157: # In many cases, these indicated obvious fixes to syntax garbled by the
                    158: # composers.  In a few cases, I was able to deduce corrected forms for garbled
                    159: # capabilities by looking at context.  All the information in the original
                    160: # entries is preserved in the comments.
                    161: #
                    162: # In the comments, terminfo capability names are bracketed with <> (angle
                    163: # brackets).  Termcap capability names are bracketed with :: (colons).
                    164: #
                    165: # INTERPRETATION OF USER CAPABILITIES
                    166: #
                    167: # The System V Release 4 and XPG4 terminfo format defines ten string
                    168: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
                    169: # certain of these capabilities to describe functions which are not covered
                    170: # by terminfo.  The mapping is as follows:
                    171: #
                    172: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
                    173: #      u8      terminal answerback description
                    174: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
                    175: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
                    176: #
                    177: # The terminal enquire string <u9> should elicit an answerback response
                    178: # from the terminal.  Common values for <u9> will be ^E (on older ASCII
                    179: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
                    180: #
                    181: # The cursor position request (<u7>) string should elicit a cursor position
                    182: # report.  A typical value (for VT100 terminals) is \E[6n.
                    183: #
                    184: # The terminal answerback description (u8) must consist of an expected
                    185: # answerback string.  The string may contain the following scanf(3)-like
                    186: # escapes:
                    187: #
                    188: #      %c      Accept any character
                    189: #      %[...]  Accept any number of characters in the given set
                    190: #
                    191: # The cursor position report (<u6>) string must contain two scanf(3)-style
                    192: # %d format elements.  The first of these must correspond to the Y coordinate
                    193: # and the second to the %d.  If the string contains the sequence %i, it is
                    194: # taken as an instruction to decrement each value after reading it (this is
                    195: # the inverse sense from the cup string).  The typical CPR value is
                    196: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
                    197: #
1.14      millert   198: # These capabilities are used by tack(1m), the terminfo action checker
                    199: # (distributed with ncurses 5.0).
1.1       millert   200: #
                    201: # TABSET FILES
                    202: #
                    203: # All the entries in this file have been edited to assume that the tabset
                    204: # files directory is /usr/share/tabset, in conformance with the File Hierarchy
                    205: # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
                    206: # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
                    207: #
                    208: # No curses package we know of actually uses these files.  If their location
                    209: # is an issue, you will have to hand-patch the file locations before compiling
                    210: # this file.
                    211: #
                    212: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
                    213: #
                    214: # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
                    215: # character-cell terminals are increasingly replaced by X displays, much of
                    216: # this file is becoming a historical document (this is part of the reason for
1.14      millert   217: # the new organization, which puts ANSI types, xterm, Unix consoles,
1.1       millert   218: # and vt100 up front in confidence that this will catch 95% of new hardware).
                    219: #
                    220: # For the terminal types still alive, I'd like to have manufacturer's
                    221: # contact data (Internet address and/or snail-mail + phone).
                    222: #
                    223: # I'm also interested in enriching the comments so that the latter portions of
                    224: # the file do in fact become a potted history of VDT technology as seen by
                    225: # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
                    226: # include its live/dead/out-of-the-business status, and for as many
                    227: # terminal types as possible to be tagged with information like years
                    228: # of heaviest use, popularity, and interesting features.
                    229: #
                    230: # I'm especially interested in identifying the obscure entries listed under
                    231: # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
                    232: # wisdom about them gets lost.  If you know a lot about obscure old terminals,
                    233: # please go to the terminfo resource page, grab the UFO file (ufo.ti), and
                    234: # eyeball it for things you can identify and describe.
                    235: #
                    236: # If you have been around long enough to contribute, please read the file
                    237: # with this in mind and send me your annotations.
                    238: #
                    239: # COPYRIGHTS AND OTHER DELUSIONS
                    240: #
                    241: # The BSD ancestor of this file had a standard Regents of the University of
                    242: # California copyright with dates from 1980 to 1993.
                    243: #
                    244: # Some information has been merged in from a terminfo file SCO distributes.
                    245: # It has an obnoxious boilerplate copyright which I'm ignoring because they
                    246: # took so much of the content from the ancestral BSD versions of this file
                    247: # and didn't attribute it, thereby violating the BSD Regents' copyright.
                    248: #
                    249: # Not that anyone should care.  However many valid functions copyrights may
                    250: # serve, putting one on a termcap/terminfo file with hundreds of anonymous
                    251: # contributors makes about as much sense as copyrighting a wall-full of
                    252: # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
                    253: #
                    254: # This file deliberately has no copyright.  It belongs to no one and everyone.
                    255: # If you claim you own it, you will merely succeed in looking like a fool.
                    256: # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
                    257: # There are no guarantees anywhere.  Svaha!
                    258: #
                    259:
                    260: ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
                    261: #
1.14      millert   262: # This section describes terminal classes and brands that are still
1.1       millert   263: # quite common.
                    264: #
                    265:
                    266: #### Specials
                    267: #
                    268: # Special "terminals".  These are used to label tty lines when you don't
                    269: # know what kind of terminal is on it.  The characteristics of an unknown
                    270: # terminal are the lowest common denominator - they look about like a ti 700.
                    271: #
                    272:
1.11      millert   273: dumb|80-column dumb tty,
                    274:        am,
1.1       millert   275:        cols#80,
1.11      millert   276:        bel=^G, cr=^M, cud1=^J, ind=^J,
                    277: unknown|unknown terminal type,
                    278:        gn, use=dumb,
1.1       millert   279: lpr|printer|line printer,
1.11      millert   280:        OTbs, hc, os,
                    281:        cols#132, lines#66,
                    282:        bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J,
                    283: glasstty|classic glass tty interpreting ASCII control characters,
1.19      millert   284:        OTbs, am,
1.1       millert   285:        cols#80,
1.19      millert   286:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kcub1=^H,
                    287:        kcud1=^J, nel=^M^J, .kbs=^H,
                    288:
                    289: vanilla,
                    290:        OTbs,
                    291:        bel=^G, cr=^M, cud1=^J, ind=^J,
1.1       millert   292:
                    293: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
                    294: #
                    295: # See the end-of-file comment for more on these.
                    296: #
                    297:
1.19      millert   298: # ANSI capabilities are broken up into pieces, so that a terminal
                    299: # implementing some ANSI subset can use many of them.
                    300: ansi+local1,
                    301:        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
                    302: ansi+local,
                    303:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
1.24    ! millert   304:        cuu=\E[%p1%dA, use=ansi+local1,
1.19      millert   305: ansi+tabs,
                    306:        cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[2g,
                    307: ansi+inittabs,
                    308:        it#8, use=ansi+tabs,
                    309: ansi+erase,
                    310:        clear=\E[H\E[J, ed=\E[J, el=\E[K,
                    311: ansi+rca,
                    312:        hpa=\E[%p1%{1}%+%dG, vpa=\E[%p1%{1}%+%dd,
                    313: ansi+cup,
                    314:        cup=\E[%i%p1%d;%p2%dH, home=\E[H,
                    315: ansi+rep,
                    316:        rep=%p1%c\E[%p2%{1}%-%db,
                    317: ansi+idl1,
                    318:        dl1=\E[M, il1=\E[L,
                    319: ansi+idl,
                    320:        dl=\E[%p1%dM, il=\E[%p1%dL, use=ansi+idl1,
                    321: ansi+idc,
                    322:        dch1=\E[P, ich=\E[%p1%d@, ich1=\E[@, rmir=\E6, smir=\E6,
                    323: ansi+arrows,
                    324:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    325:        khome=\E[H,
                    326: ansi+sgr|ansi graphic renditions,
                    327:        blink=\E[5m, invis=\E[8m, rev=\E[7m, sgr0=\E[0m,
                    328: ansi+sgrso|ansi standout only,
                    329:        rmso=\E[m, smso=\E[7m,
                    330: ansi+sgrul|ansi underline only,
                    331:        rmul=\E[m, smul=\E[4m,
                    332: ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim,
                    333:        bold=\E[1m,
1.24    ! millert   334:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
        !           335:        use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
1.19      millert   336: ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold,
                    337:        dim=\E[2m,
1.24    ! millert   338:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;m,
        !           339:        use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
1.19      millert   340: ansi+pp|ansi printer port,
                    341:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                    342: ansi+csr|ansi scroll-region plus cursor save & restore,
                    343:        csr=\E[%i%p1%d;%p2%dr, rc=\E8, sc=\E7,
                    344:
1.1       millert   345: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    346: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    347: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    348: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    349: # will work with any Intel console, they all seem to have inherited \E[11m
                    350: # from the ANSI.SYS de-facto standard.
1.11      millert   351: klone+acs|alternate character set for ansi.sys displays,
                    352:        acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
1.1       millert   353:        rmacs=\E[10m, smacs=\E[11m,
                    354:
                    355: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    356: # console drivers for Intel boxes obey these.  Makes the same assumption
                    357: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
                    358: # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
1.11      millert   359: klone+sgr|attribute control for ansi.sys displays,
                    360:        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m,
                    361:        rmpch=\E[10m, rmso=\E[m, rmul=\E[m,
1.1       millert   362:        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,
1.11      millert   363:        sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
                    364:        use=klone+acs,
1.1       millert   365:
                    366: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    367: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    368: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    369: # diamond and arrow characters under curses.
1.11      millert   370: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
                    371:        blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m,
                    372:        rmul=\E[m,
1.1       millert   373:        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,
1.11      millert   374:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
                    375:        use=klone+acs,
1.1       millert   376:
                    377: # KOI8-R (RFC1489) acs (alternate character set)
                    378: # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
1.11      millert   379: klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
1.1       millert   380:        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,
                    381:        rmacs=\E[10m, smacs=\E[11m,
                    382:
                    383: # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
                    384: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    385: # but equivalent strings that don't rely on that coincidence:
                    386: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    387: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    388: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
                    389: # They match a subset of ECMA-48.
1.11      millert   390: klone+color|color control for ansi.sys and ISO6429-compatible displays,
                    391:        colors#8, ncv#3, pairs#64,
1.1       millert   392:        op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    393:
                    394: # This is better than klone+color, it doesn't assume white-on-black as the
                    395: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
1.11      millert   396: ecma+color|color control for ECMA-48-compatible terminals,
1.20      millert   397:        AX,
1.11      millert   398:        colors#8, ncv#3, pairs#64,
1.1       millert   399:        op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    400:
                    401: # Attribute control for ECMA-48-compatible terminals
1.11      millert   402: ecma+sgr|attribute capabilities for true ECMA-48 terminals,
1.24    ! millert   403:        rmso=\E[27m, rmul=\E[24m, use=klone+sgr,
1.1       millert   404:
                    405: # For comparison, here are all the capabilities implied by the Intel
                    406: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    407: # For more detail on this rather pathetic standard, see the comments
                    408: # near the end of this file.
1.11      millert   409: ibcs2|Intel Binary Compatibility Standard prescriptions,
                    410:        cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB,
                    411:        cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    412:        dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX,
                    413:        hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
1.1       millert   414:        indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7,
1.11      millert   415:        smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd,
1.1       millert   416:
                    417: #### ANSI/ECMA-48 terminals and terminal emulators
                    418: #
                    419: # See near the end of this file for details on ANSI conformance.
                    420: # Don't mess with these entries!  Lots of other entries depend on them!
                    421: #
                    422: # This section lists entries in a least-capable to most-capable order.
                    423: # if you're in doubt about what `ANSI' matches yours, try them in that
                    424: # order and back off from the first that breaks.
                    425:
1.19      millert   426: # ansi-mr is for ANSI terminals with ONLY relative cursor addressing
                    427: # and more than one page of memory.  It uses local motions instead of
                    428: # direct cursor addressing, and makes almost no assumptions. It does
                    429: # assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
                    430: ansi-mr|mem rel cup ansi,
                    431:        am, xon,
                    432:        cols#80, lines#24, use=vanilla, use=ansi+erase,
                    433:        use=ansi+local1,
                    434:
                    435: # ansi-mini is a bare minimum ANSI terminal. This should work on anything, but
                    436: # beware of screen size problems and memory relative cursor addressing.
1.1       millert   437: ansi-mini|any ansi terminal with pessimistic assumptions,
1.19      millert   438:        am, xon,
                    439:        cols#80, lines#24, use=vanilla, use=ansi+cup,
                    440:        use=ansi+erase,
                    441:
                    442: # ansi-mtabs adds relative addressing and minimal tab support
                    443: ansi-mtabs|any ansi terminal with pessimistic assumptions,
                    444:        it#8,
                    445:        ht=^I, use=ansi+local1, use=ansi-mini,
1.1       millert   446:
                    447: # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
                    448: #
                    449: # The following is an entry for the full ANSI 3.64 (1977).  It lacks
                    450: # padding, but most terminals using the standard are "fast" enough
                    451: # not to require any -- even at 9600 bps.  If you encounter problems,
                    452: # try including the padding specifications.
                    453: #
                    454: # Note: the :as: and :ae: specifications are not implemented here, for
                    455: # the available termcap documentation does not make clear WHICH alternate
                    456: # character set to specify.  ANSI 3.64 seems to make allowances for several.
                    457: # Please make the appropriate adjustments to fit your needs -- that is
                    458: # if you will be using alternate character sets.
                    459: #
                    460: # There are very few terminals running the full ANSI 3.64 standard,
                    461: # so I could only test this entry on one verified terminal (Visual 102).
                    462: # I would appreciate the results on other terminals sent to me.
                    463: #
                    464: # Please report comments, changes, and problems to:
                    465: #
                    466: # U.S. MAIL:   Hugh Hansard
                    467: #              Box: 22830
                    468: #              Emory University
                    469: #              Atlanta, GA. 30322.
                    470: #
                    471: # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
                    472: #
1.14      millert   473: # (Added vt100 <rc>,<sc> to quiet a tic warning --esr)
1.1       millert   474: ansi77|ansi 3.64 standard 1977 version,
1.11      millert   475:        OTbs, am, mir,
1.1       millert   476:        cols#80, it#8, lines#24,
                    477:        bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                    478:        cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    479:        cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K,
                    480:        home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H,
                    481:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
1.14      millert   482:        kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM,
                    483:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, smir=\E[4h,
                    484:        smso=\E[7m, smul=\E[4m,
1.1       millert   485:
                    486: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
                    487: # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
                    488: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
                    489: # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to
                    490: # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
                    491: # to confuse many emulators.  On the other hand, we can count on these programs
                    492: # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured
                    493: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
                    494: # ANSI.SYS influence.
                    495: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    496: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode),
1.11      millert   497:        OTbs, am, mir, msgr,
1.1       millert   498:        cols#80, it#8, lines#24,
1.11      millert   499:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D,
                    500:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                    501:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                    502:        hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                    503:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g,
                    504:        use=klone+sgr-dumb,
                    505: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
                    506:        lines#25, use=pcansi-m,
                    507: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode),
                    508:        lines#33, use=pcansi-m,
                    509: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode),
                    510:        lines#43, use=pcansi-m,
1.1       millert   511: # The color versions.  All PC emulators do color...
                    512: pcansi|ibm-pc terminal programs claiming to be ansi,
1.11      millert   513:        use=klone+color, use=pcansi-m,
                    514: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines,
                    515:        lines#25, use=pcansi,
                    516: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines,
                    517:        lines#33, use=pcansi,
                    518: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines,
                    519:        lines#43, use=pcansi,
1.1       millert   520:
                    521: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
                    522: # If you want pound signs rather than dollars, replace `B' with `A'
                    523: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    524: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.11      millert   525: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes,
                    526:        mc5i,
                    527:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
                    528:        cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM,
                    529:        ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I,
                    530:        ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H,
                    531:        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    532:        kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,
                    533:        rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,
                    534:        s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g,
                    535:        vpa=\E[%i%p1%dd, use=pcansi-m,
1.1       millert   536:
                    537: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
                    538: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
                    539: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.11      millert   540: ansi|ansi/pc-term compatible with color,
                    541:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
1.24    ! millert   542:        u9=\E[c, use=ecma+color, use=klone+sgr, use=ansi-m,
1.11      millert   543:
1.19      millert   544: # ansi-generic is a vanilla ANSI terminal. This is assumed to implement
                    545: # all the normal ANSI stuff with no extensions. It assumes
                    546: # insert/delete line/char is there, so it won't work with
                    547: # vt100 clones. It assumes video attributes for bold, blink,
                    548: # underline, and reverse, which won't matter much if the terminal
                    549: # can't do some of those. Padding is assumed to be zero, which
                    550: # shouldn't hurt since xon/xoff is assumed.
                    551: ansi-generic|generic ansi standard terminal,
                    552:        am, xon,
                    553:        cols#80, lines#24, use=vanilla, use=ansi+csr, use=ansi+cup,
                    554:        use=ansi+rca, use=ansi+erase, use=ansi+tabs,
                    555:        use=ansi+local, use=ansi+idc, use=ansi+idl, use=ansi+rep,
                    556:        use=ansi+sgrbold, use=ansi+arrows,
                    557:
1.11      millert   558: #### DOS ANSI.SYS variants
                    559: #
                    560: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                    561: # documentation (except for the keyboard key reassignment feature, which
                    562: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                    563: # though undocumented.  The <pfkey> capability is untested but should work for
                    564: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                    565: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                    566: ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
                    567:        OTbs, am, mir, msgr, xon,
                    568:        cols#80, lines#25,
                    569:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                    570:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,
                    571:        is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                    572:        khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u,
                    573:        rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
1.24    ! millert   574:        u7=\E[6n, use=klone+color, use=klone+sgr,
1.11      millert   575: ansi.sys|ANSI.SYS 3.1 and later versions,
                    576:        el=\E[K, use=ansi.sys-old,
                    577:
                    578: #
                    579: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                    580: # This should only be used when the terminal emulator cannot redefine the keys.
                    581: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                    582: # definitions must be restored.  If the terminal emulator is quit while in vi
                    583: # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
                    584: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                    585: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                    586: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
                    587: # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
                    588: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                    589: # Consequently the End keypad key could not be set (it is relatively safe and
                    590: # actually useful because it sends ^@ O, which beeps and opens a line above).
                    591: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
                    592:        is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                    593:        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,
                    594:        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,
                    595:        use=ansi.sys,
                    596: #
                    597: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                    598: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
                    599:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
1.24    ! millert   600:        is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n,
        !           601:        use=ansi.sys,
1.11      millert   602: #
                    603: # See ansi.sysk and nansi.sys above.
                    604: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
                    605:        dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
                    606:        is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
                    607:        use=ansi.sysk,
                    608:
                    609: #### ANSI console types
                    610: #
                    611:
                    612: #### BeOS
                    613: #
                    614: # BeOS entry for Terminal program Seems to be almost ANSI
                    615: beterm|BeOS Terminal,
                    616:        am, eo, mir, msgr, xenl, xon,
                    617:        colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64,
                    618:        bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
1.24    ! millert   619:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
        !           620:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
        !           621:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        !           622:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
        !           623:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H,
        !           624:        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
        !           625:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
        !           626:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
        !           627:        kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~,
        !           628:        kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
        !           629:        kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~,
        !           630:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
        !           631:        nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l,
        !           632:        rmkx=\E[?4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7,
1.11      millert   633:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    634:        setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm,
1.24    ! millert   635:        sgr0=\E[0;10m, smir=\E[4h, smkx=\E[?4h, smso=\E[7m,
        !           636:        smul=\E[4m, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n,
        !           637:        vpa=\E[%i%p1%dd,
1.1       millert   638:
                    639: #### Linux consoles
                    640: #
                    641:
                    642: # This entry is good for the 1.2.13 or later version of the Linux console.
                    643: #
                    644: # ***************************************************************************
                    645: # *                                                                         *
                    646: # *                           WARNING:                                      *
                    647: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    648: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    649: # * character. Here are the keymap replacement lines that will set this up: *
                    650: # *                                                                         *
                    651: #      keycode  15 = Tab             Tab
                    652: #              alt     keycode  15 = Meta_Tab
                    653: #              shift   keycode  15 = F26
                    654: #      string F26 ="\033[Z"
                    655: # *                                                                         *
                    656: # * This has to use a key slot which is unfortunate (any unused one will    *
                    657: # * do, F26 is the higher-numbered one).  The change ought to be built      *
                    658: # * into the kernel tables.                                                 *
                    659: # *                                                                         *
                    660: # ***************************************************************************
                    661: #
                    662: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    663: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    664: # not back-portable to SV curses and not supported in ncurses versions before
                    665: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    666: # themselves; this entry assumes that capability.
                    667: #
1.14      millert   668: # This entry is good for the 1.2.13 or later version of the Linux console.
                    669: #
                    670: # ***************************************************************************
                    671: # *                                                                         *
                    672: # *                           WARNING:                                      *
                    673: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    674: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    675: # * character. Here are the keymap replacement lines that will set this up: *
                    676: # *                                                                         *
                    677: #      keycode  15 = Tab             Tab
                    678: #              alt     keycode  15 = Meta_Tab
                    679: #              shift   keycode  15 = F26
                    680: #      string F26 ="\033[Z"
                    681: # *                                                                         *
                    682: # * This has to use a key slot which is unfortunate (any unused one will    *
                    683: # * do, F26 is the higher-numbered one).  The change ought to be built      *
                    684: # * into the kernel tables.                                                 *
                    685: # *                                                                         *
                    686: # ***************************************************************************
                    687: #
                    688: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    689: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    690: # not back-portable to SV curses and not supported in ncurses versions before
                    691: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    692: # themselves; this entry assumes that capability.
                    693: #
1.11      millert   694: # The 2.2.x kernels add a private mode that sets the cursor type; use that to
                    695: # get a block cursor for cvvis.
                    696: # reported by Frank Heckenbach <frank@g-n-u.de>.
1.1       millert   697: linux|linux console,
                    698:        am, bce, eo, mir, msgr, xenl, xon,
1.11      millert   699:        it#8, ncv#18,
1.1       millert   700:        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,
1.11      millert   701:        bel=^G, civis=\E[?25l\E[?1c, clear=\E[H\E[J,
                    702:        cnorm=\E[?25h\E[?0c, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                    703:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    704:        cuu1=\E[A, cvvis=\E[?25h\E[?8c, dch=\E[%p1%dP, dch1=\E[P,
                    705:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
                    706:        el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
                    707:        hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                    708:        il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177,
                    709:        kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    710:        kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
                    711:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                    712:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                    713:        kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
                    714:        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1.24    ! millert   715:        khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
        !           716:        kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l,
        !           717:        rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,
1.1       millert   718:        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,
                    719:        smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR,
                    720:        u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
                    721:        use=klone+sgr, use=ecma+color,
1.11      millert   722: linux-m|Linux console no color,
                    723:        colors@, pairs@,
                    724:        setab@, setaf@, setb@, setf@, use=linux,
                    725: linux-c-nc|linux console 1.3.x hack for ncurses only,
1.1       millert   726:        ccc,
1.11      millert   727:        initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
1.24    ! millert   728:        oc=\E]R, use=linux,
1.1       millert   729: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
1.11      millert   730: linux-c|linux console 1.3.6+ with private palette for each virtual console,
                    731:        ccc,
                    732:        colors#8, pairs#64,
                    733:        initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;,
1.24    ! millert   734:        oc=\E]R, use=linux,
1.1       millert   735:
                    736: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
1.11      millert   737: linux-nic|linux with ich/ich1 suppressed for non-curses programs,
1.24    ! millert   738:        ich@, ich1@, use=linux,
1.1       millert   739:
                    740: # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
                    741: # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
1.11      millert   742: linux-koi8|linux with koi8 alternate character set,
1.1       millert   743:        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,
1.11      millert   744:        use=linux, use=klone+koi8acs,
1.1       millert   745:
                    746: # Another entry for KOI8-r with Qing Long's acsc.
                    747: # (which one better complies with the standard?)
                    748: linux-koi8r|linux with koi8-r alternate character set,
                    749:        use=linux, use=klone+koi8acs,
                    750:
1.14      millert   751: # Entry for the latin1 and latin2 fonts
                    752: linux-lat|linux with latin1 or latin2 alternate character set,
                    753:        acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376,
                    754:        use=linux,
                    755:
                    756: #### Mach
                    757: #
                    758:
                    759: # From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
1.11      millert   760: mach|Mach Console,
                    761:        am, km,
                    762:        cols#80, it#8, lines#25,
                    763:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
                    764:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                    765:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    766:        cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                    767:        el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J,
                    768:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    769:        kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ,
                    770:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                    771:        kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U,
                    772:        kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m,
                    773:        smso=\E[7m, smul=\E[4m,
                    774: mach-bold|Mach Console with bold instead of underline,
1.24    ! millert   775:        rmul=\E[0m, smul=\E[1m, use=mach,
1.11      millert   776: mach-color|Mach Console with ANSI color,
                    777:        colors#8, pairs#64,
                    778:        dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,
1.24    ! millert   779:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach,
1.11      millert   780:
1.14      millert   781: #### OSF Unix
                    782: #
                    783:
                    784: # OSF/1 1.1 Snapshot 2
                    785: pmcons|pmconsole|PMAX console,
                    786:        am,
                    787:        cols#128, lines#57,
                    788:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ht=^I,
                    789:        ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    790:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
1.11      millert   791:
                    792: # SCO console and SOS-Syscons console for 386bsd
                    793: # (scoansi: had unknown capabilities
                    794: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
                    795: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
                    796: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                    797: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                    798: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
                    799: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
                    800: # on the <smacs>=\E[12m  -- esr)
1.1       millert   801: #
1.11      millert   802: # klone+sgr-dumb is an error since the acsc does not match -TD
1.1       millert   803: #
1.11      millert   804: # In this description based on SCO's keyboard(HW) manpage list of default function key
                    805: # values:
                    806: #      F13-F24 are shifted F1-F12
                    807: #      F25-F36 are control F1-F12
                    808: #      F37-F48 are shift+control F1-F12
                    809: scoansi|SCO Extended ANSI standard crt,
                    810:        OTbs, am, eo, xon,
                    811:        colors#8, cols#80, it#8, lines#25, pairs#64,
                    812:        acsc=0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y,
                    813:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J,
                    814:        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                    815:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                    816:        ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, invis=\E[8m, kbeg=\E[E,
                    817:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                    818:        kcuu1=\E[A, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
                    819:        kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c,
                    820:        kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g,
                    821:        kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l,
                    822:        kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p,
                    823:        kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u,
                    824:        kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P,
                    825:        kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[],
                    826:        kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q,
                    827:        kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
                    828:        kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[37;40m, rev=\E[7m,
                    829:        ri=\E[T, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                    830:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                    831:        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,
                    832:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
1.1       millert   833:
1.11      millert   834: # This actually describes the generic SVr4 display driver for Intel boxes.
                    835: # The <dim=\E[2m> isn't documented and therefore may not be reliable.
                    836: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
                    837: att6386|at386|386at|AT&T WGS 6386 console,
                    838:        am, bw, eo, xon,
                    839:        cols#80, it#8, lines#25,
                    840:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                    841:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
                    842:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
                    843:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
1.1       millert   844:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
1.11      millert   845:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                    846:        dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                    847:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                    848:        ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
                    849:        indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
                    850:        kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                    851:        kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
                    852:        kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                    853:        kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
                    854:        knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
                    855:        ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                    856:        sc=\E7,
                    857:        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,
                    858:        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
1.24    ! millert   859:        tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color,
1.11      millert   860: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                    861: pc6300plus|AT&T 6300 plus,
                    862:        OTbs, am, xon,
                    863:        cols#80, lines#24,
                    864:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
                    865:        clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
                    866:        cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
                    867:        dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
                    868:        home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
                    869:        invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                    870:        kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
                    871:        kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
                    872:        nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
1.1       millert   873:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                    874:
1.11      millert   875: # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
1.1       millert   876: #
1.11      millert   877: # I have a UNIX PC which I use as a terminal attached to my Linux PC.
                    878: # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
                    879: # is broken. All the special key sequences are broken, making it unusable
                    880: # with Emacs. The problem stems from the following:
                    881: #
                    882: # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
                    883: # keypad!), loadable fonts, and strange highlighting modes ("dithered"
                    884: # half-intensity, "smeared" bold, and real strike-out, for example.) It also
                    885: # uses resizable terminal windows, but the bundled terminal program always
                    886: # uses an 80x24 window (and doesn't support seem to support a 132-column
                    887: # mode.)
                    888: #
                    889: # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
                    890: # library which was a superset of SVr3.5 curses (called tam, for "terminal
                    891: # access method".) tam includes support for real, overlapping windows,
                    892: # onscreen function key labels, and bitmap graphics. But since the primary
                    893: # user interface on the UNIX PC was a GUI program (ua, for "user
                    894: # assistant",) and remote administration was considered important for the
                    895: # machine, tam also supported VT100-compatible terminals attached to the
                    896: # serial port or used across the StarLan network. To simulate the extra keys
                    897: # not present on a VT100, users could press ESC and a two-letter sequence,
                    898: # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
                    899: # however, were not the same as those sent by the actual Undo key. The
                    900: # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
                    901: # (If you're interested in adding some of the tam calls to ncurses, btw, I
                    902: # have the full documentation and several programs which use tam. It also
                    903: # used an extended terminfo format to describe key sequences, special
                    904: # highlighting modes, etc.)
                    905: #
                    906: # KEYS: This means that ncurses would quite painful on the UNIX PC, since
                    907: # there are two sequences for every key-modifier combination (local keyboard
                    908: # sequence and remote "VT100" sequence.) But I doubt many people are trying
                    909: # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
                    910: # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
                    911: # seem to have been built from the manual describing the VT100 sequences.
                    912: # This means it doesn't work for a real live UNIX PC.
                    913: #
                    914: # FONTS: The UNIX PC also has a strange interpretation of "alternate
                    915: # character set". Rather than the VT100 graphics you might expect, it allows
                    916: # up to 8 custom fonts to be loaded at any given time. This means that
                    917: # programs expecting VT100 graphics will usually be disappointed. For this
                    918: # reason I have disabled the smacs/rmacs sequences, but they could easily be
                    919: # re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
                    920: # manpage), should you wish to do so:
                    921: #
                    922: # SGR10 - Select font 0 - ESC [ 10 m or SO
                    923: # SGR11 - Select font 1 - ESC [ 11 m or SI
                    924: # SGR12 - Select font 2 - ESC [ 12 m
                    925: # ... (etc.)
                    926: # SGR17 - Select font 7 - ESC [ 17 m
                    927: #
                    928: # Graphics for line drawing are not reliably found at *any* character
                    929: # location because the UNIX PC has dynamically reloadable fonts. I use font
                    930: # 0 for regular text and font 1 for italics, but this is by no means
                    931: # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
                    932: #
                    933: # MISC: The cursor visible/cursor invisible sequences were swapped in the
                    934: # distributed terminfo.
                    935: #
                    936: # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
                    937: # the UNIX PC terminfo entry. The modified version works great with Lynx,
                    938: # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
                    939: # attached by serial cable. In Emacs, even the Undo key works, and many
                    940: # applications can now use the F1-F8 keys.
                    941: #
                    942: # esr's notes:
                    943: #      Terminfo entry for the AT&T Unix PC 7300
                    944: #      from escape(7) in Unix PC 7300 Manual.
                    945: #      Somewhat similar to a vt100-am (but different enough
                    946: #      to redo this from scratch.)
                    947: #
                    948: #      /***************************************************************
                    949: #      *
                    950: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                    951: #      *
                    952: #      *     This routine loads a font defined in the file ALTFONT
                    953: #      *     into font memory slot #1.  Once the font has been loaded,
                    954: #      *     it can be used as an alternative character set.
                    955: #      *
                    956: #      *     The call to ioctl with the argument WIOCLFONT is the key
                    957: #      *     to this routine.  For more information, see window(7) in
                    958: #      *     the PC 7300 documentation.
                    959: #      ***************************************************************/
                    960: #      #include <string.h>             /* needed for strcpy call */
                    961: #      #include <sys/window.h>         /* needed for ioctl call */
                    962: #      #define FNSIZE  60              /* font name size */
                    963: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                    964: #      /*
                    965: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                    966: #      *     standard PC software.  It defines a graphics character set
                    967: #      *     similar to that of the Teletype 5425 terminal.  To view
                    968: #      *     this or other fonts in /usr/lib/wfont, use the command
                    969: #      *     cfont <filename>.  For further information on fonts see
                    970: #      *     cfont(1) in the PC 7300 documentation.
                    971: #      */
                    972: #
                    973: #      struct altfdata         /* structure for alt font data */
                    974: #      {
                    975: #      short   altf_slot;              /* memory slot number */
                    976: #      char    altf_name[FNSIZE];      /* font name (file name) */
                    977: #      };
                    978: #      ldfont()
                    979: #      {
                    980: #              int wd;         /* window in which altfont will be */
                    981: #              struct altfdata altf;
                    982: #              altf.altf_slot=1;
                    983: #              strcpy(altf.altf_name,ALTFONT);
                    984: #              for (wd =1; wd < 12; wd++) {
                    985: #                   ioctl(wd, WIOCLFONT,&altf);
                    986: #              }
                    987: #      }
                    988: #
                    989: # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
                    990: # they're confirmed by the man page for the System V display---esr)
                    991: #
                    992: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
                    993:        am, xon,
                    994:        cols#80, it#8, lines#24,
                    995:        bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C,
                    996:        clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD,
                    997:        cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                    998:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                    999:        cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
                   1000:        ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL,
                   1001:        il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB,
                   1002:        kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
                   1003:        kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM,
                   1004:        kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR,
                   1005:        kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO,
                   1006:        kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z,
                   1007:        kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   1008:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf,
                   1009:        ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd,
                   1010:        kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   1011:        kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B,
                   1012:        kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv,
                   1013:        kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt,
                   1014:        kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB,
                   1015:        ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM,
                   1016:        rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m,
                   1017:        smul=\E[4m,
                   1018:
                   1019: # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
                   1020: # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
                   1021: # for the application keypad mode.  We have added iris-ansi-ap rather than
                   1022: # change the original to keypad mode.
                   1023: #
                   1024: # (iris-ansi: added rmam/smam based on init string -- esr)
                   1025: #
                   1026: # This entry, and those derived from it, is used in xwsh (also known as
                   1027: # winterm).  Some capabilities that do not fit into the terminfo model
                   1028: # include the shift- and control-functionkeys:
                   1029: #
                   1030: # F1-F12 generate different codes when shift or control modifiers are used.
                   1031: # For example:
                   1032: #      F1              \E[001q
                   1033: #      shift F1        \E[013q
                   1034: #      control-F1      \E[025q
                   1035: #
                   1036: # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
                   1037: # \EOP to \EOS.  The shifted and control modifiers still do the same thing.
                   1038: #
                   1039: # The cursor keys also have different codes:
                   1040: #      control-up      \E[162q
                   1041: #      control-down    \E[165q
                   1042: #      control-left    \E[159q
                   1043: #      control-right   \E[168q
                   1044: #
                   1045: #      shift-up        \E[161q
                   1046: #      shift-down      \E[164q
                   1047: #      shift-left      \E[158q
                   1048: #      shift-right     \E[167q
                   1049: #
                   1050: #      control-tab     \[072q
                   1051: #
                   1052: iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100),
                   1053:        am,
                   1054:        cols#80, it#8, lines#40,
                   1055:        bel=^G, bold=\E[1m, clear=\E[H\E[2J,
                   1056:        cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
                   1057:        cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
                   1058:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   1059:        cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
                   1060:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   1061:        home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   1062:        is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
                   1063:        kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
                   1064:        kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                   1065:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                   1066:        kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q,
                   1067:        kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q,
                   1068:        kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
                   1069:        kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
                   1070:        knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q,
                   1071:        kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\,
                   1072:        rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
                   1073:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
                   1074:        tbc=\E[3g,
                   1075: iris-ansi-ap|IRIS ANSI in application-keypad mode,
                   1076:        is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q,
1.24    ! millert  1077:        kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, use=iris-ansi,
1.11      millert  1078:
                   1079: # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
                   1080: # (T.Dickey 98/1/24)
                   1081: iris-color|xwsh|IRIX ANSI with color,
                   1082:        ncv#33,
                   1083:        csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m,
                   1084:        ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
                   1085:        rmul=\E[24m, rs1=\Ec,
                   1086:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1087:        sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
                   1088:        use=klone+color, use=iris-ansi-ap,
                   1089:
                   1090: # The following is a version of the ibm-pc entry distributed with PC/IX,
                   1091: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                   1092: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                   1093: # (the former is untrue, and the latter failed under UCB/man); standout and
                   1094: # underline modes have been added.  Note: this entry describes the "native"
                   1095: # capabilities of the PC monochrome display, without ANY emulation; most
                   1096: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                   1097: pcix|PC/IX console,
                   1098:        am, bw, eo,
                   1099:        cols#80, lines#24,
                   1100:        clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1101:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   1102:        home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
                   1103:        smul=\E[4m,
                   1104:
                   1105: # (ibmpcx: this entry used to be known as ibmx.
                   1106: # It formerly included the following extension capabilities:
                   1107: #      :GC=b:GL=v:GR=t:RT=^J:\
                   1108: #      :GH=\E[196g:GV=\E[179g:\
                   1109: #      :GU=\E[193g:GD=\E[194g:\
                   1110: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                   1111: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                   1112: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                   1113: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
                   1114: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                   1115: # what was there before. -- esr)
                   1116: ibmpcx|xenix|ibmx|IBM PC xenix console display,
                   1117:        OTbs, am, msgr,
                   1118:        cols#80, lines#25,
                   1119:        clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1120:        cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   1121:        ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
                   1122:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
                   1123:        kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
1.24    ! millert  1124:        kpp=\E[Z, use=klone+acs, use=klone+sgr,
1.11      millert  1125:
1.14      millert  1126: #### QNX
                   1127: #
1.11      millert  1128:
                   1129: # QNX 4.0 Console
                   1130: # Michael's original version of this entry had <am@>, <smcup=\Ei>,
                   1131: # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
                   1132: # right corner without triggering a scroll.  The ncurses terminfo library can
                   1133: # handle this case with the <ich1> capability, and prefers <am> for better
                   1134: # optimization.  Bug: The <op> capability resets attributes.
                   1135: # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
                   1136: # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
                   1137: qnx|qnx4|qnx console,
                   1138:        daisy, km, mir, msgr, xhpa, xt,
                   1139:        colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
                   1140:        acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263,
                   1141:        bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
                   1142:        cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   1143:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2,
                   1144:        dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
                   1145:        il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
                   1146:        kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
                   1147:        kDL=\377\366, kEND=\377\301, kEOL=\377\311,
                   1148:        kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
                   1149:        kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
                   1150:        kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
                   1151:        kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
                   1152:        kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
                   1153:        kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
                   1154:        kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0,
                   1155:        kclo=\377\343, kclr=\377\341, kcmd=\377\245,
                   1156:        kcpy=\377\265, kcrt=\377\305, kctab=\377\237,
                   1157:        kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246,
                   1158:        kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274,
                   1159:        ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320,
                   1160:        kext=\377\270, kf1=\377\201, kf10=\377\212,
                   1161:        kf11=\377\256, kf12=\377\257, kf13=\377\213,
                   1162:        kf14=\377\214, kf15=\377\215, kf16=\377\216,
                   1163:        kf17=\377\217, kf18=\377\220, kf19=\377\221,
                   1164:        kf2=\377\202, kf20=\377\222, kf21=\377\223,
                   1165:        kf22=\377\224, kf23=\377\333, kf24=\377\334,
                   1166:        kf25=\377\225, kf26=\377\226, kf27=\377\227,
                   1167:        kf28=\377\230, kf29=\377\231, kf3=\377\203,
                   1168:        kf30=\377\232, kf31=\377\233, kf32=\377\234,
                   1169:        kf33=\377\235, kf34=\377\236, kf35=\377\276,
                   1170:        kf36=\377\277, kf37=\377\321, kf38=\377\322,
                   1171:        kf39=\377\323, kf4=\377\204, kf40=\377\324,
                   1172:        kf41=\377\325, kf42=\377\326, kf43=\377\327,
                   1173:        kf44=\377\330, kf45=\377\331, kf46=\377\332,
                   1174:        kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206,
                   1175:        kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346,
                   1176:        khlp=\377\350, khome=\377\240, khts=\377\342,
                   1177:        kich1=\377\253, kil1=\377\273, kind=\377\261,
                   1178:        kmov=\377\351, kmrk=\377\355, kmsg=\377\345,
                   1179:        knp=\377\252, knxt=\377\312, kopn=\377\357,
                   1180:        kopt=\377\353, kpp=\377\242, kprt=\377\255,
                   1181:        kprv=\377\302, krdo=\377\336, kref=\377\354,
                   1182:        kres=\377\360, krfr=\377\347, kri=\377\271,
                   1183:        krmir=\377\313, krpl=\377\362, krst=\377\352,
                   1184:        ksav=\377\361, kslt=\377\247, kspd=\377\335,
                   1185:        ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
                   1186:        rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,
                   1187:        rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,
                   1188:        setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei,
                   1189:        smso=\E(, smul=\E[,
                   1190:
                   1191: # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
                   1192: # (esr: commented out <scp> and <rmcup> to avoid warnings.)
                   1193: # (TD: derive from original qnx4 entry)
                   1194: qnxt2|qnx 2.15 serial terminal,
                   1195:        am,
                   1196:        civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@,
1.24    ! millert  1197:        rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, use=qnx4,
1.11      millert  1198:
                   1199: #### NetBSD consoles
                   1200: #
                   1201: # pcvt termcap database entries (corresponding to release 3.31)
                   1202: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                   1203: #
                   1204: # (For the terminfo master file, I translated these into terminfo syntax.
                   1205: # Then I dropped all the pseudo-HP entries. we don't want and can't use
                   1206: # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
                   1207: # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
                   1208:
                   1209: # NOTE: <ich1> has been taken out of this entry. for reference, it should
                   1210: # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
                   1211: # (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
                   1212: pcvtXX|pcvt vt200 emulator (DEC VT220),
                   1213:        am, km, mir, msgr, xenl,
                   1214:        it#8, vt#3,
                   1215:        acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
                   1216:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1217:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   1218:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1219:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   1220:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1221:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   1222:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   1223:        il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
                   1224:        is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
1.23      millert  1225:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
                   1226:        kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   1227:        kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
1.11      millert  1228:        khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
                   1229:        nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
                   1230:        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
                   1231:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   1232:        rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1233:        sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   1234:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   1235:
                   1236: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                   1237: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                   1238: #      50 lines entries; 80 columns
                   1239: pcvt25|dec vt220 emulation with 25 lines,
                   1240:        cols#80, lines#25,
1.22      millert  1241:        is2=\E[1;25r\E[25;1H, use=pcvtXX, use=ecma+color,
1.11      millert  1242: pcvt28|dec vt220 emulation with 28 lines,
                   1243:        cols#80, lines#28,
                   1244:        is2=\E[1;28r\E[28;1H, use=pcvtXX,
                   1245: pcvt35|dec vt220 emulation with 35 lines,
                   1246:        cols#80, lines#35,
                   1247:        is2=\E[1;35r\E[35;1H, use=pcvtXX,
                   1248: pcvt40|dec vt220 emulation with 40 lines,
                   1249:        cols#80, lines#40,
                   1250:        is2=\E[1;40r\E[40;1H, use=pcvtXX,
                   1251: pcvt43|dec vt220 emulation with 43 lines,
                   1252:        cols#80, lines#43,
                   1253:        is2=\E[1;43r\E[43;1H, use=pcvtXX,
                   1254: pcvt50|dec vt220 emulation with 50 lines,
                   1255:        cols#80, lines#50,
                   1256:        is2=\E[1;50r\E[50;1H, use=pcvtXX,
                   1257:
                   1258: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                   1259: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                   1260: #      50 lines entries; 132 columns
                   1261: pcvt25w|dec vt220 emulation with 25 lines and 132 cols,
                   1262:        cols#132, lines#25,
                   1263:        is2=\E[1;25r\E[25;1H, use=pcvtXX,
                   1264: pcvt28w|dec vt220 emulation with 28 lines and 132 cols,
                   1265:        cols#132, lines#28,
                   1266:        is2=\E[1;28r\E[28;1H, use=pcvtXX,
                   1267: pcvt35w|dec vt220 emulation with 35 lines and 132 cols,
                   1268:        cols#132, lines#35,
                   1269:        is2=\E[1;35r\E[35;1H, use=pcvtXX,
                   1270: pcvt40w|dec vt220 emulation with 40 lines and 132 cols,
                   1271:        cols#132, lines#40,
                   1272:        is2=\E[1;40r\E[40;1H, use=pcvtXX,
                   1273: pcvt43w|dec vt220 emulation with 43 lines and 132 cols,
                   1274:        cols#132, lines#43,
                   1275:        is2=\E[1;43r\E[43;1H, use=pcvtXX,
                   1276: pcvt50w|dec vt220 emulation with 50 lines and 132 cols,
                   1277:        cols#132, lines#50,
                   1278:        is2=\E[1;50r\E[50;1H, use=pcvtXX,
                   1279:
                   1280: # Terminfo entries to enable the use of the ncurses library in colour on a
                   1281: # NetBSD-arm32 console (only tested on a RiscPC).
                   1282: # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
                   1283: # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
                   1284: # typo in invis - TD
                   1285: arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480),
                   1286:        am, bce, msgr, xenl, xon,
                   1287:        cols#80, it#8, lines#30,
                   1288:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1289:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1290:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1291:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1292:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   1293:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   1294:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   1295:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J,
                   1296:        invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H,
                   1297:        kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1298:        kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x,
                   1299:        kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v,
                   1300:        kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[6m$<2>, ri=\EM$<5>,
                   1301:        rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
                   1302:        rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   1303:        sc=\E7,
                   1304:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1305:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
1.24    ! millert  1306:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr,
        !          1307:        use=klone+color,
1.11      millert  1308:
                   1309: arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768),
                   1310:        cols#132, lines#50, use=arm100,
                   1311:
                   1312: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
                   1313: # manufactured by Sharp for the Japenese market.
                   1314: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
                   1315: x68k|x68k-ite|NetBSD/x68k ITE,
                   1316:        cols#96, lines#32,
                   1317:        kclr=\E[9~, khlp=\E[28~, use=vt220,
                   1318:
                   1319: # <tv@pobox.com>:
                   1320: # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
                   1321: #
                   1322: # (still unfinished, but good enough so far.)
                   1323: ofcons,
                   1324:        bw,
                   1325:        cols#80, lines#30,
                   1326:        bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M,
                   1327:        cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
                   1328:        cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
                   1329:        cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
                   1330:        dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K,
                   1331:        flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL,
                   1332:        il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D,
                   1333:        kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P,
                   1334:        kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W,
                   1335:        kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,
                   1336:        kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,
                   1337:        rmso=\2330m, rmul=\2330m, sgr0=\2330m,
                   1338:
                   1339: # NetBSD "wscons" emulator in vt220 mode
                   1340: # These are micro-minimal and probably need to be redone for real
                   1341: # after the manner of the pcvt entries.
                   1342: wsvt25|NetBSD wscons in 25 line DEC VT220 mode,
                   1343:        cols#80, lines#25, use=vt220,
                   1344:
                   1345: wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
                   1346:        km,
                   1347:        cols#80, lines#25, use=vt220,
                   1348:
                   1349: # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
                   1350: # DECstation/pmax.
                   1351: rcons|BSD rasterconsole,
                   1352:        use=sun-il,
                   1353: # Color version of above. Color currenly only provided by NetBSD.
                   1354: rcons-color|BSD rasterconsole with ANSI color,
                   1355:        bce,
                   1356:        colors#8, pairs#64,
                   1357:        op=\E[m, setab=\E[4%dm, setaf=\E[3%dm, use=rcons,
                   1358:
1.24    ! millert  1359: # mgterm -- MGL/MGL2, MobileGear Graphic Library
        !          1360: # for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
        !          1361: # -- the setf/setb are probably incorrect, more likely setaf/setab -TD
        !          1362: # -- compare with cons25w
        !          1363: mgterm,
        !          1364:        OTbs, OTpt, am, bce, bw, eo, km, msgr, npc,
        !          1365:        colors#8, cols#80, it#8, lines#18, pairs#64,
        !          1366:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
        !          1367:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
        !          1368:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
        !          1369:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        !          1370:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, dl=\E[%p1%dM,
        !          1371:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
        !          1372:        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
        !          1373:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
        !          1374:        indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
        !          1375:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
        !          1376:        kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N,
        !          1377:        kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
        !          1378:        kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I,
        !          1379:        nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
        !          1380:        rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7, setb=\E[4%p1%dm,
        !          1381:        setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
        !          1382:
1.11      millert  1383: #### FreeBSD console entries
                   1384: #
                   1385: # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
                   1386: # Andrey Chernov maintains the FreeBSD termcap distributions.
1.1       millert  1387: #
                   1388: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
                   1389: # or comment out the :cb: capability in the console entry.
                   1390: #
                   1391: # Alexander Lukyanov reports:
                   1392: # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
                   1393: # Now el1 clears not only to the line beginning, but also a large chunk
                   1394: # of previous line. But there is another bug - ech does not work at all.
                   1395: #
                   1396:
                   1397: # for syscons
                   1398: # common entry without semigraphics
                   1399: # Bug: The <op> capability resets attributes.
                   1400: # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
                   1401: # instance el1 does if the cursor is moved to the right margin first.  Removed
                   1402: # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
                   1403: #
                   1404: # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
                   1405: # Note that this disables standout with color.
                   1406: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
                   1407:        am, bce, bw, eo, msgr, npc,
1.11      millert  1408:        colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64,
1.1       millert  1409:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
1.11      millert  1410:        cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
                   1411:        cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   1412:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1413:        cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
                   1414:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   1415:        hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   1416:        il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E,
                   1417:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1418:        kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V,
                   1419:        kf11=\E[W, kf12=\E[X, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q,
                   1420:        kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
                   1421:        kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rev=\E[7m,
1.24    ! millert  1422:        ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs2=\E[x\E[m\Ec,
1.11      millert  1423:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
                   1424:        smso=\E[7m, vpa=\E[%i%p1%dd,
1.1       millert  1425: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
                   1426:        acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
                   1427:        use=cons25w,
                   1428: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
                   1429:        colors@, pairs@,
1.24    ! millert  1430:        bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m,
        !          1431:        use=cons25,
1.1       millert  1432: cons30|ansi80x30|freebsd console (30-line ansi mode),
                   1433:        lines#30, use=cons25,
                   1434: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
                   1435:        lines#30, use=cons25-m,
                   1436: cons43|ansi80x43|freebsd console (43-line ansi mode),
                   1437:        lines#43, use=cons25,
                   1438: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
                   1439:        lines#43, use=cons25-m,
                   1440: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
                   1441:        lines#50, use=cons25,
                   1442: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
                   1443:        lines#50, use=cons25-m,
                   1444: cons60|ansi80x60|freebsd console (60-line ansi mode),
                   1445:        lines#60, use=cons25,
                   1446: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
                   1447:        lines#60, use=cons25-m,
                   1448: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
                   1449:        acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225,
                   1450:        use=cons25w,
                   1451: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
                   1452:        colors@, pairs@,
                   1453:        op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r,
                   1454: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
                   1455:        lines#50, use=cons25r,
                   1456: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
                   1457:        lines#50, use=cons25r-m,
                   1458: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
                   1459:        lines#60, use=cons25r,
                   1460: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
                   1461:        lines#60, use=cons25r-m,
                   1462: # ISO 8859-1 FreeBSD console
                   1463: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
                   1464:        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,
                   1465:        use=cons25w,
                   1466: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
                   1467:        colors@, pairs@,
1.24    ! millert  1468:        bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m,
        !          1469:        use=cons25l1,
1.1       millert  1470: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
                   1471:        lines#50, use=cons25l1,
                   1472: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
                   1473:        lines#50, use=cons25l1-m,
                   1474: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
                   1475:        lines#60, use=cons25l1,
                   1476: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
                   1477:        lines#60, use=cons25l1-m,
                   1478:
                   1479: #### 386BSD and BSD/OS Consoles
                   1480: #
                   1481:
                   1482: # This was the original 386BSD console entry (I think).
                   1483: # Some places it's named oldpc3|oldibmpc3.
                   1484: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                   1485: origpc3|origibmpc3|IBM PC 386BSD Console,
1.11      millert  1486:        OTbs, am, bw, eo, xon,
1.1       millert  1487:        cols#80, lines#25,
1.11      millert  1488:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
1.1       millert  1489:        bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
1.11      millert  1490:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   1491:        home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   1492:        kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x,
                   1493:        rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x,
                   1494:        smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x,
1.1       millert  1495:
                   1496: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                   1497: oldpc3|oldibmpc3|old IBM PC BSD/386 Console,
1.11      millert  1498:        OTbs, km,
1.1       millert  1499:        lines#25,
1.11      millert  1500:        bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M,
                   1501:        ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   1502:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F,
                   1503:        knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R,
1.1       millert  1504:
                   1505: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                   1506: # Note, the emulator supports many of the additional console features
                   1507: # listed in the iBCS2 (e.g. character-set selection) though not all
                   1508: # are described here.  This entry really ought to be upgraded.
                   1509: # Also note, the console will also work with fewer lines after doing
                   1510: # "stty rows NN", e.g. to use 24 lines.
                   1511: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
                   1512: # Bug: The <op> capability resets attributes.
1.24    ! millert  1513: bsdos-pc|IBM PC BSD/OS Console,
        !          1514:        sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
        !          1515:        use=bsdos-pc-nobold,
        !          1516:
1.11      millert  1517: bsdos-pc-nobold|BSD/OS PC console w/o bold,
1.24    ! millert  1518:        use=klone+color, use=bsdos-pc-m,
        !          1519:
        !          1520: bsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono,
1.11      millert  1521:        OTbs, am, eo, km, xon,
                   1522:        cols#80, it#8, lines#25,
                   1523:        bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   1524:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1525:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1526:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1.1       millert  1527:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
1.11      millert  1528:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,
                   1529:        kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,
                   1530:        sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;,
1.24    ! millert  1531:        use=klone+sgr,
1.11      millert  1532:
                   1533: # Old names for BSD/OS PC console used in releases before 4.1.
                   1534: pc3|BSD/OS on the PC Console,
                   1535:        use=bsdos-pc-nobold,
                   1536: ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline,
                   1537:        use=bsdos-pc,
                   1538:
                   1539: # BSD/OS on the SPARC
                   1540: bsdos-sparc|Sun SPARC BSD/OS Console,
                   1541:        use=sun,
                   1542:
                   1543: # BSD/OS on the PowerPC
                   1544: bsdos-ppc|PowerPC BSD/OS Console,
                   1545:        use=bsdos-pc,
1.1       millert  1546:
1.14      millert  1547: #### DEC VT52
                   1548: # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
                   1549: vt52|dec vt52,
                   1550:        OTbs,
                   1551:        cols#80, it#8, lines#24,
                   1552:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1553:        bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   1554:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   1555:        el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   1556:        kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
                   1557:
1.1       millert  1558: #### DEC VT100 and compatibles
                   1559: #
1.14      millert  1560: # DEC terminals from the vt100 forward are collected here. Older DEC terminals
                   1561: # and micro consoles can be found in the `obsolete' section.  More details on
1.1       millert  1562: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                   1563: # found near the end of this file.
                   1564: #
                   1565: # Except where noted, these entries are DEC's official terminfos.
                   1566: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   1567: # Engineering for more information.  Updated terminfos and termcaps
                   1568: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   1569: #
                   1570: # In October 1995 DEC sold its terminals business, including the VT and Dorio
                   1571: # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
                   1572: # its name to Boundless Technologies; see http://www.boundless.com.
                   1573: #
                   1574:
                   1575: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                   1576: # certainly includes what DEC called the `Level 1 editing extension' codes;
                   1577: # only the very oldest VT100s lacked these and there probably aren't any of
                   1578: # those left alive.  To capture these, use one of the VT102 entries.
                   1579: #
                   1580: # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
                   1581: # since the cursor is left in a different position while in the
                   1582: # weird state (concept at beginning of next line, vt100 at end
                   1583: # of this line) so all versions of vi before 3.7 don't handle
                   1584: # <xenl> right on vt100. The correct way to handle <xenl> is when
                   1585: # you output the char in column 80, immediately output CR LF
                   1586: # and then assume you are in column 1 of the next line. If <xenl>
                   1587: # is on, am should be on too.
                   1588: #
                   1589: # I assume you have smooth scroll off or are at a slow enough baud
                   1590: # rate that it doesn't matter (1200? or less). Also this assumes
                   1591: # that you set auto-nl to "on", if you set it off use vt100-nam
                   1592: # below.
                   1593: #
                   1594: # The padding requirements listed here are guesses. It is strongly
                   1595: # recommended that xon/xoff be enabled, as this is assumed here.
                   1596: #
                   1597: # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
                   1598: # tab settings are in non-volatile memory and don't need to be
                   1599: # reset upon login. Also setting the number of columns glitches
                   1600: # the screen annoyingly. You can type "reset" to get them set.
                   1601: #
1.14      millert  1602: # The VT100 series terminals have cursor ("arrows") keys which can operate
                   1603: # in two different modes: Cursor Mode and Application Mode.  Cursor Mode
                   1604: # is the reset state, and is assumed to be the normal state.  Application
                   1605: # Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
                   1606: # "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
                   1607: # Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
                   1608: # was provided primarily as an aid to the porting of VT52 applications.  It is
                   1609: # assumed that the cursor keys are normally in Cursor Mode, and expected that
                   1610: # applications such as vi will always transmit the <smkx> string.  Therefore,
                   1611: # the definitions for the cursor keys are made to match what the terminal
                   1612: # transmits after the <smkx> string is transmitted.  If the <smkx> string
                   1613: # is a null string or is not defined, then cursor keys are assumed to be in
                   1614: # "Cursor Mode", and the cursor keys definitions should match that assumption,
                   1615: # else the application may fail.  It is also expected that applications will
                   1616: # always transmit the <rmkx> string to the terminal before they exit.
                   1617: #
                   1618: # The VT100 series terminals have an auxiliary keypad, commonly referred to as
                   1619: # the "Numeric Keypad", because it is a cluster of numeric and function keys.
                   1620: # The Numeric Keypad which can operate in two different modes: Numeric Mode and
                   1621: # Application Mode.  Numeric Mode is the reset state, and is assumed to be
                   1622: # the normal state.  Application Mode is the "set" state.  In Numeric Mode,
                   1623: # the numeric and punctuation keys transmit ASCII 7-bit characters, and the
                   1624: # Enter key transmits the same as the Return key (Note: the Return key
                   1625: # can be configured to send either LF (\015) or CR LF).  In Application Mode,
                   1626: # all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
                   1627: # always send the same "Esc O {code}" sequences.  It is assumed that the keypad
                   1628: # is normally in Numeric Mode.  If an application requires that the keypad be
                   1629: # in Application Mode then it is expected that the user, or the application,
                   1630: # will set the TERM environment variable to point to a terminfo entry which has
                   1631: # defined the <smkx> string to include the codes that switch the keypad into
                   1632: # Application Mode, and the terminfo entry will also define function key
                   1633: # fields to match the Application Mode control codes.  If the <smkx> string
                   1634: # is a null string or is not defined, then the keypad is assumed to be in
                   1635: # Numeric Mode.  If the <smkx> string switches the keypad into Application
                   1636: # Mode, it is expected that the <rmkx> string will contain the control codes
                   1637: # necessary to reset the keypad to "Normal" mode, and it is also expected that
                   1638: # applications which transmit the <smkx> string will also always transmit the
                   1639: # <rmkx> string to the terminal before they exit.
                   1640: #
1.1       millert  1641: # Here's a diagram of the VT100 keypad keys with their bindings.
                   1642: # The top line is the name of the key (some DEC keyboards have the keys
                   1643: # labelled somewhat differently, like GOLD instead of PF1, but this is
                   1644: # the most "official" name).  The second line is the escape sequence it
                   1645: # generates in Application Keypad mode (where "$" means the ESC
                   1646: # character).  The third line contains two items, first the mapping of
                   1647: # the key in terminfo, and then in termcap.
                   1648: #   _______________________________________
                   1649: #  |   PF1   |   PF2   |   PF3   |   PF4   |
                   1650: #  |   $OP   |   $OQ   |   $OR   |   $OS   |
                   1651: #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
                   1652: #  |    7         8         9         -    |
                   1653: #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
                   1654: #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
                   1655: #  |    4    |    5    |    6    |    ,    |
                   1656: #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
                   1657: #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
                   1658: #  |    1    |    2    |    3    |         |
                   1659: #  |   $Oq   |   $Or   |   $Os   |  enter  |
                   1660: #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
                   1661: #  |         0         |   .     |         |
                   1662: #  |        $Op        |  $On    |         |
                   1663: #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
                   1664: #
                   1665: # And here, for those of you with orphaned VT100s lacking documentation, is
                   1666: # a description of the soft switches invoked when you do `Set Up'.
                   1667: #
                   1668: #  Scroll 0-Jump               Shifted 3   0-#
                   1669: #  |      1-Smooth             |           1-British pound sign
                   1670: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                   1671: #  | |          1-On           | |           1-On
                   1672: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                   1673: #  | | |      1-Light Bkg      | | |        1-On
                   1674: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                   1675: #  | | | |      1-Block        | | | |         1-On
                   1676: #  | | | |                     | | | |
                   1677: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                   1678: #                | | | |                     | | | |
                   1679: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                   1680: #                | | |               1-On    | | |       1-50 Hz
                   1681: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                   1682: #                | |           1-ANSI        | |                1-8 Bits
                   1683: #                | Keyclick 0-Off            | Parity 0-Off
                   1684: #                |          1-On             |        1-On
                   1685: #                Margin Bell 0-Off           Parity Sense 0-Odd
                   1686: #                            1-On                         1-Even
                   1687: #
                   1688: # The following SET-UP modes are assumed for normal operation:
                   1689: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                   1690: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                   1691: # Other SET-UP modes may be set for operator convenience or communication
                   1692: # requirements; I recommend
                   1693: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                   1694: # Unless you have a graphics add-on such as Digital Engineering's VT640
                   1695: # (and even then, whenever it can be arranged!) you should set
                   1696: #      INTERLACE_OFF
                   1697: #
                   1698: # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
1.11      millert  1699: vt100|vt100-am|dec vt100 (w/advanced video),
1.1       millert  1700:        OTbs, am, msgr, xenl, xon,
1.11      millert  1701:        cols#80, it#8, lines#24, vt#3,
                   1702:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1703:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   1704:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1705:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   1706:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   1707:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   1708:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   1709:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
                   1710:        ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
                   1711:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
                   1712:        kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   1713:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   1714:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   1715:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   1716:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1717:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   1718:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   1719:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   1720: vt100nam|vt100-nam|vt100 no automargins,
                   1721:        am@, xenl@, use=vt100-am,
                   1722: vt100-vb|dec vt100 (w/advanced video) & no beep,
                   1723:        bel@, flash=\E[?5h\E[?5l, use=vt100,
1.1       millert  1724:
                   1725: # Ordinary vt100 in 132 column ("wide") mode.
1.11      millert  1726: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
                   1727:        cols#132, lines#24,
                   1728:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
                   1729: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
                   1730:        cols#132, lines#14, vt@,
                   1731:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
1.1       millert  1732:
                   1733: # vt100 with no advanced video.
1.11      millert  1734: vt100-nav|vt100 without advanced video option,
                   1735:        xmc#1,
                   1736:        blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m,
1.24    ! millert  1737:        smul@, use=vt100,
1.11      millert  1738: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
                   1739:        cols#132, lines#14, use=vt100-nav,
1.1       millert  1740:
                   1741: # vt100 with one of the 24 lines used as a status line.
                   1742: # We put the status line on the top.
1.11      millert  1743: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
                   1744:        eslok, hs,
                   1745:        lines#23,
                   1746:        clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr,
                   1747:        cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8,
                   1748:        fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8,
                   1749:        tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
1.1       millert  1750:
                   1751: # Status line at bottom.
                   1752: # Clearing the screen will clobber status line.
1.11      millert  1753: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
                   1754:        eslok, hs,
                   1755:        lines#23,
                   1756:        dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H,
1.24    ! millert  1757:        tsl=\E7\E[24;%p1%dH\E[1K, use=vt100-am,
1.1       millert  1758:
                   1759: # Most of the `vt100' emulators out there actually emulate a vt102
                   1760: # This entry (or vt102-nsgr) is probably the right thing to use for
                   1761: # these.
1.11      millert  1762: vt102|dec vt102,
                   1763:        mir,
1.24    ! millert  1764:        dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h,
        !          1765:        use=vt100,
1.11      millert  1766: vt102-w|dec vt102 in wide mode,
                   1767:        cols#132,
                   1768:        rs3=\E[?3h, use=vt102,
1.1       millert  1769:
                   1770: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
                   1771: # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
                   1772: # string in the canonical vt100 entry above leaves the screen littered
                   1773: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                   1774: # after highlight turnoffs.  This entry should fix that, and even leave
                   1775: # ACS support working, at the cost of making multiple-highlight changes
                   1776: # slightly more expensive.
                   1777: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1.11      millert  1778: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
1.24    ! millert  1779:        sgr@, sgr0=\E[m, use=vt102,
1.1       millert  1780:
                   1781: # VT125 Graphics CRT.  Clear screen also erases graphics
1.11      millert  1782: vt125|vt125 graphics terminal,
1.1       millert  1783:        clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
                   1784:
                   1785: # This isn't a DEC entry, it came from University of Wisconsin.
                   1786: # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
                   1787: vt131|dec vt131,
                   1788:        OTbs, am, xenl,
                   1789:        cols#80, it#8, lines#24, vt#3,
                   1790:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
1.11      millert  1791:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1792:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   1793:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   1794:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   1795:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   1796:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   1797:        kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>,
                   1798:        rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>,
                   1799:        rmul=\E[m$<2/>,
1.1       millert  1800:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1.11      millert  1801:        sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=,
1.1       millert  1802:        smso=\E[7m$<2/>, smul=\E[4m$<2/>,
                   1803:
                   1804: # vt132 - like vt100 but slower and has ins/del line and such.
                   1805: # I'm told that <smir>/<rmir> are backwards in the terminal from the
                   1806: # manual and from the ANSI standard, this describes the actual
                   1807: # terminal. I've never actually used a vt132 myself, so this
                   1808: # is untested.
                   1809: #
1.11      millert  1810: vt132|DEC vt132,
                   1811:        xenl,
                   1812:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
1.24    ! millert  1813:        ip=$<7>, rmir=\E[4h, smir=\E[4l, use=vt100,
1.1       millert  1814:
                   1815: # This vt220 description maps F5--F9 to the second block of function keys
                   1816: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1817: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1818: # PF1--PF4 are used as F1--F4.
                   1819: #
1.21      millert  1820: vt220|vt200|DEC VT220 in vt100 emulation mode,
1.17      millert  1821:        OTbs, OTpt, am, mir, xenl, xon,
1.11      millert  1822:        cols#80, lines#24, vt#3,
1.19      millert  1823:        OTnl=^J,
1.1       millert  1824:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.11      millert  1825:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
                   1826:        clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
                   1827:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   1828:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   1829:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   1830:        if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
1.15      millert  1831:        is2=\E[1;24r\E[24;1H, kbs=\177, kcub1=\EOD, kcud1=\EOB,
                   1832:        kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,
1.11      millert  1833:        kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
                   1834:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
                   1835:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,
                   1836:        rev=\E[7m$<2>, rf=/usr/share/tabset/vt100,
                   1837:        ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   1838:        rmso=\E[27m, rmul=\E[24m,
                   1839:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   1840:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   1841:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   1842:        smso=\E[7m, smul=\E[4m,
1.14      millert  1843:
1.18      millert  1844: # A much better description of the VT200/220; used to be vt220-8
1.21      millert  1845: vt220-new|vt200-new|dec vt220,
1.17      millert  1846:        OTbs, am, mc5i, mir, msgr, xenl, xon,
1.14      millert  1847:        cols#80, it#8, lines#24, vt#3,
                   1848:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1849:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   1850:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1851:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1852:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1853:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1854:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
                   1855:        flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
                   1856:        ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
                   1857:        il=\E[%p1%dL, il1=\E[L, ind=\ED,
1.15      millert  1858:        is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=\177, kcub1=\EOD,
                   1859:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf10=\E[21~,
1.14      millert  1860:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1861:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   1862:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   1863:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   1864:        khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~,
                   1865:        kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i,
                   1866:        mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
1.21      millert  1867:        rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
                   1868:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
1.14      millert  1869:        smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1.11      millert  1870: vt220-w|vt200-w|DEC vt220 in wide mode,
                   1871:        cols#132,
                   1872:        rs3=\E[?3h, use=vt220,
1.14      millert  1873: vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode,
1.18      millert  1874:        OTbs, am, mc5i, mir, msgr, xenl, xon,
1.14      millert  1875:        cols#80, it#8, lines#24, vt#3,
                   1876:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1877:        bel=^G, blink=\2335m, bold=\2331m, clear=\233H\233J, cr=^M,
                   1878:        csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
                   1879:        cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
                   1880:        cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
                   1881:        dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
                   1882:        ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, enacs=\E)0,
                   1883:        flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH,
                   1884:        ich=\233%p1%d@, if=/usr/share/tabset/vt100,
                   1885:        il=\233%p1%dL, il1=\233L, ind=\ED,
1.15      millert  1886:        is2=\233?7h\233>\233?1h\E F\233?4l, kbs=\177,
1.14      millert  1887:        kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
                   1888:        kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
                   1889:        kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~,
                   1890:        kf19=\23333~, kf2=\EOQ, kf20=\23334~, kf3=\EOR, kf4=\EOS,
                   1891:        kf6=\23317~, kf7=\23318~, kf8=\23319~, kf9=\23320~,
                   1892:        kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~,
                   1893:        knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1,
                   1894:        lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i,
                   1895:        nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l,
                   1896:        rmir=\2334l, rmso=\23327m, rmul=\23324m, rs1=\233?3l,
                   1897:        sc=\E7, sgr0=\233m, smacs=^N, smam=\233?7h, smir=\2334h,
                   1898:        smso=\2337m, smul=\2334m, tbc=\2333g,
1.1       millert  1899:
                   1900: #
                   1901: # vt220d:
                   1902: # This vt220 description regards F6--F10 as the second block of function keys
                   1903: # at the top of the keyboard.  This mapping follows the description given
                   1904: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1905: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1906: # See vt220 for an alternate mapping.
                   1907: #
1.11      millert  1908: vt220d|DEC VT220 in vt100 mode with DEC function key labeling,
                   1909:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   1910:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   1911:        kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
1.24    ! millert  1912:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220,
1.11      millert  1913:
                   1914: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
                   1915:        am@,
                   1916:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
1.1       millert  1917:
                   1918: # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
                   1919: # (not an official DEC entry!)
                   1920: # The problem with real vt220 terminals is they don't send escapes when in
                   1921: # in vt220 mode.  This can be gotten around two ways.  1> don't send
                   1922: # escapes or 2> put the vt220 into vt100 mode and use all the nifty
                   1923: # features of vt100 advanced video which it then has.
                   1924: #
                   1925: # This entry takes the view of putting a vt220 into vt100 mode so
                   1926: # you can use the escape key in emacs and everything else which needs it.
                   1927: #
                   1928: # You probably don't want to use this on a VMS machine since VMS will think
                   1929: # it has a vt220 and will get fouled up coming out of emacs
                   1930: #
                   1931: # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
1.14      millert  1932: # (Added vt100 <rc>,<sc> to quiet a tic warning -- esr)
1.1       millert  1933: vt200-js|vt220-js|dec vt200 series with jump scroll,
                   1934:        am,
                   1935:        cols#80,
1.11      millert  1936:        bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   1937:        cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   1938:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1.1       millert  1939:        il1=\E[L, ind=\ED,
                   1940:        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.15      millert  1941:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.14      millert  1942:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8,
1.11      millert  1943:        rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,
                   1944:        rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,
1.14      millert  1945:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=,
1.11      millert  1946:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,
1.1       millert  1947:
                   1948: # This was DEC's vt320.  Use the purpose-built one below instead
                   1949: #vt320|DEC VT320 in vt100 emulation mode,
                   1950: #      use=vt220,
                   1951:
                   1952: #
                   1953: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1954: #
1.11      millert  1955: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
                   1956:        am@,
                   1957:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
1.1       millert  1958:
                   1959: # These entries are not DEC's official ones, they were purpose-built for the
                   1960: # VT320.  Here are the designer's notes:
                   1961: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1962: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
                   1963: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
                   1964: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1965: # tab usually use <knxt> instead...
                   1966: # kprv is same as tab - Backtab is useless...
                   1967: # I left out <sgr> because of its RIDICULOUS complexity,
                   1968: # and the resulting fact that it causes the termcap translation of the entry
                   1969: # to SMASH the 1k-barrier...
1.14      millert  1970: # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
1.1       millert  1971: # (vt320: uncommented <fsl> --esr)
1.11      millert  1972: vt320|vt300|dec vt320 7 bit terminal,
                   1973:        am, eslok, hs, mir, msgr, xenl,
                   1974:        cols#80, lines#24, wsl#80,
                   1975:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   1976:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   1977:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   1978:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   1979:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   1980:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   1981:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   1982:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
                   1983:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
                   1984:        il1=\E[L, ind=\ED,
                   1985:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1986:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs,
                   1987:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   1988:        kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   1989:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   1990:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   1991:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
                   1992:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   1993:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~,
                   1994:        kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
                   1995:        nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300,
                   1996:        ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
                   1997:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   1998:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   1999:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   2000:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   2001:        tsl=\E[1$}\E[H\E[K,
                   2002: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
                   2003:        am@,
                   2004:        is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   2005:        rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   2006:        use=vt320,
1.1       millert  2007: # We have to init 132-col mode, not 80-col mode.
1.11      millert  2008: vt320-w|vt300-w|dec vt320 wide 7 bit terminal,
                   2009:        cols#132, wsl#132,
                   2010:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   2011:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H,
                   2012:        use=vt320,
                   2013: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
                   2014:        am@,
                   2015:        is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   2016:        rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H,
                   2017:        use=vt320-w,
1.1       millert  2018:
                   2019: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   2020: #   which are pretty much a superset of the VT320.  They have the
                   2021: #   host writable status line, yet another different DRCS matrix size,
                   2022: #   and such, but they add the DEC Technical character set, Multiple text
                   2023: #   pages, selectable length pages, and the like.  The difference between
                   2024: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   2025: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   2026: #   support VT131 and ANSI block mode, but as with much of these things,
                   2027: #   termcap/terminfo doesn't deal with these features.
                   2028: #
                   2029: # Note that this entry is are set up in what was the standard way for GNU
                   2030: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   2031: # keys were switched into application mode at the same time the numeric pad
                   2032: # is switched into application mode.  This changes the definitions of the
                   2033: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   2034: # your termcap or terminfo entry,
                   2035: #
                   2036: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   2037: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   2038: # also, added <rmam>/<smam> based on the init string -- esr)
                   2039: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
                   2040:        am, eslok, hs, mir, msgr, xenl, xon,
                   2041:        cols#80, it#8, lines#24, vt#3,
1.11      millert  2042:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2043:        blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
                   2044:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   2045:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   2046:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2047:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP,
                   2048:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
1.1       millert  2049:        dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
1.11      millert  2050:        flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I,
                   2051:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
1.1       millert  2052:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.24    ! millert  2053:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.11      millert  2054:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   2055:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   2056:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   2057:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
                   2058:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   2059:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   2060:        smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   2061:        smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
1.1       millert  2062:
                   2063: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   2064: # (originally written with vt420 as its primary name, and usable for it).
                   2065: #
                   2066: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   2067: #    text pages and long text pages with selectable length of the vt340, along
                   2068: #    with left and right margins, rectangular area text copy, fill, and erase
                   2069: #    operations, selected region character attribute change operations,
                   2070: #    page memory and rectangle checksums, insert/delete column, reception
                   2071: #    macros, and other features too numerous to remember right now.  TERMCAP
                   2072: #    can only take advantage of a few of these added features.
                   2073: #
                   2074: # Note that this entry is are set up in what was the standard way for GNU
                   2075: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   2076: # keys were switched into application mode at the same time the numeric pad
                   2077: # is switched into application mode.  This changes the definitions of the
                   2078: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   2079: # your termcap entry,
                   2080: #
                   2081: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   2082: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   2083: # also, added <rmam>/<smam> based on the init string -- esr)
                   2084: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
                   2085:        am, eslok, hs, mir, msgr, xenl, xon,
                   2086:        cols#80, it#8, lines#24, vt#3,
1.11      millert  2087:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  2088:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2089:        clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
                   2090:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2091:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2092:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  2093:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2094:        dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
1.1       millert  2095:        el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
1.11      millert  2096:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   2097:        il=\E[%p1%dL, il1=\E[L, ind=\ED,
1.1       millert  2098:        is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.15      millert  2099:        kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.11      millert  2100:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   2101:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   2102:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   2103:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O,
                   2104:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   2105:        rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m,
                   2106:        smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   2107:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1.1       millert  2108:        tsl=\E[2$~\E[1$}\E[1;%dH,
                   2109:
                   2110: # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
                   2111: # a missing <sc> -- esr)
1.11      millert  2112: vt420|DEC VT420,
                   2113:        am, mir, xenl, xon,
                   2114:        cols#80, lines#24, vt#3,
                   2115:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2116:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   2117:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   2118:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2119:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   2120:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   2121:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
1.15      millert  2122:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,
1.11      millert  2123:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   2124:        kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
                   2125:        kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
                   2126:        kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   2127:        kslt=\E[4~, rc=\E8, rev=\E[7m$<2>,
                   2128:        rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>,
                   2129:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   2130:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   2131:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
                   2132:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   2133:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   2134:        smkx=\E=, smso=\E[7m, smul=\E[4m,
1.1       millert  2135:
                   2136: #
                   2137: # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
                   2138: # takes two parameters, the key and the string.  Translating the key is
                   2139: # straightforward (keys 1-5 are not defined on real terminals, though some
                   2140: # emulators define these):
                   2141: #
                   2142: #               if (key < 16) then  value = key;
                   2143: #               else if (key < 21) then value = key + 1;
                   2144: #               else if (key < 25) then value = key + 2;
                   2145: #               else if (key < 27) then value = key + 3;
                   2146: #               else if (key < 30) then value = key + 4;
                   2147: #               else value = key + 5;
                   2148: #
                   2149: # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
                   2150: # There's no provision in terminfo for emitting a string in this format, so the
                   2151: # application has to know it.
                   2152: #
1.11      millert  2153: vt420pc|DEC VT420 w/PC keyboard,
                   2154:        kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
                   2155:        kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
                   2156:        kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~,
                   2157:        kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~,
                   2158:        kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
                   2159:        kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~,
                   2160:        kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~,
                   2161:        kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~,
                   2162:        kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~,
                   2163:        kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~,
                   2164:        kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
                   2165:        kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~,
                   2166:        kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   2167:        kf8=\E[19~, kf9=\E[20~, khome=\E[H,
                   2168:        pctrm=USR_TERM\:vt420pcdos\:,
1.24    ! millert  2169:        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\\,
        !          2170:        use=vt420,
1.11      millert  2171:
                   2172: vt420pcdos|DEC VT420 w/PC for DOS Merge,
                   2173:        lines#25,
                   2174:        dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;,
                   2175:        pctrm@,
                   2176:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@,
1.24    ! millert  2177:        sgr0=\E[m, smsc=\E[?1;2r\E[34h, use=vt420pc,
1.11      millert  2178:
                   2179: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
                   2180:        kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   2181:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   2182:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   2183:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   2184:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2185:        khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
                   2186:        use=vt420,
                   2187:
                   2188: vt510|DEC VT510,
                   2189:        use=vt420,
                   2190: vt510pc|DEC VT510 w/PC keyboard,
                   2191:        use=vt420pc,
                   2192: vt510pcdos|DEC VT510 w/PC for DOS Merge,
                   2193:        use=vt420pcdos,
1.1       millert  2194:
                   2195: # VT520/VT525
                   2196: #
                   2197: # The VT520 is a monochrome text terminal capable of managing up to
                   2198: # four independent sessions in the terminal.  It has multiple ANSI
                   2199: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   2200: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   2201: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   2202: #
                   2203: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   2204: # [Alt]/[Print Screen] depending upon which keyboard and which
                   2205: # terminal mode is being used.  If Set-Up has been disabled or
                   2206: # assigned to an unknown key, Set-Up may be entered by pressing
                   2207: # [F3] as the first key after power up, regardless of keyboard type.
                   2208: # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
1.11      millert  2209: vt520|DEC VT520,
                   2210:        am, mir, xenl, xon,
                   2211:        cols#80, lines#24, vt#3,
                   2212:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2213:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   2214:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   2215:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2216:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   2217:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   2218:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
1.15      millert  2219:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,
1.11      millert  2220:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1.13      millert  2221:        kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
                   2222:        kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
                   2223:        kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   2224:        kslt=\E[4~,
1.11      millert  2225:        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\\,
                   2226:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
                   2227:        ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   2228:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   2229:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
                   2230:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   2231:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   2232:        smso=\E[7m, smul=\E[4m,
1.1       millert  2233:
                   2234: # (vt525: I added <rmam>/<smam> based on the init string;
                   2235: # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
1.11      millert  2236: vt525|DEC VT525,
                   2237:        am, mir, xenl, xon,
                   2238:        cols#80, lines#24, vt#3,
                   2239:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2240:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   2241:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   2242:        cub1=^H, cud1=\E[B, cuf1=\E[C,
                   2243:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
                   2244:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   2245:        if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
1.15      millert  2246:        is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=\177,
1.11      millert  2247:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1.13      millert  2248:        kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
                   2249:        kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
                   2250:        kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   2251:        kslt=\E[4~,
1.11      millert  2252:        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\\,
                   2253:        rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
                   2254:        ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
                   2255:        rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   2256:        rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
                   2257:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   2258:        sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
                   2259:        smso=\E[7m, smul=\E[4m,
1.1       millert  2260:
                   2261: #### VT100 emulations
                   2262: #
                   2263:
                   2264: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   2265: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
                   2266: # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
                   2267: # that this works best with a stock vt100 entry.
1.11      millert  2268: dec-vt100|EWAN telnet's vt100 emulation,
                   2269:        use=vt100,
1.1       millert  2270:
                   2271: # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
1.11      millert  2272: dec-vt220|DOS tnvt200 terminal emulator,
                   2273:        am@, use=vt220,
1.1       millert  2274:
                   2275: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   2276: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   2277: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   2278: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   2279: # I can send the address if requested.
                   2280: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1.14      millert  2281: # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
1.11      millert  2282: z340|zstem vt340 terminal emulator 132col 42line,
                   2283:        lines#42,
                   2284:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   2285:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
                   2286:        use=vt320-w,
                   2287: z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
                   2288:        am@,
                   2289:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   2290:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
                   2291:        use=z340,
                   2292:
                   2293: # CRT is shareware.  It implements some xterm features, including mouse.
                   2294: crt|crt-vt220|CRT 2.3 emulating VT220,
                   2295:        bce, msgr,
1.20      millert  2296:        ncv@,
1.24    ! millert  2297:        hts=\EH, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
        !          2298:        use=vt220, use=ecma+color,
1.11      millert  2299:
                   2300: # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
                   2301: # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
                   2302: # (communication program) which supports:
                   2303: #
                   2304: #      - Serial port connections.
                   2305: #      - TCP/IP (telnet) connections.
                   2306: #      - VT100 emulation, and selected VT200/300 emulation.
                   2307: #      - TEK4010 emulation.
                   2308: #      - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
                   2309: #        Quick-VAN).
                   2310: #      - Scripts using the "Tera Term Language".
                   2311: #      - Japanese and Russian character sets.
                   2312: #
                   2313: # The program does not come with terminfo or termcap entries.  However, the
                   2314: # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
                   2315: # vt52 or doublesize character support; blinking is done with color).  Besides
                   2316: # the HPA, VPA extensions it also implements CPL and CNL.
                   2317: #
                   2318: # All of the function keys can be remapped.  This description shows the default
                   2319: # mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
                   2320: # are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
                   2321: # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
                   2322: #      kfnd    Insert
                   2323: #      kslt    Delete
                   2324: #      kich1   Home
                   2325: #      kdch1   PageUp
                   2326: #      kpp     End
                   2327: #      knp     PageDown
                   2328: #
                   2329: # ANSI colors are implemented, but cannot be combined with video attributes
                   2330: # except for reverse.
                   2331: #
                   2332: # No fonts are supplied with the program, so the acsc string is chosen to
                   2333: # correspond with the default Microsoft terminal font.
                   2334: #
                   2335: # Tera Term recognizes some xterm sequences, including those for setting and
                   2336: # retrieving the window title, and for setting the window size (i.e., using
                   2337: # "resize -s"), though it does not pass SIGWINCH to the application if the
                   2338: # user resizes the window with the mouse.
                   2339: teraterm|Tera Term Pro,
                   2340:        km, xon@,
                   2341:        ncv#43, vt@,
                   2342:        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,
                   2343:        blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
                   2344:        cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2345:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2346:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   2347:        flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
                   2348:        il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~,
                   2349:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   2350:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   2351:        kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
                   2352:        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   2353:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
                   2354:        kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM,
                   2355:        rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m,
                   2356:        smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
1.24    ! millert  2357:        vpa=\E[%i%p1%dd, use=klone+color, use=vt100,
1.11      millert  2358:
                   2359: # Tested with WinNT 4.0, the telnet application assumes the screensize is
                   2360: # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
                   2361: ms-vt100|MS telnet imitating dec vt100,
                   2362:        lines#25,
                   2363:        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,
                   2364:        tbc@, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c,
                   2365:        use=vt100,
1.1       millert  2366:
                   2367: #### X terminal emulators
                   2368: #
                   2369: # You can add the following line to your .Xdefaults to change the terminal type
                   2370: # set by the xterms you start up to my-xterm:
                   2371: #
                   2372: # *termName:  my-xterm
                   2373: #
                   2374: # System administrators can change the default entry for xterm instances
                   2375: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
                   2376: # case, xterm will detect and reject an invalid terminal type, falling back
                   2377: # to the default of xterm.
                   2378: #
                   2379:
                   2380: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
                   2381: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
                   2382: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   2383: # as these seem not to work -- esr)
                   2384: x10term|vs100-x10|xterm terminal emulator (X10 window system),
                   2385:        OTbs, am, km, mir, msgr, xenl, xon,
                   2386:        cols#80, it#8, lines#65,
                   2387:        bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
                   2388:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   2389:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2390:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   2391:        il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
                   2392:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   2393:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
                   2394:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   2395:        sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
                   2396:        smso=\E[7m, smul=\E[4m,
                   2397: # Compatible with the R5 xterm
                   2398: # (from the XFree86 3.2 distribution, <blink=@> removed)
1.11      millert  2399: # added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
                   2400: # corrected typos in rs2 string - TD
                   2401: # added u6-u9 -TD
1.1       millert  2402: xterm-r5|xterm R5 version,
                   2403:        OTbs, am, km, msgr, xenl,
                   2404:        cols#80, it#8, lines#24,
                   2405:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   2406:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2407:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2408:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2409:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2410:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   2411:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
                   2412:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
1.11      millert  2413:        kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~,
                   2414:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
                   2415:        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   2416:        kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
                   2417:        kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8,
                   2418:        rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
                   2419:        rmul=\E[m,
                   2420:        rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
                   2421:        sc=\E7,
1.1       millert  2422:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
1.11      millert  2423:        sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   2424:        smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
                   2425:        u8=\E[?1;2c, u9=\E[c,
1.1       millert  2426: # Compatible with the R6 xterm
                   2427: # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
1.11      millert  2428: # added khome/kend, hts based on the R6 xterm code - TD
1.19      millert  2429: # (khome/kend do not actually work in X11R5 or X11R6, but many people use this
                   2430: # for compatibility with other emulators).
1.1       millert  2431: xterm-r6|xterm-old|xterm X11R6 version,
                   2432:        OTbs, am, km, mir, msgr, xenl,
                   2433:        cols#80, it#8, lines#24,
1.11      millert  2434:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  2435:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   2436:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2437:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2438:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2439:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
1.11      millert  2440:        el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
1.1       millert  2441:        il1=\E[L, ind=^J,
                   2442:        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H,
                   2443:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1.16      millert  2444:        kdch1=\E[3~, kend=\EOF, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
1.8       millert  2445:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   2446:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
1.11      millert  2447:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   2448:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1.16      millert  2449:        kfnd=\E[1~, khome=\EOH, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
1.11      millert  2450:        kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM,
                   2451:        rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
                   2452:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
1.9       millert  2453:        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
1.1       millert  2454:        sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
                   2455:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1.11      millert  2456:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
1.1       millert  2457: # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
                   2458: # The name has been changed and some aliases have been removed.
                   2459: xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
                   2460:        OTbs, am, bce, km, mir, msgr, xenl,
1.20      millert  2461:        cols#80, it#8, lines#24, ncv@,
1.11      millert  2462:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  2463:        bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   2464:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   2465:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2466:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2467:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.14      millert  2468:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   2469:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   2470:        flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
                   2471:        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   2472:        il1=\E[L, ind=^J,
1.1       millert  2473:        is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
                   2474:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq,
                   2475:        kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   2476:        kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
                   2477:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   2478:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   2479:        kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
                   2480:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   2481:        kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
                   2482:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
1.20      millert  2483:        memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
                   2484:        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
                   2485:        rmso=\E[27m, rmul=\E[24m, rs1=^O,
1.1       millert  2486:        rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7,
                   2487:        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2488:        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2489:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   2490:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
                   2491:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
1.11      millert  2492:        tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
1.24    ! millert  2493:        vpa=\E[%i%p1%dd, use=ecma+color,
1.1       millert  2494:
                   2495: # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
                   2496: # codes for F1-F4 except while in VT220 mode.
                   2497: xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
1.24    ! millert  2498:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32,
1.1       millert  2499:
1.11      millert  2500: # This version was released in XFree86 3.3.3 (November 1998).
1.1       millert  2501: # Besides providing printer support, it exploits a new feature that allows
                   2502: # xterm to use terminfo-based descriptions with the titeInhibit resource.
1.14      millert  2503: # -- the distribution contained incorrect khome/kend values -TD
1.11      millert  2504: xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System),
1.1       millert  2505:        mc5i,
1.11      millert  2506:        blink=\E[5m, ich1@, invis=\E[8m,
1.14      millert  2507:        is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@,
                   2508:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l,
                   2509:        rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>,
1.11      millert  2510:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
1.24    ! millert  2511:        smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33,
1.1       millert  2512:
1.11      millert  2513: # This beta version will probably be released in XFree86 4.0.
                   2514: xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
1.14      millert  2515:        npc,
1.11      millert  2516:        kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~,
                   2517:        kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@,
1.13      millert  2518:        ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF,
                   2519:        kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
                   2520:        kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~,
                   2521:        kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
                   2522:        kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
                   2523:        kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~,
                   2524:        kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~,
                   2525:        kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P,
                   2526:        kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~,
                   2527:        kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
                   2528:        kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
                   2529:        kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l,
1.14      millert  2530:        sgr=\E[0%?%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
1.24    ! millert  2531:        smcup=\E[?1049h, use=xterm-xf86-v333,
1.11      millert  2532:
                   2533: xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System),
                   2534:        use=xterm-xf86-v40,
                   2535:
1.1       millert  2536: # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
1.11      millert  2537: xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
1.24    ! millert  2538:        rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33,
1.1       millert  2539:
1.11      millert  2540: # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
1.1       millert  2541: xterm-16color|xterm with 16 colors like aixterm,
1.24    ! millert  2542:        colors#16, pairs#256,
1.11      millert  2543:        setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
                   2544:        setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
1.1       millert  2545:        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,
                   2546:        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,
                   2547:        use=xterm-xf86-v40,
                   2548:
1.11      millert  2549: # These variants of XFree86 3.9.16 xterm are built as a configure option.
                   2550: xterm-256color|xterm with 256 colors,
                   2551:        ccc,
1.24    ! millert  2552:        colors#256, pairs#256,
1.11      millert  2553:        initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
                   2554:        setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm,
                   2555:        setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm,
                   2556:        use=xterm-xfree86,
                   2557: xterm-88color|xterm with 88 colors,
                   2558:        colors#88, pairs#88, use=xterm-256color,
                   2559:
1.1       millert  2560: # This is another variant, for XFree86 4.0 xterm (T.Dickey)
                   2561: # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
                   2562: # To use it, your decTerminalID resource must be set to 200 or above.
                   2563: #
                   2564: #      HTS     \E H    \210
                   2565: #      RI      \E M    \215
                   2566: #      SS3     \E O    \217
                   2567: #      CSI     \E [    \233
                   2568: #
                   2569: xterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
1.14      millert  2570:        OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl,
1.1       millert  2571:        colors#8, cols#80, it#8, lines#24, pairs#64,
1.11      millert  2572:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2573:        bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,
                   2574:        civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M,
1.1       millert  2575:        csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
                   2576:        cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
                   2577:        cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
1.14      millert  2578:        dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
                   2579:        ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,
                   2580:        enacs=\E(B\E)0, flash=\233?5h$<100/>\233?5l,
                   2581:        home=\233H, hpa=\233%i%p1%dG, ht=^I, hts=\210,
                   2582:        ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, ind=^J,
                   2583:        invis=\2338m,
1.1       millert  2584:        is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
                   2585:        ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H,
                   2586:        kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B,
1.11      millert  2587:        kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,
1.1       millert  2588:        kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
                   2589:        kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
                   2590:        kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
                   2591:        kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
                   2592:        kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
1.11      millert  2593:        kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,
                   2594:        knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,
                   2595:        meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,
                   2596:        ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l,
                   2597:        rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
                   2598:        rs1=\Ec,
1.1       millert  2599:        rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>,
                   2600:        sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
                   2601:        setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2602:        setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1.11      millert  2603:        sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   2604:        sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h,
1.1       millert  2605:        smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m,
1.11      millert  2606:        tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c,
                   2607:        u9=\E[c, vpa=\233%i%p1%dd,
                   2608:
                   2609: xterm-hp|XFree86 xterm with hpterm function keys,
                   2610:        kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   2611:        kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
                   2612:        kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ,
1.24    ! millert  2613:        knp=\ES, kpp=\ET, use=xterm-xfree86,
1.11      millert  2614:
                   2615: xterm-vt220|XFree86 xterm emulating vt220,
                   2616:        ka1=\EOw, ka3=\EOy, kbeg=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,
                   2617:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   2618:        kdch1=\E[3~, kend=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   2619:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   2620:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   2621:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
                   2622:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   2623:        khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
                   2624:        use=xterm-xfree86,
                   2625:
                   2626: xterm-vt52|XFree86 xterm emulating dec vt52,
                   2627:        cols#80, it#8, lines#24,
                   2628:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2629:        bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   2630:        cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK,
                   2631:        home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   2632:        kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
                   2633:
                   2634: xterm-noapp|xterm with cursor keys in normal mode,
                   2635:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmcup@,
1.24    ! millert  2636:        rmkx=\E>, smcup@, smkx=\E=, use=xterm,
1.11      millert  2637:
                   2638: xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
                   2639:        lines#24, use=xterm-r6,
1.1       millert  2640:
1.11      millert  2641: # This is xterm for ncurses.
                   2642: xterm|xterm terminal emulator (X Window System),
1.1       millert  2643:        use=xterm-r6,
1.11      millert  2644: #      use=xterm-xfree86,
1.1       millert  2645:
                   2646: # These entries allow access to the X titlebar and icon name as a status line.
                   2647: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   2648: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   2649: # with it.
                   2650: xterm+sl|access X title line and icon name,
                   2651:        hs,
                   2652:        wsl#40,
1.11      millert  2653:        dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm,
1.1       millert  2654: xterm+sl-twm|access X title line (pacify twm-descended window managers),
                   2655:        hs,
                   2656:        wsl#40,
1.11      millert  2657:        dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm,
1.1       millert  2658:
                   2659: #
                   2660: # The following xterm variants don't depend on your base version
                   2661: #
1.11      millert  2662: # xterm with bold instead of underline
1.1       millert  2663: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
1.24    ! millert  2664:        smso=\E[7m, smul=\E[1m, use=xterm,
1.1       millert  2665: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
                   2666: # (kterm should not invoke DEC Graphics as the alternate character set
                   2667: #  -- Kenji Rikitake)
                   2668: kterm|kterm kanji terminal emulator (X window system),
                   2669:        eslok, hs,
                   2670:        acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F,
1.20      millert  2671:        kmous=\E[M, rc=\E8, rmacs@, sc=\E7, smacs@,
1.24    ! millert  2672:        tsl=\E[?E\E[?%i%dT, use=xterm-r6, use=ecma+color,
1.1       millert  2673: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   2674: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
1.24    ! millert  2675:        ich@, ich1@, use=xterm,
1.1       millert  2676: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   2677: xterm1|xterm terminal emulator ignoring the alternate screen buffer,
1.24    ! millert  2678:        rmcup@, smcup@, use=xterm,
1.1       millert  2679:
                   2680: # This describes the capabilities of color_xterm, an xterm variant from
                   2681: # before ECMA-64 color support was folded into the main-line xterm release.
                   2682: # This entry is straight from color_xterm's maintainer.
                   2683: # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
                   2684: # The README's with the distribution also say that it supports SGR 21, 24, 25
                   2685: # and 27, but they are not present in the terminfo or termcap.
                   2686: color_xterm|cx|cx100|color_xterm color terminal emulator for X,
                   2687:        OTbs, am, km, mir, msgr, xenl,
1.20      millert  2688:        cols#80, it#8, lines#65, ncv@,
1.1       millert  2689:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2690:        bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   2691:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2692:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2693:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2694:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2695:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
                   2696:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   2697:        is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy,
                   2698:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB,
                   2699:        kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~,
                   2700:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
                   2701:        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
                   2702:        kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
1.20      millert  2703:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM,
                   2704:        rmacs=^O, rmam=\E[?7l, rmcup=\E>\E[?41;1r, rmir=\E[4l,
                   2705:        rmso=\E[27m, rmul=\E[24m,
1.1       millert  2706:        rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
1.20      millert  2707:        sc=\E7,
1.1       millert  2708:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   2709:        sgr0=\E[m, smacs=^N, smam=\E[?7h,
                   2710:        smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
1.24    ! millert  2711:        smul=\E[4m, use=ecma+color,
1.1       millert  2712:
1.11      millert  2713: # The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
1.1       millert  2714: # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
                   2715: # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
                   2716: # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
                   2717: # that each of those implements the home, end, delete keys differently.
1.11      millert  2718: #
                   2719: # Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
                   2720: # colors; note that this is not compatible with the 5.2 version.
                   2721: nxterm|xterm-color|generic color xterm,
                   2722:        ncv@,
                   2723:        op=\E[m, use=xterm-r6, use=klone+color,
                   2724:
                   2725: # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
                   2726: gnome|Gnome terminal,
                   2727:        bce,
1.24    ! millert  2728:        kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
        !          2729:        use=xterm-color,
1.11      millert  2730:
                   2731: # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
                   2732: # or not is debatable).
                   2733: kvt|KDE terminal,
                   2734:        bce, km@,
                   2735:        kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color,
1.1       millert  2736:
                   2737: # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
                   2738: # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
                   2739: # Notes:
                   2740: # rxvt 2.21b uses
                   2741: #      smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
                   2742: # but some applications don't work with that.
                   2743: # It also has an AIX extension
                   2744: #      box2=lqkxjmwuvtn,
                   2745: # and
                   2746: #      ech=\E[%p1%dX,
                   2747: # but the latter does not work correctly.
                   2748: #
1.11      millert  2749: # The distributed terminfo says it implements hpa and vpa, but they are not
                   2750: # implemented correctly, using relative rather than absolute positioning.
                   2751: #
1.1       millert  2752: # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
                   2753: # Since rxvt is not really compatible with xterm, it should be configured as
                   2754: # "rxvt" (monochrome) and "rxvt-color".
                   2755: rxvt-basic|rxvt terminal base (X Window System),
1.19      millert  2756:        OTbs, am, bce, eo, km, mir, msgr, xenl, xon,
1.1       millert  2757:        cols#80, it#8, lines#24,
                   2758:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2759:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   2760:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   2761:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2762:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2763:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.14      millert  2764:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2765:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l,
                   2766:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   2767:        il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l,
1.1       millert  2768:        is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
                   2769:        kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,
                   2770:        kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H,
                   2771:        kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
                   2772:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
1.13      millert  2773:        kend=\E[8~, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
1.1       millert  2774:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   2775:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   2776:        kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
                   2777:        kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   2778:        kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,
                   2779:        kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8,
1.11      millert  2780:        rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8,
                   2781:        rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
1.1       millert  2782:        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
                   2783:        rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
                   2784:        s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N,
                   2785:        smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m,
                   2786:        smul=\E[4m, tbc=\E[3g,
                   2787: rxvt|rxvt terminal emulator (X Window System),
1.20      millert  2788:        ncv@,
                   2789:        sgr0=\E[m\017, use=rxvt-basic, use=ecma+color,
1.1       millert  2790:
1.11      millert  2791: # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
                   2792: # variant of xterm which is apparently no longer supported, but are interesting
                   2793: # because they illustrate SVr4 curses mouse controls - T.Dickey
                   2794: xtermm|xterm terminal emulator (monocrome),
1.19      millert  2795:        OTbs, am, km, mir, msgr, xenl,
1.11      millert  2796:        btns#3, cols#80, it#8, lines#24,
                   2797:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2798:        bel=^G, blink=@, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   2799:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
                   2800:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2801:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2802:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2803:        el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY,
                   2804:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
                   2805:        il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr,
                   2806:        kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
                   2807:        kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy,
                   2808:        kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ,
                   2809:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                   2810:        kf9=\EOX, khome=\E[H, kmous=\E[^_, knp=\E[U, kpp=\E[V,
                   2811:        rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, rmacs=^O,
                   2812:        rmcup=\E@0\E[?4r, rmso=\E[m,
                   2813:        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
                   2814:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   2815:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   2816:        sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1,
                   2817:        smso=\E[7m, tbc=\E[3g,
                   2818:
                   2819: xtermc|xterm terminal emulator (color),
                   2820:        colors#8, ncv#7, pairs#64,
                   2821:        op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
                   2822:        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2823:        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                   2824:        use=xtermm,
                   2825:
1.1       millert  2826: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   2827: # Here's a termcap entry I've been using for xterm_color, which comes
                   2828: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   2829: # color stuff, I also have a status line defined as the window manager
                   2830: # title bar. [I have translated it to terminfo -- ESR]
                   2831: xterm-pcolor|xterm with color used for highlights and status line,
                   2832:        bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
1.24    ! millert  2833:        smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6,
1.1       millert  2834:
                   2835: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
                   2836: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
                   2837: hpterm|X-hpterm|hp X11 terminal emulator,
                   2838:        am, da, db, mir, xhp,
                   2839:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
                   2840:        acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
                   2841:        cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
                   2842:        cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
                   2843:        hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
                   2844:        kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   2845:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   2846:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   2847:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   2848:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
                   2849:        memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   2850:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   2851:        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   2852:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
                   2853:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
                   2854:        rmul=\E&d@,
1.11      millert  2855:        sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
1.1       millert  2856:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
                   2857:        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   2858:
                   2859: # This entry describes an xterm with Sun-style function keys enabled
                   2860: # via the X resource setting "xterm*sunFunctionKeys:true"
                   2861: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   2862: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   2863: # because we want it to be seen as <kcpy>.
                   2864: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   2865: # with their Sun keyboard labels instead.
                   2866: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   2867: xterm-sun|xterm with sunFunctionKeys true,
                   2868:        kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z,
                   2869:        kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z,
                   2870:        kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z,
                   2871:        kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z,
                   2872:        kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z,
                   2873:        kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z,
                   2874:        kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z,
                   2875:        kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
                   2876:        kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z,
1.24    ! millert  2877:        knp=\E[222z, kpp=\E[216z, kund=\E[195z, use=xterm,
1.1       millert  2878: xterms-sun|small (80x24) xterm with sunFunctionKeys true,
                   2879:        cols#80, lines#24, use=xterm-sun,
                   2880:
                   2881: # This is for the extensible terminal emulator on the X11R6 contrib tape.
                   2882: emu|emu native mode,
                   2883:        mir, msgr, xon,
                   2884:        colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
                   2885:        acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
                   2886:        bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ,
                   2887:        clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;,
                   2888:        cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB,
                   2889:        cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;,
1.14      millert  2890:        cuu=\Ep-%p1%d;, cuu1=\EA, dch=\EI%p1%d;, dch1=\EI1;,
                   2891:        dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, el=\EK,
                   2892:        el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh,
1.1       millert  2893:        il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;,
                   2894:        kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA,
                   2895:        kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10,
                   2896:        kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15,
                   2897:        kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02,
                   2898:        kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06,
                   2899:        kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins,
                   2900:        knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;,
                   2901:        rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES,
1.11      millert  2902:        rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,
                   2903:        setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY,
                   2904:        smso=\ES\ET, smul=\ES\EV, tbc=\Ej,
1.1       millert  2905:
1.11      millert  2906: #### MGR
                   2907: #
                   2908: # MGR is a Bell Labs window system lighter-weight than X.
                   2909: # These entries describe MGR's xterm-equivalent.
                   2910: # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
1.1       millert  2911: #
                   2912:
1.11      millert  2913: mgr|Bellcore MGR (non X) window system terminal emulation,
                   2914:        am, km,
                   2915:        bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,
                   2916:        csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,
                   2917:        cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,
                   2918:        dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,
                   2919:        dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,
                   2920:        ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,
                   2921:        il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   2922:        kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,
                   2923:        rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,
                   2924:        smul=\E4n,
                   2925: mgr-sun|Mgr window with Sun keyboard,
                   2926:        ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,
                   2927:        kc3=\E[222z, kcpy=\E[197z, kend=\E[220z, kent=\E[250z,
                   2928:        kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
                   2929:        kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,
                   2930:        kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
                   2931:        kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,
1.24    ! millert  2932:        kopn=\E[198z, kpp=\E[216z, kund=\E[195z, use=mgr,
1.11      millert  2933: mgr-linux|Mgr window with Linux keyboard,
                   2934:        ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,
                   2935:        kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,
                   2936:        kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
                   2937:        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1.24    ! millert  2938:        khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr,
1.11      millert  2939:
                   2940: ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
1.1       millert  2941: #
                   2942:
1.11      millert  2943: # Columbus UNIX virtual terminal. This terminal also appears in
                   2944: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   2945: # undocumented and does not really work quite right.
                   2946: cbunix|cb unix virtual terminal,
                   2947:        OTbs, am, da, db,
                   2948:        cols#80, lines#24, lm#0,
                   2949:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   2950:        cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
                   2951:        el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
                   2952:        kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
                   2953:        smso=\Ea^D, smul=\Ea^A,
                   2954: # (vremote: removed obsolete ":nl@:" -- esr)
                   2955: vremote|virtual remote terminal,
                   2956:        am@,
                   2957:        cols#79, use=cbunix,
                   2958:
                   2959: pty|4bsd pseudo teletype,
                   2960:        cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
1.24    ! millert  2961:        smso=\Ea$, smul=\Ea!, use=cbunix,
1.11      millert  2962:
                   2963: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
                   2964: eterm|gnu emacs term.el terminal emulation,
                   2965:        am, mir, xenl,
                   2966:        cols#80, lines#24,
                   2967:        bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   2968:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2969:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2970:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   2971:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   2972:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   2973:        il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
                   2974:        rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   2975:        sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
                   2976:        smul=\E[4m,
1.1       millert  2977:
1.14      millert  2978: # Entries for use by the `screen' program by Juergen Weigert,
                   2979: # Michael Schroeder, Oliver Laumann.  The screen and
1.11      millert  2980: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
                   2981: # come from University of Wisconsin and may be older.
                   2982: # (screen: added <cnorm> on ANSI model -- esr)
1.1       millert  2983: #
1.11      millert  2984: # 'screen' defines extensions to termcap.  Some are used in its terminal
                   2985: # description:
                   2986: #      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
                   2987: #      AX   (bool)  Does  understand ANSI set default fg/bg color
                   2988: #                   (\E[39m / \E[49m).
                   2989: screen|VT 100/ANSI X3.64 virtual terminal,
1.20      millert  2990:        OTbs, OTpt, am, km, mir, msgr, xenl, G0,
1.11      millert  2991:        colors#8, cols#80, it#8, lines#24, pairs#64,
                   2992:        acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   2993:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   2994:        clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
                   2995:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   2996:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   2997:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   2998:        cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   2999:        dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   3000:        flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   3001:        il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
                   3002:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP,
                   3003:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR,
                   3004:        kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
                   3005:        kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~,
                   3006:        kpp=\E[5~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
                   3007:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m,
                   3008:        rs2=\Ec, sc=\E7, sgr0=\E[m, smacs=^N, smir=\E[4h,
                   3009:        smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g,
                   3010:        use=ecma+color,
                   3011:
                   3012: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
                   3013:        cols#132, use=screen,
1.1       millert  3014:
1.11      millert  3015: screen2|old VT 100/ANSI X3.64 virtual terminal,
                   3016:        cols#80, it#8, lines#24,
                   3017:        cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
1.1       millert  3018:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   3019:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  3020:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   3021:        el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
                   3022:        il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   3023:        kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   3024:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
                   3025:        nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
                   3026:        rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
                   3027:        smso=\E[3m, smul=\E[4m, tbc=\E[3g,
                   3028: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   3029: screen3|older VT 100/ANSI X3.64 virtual terminal,
                   3030:        km, mir, msgr,
                   3031:        cols#80, it#8, lines#24,
                   3032:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   3033:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   3034:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   3035:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   3036:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   3037:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   3038:        il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
                   3039:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
                   3040:        kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   3041:        rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
                   3042:        sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
                   3043:        smul=\E[4m, tbc=\E[3g,
1.1       millert  3044:
1.11      millert  3045: # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
                   3046: # NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
                   3047: # been maintained until recently by the National Center for Supercomputer
                   3048: # Applications, and it is feature rich, stable and free.  It can be downloaded
                   3049: # from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
                   3050: # xterm+sl, and the docs at NCSA.  It works well.
                   3051: #
                   3052: # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
                   3053: # The terminal options should be set as follows:
                   3054: #         Xterm sequences ON
                   3055: #         use VT wrap mode ON
                   3056: #         use Emacs arrow keys OFF
                   3057: #         CTRL-COMND is Emacs meta ON
                   3058: #         8 bit mode ON
                   3059: #         answerback string: "ncsa-vt220-8"
                   3060: #         setup keys: all disabled
                   3061: #
                   3062: # Application mode is not used.
1.1       millert  3063: #
1.11      millert  3064: # Other special mappings:
                   3065: #      Apple           VT220
                   3066: #      HELP            Find
                   3067: #      HOME            Insert here
                   3068: #      PAGEUP          Remove
                   3069: #      DEL             Select
                   3070: #      END             Prev Screen
                   3071: #      PAGEDOWN        Next Screen
                   3072: #
                   3073: # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
                   3074: # text.
                   3075: #
                   3076: # The status-line manipulation is a mapping of the xterm-compatible control
                   3077: # sequences for setting the window-title.  So you must use tsl and fsl in
                   3078: # pairs, since the latter ends the string that is loaded to the window-title.
                   3079: ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
                   3080:        am, hs, km, mir, msgr, xenl,
                   3081:        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   3082:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3083:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
                   3084:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   3085:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   3086:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   3087:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   3088:        dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
                   3089:        flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH,
                   3090:        ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
                   3091:        il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>,
                   3092:        is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
                   3093:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   3094:        kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
                   3095:        kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~,
                   3096:        kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~,
                   3097:        kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,
                   3098:        khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,
                   3099:        rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,
                   3100:        rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,
                   3101:        rmso=\E[27m, rmul=\E[24m,
                   3102:        rs2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, sc=\E7,
                   3103:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
                   3104:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7,
                   3105:        smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,
                   3106:        u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c,
                   3107: ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
                   3108:        use=ncsa-m, use=klone+color,
                   3109: ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
                   3110:        hs@,
                   3111:        dsl@, fsl@, tsl@, use=ncsa,
                   3112: ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
                   3113:        hs@,
                   3114:        dsl@, fsl@, tsl@, use=ncsa-m,
                   3115: # alternate -TD:
                   3116: # The documented function-key mapping refers to the Apple Extended Keyboard
                   3117: # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
                   3118: # codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
                   3119: # some keyboards and many applications require these as F1-F4.
                   3120: #
                   3121: ncsa-vt220|NCSA Telnet using vt220-compatible function keys,
                   3122:        kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   3123:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   3124:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   3125:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
1.24    ! millert  3126:        kf8=\E[19~, kf9=\E[20~, use=ncsa,
1.11      millert  3127:
                   3128: #### Pilot Pro Palm-Top
1.1       millert  3129: #
1.11      millert  3130: # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
                   3131: pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
                   3132:        am, xenl,
                   3133:        cols#39, lines#16,
                   3134:        bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
                   3135:        cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
                   3136:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
                   3137:        rmso=\EB, smso=\Eb,
                   3138:
                   3139: ######## COMMERCIAL WORKSTATION CONSOLES
1.1       millert  3140: #
1.11      millert  3141:
                   3142: #### Alpha consoles
1.1       millert  3143: #
1.11      millert  3144:
                   3145: # This is from the OSF/1 Release 1.0 termcap file
                   3146: pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
1.1       millert  3147:        am, xon,
1.11      millert  3148:        cols#80, lines#25,
                   3149:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   3150:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   3151:        el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H,
                   3152:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   3153:        nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m,
1.1       millert  3154:
1.11      millert  3155: #### Sun consoles
1.1       millert  3156: #
                   3157:
1.11      millert  3158: # :is1: resets scrolling region in case a previous user had used "tset vt100"
                   3159: oldsun|Sun Microsystems Workstation console,
                   3160:        OTbs, am, km, mir, msgr,
                   3161:        cols#80, it#8, lines#34,
                   3162:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   3163:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   3164:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
                   3165:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   3166:        is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   3167:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   3168:        rmso=\E[m, sgr0=\E[m, smso=\E[7m,
                   3169: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
                   3170: # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
                   3171: # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
                   3172: sun-il|Sun Microsystems console with working insert-line,
                   3173:        am, km, msgr,
                   3174:        cols#80, lines#34,
                   3175:        bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   3176:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   3177:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
                   3178:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   3179:        kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   3180:        kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z,
                   3181:        kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
                   3182:        kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
                   3183:        kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
                   3184:        knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z,
                   3185:        kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s,
                   3186:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
                   3187:        sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t,
1.24    ! millert  3188: # On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
        !          3189: # flake out on the last line.  Unfortunately, without them the terminal has no
        !          3190: # way to scroll.
        !          3191: sun-cgsix|sun-ss5|Sun SparcStation 5 console,
1.11      millert  3192:        il@, il1@, use=sun-il,
                   3193: # If you are using an SS5, change the sun definition to use sun-ss5.
                   3194: sun|sun1|sun2|Sun Microsystems Inc. workstation console,
                   3195:        use=sun-il,
1.1       millert  3196:
1.11      millert  3197: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
                   3198: sun-s|Sun Microsystems Workstation window with status line,
                   3199:        hs,
                   3200:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
                   3201: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
                   3202:        hs,
                   3203:        dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
                   3204: sun-48|Sun 48-line window,
                   3205:        cols#80, lines#48, use=sun,
                   3206: sun-34|Sun 34-line window,
                   3207:        cols#80, lines#34, use=sun,
                   3208: sun-24|Sun 24-line window,
                   3209:        cols#80, lines#24, use=sun,
                   3210: sun-17|Sun 17-line window,
                   3211:        cols#80, lines#17, use=sun,
                   3212: sun-12|Sun 12-line window,
                   3213:        cols#80, lines#12, use=sun,
                   3214: sun-1|Sun 1-line window for sysline,
                   3215:        eslok, hs,
                   3216:        cols#80, lines#1,
                   3217:        dsl=^L, fsl=\E[K, tsl=^M, use=sun,
                   3218: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
1.24    ! millert  3219:        ich1@, rmir@, smir@, use=sun,
1.11      millert  3220: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
                   3221:        lines#35,
                   3222:        rmcup=\E[>4h, smcup=\E[>4l, use=sun,
1.1       millert  3223:
                   3224: #### Iris consoles
                   3225: #
                   3226:
                   3227: # (wsiris: this had extension capabilities
                   3228: #      :HS=\E7F2:HE=\E7F7:\
                   3229: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
                   3230: # See the note on Iris extensions near the end of this file.
                   3231: # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
                   3232: # <flash> from BRL -- esr)
                   3233: wsiris|iris40|iris emulating a 40 line visual 50 (approximately),
                   3234:        OTbs, OTnc, OTpt, am,
                   3235:        OTkn#3, cols#80, it#8, lines#40,
1.11      millert  3236:        OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB,
                   3237:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   3238:        cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
                   3239:        flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
                   3240:        ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
                   3241:        kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
                   3242:        kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
                   3243:        rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
                   3244:        smul=\E7R2\E9P,
1.1       millert  3245:
                   3246: #### NeWS consoles
                   3247: #
                   3248: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   3249: # environment).   Note: these have nothing to do with Sony's News workstation
                   3250: # line.
                   3251: #
                   3252:
                   3253: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
                   3254: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   3255: psterm|psterm-basic|NeWS psterm-80x34,
                   3256:        OTbs, am, hs, km, ul,
                   3257:        cols#80, it#8, lines#34,
1.11      millert  3258:        blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
                   3259:        cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
                   3260:        dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
                   3261:        home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
                   3262:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
                   3263:        ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
                   3264:        sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
                   3265:        tsl=\EOl,
1.1       millert  3266: psterm-96x48|NeWS psterm 96x48,
1.11      millert  3267:        cols#96, lines#48, use=psterm,
1.1       millert  3268: psterm-90x28|NeWS psterm 90x28,
1.11      millert  3269:        cols#90, lines#28, use=psterm,
1.1       millert  3270: psterm-80x24|NeWS psterm 80x24,
1.11      millert  3271:        cols#80, lines#24, use=psterm,
1.1       millert  3272: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   3273: # some control characters you type will do strange things to the screen.
                   3274: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   3275: psterm-fast|NeWS psterm fast version (flaky ctrl chars),
                   3276:        OTbs, am, hs, km, ul,
                   3277:        cols#80, it#8, lines#34,
1.11      millert  3278:        blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
                   3279:        cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
                   3280:        dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
                   3281:        il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   3282:        kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
                   3283:        rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
                   3284:        smso=^Oo, smul=^Ou, tsl=^Ol,
1.1       millert  3285:
                   3286: #### NeXT consoles
                   3287: #
                   3288: # Use `glasstty' for the Workspace application
                   3289: #
                   3290:
                   3291: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   3292: next|NeXT console,
                   3293:        am, xt,
                   3294:        cols#80, it#8, lines#24,
1.11      millert  3295:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   3296:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   3297:        ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   3298:        rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
1.1       millert  3299: nextshell|NeXT Shell application,
                   3300:        am,
                   3301:        cols#80,
1.11      millert  3302:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
                   3303:        kcud1=^J, nel=^M^J,
1.1       millert  3304:
1.11      millert  3305: #### Sony NEWS workstations
1.1       millert  3306: #
                   3307:
1.11      millert  3308: # (news-unk: this had :KB=news: -- esr)
                   3309: news-unk|SONY NEWS vt100 emulator common entry,
                   3310:        OTbs, OTpt, am, xenl,
                   3311:        cols#80,
                   3312:        OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
                   3313:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   3314:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
                   3315:        ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   3316:        if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
                   3317:        is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
                   3318:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
                   3319:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
                   3320:        kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM,
                   3321:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   3322:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7,
                   3323:        sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   3324: #
                   3325: # (news-29: this had :TY=ascii: --esr)
                   3326: news-29,
                   3327:        lines#29, use=news-unk,
                   3328: # (news-29-euc: this had :TY=euc: --esr)
                   3329: news-29-euc,
                   3330:        use=news-29,
                   3331: # (news-29-sjis: this had :TY=sjis: --esr)
                   3332: news-29-sjis,
                   3333:        use=news-29,
                   3334: #
                   3335: # (news-33: this had :TY=ascii: --esr)
                   3336: news-33,
                   3337:        lines#33, use=news-unk,
                   3338: # (news-33-euc: this had :TY=euc: --esr)
                   3339: news-33-euc,
                   3340:        use=news-33,
                   3341: # (news-33-sjis: this had :TY=sjis: --esr)
                   3342: news-33-sjis,
                   3343:        use=news-33,
                   3344: #
                   3345: # (news-42: this had :TY=ascii: --esr)
                   3346: news-42,
                   3347:        lines#42, use=news-unk,
                   3348: # (news-42-euc: this had :TY=euc: --esr)
                   3349: news-42-euc,
                   3350:        use=news-42,
                   3351: # (news-42-sjis: this had :TY=sjis: --esr)
                   3352: news-42-sjis,
                   3353:        use=news-42,
                   3354: #
                   3355: #      NEWS-OS old termcap entry
                   3356: #
                   3357: # (news-old-unk: this had :KB=news:TY=sjis: --esr)
                   3358: news-old-unk|SONY NEWS vt100 emulator common entry,
                   3359:        OTbs, OTpt, am, xenl,
                   3360:        cols#80, vt#3,
                   3361:        OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
                   3362:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   3363:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   3364:        home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H,
                   3365:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   3366:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
                   3367:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   3368:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   3369:        sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   3370: #
                   3371: # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
1.14      millert  3372: nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines,
1.11      millert  3373:        OTbs,
                   3374:        lines#40,
1.24    ! millert  3375:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
        !          3376:        use=news-old-unk,
1.11      millert  3377: #
                   3378: # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
                   3379: nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
                   3380:        lines#42,
1.24    ! millert  3381:        is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8,
        !          3382:        use=news-old-unk,
1.11      millert  3383: #
                   3384: # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
                   3385: nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
                   3386:        OTbs,
                   3387:        lines#40,
1.24    ! millert  3388:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
        !          3389:        use=news-old-unk,
1.11      millert  3390: #
                   3391: # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
                   3392: nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
                   3393:        OTbs,
                   3394:        lines#31,
1.24    ! millert  3395:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
        !          3396:        use=news-old-unk,
1.11      millert  3397: #
                   3398: # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
                   3399: # also the alias vt100-bm.
1.14      millert  3400: nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines,
1.11      millert  3401:        OTbs,
                   3402:        lines#33,
1.24    ! millert  3403:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8,
        !          3404:        use=news-old-unk,
1.11      millert  3405: #
                   3406: # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
1.14      millert  3407: nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines,
1.19      millert  3408:        OTbs,
1.11      millert  3409:        lines#31,
1.24    ! millert  3410:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
        !          3411:        use=news-old-unk,
1.11      millert  3412: #
                   3413: # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
                   3414: news28|sony vt100 emulator 28 lines,
                   3415:        OTbs,
                   3416:        lines#28,
1.24    ! millert  3417:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8,
        !          3418:        use=news-old-unk,
1.11      millert  3419: #
                   3420: # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
                   3421: news29|news28-a|sony vt100 emulator 29 lines,
                   3422:        lines#29,
1.24    ! millert  3423:        is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8,
        !          3424:        use=news-old-unk,
1.1       millert  3425: #
1.11      millert  3426: # (news511: this had :TY=sjis: --esr)
                   3427: nwp511|nwp-511|nwp-511 vt100,
                   3428:        OTbs, OTpt, am, xenl,
1.1       millert  3429:        cols#80, lines#24,
1.11      millert  3430:        clear=\E[;H\E[2J$<20/>, cuf1=\E[C,
                   3431:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
                   3432:        ed=\E[J$<30/>, el=\E[K$<3/>,
                   3433:        flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
                   3434:        il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D,
                   3435:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
                   3436:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H,
                   3437:        ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
                   3438:        rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h,
                   3439:        smso=\E[7m$<2/>, smul=\E[4m$<2/>,
                   3440: # (news517: this had :TY=sjis:. --esr)
                   3441: nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
                   3442:        eslok, hs,
                   3443:        cols#80, lines#30,
                   3444:        OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
                   3445:        is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1.24    ! millert  3446:        tsl=\E[1$}\E[;%df, use=vt200,
1.11      millert  3447: # (news517-w: this had :TY=sjis:. --esr)
                   3448: nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
1.1       millert  3449:        eslok, hs,
1.11      millert  3450:        cols#132, lines#50,
                   3451:        OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
                   3452:        is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
                   3453:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
                   3454:        tsl=\E[1$}\E[;%df, use=vt200,
1.1       millert  3455:
                   3456: #### Common Desktop Environment
                   3457: #
                   3458:
                   3459: # This ships with Sun's CDE in Solaris 2.5
                   3460: # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
                   3461: dtterm|CDE desktop terminal,
                   3462:        am, mir, msgr, xenl, xon,
1.20      millert  3463:        cols#80, it#8, lines#24, lm#0, ncv@,
1.1       millert  3464:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   3465:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3466:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   3467:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   3468:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   3469:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   3470:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
1.11      millert  3471:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
                   3472:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H,
                   3473:        ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
                   3474:        ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l,
                   3475:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1.1       millert  3476:        kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
                   3477:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   3478:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   3479:        kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
                   3480:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   3481:        kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
1.20      millert  3482:        kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
                   3483:        rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, rmul=\E[24m,
                   3484:        sc=\E7,
1.1       millert  3485:        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%;,
1.11      millert  3486:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
1.24    ! millert  3487:        smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, use=ecma+color,
1.1       millert  3488:
1.11      millert  3489: #### Non-Unix Consoles
1.1       millert  3490: #
                   3491:
1.11      millert  3492: # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
                   3493: # a Unix-style environment used on OS/2.  (Note that the suffix makes some
                   3494: # names longer than 14 characters, the nominal maximum).
1.1       millert  3495: #
1.11      millert  3496: # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
                   3497: ansi-emx|ANSI.SYS color,
                   3498:        am, bce, eo, mir, msgr, xenl, xon,
                   3499:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   3500:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3501:        clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   3502:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   3503:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   3504:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   3505:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   3506:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   3507:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   3508:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m,
                   3509:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m,
                   3510:        rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm,
                   3511:        setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h,
                   3512:        smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m,
                   3513:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   3514: ansi-color-2-emx|ANSI.SYS color 2,
                   3515:        am, bce, eo, mir, msgr, xenl, xon,
                   3516:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   3517:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3518:        clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   3519:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   3520:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   3521:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   3522:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   3523:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   3524:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   3525:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
                   3526:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m,
                   3527:        rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm,
                   3528:        setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h,
                   3529:        smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m,
                   3530:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   3531: ansi-color-3-emx|ANSI.SYS color 3,
                   3532:        am, bce, eo, mir, msgr, xenl, xon,
                   3533:        colors#16, cols#80, it#8, lines#25, pairs#64,
                   3534:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   3535:        clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
                   3536:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   3537:        dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
                   3538:        home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
                   3539:        kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
                   3540:        kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@,
                   3541:        kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O,
                   3542:        knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m,
                   3543:        rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m,
                   3544:        rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm,
                   3545:        setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h,
                   3546:        smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m,
                   3547:        tbc=\E[3g, u8=\E[?6c, u9=\E[c,
                   3548: mono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
                   3549:        am,
1.1       millert  3550:        cols#80, it#8, lines#24,
1.11      millert  3551:        clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   3552:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   3553:        ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
                   3554:        kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
                   3555:        kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
                   3556:        kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
                   3557:        sgr0=\E[0m,
1.1       millert  3558:
1.11      millert  3559: # Use this for cygwin32 (tested with beta 19.1)
                   3560: # underline is colored bright magenta
                   3561: # shifted kf1-kf12 are kf11-kf22
                   3562: cygwin|ansi emulation for cygwin32,
                   3563:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   3564:        kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
                   3565:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   3566:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   3567:        kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
                   3568:        kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   3569:        khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@,
                   3570:        use=ansi.sys,
1.1       millert  3571:
1.11      millert  3572: # This entry fits the Windows NT console when the _POSIX_TERM environment
                   3573: # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
                   3574: # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
                   3575: # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
                   3576: # systems is not, and (surprise!) they match very well.
1.1       millert  3577: #
1.11      millert  3578: # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
                   3579: # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
                   3580: # are the installation instructions a pile of mind-numbing bureaucratese,
                   3581: # but the termcap entry is actually broken and unusable as given; the :do:
                   3582: # capability is misspelled "d".
1.1       millert  3583: #
                   3584: # To use this, you need to a bunch of environment variables:
                   3585: #
                   3586: # SET _POSIX_TERM=on
                   3587: # SET TERM=ansi
                   3588: # SET TERMCAP=location of termcap file in POSIX file format
                   3589: # which is case-sensitive.
                   3590: # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
                   3591: # SET TMP=//C/TEMP
                   3592: #
                   3593: # Important note: setting the TMP environment variable in POSIX style renders
                   3594: # it incompatible with a lot of other applications, including Visual C++. So
                   3595: # you should have a separate command window just for vi. All the other
                   3596: # variables may be permanently set in the Control Panel\System applet.
                   3597: #
                   3598: # You can find out more about the restrictions of this facility at
                   3599: # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
                   3600: #
                   3601: # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
                   3602: ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
                   3603:        am, bw, msgr,
                   3604:        cols#80, it#8, lines#25,
                   3605:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   3606:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   3607:        home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
                   3608:        kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
                   3609:        ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
1.14      millert  3610: # From: jew@venus.sunquest.com
                   3611: # Date: 19 Feb 93 23:41:07 GMT
                   3612: # Here's  a  combination of  ansi and  vt100 termcap
                   3613: # entries   that  works  nearly   perfectly  for  me
                   3614: # (Gateway 2000 Handbook and Microsoft Works 3.0):
                   3615: pcmw|PC running Microsoft Works,
                   3616:        am, xenl,
                   3617:        cols#80, it#8, lines#24, vt#3,
                   3618:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   3619:        clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J,
                   3620:        cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
                   3621:        cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
                   3622:        ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H,
                   3623:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   3624:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>,
                   3625:        rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/lib/tabset/vt100,
                   3626:        ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
                   3627:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   3628:        sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
                   3629:        tbc=\E[3g$<2/>,
1.1       millert  3630:
                   3631: ######## COMMON TERMINAL TYPES
                   3632: #
                   3633: # This section describes terminal classes and maker brands that are still
                   3634: # quite common, but have proprietary command sets not blessed by ANSI.
                   3635: #
                   3636:
1.11      millert  3637: #### Altos
1.1       millert  3638: #
1.11      millert  3639: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
                   3640: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
                   3641: # Acer has a web site at http://www.acer.com.
1.1       millert  3642: #
1.11      millert  3643: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   3644: # His comments suggest they were shipped with the system.
1.1       millert  3645: #
                   3646:
1.11      millert  3647: # (altos2: had extension capabilities
                   3648: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   3649: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   3650: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   3651: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   3652: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   3653: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   3654: #      :HL=^AP\r:SP=\E[i:\
                   3655: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   3656: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   3657: # Comparison with the k* capabilities makes it obvious that the c* things are
                   3658: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   3659: # :sr: was given as a boolean-- esr)
                   3660: altos2|alt2|altos-2|altos II,
                   3661:        cols#80, it#8, lines#24, xmc#0,
                   3662:        clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
                   3663:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M,
                   3664:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   3665:        if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
                   3666:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
                   3667:        kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
                   3668:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
                   3669:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
                   3670:        kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   3671:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
                   3672:        kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   3673:        kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
                   3674:        nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   3675:        smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   3676: # (altos3: had extension capabilities
                   3677: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   3678: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   3679: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   3680: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   3681: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   3682: #      :HL=^AP\r:SP=\E[i:\
                   3683: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   3684: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
1.24    ! millert  3685:        blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2,
1.11      millert  3686: altos4|alt4|altos-4|altos IV,
                   3687:        use=wy50,
                   3688: # (altos7: had extension capabilities:
                   3689: #      :GG#0:GI=\EH8:GF=\EH7:\
                   3690: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   3691: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   3692: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   3693: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   3694: # Comparison with the k* capabilities makes it obvious that the c* things are
                   3695: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
                   3696: # also made this entry relative to adm12 in order to give it an <sgr>. The
                   3697: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
                   3698: altos7|alt7|altos VII,
                   3699:        am, mir,
                   3700:        cols#80, lines#24, xmc#0,
                   3701:        acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt,
                   3702:        clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.1       millert  3703:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  3704:        dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
                   3705:        ind=^J, invis=\EG1,
                   3706:        is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
                   3707:        kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
                   3708:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
                   3709:        kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
                   3710:        kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
                   3711:        kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
                   3712:        kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   3713:        kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
                   3714:        knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
1.24    ! millert  3715:        rmir=\Er, smir=\Eq, use=adm+sgr,
1.11      millert  3716: altos7pc|alt7pc|altos PC VII,
                   3717:        kend=\ET, use=altos7,
                   3718:
                   3719: #### Hewlett-Packard (hp)
                   3720: #
                   3721: #      Hewlett-Packard
                   3722: #      8000 Foothills Blvd
                   3723: #      Roseville, CA 95747
                   3724: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   3725: #           1-(800)-633-3600   (General customer support)
                   3726: #
1.14      millert  3727: #
                   3728: # As of March 1998, HP no longer has any terminals in production.
                   3729: # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
                   3730: # supported (they still have parts). So are the 2392a and 2394a.
                   3731: # See the WORKSTATION CONSOLES section for the 700s.
                   3732: #
1.11      millert  3733:
                   3734: # Generic HP terminal - this should (hopefully) work on any HP terminal.
                   3735: hpgeneric|hp|hewlett-packard generic terminal,
                   3736:        OTbs, OTpt, am, da, db, mir, xhp,
                   3737:        cols#80, lines#24, lm#0, vt#6,
                   3738:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   3739:        cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
                   3740:        ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
                   3741:        ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
                   3742:        sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
                   3743:        vpa=\E&a%p1%dY,
                   3744:
                   3745: hp110|hewlett-packard model 110 portable,
                   3746:        lines#16, use=hpgeneric,
                   3747:
                   3748: hp+pfk+cr|hp function keys with CR,
                   3749:        kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
                   3750:        kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
                   3751:
                   3752: hp+pfk-cr|hp function keys w/o CR,
                   3753:        kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
                   3754:        kf8=\Ew,
                   3755:
                   3756: # The hp2621s use the same keys for the arrows and function keys,
                   3757: # but not separate escape sequences. These definitions allow the
                   3758: # user to use those keys as arrow keys rather than as function
                   3759: # keys.
                   3760: hp+pfk+arrows|hp alternate arrow definitions,
                   3761:        kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
                   3762:        kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
                   3763:        kll=\Eq\r, kri=\Es\r,
                   3764:
                   3765: hp+arrows|hp arrow definitions,
                   3766:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   3767:        kind=\ES, kll=\EF, kri=\ET,
                   3768:
                   3769: # Generic stuff from the HP 262x series
1.1       millert  3770: #
1.11      millert  3771: hp262x|HP 262x terminals,
                   3772:        xhp,
                   3773:        blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
                   3774:        invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   3775:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   3776:        kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
                   3777:        krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   3778:        sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c,
                   3779:        sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
                   3780:
                   3781: # Note: no <home> on HPs since that homes to top of memory, not screen.
                   3782: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   3783: # transmit anything at all is to turn on the function key labels
                   3784: # with <smkx>, and even then the user has to hold down shift!
                   3785: # The default 2621 turns off the labels except when it has to to
                   3786: # enable the function keys. If your installation prefers labels
                   3787: # on all the time, or off all the time (at the "expense" of the
                   3788: # function keys), use 2621-nl or 2621-wl.
                   3789: #
                   3790: # Note: there are newer ROMs for 2621's that allow you to set
                   3791: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   3792: # 2645. However, even with this strap set, the terminal stops
                   3793: # xmitting if you reset it, until you unset and reset the strap!
                   3794: # Since there is no way to set/unset the strap with an escape
                   3795: # sequence, we don't use it in the default.
                   3796: # If you like, you can use 2621-ba (brain-damaged arrow keys).
                   3797: hp2621-ba|2621 w/new rom and strap A set,
1.24    ! millert  3798:        rmkx@, smkx@, use=hp+arrows, use=hp2621,
1.11      millert  3799:
                   3800: # hp2621 with function labels. Most of the time they are off,
                   3801: # but inside vi, the function key labels appear. You have to
                   3802: # hold down shift to get them to xmit.
                   3803: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
1.24    ! millert  3804:        is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
1.11      millert  3805: hp2621-fl|hp 2621,
                   3806:        xhp@, xon,
                   3807:        pb#19200,
                   3808:        cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
                   3809:        ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   3810:        sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
                   3811:        use=hp+pfk+cr, use=hpgeneric,
                   3812:
                   3813: # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
                   3814: hp2621p|hp 2621 with printer,
                   3815:        mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
                   3816:
                   3817: hp2621p-a|hp2621p with fn as arrows,
                   3818:        use=hp+pfk+arrows, use=hp2621p,
                   3819:
                   3820: # hp2621 with k45 keyboard
                   3821: hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
                   3822:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
1.24    ! millert  3823:        khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621,
1.11      millert  3824:
                   3825: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   3826: hp2621-48|48 line 2621,
                   3827:        lines#48,
1.24    ! millert  3828:        cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR,
        !          3829:        use=hp2621,
1.11      millert  3830:
                   3831: # 2621 with no labels ever. Also prevents vi delays on escape.
                   3832: hp2621-nl|hp 2621 with no labels,
1.24    ! millert  3833:        kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@,
        !          3834:        use=hp2621-fl,
1.11      millert  3835:
                   3836: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   3837: # (wrong).
1.1       millert  3838: #
1.11      millert  3839: hp2621-nt|hp 2621 w/no tabs,
                   3840:        ht@, use=hp2621,
                   3841:
                   3842: # Hp 2624 B with 4 or 10 pages of memory.
                   3843: #
                   3844: # Some assumptions are made with this entry. These settings are
                   3845: # NOT set up by the initialization strings.
1.1       millert  3846: #
1.11      millert  3847: # Port Configuration
                   3848: #      RecvPace=Xon/Xoff
                   3849: #      XmitPace=Xon/Xoff
                   3850: #      StripNulDel=Yes
1.1       millert  3851: #
1.11      millert  3852: # Terminal Configuration
                   3853: #      InhHndShk=Yes
                   3854: #      InhDC2=Yes
                   3855: #      XmitFnctn(A)=No
                   3856: #      InhEolWrp=No
1.1       millert  3857: #
1.11      millert  3858: # Note: the 2624 DOES have a true <home>, believe it or not!
1.1       millert  3859: #
1.11      millert  3860: # The 2624 has an "error line" to which messages can be sent.
                   3861: # This is CLOSE to what is expected for a "status line". However,
                   3862: # after a message is sent to the "error line", the next carriage
                   3863: # return is EATEN and the "error line" is turned back off again!
                   3864: # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
1.1       millert  3865: #
1.11      millert  3866: # This entry supports emacs (and any other program that uses raw
                   3867: # mode) at 4800 baud and less. I couldn't get the padding right
                   3868: # for 9600.
1.1       millert  3869: #
1.11      millert  3870: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
                   3871: hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
                   3872:        da, db,
                   3873:        lm#96,
1.24    ! millert  3874:        flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F,
        !          3875:        use=hp+labels, use=scrhp,
1.11      millert  3876:
                   3877: # This hp2626 entry does not use any of the fancy windowing stuff
                   3878: # of the 2626.
                   3879: #
                   3880: # Indeed, terminfo does not yet handle such stuff. Since changing
                   3881: # any window clears memory, it is probably not possible to use
                   3882: # this for screen opt.
                   3883: #
                   3884: # ed is incredibly slow most of the time - I am guessing at the
                   3885: # exact padding. Since the terminal uses xoff/xon this is intended
                   3886: # only for cost computation, so that the terminal will prefer el
                   3887: # or even dl1 which is probably faster!
                   3888: #
                   3889: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   3890: # extra slow on the last line of the window.
                   3891: #
                   3892: # The padding probably should be changed.
1.1       millert  3893: #
1.11      millert  3894: hp2626|hp2626a|hp2626p|hp 2626,
                   3895:        da, db,
                   3896:        lm#0, pb#19200,
                   3897:        ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
1.24    ! millert  3898:        is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr,
        !          3899:        use=hp+labels, use=scrhp,
1.11      millert  3900:
                   3901: # This entry is for sysline. It allocates a 23 line window with
                   3902: # a 115 line workspace for regular use, and a 1 line window for
                   3903: # the status line.
                   3904: #
                   3905: # This assumes port 2 is being used.
                   3906: # Turn off horizontal line, Create ws #1 with 115 lines,
                   3907: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   3908: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   3909: # Note that this clears the tabs so it must be done by tset before
                   3910: # it sets the tabs.
1.1       millert  3911: #
1.11      millert  3912: hp2626-s|hp 2626 using only 23 lines,
                   3913:        eslok, hs,
                   3914:        lines#23,
                   3915:        fsl=\E&d@\E&w7f2p1I\E&w4f1I,
                   3916:        is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
1.24    ! millert  3917:        tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626,
1.11      millert  3918: # Force terminal back to 24 lines after being 23.
                   3919: hp2626-ns|hp 2626 using all 24 lines,
1.24    ! millert  3920:        is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
        !          3921:        use=hp2626,
1.11      millert  3922: # Various entries useful for small windows on 2626.
                   3923: hp2626-12|hewlett-packard 2626 12 lines,
                   3924:        lines#12, use=hp2626,
                   3925: hp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
                   3926:        cols#40, lines#12, use=hp2626,
                   3927: hp2626-x40|hewlett-packard 2626 40 columns,
                   3928:        cols#40, use=hp2626,
                   3929: hp2626-12-s|hewlett-packard 2626 11 lines plus status,
                   3930:        lines#11, use=hp2626-s,
                   3931:
1.1       millert  3932: #
1.11      millert  3933: # hp2627 color tubes from University of Wisconsin
1.1       millert  3934: #
1.11      millert  3935: hp2627a-rev|hp 2627 with reverse video colors,
                   3936:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   3937:        is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
                   3938:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
1.24    ! millert  3939:        smul=\E&dD\E&v1S, use=hp2621-nl,
1.11      millert  3940: hp2627a|hp 2627 color terminal with no labels,
                   3941:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   3942:        is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
                   3943:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
                   3944:        rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
                   3945:        use=hp2621-nl,
                   3946: hp2627c|hp 2627 color (cyan) terminal with no labels,
                   3947:        cr=^M, cud1=^J, ht=^I, ind=^J,
                   3948:        is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
1.24    ! millert  3949:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a,
1.11      millert  3950:
                   3951: # hp2640a doesn't have the Y cursor addressing feature, and C is
                   3952: # memory relative instead of screen relative, as we need.
1.1       millert  3953: #
1.11      millert  3954: hp2640a|hp 2640a,
                   3955:        cup@, rmkx@, smkx@, use=hp2645,
                   3956:
                   3957: hp2640b|hp2644a|hp 264x series,
                   3958:        rmkx@, smkx@, use=hp2645,
                   3959:
                   3960: # (hp2641a: removed unknown :gu: -- esr)
                   3961: hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
                   3962:        am, da, db, mir, xhp,
                   3963:        cols#80, lines#24,
                   3964:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   3965:        cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
                   3966:        ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
                   3967:        if=/usr/share/tabset/std, il1=\EL, ind=^J,
                   3968:        is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   3969:        rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
                   3970:        vpa=\E&a%p1%2dY,
                   3971:
                   3972: # This terminal should be used at 4800 baud or less. It needs padding for
                   3973: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   3974: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   3975: # software to support it.
                   3976: hp2645|hp45|HP 2645 series,
                   3977:        pb#9600,
                   3978:        blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
                   3979:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   3980:        ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
                   3981:        kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
                   3982:        rmkx=\E&s0A,
                   3983:        sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c,
1.24    ! millert  3984:        sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric,
1.11      millert  3985: # You should use this terminal at 4800 baud or less.
                   3986: hp2648|hp2648a|HP 2648a graphics terminal,
                   3987:        clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
1.24    ! millert  3988:        dch1=\EP$<7>, ip=$<5>, use=hp2645,
1.11      millert  3989:
                   3990: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   3991: # clreol standout problem. It also has graphics capabilities and
                   3992: # a touch screen, which we don't describe here.
                   3993: hp150|hewlett packard Model 150,
                   3994:        OTbs, use=hp2622,
                   3995:
                   3996: # HP 2382a terminals, "the little ones." They don't have any
                   3997: # alternate character set support and sending out ^N/^O will
                   3998: # leave the screen blank.
                   3999: hp2382a|hp2382|hewlett packard 2382a,
                   4000:        da, db,
                   4001:        lh#1, lm#48,
                   4002:        acsc@,
                   4003:        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   4004:        rmacs@,
                   4005:        sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c,
1.24    ! millert  4006:        sgr0=\E&d@, smacs@, use=hp+labels, use=scrhp,
1.11      millert  4007:
                   4008: hp2621-a|hp2621a-a|hp2621 with fn as arrows,
                   4009:        use=hp+pfk+arrows, use=hp2621-fl,
                   4010:
                   4011: # newer hewlett packard terminals
                   4012:
                   4013: newhpkeyboard|generic entry for HP extended keyboard,
                   4014:        kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   4015:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
                   4016:        kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
                   4017:        kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
                   4018:        use=hp+pfk-cr,
                   4019:
                   4020: newhp|generic entry for new hewlett packard terminals,
                   4021:        am, bw, mir, xhp, xon,
                   4022:        cols#80, lines#24, pb#4800,
                   4023:        acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.,
                   4024:        bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
                   4025:        cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
                   4026:        dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
                   4027:        invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
                   4028:        pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
                   4029:        pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
                   4030:        pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
                   4031:        rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
                   4032:        sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;,
                   4033:        sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
1.24    ! millert  4034:        tbc=\E3, use=newhpkeyboard,
1.11      millert  4035:
                   4036: memhp|memory relative addressing for new HP ttys,
                   4037:        vt#6,
                   4038:        clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
                   4039:        cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
                   4040:        home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
                   4041:        mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
                   4042:
                   4043: scrhp|screen relative addressing for new HP ttys,
                   4044:        clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
                   4045:        cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
                   4046:        cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
                   4047:        home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
                   4048:        mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
                   4049:
                   4050: # (hp+labels: added label values from a BRL termcap -- esr)
                   4051: hp+labels|"standard" label info for new HP ttys,
                   4052:        lh#2, lw#8, nlab#8,
                   4053:        lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
                   4054:        pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
                   4055:        rmln=\E&j@, smln=\E&jB,
                   4056:
                   4057: hp+printer|"standard" printer info for HP ttys,
                   4058:        ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
                   4059:
                   4060:
                   4061: # The new hp2621b is kind of a cross between the old 2621 and the
                   4062: # new 262x series of machines. It has dip-switched options.
                   4063: # The firmware has a bug in it such that if you give it a null
                   4064: # length label, the following character is eaten!
                   4065: hp2621b|hp 2621b with old style keyboard,
                   4066:        lh#1, lm#48, lw#8, nlab#8,
                   4067:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   4068:        kind=\ET, kll=\EF, kri=\ES,
                   4069:        pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r,
1.24    ! millert  4070:        smln=\E&jB, use=hp2621,
1.11      millert  4071:
                   4072: hp2621b-p|hp 2621b with printer,
                   4073:        use=hp+printer, use=hp2621b,
                   4074:
                   4075: # hp2621b - new 2621b with new extended keyboard
                   4076: # these are closer to the new 26xx series than the other 2621b
                   4077: hp2621b-kx|hp 2621b with extended keyboard,
                   4078:        use=newhpkeyboard, use=hp2621b,
                   4079:
                   4080: hp2621b-kx-p|hp 2621b with new keyboard & printer,
                   4081:        use=hp+printer, use=hp2621b-kx,
                   4082:
                   4083: # Some assumptions are made in the following entries.
                   4084: # These settings are NOT set up by the initialization strings.
                   4085: #
                   4086: #    Port Configuration
                   4087: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   4088: #
                   4089: #    Terminal Configuration
                   4090: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   4091: # XmitFnctn(A)=No              InhEolWrp=No
1.1       millert  4092: #
1.11      millert  4093: #
                   4094: # Hp 2622a & hp2623a display and graphics terminals
1.1       millert  4095: #
1.11      millert  4096: hp2622|hp2622a|hp 2622,
                   4097:        da, db,
                   4098:        lm#0, pb#19200,
                   4099:        is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
                   4100:
                   4101: # The 2623 is a 2622 with extra graphics hardware.
                   4102: hp2623|hp2623a|hp 2623,
                   4103:        use=hp2622,
                   4104:
                   4105: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
                   4106:        use=hp+printer, use=hp2624,
                   4107:
                   4108: # The hewlett packard B can have an optional extra 6 pages of memory.
                   4109: hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
                   4110:        lm#240, use=hp2624,
                   4111:
                   4112: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
                   4113:        lm#240, use=hp2624b-p,
                   4114:
                   4115: # Color manipulations for HP terminals
                   4116: hp+color|hp with colors,
                   4117:        ccc,
                   4118:        colors#16, ncv#17, pairs#7,
                   4119:        initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI,
                   4120:        oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
                   4121:        op=\E&v0S, scp=\E&v%p1%dS,
                   4122:
                   4123: # <is2> sets the screen to be 80 columns wide
                   4124: hp2397a|hp2397|hewlett packard 2397A color terminal,
1.24    ! millert  4125:        is2=\E&w6f80X, use=memhp, use=hp+labels, use=hp+color,
1.11      millert  4126:
                   4127: #  HP 700/44 Setup parameters:
                   4128: # Terminal Mode                HP-PCterm
                   4129: # Inhibit Auto Wrap    NO
                   4130: # Status Line          Host Writable
                   4131: # PC Character Set     YES
                   4132: # Twenty-Five Line Mode        YES
                   4133: # XON/XOFF             @128 or 64 (sc)
                   4134: # Keycode Mode                 NO   or YES (sc)
                   4135: # Backspace Key                BS or BS/DEL
1.1       millert  4136: #
1.11      millert  4137: # <is2>        sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
                   4138: # \E\\? does not turn off keycode mode
                   4139: # <smsc>       sets alternate start/stop; keycode on
                   4140: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
                   4141:        am, eo, xenl, xon,
                   4142:        cols#80, lines#25,
                   4143:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
                   4144:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
                   4145:        cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   4146:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   4147:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
                   4148:        ind=^J,
                   4149:        is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
                   4150:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   4151:        kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
                   4152:        kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
                   4153:        kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
                   4154:        kpp=\E[5~, rmam=\E[?7l,
                   4155:        rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
                   4156:        rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   4157:        smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
                   4158:        smul=\E[4m, xoffc=g, xonc=e,
1.1       millert  4159: #
1.11      millert  4160: # (hp2392: copied <rmir> here from hpex -- esr)
                   4161: hp2392|239x series,
                   4162:        cols#80,
                   4163:        cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
                   4164:        kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
                   4165:        kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
                   4166:        rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
                   4167:        use=hpsub,
                   4168:
                   4169: hpsub|hp terminals -- capability subset,
                   4170:        am, da, db, mir, xhp, xon,
                   4171:        lines#24,
                   4172:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   4173:        cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
                   4174:        ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
                   4175:        is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
                   4176:        kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
                   4177:        sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
                   4178:
                   4179: # hpex:
                   4180: #      May be used for most 24 x 80 hp terminals,
                   4181: # but has no padding added, so may allow runover in some terminals at high
                   4182: # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
                   4183: # hp98x5 terminal emulators or hp98x6 consoles.
                   4184: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   4185: # last line, and underline capabilities.
1.1       millert  4186: #
1.11      millert  4187: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
                   4188: # moved <rmir> here from hpsub -- esr)
                   4189: hpex|hp extended capabilites,
                   4190:        cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
                   4191:        kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
1.24    ! millert  4192:        smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub,
1.11      millert  4193:
                   4194: # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
                   4195: hp2|hpex2|hewlett-packard extended capabilities newer version,
                   4196:        am, da, db, mir, xhp,
                   4197:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
                   4198:        bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
                   4199:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   4200:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   4201:        il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
                   4202:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   4203:        ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   4204:        kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
                   4205:        kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
                   4206:        krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
                   4207:        pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
                   4208:        pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
                   4209:        pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
                   4210:        pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
                   4211:        rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   4212:        sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
                   4213:        sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
                   4214:        smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   4215:
                   4216: # HP 236 console
                   4217: # From: <ddavis@ic.berkeley.edu>
                   4218: hp236|hp236 internal terminal emulator,
                   4219:        OTbs, am,
                   4220:        cols#80, lines#24,
                   4221:        clear=\EF, cnorm=\EDE, cub1=^H,
                   4222:        cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
                   4223:        dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
                   4224:        sgr0=\ECI, smso=\EBI,
                   4225:
                   4226: # This works on a hp300 console running Utah 4.3 BSD
                   4227: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   4228: hp300h|HP Catseye console,
                   4229:        OTbs, am, da, db, mir, xhp,
                   4230:        cols#128, lines#51, lm#0, xmc#0,
                   4231:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
                   4232:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   4233:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
                   4234:        if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
                   4235:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
                   4236:        rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
                   4237:        smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
                   4238:        vpa=\E&a%p1%dY,
                   4239: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   4240: hp9837|hp98720|hp98721|HP 9000/300 workstations,
                   4241:        OTbs, am, da, db, mir, xhp,
                   4242:        cols#128, it#8, lines#46, lm#0,
                   4243:        bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
                   4244:        cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
                   4245:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   4246:        il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
                   4247:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   4248:        ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
                   4249:        kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
                   4250:        sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
                   4251:        tbc=\E3, vpa=\E&a%p1%dY,
                   4252: # HP 9845 desktop computer from BRL
                   4253: # (hp9845: removed unknown capability :gu: -- esr)
                   4254: hp9845|HP 9845,
                   4255:        OTbs, am, da, db, eo, mir, xhp,
                   4256:        cols#80, lines#21,
                   4257:        OTbc=\ED, clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY,
                   4258:        cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
                   4259:        if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,
                   4260:        smir=\EQ, smso=\E&dB,
                   4261: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
                   4262: # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
                   4263: # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
                   4264: hp98550|hp98550a|HP 9000 Series 300 color console,
                   4265:        OTbs, am, da, db, mir, xhp,
                   4266:        cols#128, it#8, lines#49, lm#0,
                   4267:        acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
                   4268:        clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   4269:        cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
                   4270:        dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
                   4271:        if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
                   4272:        kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   4273:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
                   4274:        kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   4275:        khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
                   4276:        knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
                   4277:        rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
                   4278:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
                   4279:        smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   4280: # From: Victor Duchovni <vic@fine.princeton.edu>
                   4281: # (hp700-wy: removed obsolete ":nl=^J:";
                   4282: # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
                   4283: hp700-wy|HP700/41 emulating wyse30,
                   4284:        OTbs, am, bw, mir, msgr,
                   4285:        cols#80, it#8, lines#24, xmc#1,
                   4286:        cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   4287:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4288:        dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
                   4289:        if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
                   4290:        is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
                   4291:        kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
                   4292:        kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
                   4293:        ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
                   4294:        sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
                   4295:        smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
1.14      millert  4296: hp70092|hp70092a|hp70092A|HP 700/92,
1.11      millert  4297:        am, da, db, xhp,
                   4298:        cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
                   4299:        acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
                   4300:        bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H,
                   4301:        cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
                   4302:        dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I,
                   4303:        hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
                   4304:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
                   4305:        ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   4306:        kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
                   4307:        kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
                   4308:        krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER,
                   4309:        rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
                   4310:        sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
                   4311:        smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
                   4312:
                   4313: bobcat|sbobcat|HP 9000 model 300 console,
                   4314:        am, da, db, mir, xhp,
                   4315:        cols#128, it#8, lines#47, xmc#0,
                   4316:        cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   4317:        cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>,
                   4318:        ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>,
                   4319:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   4320:        khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@,
                   4321:        rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB,
                   4322:        smul=\E&dD, vpa=\E&a%dY$<6/>,
                   4323: gator-t|HP 9000 model 237 emulating extra-tall AAA,
                   4324:        lines#94, use=gator,
                   4325: gator|HP 9000 model 237 emulating AAA,
                   4326:        bw, km, mir, ul,
                   4327:        cols#128, it#8, lines#47,
                   4328:        bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
                   4329:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
                   4330:        dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
                   4331:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
                   4332:        ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
                   4333:        il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
                   4334:        rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
                   4335:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   4336: gator-52|HP 9000 model 237 emulating VT52,
                   4337:        cols#128, lines#47, use=vt52,
                   4338: gator-52t|HP 9000 model 237 emulating extra-tall VT52,
                   4339:        lines#94, use=gator-52,
                   4340:
                   4341: #### Honeywell-Bull
1.1       millert  4342: #
1.11      millert  4343: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
1.1       millert  4344: #
1.11      millert  4345:
                   4346: # Honeywell Bull terminal.  Its cursor and function keys send single
                   4347: # control characters and it has standout/underline glitch.  Most programs
                   4348: # do not like these features/bugs.  Visual bell is realized by flashing the
                   4349: # "keyboard locked" LED.
                   4350: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
                   4351:        cols#80, lines#25,
                   4352:        clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
                   4353:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
                   4354:        flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
                   4355:        kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
                   4356: dku7003|Honeywell Bull DKU 7003 all features described,
                   4357:        msgr,
                   4358:        xmc#1,
                   4359:        blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
                   4360:        rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   4361:        use=dku7003-dumb,
                   4362:
                   4363: #### Lear-Siegler (adm)
1.1       millert  4364: #
1.11      millert  4365: # These guys are long since out of the terminals business, but
                   4366: # in 1995 many current terminals still have an adm type as one of their
                   4367: # emulations (usually their stupidest, and usually labeled adm3, though
                   4368: # these `adm3' emulations normally have adm3a+ capabilities).
                   4369: #
                   4370: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
                   4371: # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
                   4372: # was being held to ground would trigger a send of the top line on the screen.
                   4373: # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
                   4374: # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
                   4375: # for clearing up this point.)
                   4376:
                   4377: adm1a|adm1|lsi adm1a,
                   4378:        am,
                   4379:        cols#80, lines#24,
                   4380:        bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4381:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
                   4382:        ind=^J,
                   4383: adm2|lsi adm2,
                   4384:        OTbs, am,
                   4385:        cols#80, lines#24,
                   4386:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4387:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4388:        dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J,
                   4389:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
                   4390: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   4391: adm3|lsi adm3,
                   4392:        OTbs, am,
                   4393:        cols#80, lines#24,
                   4394:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   4395: # The following ADM-3A switch settings are assumed for normal operation:
                   4396: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   4397: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   4398: # Other switches may be set for operator convenience or communication
                   4399: # requirements.  I recommend
                   4400: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   4401: #      ETX_OFF         EOT_OFF
                   4402: # Most of these terminals required an option ROM to support lower case display.
                   4403: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   4404: # socket, you may be out of luck.
                   4405: #
                   4406: # (adm3a: some capabilities merged in from BRl entry -- esr)
                   4407: adm3a|lsi adm3a,
                   4408:        OTbs, am,
                   4409:        cols#80, lines#24,
                   4410:        OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H,
                   4411:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4412:        cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L,
                   4413:        kcuu1=^K, rs2=^N,
                   4414: adm3a+|adm3a plus,
                   4415:        kbs=^H, use=adm3a,
                   4416: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
                   4417: adm5|lsi adm5,
                   4418:        xmc#1,
                   4419:        bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
1.24    ! millert  4420:        rmso=\EG, smso=\EG, use=adm3a+,
1.11      millert  4421: # A lot of terminals other than adm11s use these.  Wherever you see
                   4422: # use=adm+sgr with some of its capabilities disabled, try the
                   4423: # disabled ones.  They may well work but not have been documented or
                   4424: # expressed in the using entry.  We'd like to cook up an <sgr> but the
                   4425: # <rmacs>/<smacs> sequences of the using entries vary too much.
                   4426: adm+sgr|adm style highlight capabilities,
                   4427:        invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
                   4428:        smso=\EG4, smul=\EG8,
                   4429: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
                   4430: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
                   4431: # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
                   4432: # be ^Z, according to his entry.
                   4433: # (adm11: <smul>=\EG4 was obviously erroneous because it also said
                   4434: # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
                   4435: adm11|LSI ADM-11,
                   4436:        OTbs, am, hs,
                   4437:        OTkn#8, cols#80, lines#24,
                   4438:        OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H,
                   4439:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4440:        cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I,
                   4441:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
                   4442:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4443:        kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
                   4444:        use=adm+sgr,
                   4445: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   4446: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
                   4447: # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
                   4448: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
                   4449: # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
                   4450: # via BRL.  That entry asserted <xmc#1>, but I've left that out because
                   4451: # neither earlier nor later ADMSs have it -- esr)
                   4452: #
                   4453: # You will need to get into the supervisor setup before you can set
                   4454: # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
                   4455: # see a lot more setup options.
                   4456: #
                   4457: # While in supervisor setup you can also use following codes:
                   4458: #
                   4459: # Ctrl-P Personality character selections (configure for example what
                   4460: #        arrow keys send, if I recall correctly)
                   4461: # Ctrl-T tabs 1-80   use left&right to move and up to set and
                   4462: # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
                   4463: # Ctrl-B Binary setup (probably not needed. I think that everything can
                   4464: #        be set using normal setup)
                   4465: # Ctrl-A Answerback mode (enter answerback message)
                   4466: # Ctrl-U User friendly mode (normal setup)
                   4467: # Ctrl-D Defaults entire setup and function keys from EPROM tables
                   4468: # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
                   4469: # Ctrl-R Reads both setup and functions keys from NVM.
                   4470: # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
                   4471: #
                   4472: # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
                   4473: # RTS/CTS used nowadays with virtually every modem and computer. 19200
                   4474: # bps works fine with hardware flow control.
                   4475: #
                   4476: # The following null-modem cable should fix this and enable you to use
                   4477: # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
                   4478: # set ADM-12+ for DTR handshaking from supervisor setup.
                   4479: #
                   4480: # PC Serial   ADM-12+
                   4481: #  --------   -------
                   4482: #         2 - 3
                   4483: #         3 - 2
                   4484: #         4 - 5
                   4485: #         5 - 20
                   4486: #       6,8 - 4
                   4487: #         7 - 7
                   4488: #        20 - 6,8
                   4489: #
                   4490: adm12|lsi adm12,
                   4491:        OTbs, OTpt, am, mir,
                   4492:        OTug#1, cols#80, it#8, lines#24,
                   4493:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4494:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4495:        dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
                   4496:        is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1,
                   4497:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   4498:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   4499:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0,
                   4500:        use=adm+sgr,
                   4501: # (adm20: removed obsolete ":kn#7:" -- esr)
                   4502: adm20|lear siegler adm20,
                   4503:        OTbs, am,
                   4504:        cols#80, it#8, lines#24,
                   4505:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
                   4506:        cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW,
                   4507:        dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE,
                   4508:        kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
                   4509:        sgr0=\E(, smso=\E),
                   4510: adm21|lear siegler adm21,
                   4511:        xmc#1,
                   4512:        bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET,
                   4513:        ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H,
1.24    ! millert  4514:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, use=adm+sgr,
        !          4515:        use=adm3a,
1.11      millert  4516: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
                   4517: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
                   4518: # removed bogus-looking \200 from before <cup>. -- esr)
                   4519: adm22|lsi adm22,
                   4520:        OTbs, am,
                   4521:        cols#80, lines#24,
                   4522:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4523:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   4524:        dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
                   4525:        is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0,
                   4526:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
                   4527:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4528:        kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   4529:        lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E),
                   4530: # ADM 31 DIP Switches
                   4531: #
                   4532: # This information comes from two versions of the manual for the
                   4533: # Lear-Siegler ADM 31.
                   4534: #
                   4535: # Main board:
                   4536: #                  rear of case
                   4537: #   +-||||-------------------------------------+
                   4538: #   + S1S2                              ||S    +
                   4539: #   +                                   ||3    +
                   4540: #   +                                          +
                   4541: #   +                                ||S       +
                   4542: #   +                                ||4       +
                   4543: #   +                                          +
                   4544: #   +                                          +
                   4545: #   +                                          +
                   4546: #   +                                          +
                   4547: #   +                                          +
                   4548: # +-+                                          +-+
                   4549: # +                                              +
                   4550: # +                               S5 S6 S7       +
                   4551: # +                               == == ==       +
                   4552: # +----------------------------------------------+
                   4553: #            front of case (keyboard)
                   4554: #
                   4555: #  S1 - Data Rate - Modem
                   4556: #  S2 - Data Rate - Printer
                   4557: # ------------------------
                   4558: # Data Rate   Setting
                   4559: # -------------------
                   4560: # 50          0 0 0 0
                   4561: # 75          1 0 0 0
                   4562: # 110         0 1 0 0
                   4563: # 134.5       1 1 0 0
                   4564: # 150         0 0 1 0
                   4565: # 300         1 0 1 0
                   4566: # 600         0 1 1 0
                   4567: # 1200        1 1 1 0
                   4568: # 1800        0 0 0 1
                   4569: # 2000        1 0 0 1
                   4570: # 2400        0 1 0 1
                   4571: # 3600        1 1 0 1
                   4572: # 4800        0 0 1 1
                   4573: # 7200        1 0 1 1
                   4574: # 9600        0 1 1 1
                   4575: # x           1 1 1 1
                   4576: #
                   4577: # S3 - Interface/Printer/Attributes
                   4578: # ---------------------------------
                   4579: # Printer Busy Control
                   4580: # sw1   sw2   sw3
                   4581: # ---------------
                   4582: # off   off   off   Busy not active, CD disabled
                   4583: # off   off   on    Busy not active, CD enabled
                   4584: # off   on    off   Busy active on J5-20, CD disabled
                   4585: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   4586: # on    off   on    Busy active on J5-19, CD enabled
                   4587: #
                   4588: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   4589: #
                   4590: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   4591: #
                   4592: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   4593: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   4594: #
                   4595: # sw7   ON - steady cursor - Factory Setting
                   4596: #       OFF - blinking cursor
                   4597: #
                   4598: # sw8   ON causes selected attribute character to be displayed
                   4599: #       OFF causes SPACE to be displayed instead - Factory Setting
                   4600: #
                   4601: # S4 - Interface
                   4602: # --------------
                   4603: # Modem Interface
                   4604: # S3    S4    S4    S4    S4
                   4605: # sw4   sw1   sw2   sw3   sw4
                   4606: # ---------------------------
                   4607: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   4608: #                               Current Loop disabled - Factory Setting
                   4609: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   4610: #                               disabled
                   4611: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   4612: #                               Current Loop Disabled
                   4613: #
                   4614: # sw5   ON disables dot stretching mode - Factory Setting
                   4615: #       OFF enables dot stretching mode
                   4616: # sw6   ON enables blanking function
                   4617: #       OFF enables underline function - Factory Setting
                   4618: # sw7   ON causes NULLS to be displayed as NULLS
                   4619: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   4620: #
                   4621: # S5 - Word Structure
                   4622: # -------------------
                   4623: # sw1   ON enables BREAK key - Factory Setting
                   4624: #       OFF disables BREAK key
                   4625: # sw2   ON selects 50Hz monitor refresh rate
                   4626: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   4627: #
                   4628: # Modem Port Selection
                   4629: # sw3   sw4   sw5
                   4630: # ---------------
                   4631: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   4632: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   4633: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   4634: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   4635: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   4636: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   4637: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   4638: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
1.1       millert  4639: #
                   4640: # sw6   ON  sends bit 8 a 1 (mark)
                   4641: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   4642: # sw7   ON  selects Block Mode
                   4643: #       OFF selects Conversation Mode - Factory Setting
                   4644: # sw8   ON  selects Full Duplex operation
                   4645: #       OFF selects Half Duplex operation - Factory Setting
                   4646: #
                   4647: # S6 - Printer
                   4648: # ------------
                   4649: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   4650: #
                   4651: # Printer Port Selection
                   4652: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   4653: #
                   4654: # sw8   ON   enables Printer Port
                   4655: #       OFF disables Printer Port - Factory Setting
                   4656: #
                   4657: # S7 - Polling Address
                   4658: # --------------------
                   4659: # sw1-7 Establish ASCII character which designates terminal polling address
                   4660: #       ON  = logic 0
                   4661: #       OFF = logic 1 - Factory Setting
                   4662: # sw8   ON   enables Polling Option
                   4663: #       OFF disables Polling Option - Factory Setting
                   4664: #
                   4665: #
                   4666: # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
                   4667: #
                   4668: # This adm31 entry uses underline as the standout mode.
                   4669: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   4670: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   4671: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   4672: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
                   4673: adm31|lsi adm31 with sw6 set for underline mode,
1.11      millert  4674:        OTbs, am, mir,
1.1       millert  4675:        cols#80, lines#24,
                   4676:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4677:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  4678:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0,
                   4679:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   4680:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   4681:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
1.1       millert  4682:        rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
1.11      millert  4683: adm31-old|o31|old adm31,
                   4684:        rmul@, smso=\EG4, smul@, use=adm31,
1.1       millert  4685: # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
                   4686: adm36|LSI ADM36,
1.11      millert  4687:        OTbs, OTpt,
1.1       millert  4688:        OTkn#4,
                   4689:        if=/usr/lib/tabset/vt100,
1.24    ! millert  4690:        is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l,
        !          4691:        use=vt100,
1.1       millert  4692: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   4693: adm42|lsi adm42,
                   4694:        OTbs, am,
                   4695:        cols#80, lines#24,
                   4696:        bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   4697:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
1.11      millert  4698:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I,
                   4699:        il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J,
                   4700:        kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@,
1.24    ! millert  4701:        smir=\Eq, smul@, use=adm+sgr,
1.1       millert  4702: # The following termcap for the Lear Siegler ADM-42 leaves the
                   4703: # "system line" at the bottom of the screen blank (for those who
                   4704: # find it distracting otherwise)
1.11      millert  4705: adm42-ns|lsi adm-42 with no system line,
                   4706:        cbt=\EI\EF \011, clear=\E;\EF \011,
                   4707:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011,
                   4708:        dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011,
                   4709:        el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011,
1.24    ! millert  4710:        smir=\Eq\EF \011, use=adm42,
1.1       millert  4711: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
                   4712: # The insert mode of this terminal is commented out because it's broken for our
                   4713: # purposes in that it will shift the position of every character on the page,
                   4714: # not just the cursor line!
                   4715: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
                   4716: adm1178|1178|lsi adm1178,
                   4717:        am,
                   4718:        cols#80, lines#24, xmc#1,
                   4719:        bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
                   4720:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4721:        cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
                   4722:        home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
1.11      millert  4723:        kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
                   4724:        sgr0=\E), smso=\EG4, smul=\EG1,
                   4725:
                   4726: #### Prime
                   4727: #
                   4728: # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
                   4729: # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
                   4730: # Prime merged with ComputerVision in the late 1980s; you can reach them at:
                   4731: #
                   4732: #      ComputerVision Services
                   4733: #      500 Old Connecticut Path
                   4734: #      Framingham, Mass.
                   4735: #
                   4736:
                   4737: # Standout mode is dim reverse-video.
                   4738: pt100|pt200|wren|fenix|prime pt100/pt200,
                   4739:        am, bw, mir, msgr,
                   4740:        cols#80, it#8, lines#24,
                   4741:        cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   4742:        cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
                   4743:        cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA,
                   4744:        cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M,
                   4745:        ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P,
                   4746:        home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D,
                   4747:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J,
                   4748:        rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m,
                   4749:        sgr0=\E[m,
                   4750:        smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
                   4751:        smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
                   4752: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
                   4753:        cols#132,
                   4754:        cup=\E[%i%p1%d;%p2%dH, use=pt100,
                   4755: pt250|Prime PT250,
                   4756:        rmso@, smso@, use=pt100,
                   4757: pt250w|Prime PT250 in 132-column mode,
                   4758:        rmso@, smso@, use=pt100w,
1.1       millert  4759:
                   4760: #### Qume (qvt)
                   4761: #
                   4762: #      Qume, Inc.
                   4763: #      3475-A North 1st Street
                   4764: #      San Jose CA 95134
                   4765: #      Vox: (800)-457-4447
                   4766: #      Fax: (408)-473-1510
                   4767: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   4768: #
                   4769: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   4770: # group and production division.
                   4771: #
                   4772: # Discontinued Qume models:
                   4773: #
                   4774: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   4775: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   4776: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   4777: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   4778: # ANSI-compatible terminals with the qvt323 and qvt61.
                   4779: #
                   4780: # Current Qume models (as of February 1995):
                   4781: #
                   4782: # All current Qume terminals have ANSI-compatible operation modes.
                   4783: # Qume is still producing the qvt62, which features emulations for other
                   4784: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   4785: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
                   4786: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
                   4787: # model is the qvt520, which is vt420-compatible.
                   4788: #
                   4789: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   4790: #
                   4791: # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
                   4792: # setup mode.  Shift-s should be a configuration save to NVRAM.
                   4793:
1.11      millert  4794: qvt101|qvt108|qume qvt 101 and QVT 108,
1.1       millert  4795:        xmc#1, use=qvt101+,
                   4796:
                   4797: # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
                   4798: # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
                   4799: # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
                   4800: # What seems to be going on here is that this entry was designed so that
                   4801: # the normal highlight is bold and standout is dim plus something else
                   4802: # (reverse-video maybe?  But then, are there two <rev> sequences?)
1.11      millert  4803: qvt101+|qvt101p|qume qvt 101 PLUS product,
                   4804:        am, bw, hs, ul,
                   4805:        cols#80, lines#24, xmc#0,
                   4806:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J,
                   4807:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   4808:        dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
                   4809:        flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
                   4810:        ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
                   4811:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET,
                   4812:        kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   4813:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   4814:        khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(,
1.24    ! millert  4815:        smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
1.11      millert  4816: qvt102|qume qvt 102,
                   4817:        cnorm=\E., use=qvt101,
1.1       millert  4818: # (qvt103: added <rmam>/<smam> based on init string -- esr)
1.11      millert  4819: qvt103|qume qvt 103,
                   4820:        am, xenl, xon,
                   4821:        cols#80, it#8, lines#24, vt#3,
                   4822:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   4823:        clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   4824:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   4825:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   4826:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   4827:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
                   4828:        hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   4829:        kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
                   4830:        rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
                   4831:        rmso=\E[m$<2>, rmul=\E[m$<2>,
                   4832:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   4833:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   4834:        sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
                   4835:        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   4836: qvt103-w|qume qvt103 132 cols,
                   4837:        cols#132, lines#24,
                   4838:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
                   4839: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
                   4840:        am, hs, mir, msgr,
                   4841:        cols#80, lines#24, xmc#0,
                   4842:        bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H,
                   4843:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   4844:        cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey,
                   4845:        el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I,
                   4846:        hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX,
                   4847:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r,
                   4848:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   4849:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4850:        mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8,
1.24    ! millert  4851:        tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
1.11      millert  4852: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
                   4853:        lines#25, use=qvt119+,
                   4854: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
                   4855:        cols#132,
                   4856:        is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
                   4857: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
1.1       millert  4858:        lines#25, use=qvt119+,
                   4859: qvt203|qvt203+|qume qvt 203 Plus,
1.11      millert  4860:        dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
                   4861:        ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
                   4862:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
1.24    ! millert  4863:        kf9=\E[28~, rmir=\E[4l, smir=\E[4h, use=qvt103,
1.11      millert  4864: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
                   4865:        cols#132, lines#24,
                   4866:        rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
1.1       millert  4867: #
                   4868: #      Since a command is present for enabling 25 data lines,
                   4869: #      a specific terminfo entry may be generated for the 203.
                   4870: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   4871: #      be selected in the status line (setup line 9).
                   4872: #
1.11      millert  4873: qvt203-25|QVT 203 PLUS with 25 by 80 column mode,
                   4874:        cols#80, lines#25,
                   4875:        is2=\E[=40h\E[?3l, use=qvt203,
                   4876: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
                   4877:        cols#132, lines#25,
                   4878:        rs2=\E[?3h\E[=40h, use=qvt203,
1.1       millert  4879:
                   4880: #### Televideo (tvi)
                   4881: #
                   4882: #      TeleVideo
                   4883: #      550 East Brokaw Road
                   4884: #      PO Box 49048    95161
                   4885: #      San Jose CA 95112
                   4886: #      Vox: (408)-954-8333
                   4887: #      Fax: (408)-954-0623
                   4888: #
                   4889: #
                   4890: # There are some tvi terminals that require incredible amounts of padding and
                   4891: # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
                   4892: # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
                   4893: #
                   4894: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   4895: # Televideo terminals are ANSI and PC-ANSI compatible.
                   4896:
1.11      millert  4897: tvi803|televideo 803,
                   4898:        clear=\E*$<10>, use=tvi950,
1.1       millert  4899:
                   4900: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
                   4901: # Switch settings are:
                   4902: #
                   4903: # S1  1 2 3 4
                   4904: #     D D D D  9600
                   4905: #     D D D U    50
                   4906: #     D D U D    75
                   4907: #     D D U U   110
                   4908: #     D U D D   135
                   4909: #     D U D U   150
                   4910: #     D U U D   300
                   4911: #     D U U U   600
                   4912: #     U D D D  1200
                   4913: #     U D D U  1800
                   4914: #     U D U D  2400
                   4915: #     U D U U  3600
                   4916: #     U U D D  4800
                   4917: #     U U D U  7200
                   4918: #     U U U D  9600
                   4919: #     U U U U 19200
                   4920: #
                   4921: # S1  5 6 7 8
                   4922: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   4923: #     U D X U  7N2
                   4924: #     U U D D  7O1
                   4925: #     U U D U  7O2
                   4926: #     U U U D  7E1
                   4927: #     U U U U  7E2
                   4928: #     D D X D  8N1
                   4929: #     D D X U  8N2
                   4930: #     D U D D  8O1
                   4931: #     D U U U  8E2
                   4932: #
                   4933: # S1  9  Autowrap
                   4934: #     U  on
                   4935: #     D  off
                   4936: #
                   4937: # S1 10  CR/LF
                   4938: #     U  do CR/LF when CR received
                   4939: #     D  do CR when CR received
                   4940: #
                   4941: # S2  1  Mode
                   4942: #     U  block
                   4943: #     D  conversational
                   4944: #
                   4945: # S2  2  Duplex
                   4946: #     U  half
                   4947: #     D  full
                   4948: #
                   4949: # S2  3  Hertz
                   4950: #     U  50
                   4951: #     D  60
                   4952: #
                   4953: # S2  4  Edit mode
                   4954: #     U  local
                   4955: #     D  duplex
                   4956: #
                   4957: # S2  5  Cursor type
                   4958: #     U  underline
                   4959: #     D  block
                   4960: #
                   4961: # S2  6  Cursor down key
                   4962: #     U  send ^J
                   4963: #     D  send ^V
                   4964: #
                   4965: # S2  7  Screen colour
                   4966: #     U  green on black
                   4967: #     D  black on green
                   4968: #
                   4969: # S2  8  DSR status (pin 6)
                   4970: #     U  disconnected
                   4971: #     D  connected
                   4972: #
                   4973: # S2  9  DCD status (pin 8)
                   4974: #     U  disconnected
                   4975: #     D  duplex
                   4976: #
                   4977: # S2 10  DTR status (pin 20)
                   4978: #     U  disconnected
                   4979: #     D  duplex
                   4980: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
                   4981: # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
                   4982: tvi910|televideo model 910,
1.11      millert  4983:        OTbs, am, msgr,
1.1       millert  4984:        cols#80, it#8, lines#24, xmc#1,
                   4985:        bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.11      millert  4986:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
                   4987:        home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I,
                   4988:        if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H,
                   4989:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
                   4990:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   4991:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   4992:        vpa=\E[%p1%{32}%+%c, use=adm+sgr,
1.1       millert  4993: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   4994: # as subsequently hacked over by someone at SCO
                   4995: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   4996: #
                   4997: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   4998: #
                   4999: # S1  1 2 3 4:
                   5000: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   5001: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   5002: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   5003: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   5004: #
                   5005: # S1  5 6 7 8:
                   5006: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   5007: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   5008: #     D U D D  8O1     D U U U  8E2
                   5009: #
                   5010: # S1  9  Autowrap            (U = on, D = off)
                   5011: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   5012: # S2  1  Mode                (U = block, D = conversational)
                   5013: # S2  2  Duplex              (U =  half, D = full)
                   5014: # S2  3  Hertz               (U = 50, D = 60)
                   5015: # S2  4  Edit mode           (U = local, D = duplex)
                   5016: # S2  5  Cursor type         (U = underline, D = block)
                   5017: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   5018: # S2  7  Screen colour       (U = green on black, D = black on green)
                   5019: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   5020: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   5021: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   5022: #
                   5023: tvi910+|televideo 910+,
1.11      millert  5024:        dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>,
                   5025:        kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
                   5026:        kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
1.24    ! millert  5027:        ll=\E=7\s, use=tvi910,
1.1       millert  5028:
                   5029: # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
                   5030: # <khome> from BRL entry -- esr)
                   5031: tvi912|tvi914|tvi920|old televideo 912/914/920,
                   5032:        OTbs, OTpt, am, msgr,
1.11      millert  5033:        cols#80, it#8, lines#24, xmc#1,
1.1       millert  5034:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5035:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  5036:        dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^,
                   5037:        ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt,
                   5038:        il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   5039:        kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   5040:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   5041:        kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,
                   5042:        tbc=\E3,
1.1       millert  5043: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   5044: # The 920 has this plus real function keys that xmit different things.
                   5045: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
                   5046: tvi912c|tvi912b|new televideo 912,
1.11      millert  5047:        dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912,
1.1       millert  5048: # set to page 1 when entering curses application (\E-17 )
                   5049: # reset to page 0 when exiting curses application (\E-07 )
                   5050: tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages,
1.11      millert  5051:        rmcup=\E-07\s, smcup=\E-17\s, use=tvi912,
1.1       millert  5052: # We got some new tvi912c terminals that act really weird on the regular
                   5053: # termcap, so one of our gurus worked this up. Seems that cursor
                   5054: # addressing is broken.
1.11      millert  5055: tvi912cc|tvi912 at cowell college,
                   5056:        cup@, use=tvi912c,
1.1       millert  5057:
                   5058: # Here are the switch settings for the tvi920c:
                   5059: #
                   5060: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   5061: # 2: 9600      3: 4800         4: 2400         5: 1200
                   5062: # 6:  600      7:  300         8:  150         9:   75
                   5063: # 10: 110
                   5064: #
                   5065: # S2 UART/Terminal options:
                   5066: #              Up                      Down
                   5067: # 1:           Not used                Not allowed
                   5068: # 2:   Alternate character set   Standard character set
                   5069: # 3:       Full duplex             Half duplex
                   5070: # 4:       50 Hz refresh           60 Hz refresh
                   5071: # 5:         No parity              Send parity
                   5072: # 6:        2 stop bits             1 stop bit
                   5073: # 7:        8 data bits             7 data bits
                   5074: # 8:           Not used                Not allowed on Rev E or lower
                   5075: # 9:        Even parity             Odd parity
                   5076: # 10:      Steady cursor           Blinking cursor
                   5077: #      (On Rev E or lower, use W25 instead of switch 10.)
                   5078: #
                   5079: # S5 UART/Terminal options:
                   5080: #              Open                    Closed
                   5081: # 1:   P3-6 Not connected      DSR received on P3-6
                   5082: # 2:   P3-8 Not connected      DCD received on P3-8
                   5083: #
                   5084: # 3 Open, 4 Open:              P3-20 Not connected
                   5085: # 3 Open, 4 Closed:    DTR on when terminal is on
                   5086: # 3 Closed, 4 Open:    DTR is connected to RTS
                   5087: # 3 Closed, 4 Closed:  Not allowed
                   5088: #
                   5089: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   5090: #              all data transmitted out of the modem port (P3) will also be
                   5091: #              transmitted out of the printer port (P4).
                   5092: #
                   5093: # 6 Open, 7 Open:              Not allowed
                   5094: # 6 Open, 7 Closed:    20ma current loop input
                   5095: # 6 Closed, 7 Open:    RS232 input
                   5096: # 6 Closed, 7 Closed:  Not allowed
                   5097: #
                   5098: # Jumper options:
                   5099: # If the jumper is installed, the effect will occur (the next time the terminal
                   5100: # is switched on).
                   5101: #
                   5102: # S4/W31:      Enables automatic LF upon receipt of CR from
                   5103: #              remote or keyboard.
                   5104: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   5105: #              installed, a carriage return is sent.
                   5106: # S4/W33:      Disables automatic carriage return in column 80.
                   5107: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   5108: #              installed, Extension Mode is selected.
                   5109: #
                   5110: tvi920b|tvi920c|new televideo 920,
                   5111:        dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r,
1.11      millert  5112:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
1.24    ! millert  5113:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, use=tvi912,
1.1       millert  5114:
                   5115: # Televideo 921 and variants
                   5116: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
                   5117: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
                   5118: # also added empty <acsc> to suppress tic warning -- esr)
                   5119: tvi921|televideo model 921 with sysline same as page & real vi function,
                   5120:        OTbs, OTpt, am, hs, xenl, xhp,
                   5121:        cols#80, lines#24, xmc#0,
1.11      millert  5122:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   5123:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
                   5124:        cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
                   5125:        el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
                   5126:        if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@,
                   5127:        is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H,
                   5128:        kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>,
                   5129:        ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%,
1.24    ! millert  5130:        rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, use=adm+sgr,
1.1       millert  5131: # without the beeper
                   5132: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
                   5133: # also added empty <acsc> to suppress tic warning -- esr)
                   5134: tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper,
                   5135:        am, hs, xenl, xhp,
                   5136:        cols#80, lines#24, xmc#0,
1.11      millert  5137:        acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
                   5138:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
                   5139:        cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
                   5140:        el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I,
                   5141:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   5142:        invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
1.1       millert  5143:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
1.11      millert  5144:        kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
1.24    ! millert  5145:        nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0, use=adm+sgr,
1.1       millert  5146: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   5147: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
                   5148:        dl1=\ER$<2*/>, il1=\EE$<2*/>,
                   5149:        is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
1.24    ! millert  5150:        kil1=\EE$<2*/>, use=tvi92B,
1.1       millert  5151:
                   5152: # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
                   5153: # in from a BSD termcap file because it looks like they do something the
                   5154: # old ones skip -- esr)
                   5155: tvi924|televideo tvi924,
                   5156:        am, bw, hs, in, mir, msgr, xenl, xon,
                   5157:        cols#80, it#8, lines#24, wsl#80, xmc#0,
1.11      millert  5158:        bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0,
                   5159:        cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c,
                   5160:        cub1=^H, cud1=^V, cuf1=^L,
                   5161:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1,
                   5162:        dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et,
                   5163:        flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1,
                   5164:        ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
                   5165:        invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0,
                   5166:        kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   5167:        kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r,
                   5168:        kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r,
                   5169:        kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
                   5170:        kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
                   5171:        kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4,
                   5172:        lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10,
1.24    ! millert  5173:        pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef,
        !          5174:        use=adm+sgr,
1.1       millert  5175:
                   5176: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   5177: #
                   5178: # Here are the settings for the external (baud) switches (S1):
                   5179: #
                   5180: #             Position         Baud
                   5181: # 7    8       9       10              [Printer]
                   5182: # 1    2       3       4               [Main RS232]
                   5183: # -----------------------------------------------------
                   5184: # D    D       D       D       9600
                   5185: # D    D       D       U         50
                   5186: # D    D       U       D         75
                   5187: # D    D       U       U        110
                   5188: # D    U       D       D        135
                   5189: # D    U       D       U        150
                   5190: # D    U       U       D        300
                   5191: # D    U       U       U        600
                   5192: # U    D       D       D       1200
                   5193: # U    D       D       U       1800
                   5194: # U    D       U       D       2400
                   5195: # U    D       U       U       3600
                   5196: # U    U       D       D       4800
                   5197: # U    U       D       U       7200
                   5198: # U    U       U       D       9600
                   5199: # U    U       U       U       19200
                   5200: #
                   5201: #
                   5202: # Settings for word length and stop-bits (S1)
                   5203: #
                   5204: #  Position    Description
                   5205: # 5    6
                   5206: # ---------------------------
                   5207: # U    -       7-bit word
                   5208: # D    -       8-bit word
                   5209: # -    U       2 stop bits
                   5210: # -    D       1 stop bit
                   5211: #
                   5212: #
                   5213: # S2 (external) settings
                   5214: #
                   5215: # Position     Up      Dn      Description
                   5216: # --------------------------------------------
                   5217: # 1            X               Local edit
                   5218: #                      X       Duplex edit (transmit editing keys)
                   5219: # --------------------------------------------
                   5220: # 2            X               912/920 emulation
                   5221: #                      X       925
                   5222: # --------------------------------------------
                   5223: # 3                    X
                   5224: # 4                    X       No parity
                   5225: # 5                    X
                   5226: # --------------------------------------------
                   5227: # 3                    X
                   5228: # 4                    X       Odd parity
                   5229: # 5            X
                   5230: # --------------------------------------------
                   5231: # 3                    X
                   5232: # 4            X               Even parity
                   5233: # 5            X
                   5234: # --------------------------------------------
                   5235: # 3            X
                   5236: # 4                    X       Mark parity
                   5237: # 5            X
                   5238: # --------------------------------------------
                   5239: # 3            X
                   5240: # 4            X               Space parity
                   5241: # 5            X
                   5242: # --------------------------------------------
                   5243: # 6            X               White on black display
                   5244: #                      X       Black on white display
                   5245: # --------------------------------------------
                   5246: # 7                    X       Half Duplex
                   5247: # 8                    X
                   5248: # --------------------------------------------
                   5249: # 7            X               Full Duplex
                   5250: # 8                    X
                   5251: # --------------------------------------------
                   5252: # 7                    X       Block mode
                   5253: # 8            X
                   5254: # --------------------------------------------
                   5255: # 9                    X       50 Hz
                   5256: #              X               60 Hz
                   5257: # --------------------------------------------
                   5258: # 10           X               CR/LF (Auto LF)
                   5259: #                      X       CR only
                   5260: #
                   5261: # S3 (internal switch) settings:
                   5262: #
                   5263: # Position     Up      Dn      Description
                   5264: # --------------------------------------------
                   5265: # 1            X               Keyclick off
                   5266: #                      X       Keyclick on
                   5267: # --------------------------------------------
                   5268: # 2                    X       English
                   5269: # 3                    X
                   5270: # --------------------------------------------
                   5271: # 2                    X       German
                   5272: # 3            X
                   5273: # --------------------------------------------
                   5274: # 2            X               French
                   5275: # 3                    X
                   5276: # --------------------------------------------
                   5277: # 2            X               Spanish
                   5278: # 3            X
                   5279: # --------------------------------------------
                   5280: # 4                    X       Blinking block cursor
                   5281: # 5                    X
                   5282: # --------------------------------------------
                   5283: # 4                    X       Blinking underline cursor
                   5284: # 5            X
                   5285: # --------------------------------------------
                   5286: # 4            X               Steady block cursor
                   5287: # 5                    X
                   5288: # --------------------------------------------
                   5289: # 4            X               Steady underline cursor
                   5290: # 5            X
                   5291: # --------------------------------------------
                   5292: # 6            X               Screen blanking timer (ON)
                   5293: #                      X       Screen blanking timer (OFF)
                   5294: # --------------------------------------------
                   5295: # 7            X               Page attributes
                   5296: #                      X       Line attributes
                   5297: # --------------------------------------------
                   5298: # 8            X               DCD disconnected
                   5299: #                      X       DCD connected
                   5300: # --------------------------------------------
                   5301: # 9            X               DSR disconnected
                   5302: #                      X       DSR connected
                   5303: # --------------------------------------------
                   5304: # 10           X               DTR Disconnected
                   5305: #                      X       DTR connected
                   5306: # --------------------------------------------
                   5307: #
                   5308: # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
                   5309: tvi925|televideo 925,
1.11      millert  5310:        OTbs, am, bw, hs, ul,
1.1       millert  5311:        cols#80, lines#24, xmc#1,
1.11      millert  5312:        bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V,
                   5313:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   5314:        cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
                   5315:        flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1,
                   5316:        ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z,
                   5317:        kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   5318:        ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
                   5319:        kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
                   5320:        kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3,
1.24    ! millert  5321:        tsl=\Eh\Ef, use=adm+sgr,
1.1       millert  5322: # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
                   5323: # to avoid "magic cookie" standout glitch:
                   5324: tvi925-hi|TeleVideo Model 925 with half intensity standout mode,
                   5325:        xmc@,
                   5326:        kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925,
                   5327:
                   5328: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   5329: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   5330: # for additional capabilities,
                   5331: # The following tvi descriptions from B:pjphar and virus!mike
                   5332: # is for all 950s.  It sets the following attributes:
                   5333: # full duplex (\EDF)           write protect off (\E()
                   5334: # conversation mode (\EC)      graphics mode off (\E%)
                   5335: # white on black (\Ed)         auto page flip off (\Ew)
                   5336: # turn off status line (\Eg)   clear status line (\Ef\r)
                   5337: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   5338: # edit mode (\Er)              load blank char to space (\Ee\040)
                   5339: # line edit mode (\EO)         enable buffer control (^O)
                   5340: # protect mode off (\E\047)    duplex edit keys (\El)
                   5341: # program unshifted send key to send line all (\E016)
                   5342: # program shifted send key to send line unprotected (\E004)
                   5343: # set the following to nulls:
                   5344: #      field delimiter (\Ex0\200\200)
                   5345: #      line delimiter (\Ex1\200\200)
                   5346: #      start-protected field delimiter (\Ex2\200\200)
                   5347: #      end-protected field delimiter (\Ex3\200\200)
                   5348: # set end of text delimiter to carriage return/null (\Ex4\r\200)
                   5349: #
                   5350: #                     TVI 950 Switch Setting Reference Charts
                   5351: #
                   5352: #                                     TABLE 1:
                   5353: #
                   5354: #      S1     1     2     3     4     5     6     7     8     9    10
                   5355: #          +-----------------------+-----+-----+-----------------------+
                   5356: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   5357: #          |                       |Bits |Bits |                       |
                   5358: #   +------+-----------------------+-----+-----+-----------------------+
                   5359: #   |  Up  |        See            |  7  |  2  |        See            |
                   5360: #   +------+-----------------------+-----+-----+-----------------------+
                   5361: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   5362: #   +------+-----------------------+-----+-----+-----------------------+
                   5363: #
                   5364: #
                   5365: #      S2     1     2     3     4     5     6     7     8     9    10
                   5366: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   5367: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   5368: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   5369: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   5370: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   5371: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   5372: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   5373: #
                   5374: #                                    TABLE 2:
                   5375: #
                   5376: #             +-----------+-----+-----+-----+-----+-----------+
                   5377: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   5378: #             +-----------+-----+-----+-----+-----+           |
                   5379: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   5380: #             +-----------+-----+-----+-----+-----+-----------+
                   5381: #                         |  D  |  D  |  D  |  D  |   9600    |
                   5382: #                         |  U  |  D  |  D  |  D  |     50    |
                   5383: #                         |  D  |  U  |  D  |  D  |     75    |
                   5384: #                         |  U  |  U  |  D  |  D  |    110    |
                   5385: #                         |  D  |  D  |  U  |  D  |    135    |
                   5386: #                         |  U  |  D  |  U  |  D  |    150    |
                   5387: #                         |  D  |  U  |  U  |  D  |    300    |
                   5388: #                         |  U  |  U  |  U  |  D  |    600    |
                   5389: #                         |  D  |  D  |  D  |  U  |   1200    |
                   5390: #                         |  U  |  D  |  D  |  U  |   1800    |
                   5391: #                         |  D  |  U  |  D  |  U  |   2400    |
                   5392: #                         |  U  |  U  |  D  |  U  |   3600    |
                   5393: #                         |  D  |  D  |  U  |  U  |   4800    |
                   5394: #                         |  U  |  D  |  U  |  U  |   7200    |
                   5395: #                         |  D  |  U  |  U  |  U  |   9600    |
                   5396: #                         |  U  |  U  |  U  |  U  |  19200    |
                   5397: #                         +-----+-----+-----+-----+-----------+
                   5398: #
                   5399: #                                    TABLE 3:
                   5400: #                         +-----+-----+-----+-----------+
                   5401: #                         |  3  |  4  |  5  |   Parity  |
                   5402: #                         +-----+-----+-----+-----------+
                   5403: #                         |  X  |  X  |  D  |    None   |
                   5404: #                         |  D  |  D  |  U  |     Odd   |
                   5405: #                         |  D  |  U  |  U  |    Even   |
                   5406: #                         |  U  |  D  |  U  |    Mark   |
                   5407: #                         |  U  |  U  |  U  |   Space   |
                   5408: #                         +-----+-----+-----+-----------+
                   5409: #                                 X = don't care
                   5410: #
                   5411: #                                     CHART:
                   5412: #                         +-----+-----+-----------------+
                   5413: #                         |  7  |  8  | Communication   |
                   5414: #                         +-----+-----+-----------------+
                   5415: #                         |  D  |  D  |  Half Duplex    |
                   5416: #                         |  D  |  U  |  Full Duplex    |
                   5417: #                         |  U  |  D  |     Block       |
                   5418: #                         |  U  |  U  |     Local       |
                   5419: #                         +-----+-----+-----------------+
                   5420: #
                   5421: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
                   5422: # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
                   5423: # should be present and all tvi native modes use the same string for this.
                   5424: # Finally, note that BSD has cud1=^V. -- esr)
1.11      millert  5425: tvi950|televideo 950,
                   5426:        OTbs, am, hs, mir, msgr, xenl, xon,
                   5427:        cols#80, it#8, lines#24, xmc#1,
                   5428:        acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*,
                   5429:        cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5430:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   5431:        dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
                   5432:        fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
                   5433:        invis@,
                   5434:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r,
                   5435:        kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
                   5436:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
                   5437:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   5438:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   5439:        kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X,
                   5440:        rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   5441:        use=adm+sgr,
1.1       millert  5442: #
                   5443: # is for 950 with two pages adds the following:
                   5444: #      set 48 line page (\E\\2)
                   5445: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   5446: #      set local (no send) edit keys (\Ek)
                   5447: #
                   5448: # two page 950 adds the following:
                   5449: #      when entering ex, set 24 line page (\E\\1)
                   5450: #      when exiting ex, reset 48 line page (\E\\2)
                   5451: #                       place cursor at 0,24,1 (\E-07 )
                   5452: #      set duplex (send) edit keys (\El) when entering vi
                   5453: #      set local (no send) edit keys (\Ek) when exiting vi
                   5454: #
1.11      millert  5455: tvi950-2p|televideo950 w/2 pages,
                   5456:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011,
                   5457:        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
1.24    ! millert  5458:        smkx=\El, use=tvi950,
1.1       millert  5459: #
                   5460: # is for 950 with four pages adds the following:
                   5461: #      set 96 line page (\E\\3)
                   5462: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   5463: #
                   5464: # four page 950 adds the following:
                   5465: #      when entering ex, set 24 line page (\E\\1)
                   5466: #      when exiting ex, reset 96 line page (\E\\3)
                   5467: #                       place cursor at 0,24,1 (\E-07 )
                   5468: #
1.11      millert  5469: tvi950-4p|televideo950 w/4 pages,
                   5470:        is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011,
                   5471:        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
1.24    ! millert  5472:        smkx=\El, use=tvi950,
1.1       millert  5473: #
                   5474: # <is2> for reverse video 950 changes the following:
                   5475: #      set reverse video (\Ed)
                   5476: #
                   5477: # set vb accordingly (\Ed ...delay... \Eb)
                   5478: #
1.11      millert  5479: tvi950-rv|televideo950 rev video,
                   5480:        flash=\Ed$<200/>\Eb,
1.24    ! millert  5481:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0,
        !          5482:        use=tvi950,
1.1       millert  5483:
                   5484: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
1.11      millert  5485: tvi950-rv-2p|televideo950 rev video w/2 pages,
                   5486:        flash=\Ed$<200/>\Eb,
                   5487:        is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s,
                   5488:        rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
1.24    ! millert  5489:        smkx=\El, use=tvi950,
1.1       millert  5490:
                   5491: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
1.11      millert  5492: tvi950-rv-4p|televideo950 rev video w/4 pages,
                   5493:        flash=\Ed$<200/>\Eb,
                   5494:        is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s,
                   5495:        rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
1.24    ! millert  5496:        smkx=\El, use=tvi950,
1.1       millert  5497: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
                   5498: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   5499: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
                   5500: # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
                   5501: # the :ko: string had :cl: in it, which means that one of the original
                   5502: # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
                   5503: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   5504: # ko implies -- esr)
                   5505: # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
                   5506: # also work.
                   5507: tvi955|televideo 955,
1.11      millert  5508:        OTbs, mc5i, msgr@,
1.1       millert  5509:        it#8, xmc@,
1.11      millert  5510:        acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2,
                   5511:        civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
1.1       millert  5512:        cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
1.11      millert  5513:        is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
                   5514:        knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%,
                   5515:        rmam=\E[=7l, rmxon=^N,
1.1       millert  5516:        rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r,
                   5517:        sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
1.11      millert  5518:        use=tvi950,
1.1       millert  5519: tvi955-w|955-w|televideo955 w/132 cols,
                   5520:        cols#132,
1.11      millert  5521:        is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
1.1       millert  5522: # use half-intensity as normal mode, full intensity as <bold>
                   5523: tvi955-hb|955-hb|televideo955 half-bright,
1.11      millert  5524:        bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El,
1.24    ! millert  5525:        sgr0=\EG0\E[=5h, use=tvi955,
1.1       millert  5526: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
                   5527: # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
                   5528: # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
                   5529: # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
                   5530: # it does to the function keys.  I deduced <rmam>/<smam>.
                   5531: # also added empty <acsc> to suppress tic warning,  -- esr)
                   5532: tvi970|televideo 970,
                   5533:        OTbs, OTpt, am, da, db, mir, msgr,
                   5534:        cols#80, it#8, lines#24,
1.11      millert  5535:        acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
                   5536:        cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
                   5537:        cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r,
                   5538:        ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H,
                   5539:        hpa=\E[%i%p1%dG, ht=^I, il1=\E[L,
                   5540:        is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J,
                   5541:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5542:        kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f,
                   5543:        kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B,
                   5544:        rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   5545:        sgr0=\E[m, smacs=\E(B, smam=\E[?7l,
                   5546:        smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,
                   5547:        smul=\E[4m, vpa=\E[%i%p1%dd,
1.1       millert  5548: tvi970-vb|televideo 970 with visual bell,
1.24    ! millert  5549:        flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
        !          5550:        use=tvi970,
1.1       millert  5551: tvi970-2p|televideo 970 with using 2 pages of memory,
1.11      millert  5552:        rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
1.1       millert  5553:        use=tvi970,
                   5554: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   5555: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
                   5556: # padding is needed, but adapted from the tvi920c termcap.  The <smso> and
                   5557: # <smul> strings are klutzy, but at least use no screen space.
                   5558: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
                   5559: # its absence means <smam>=\Ev isn't safe to use. -- esr)
                   5560: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
                   5561: # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
                   5562: # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
                   5563: tvipt|televideo personal terminal,
                   5564:        OTbs, am,
                   5565:        cols#80, lines#24,
                   5566:        cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
1.11      millert  5567:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>,
                   5568:        ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt,
                   5569:        il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
                   5570:        kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R,
                   5571:        rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH,
1.1       millert  5572: # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
1.11      millert  5573: tvi9065|televideo 9065,
                   5574:        am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
                   5575:        cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,
                   5576:        wnum#0, wsl#30,
                   5577:        acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G,
                   5578:        blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
                   5579:        cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
                   5580:        cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,
                   5581:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA,
                   5582:        cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp,
                   5583:        dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY,
                   5584:        el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
                   5585:        ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt,
                   5586:        il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1,
                   5587:        ip=$<3>,
                   5588:        is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er,
                   5589:        is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s,
                   5590:        kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
                   5591:        kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r,
                   5592:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   5593:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H,
                   5594:        mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J,
                   5595:        pfkey=\E|%p1%{48}%+%c3%p2%s\031,
                   5596:        pfloc=\E|%p1%{48}%+%c2%p2%s\031,
                   5597:        pfx=\E|%p1%{48}%+%c1%p2%s\031,
                   5598:        pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&,
                   5599:        rep=\E[%p2%db%p1%c, rev=\EG4,
                   5600:        rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
                   5601:        rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
                   5602:        rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,
                   5603:        rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
                   5604:        rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1,
                   5605:        rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0,
                   5606:        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%%%;,
                   5607:        sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,
                   5608:        smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,
                   5609:        tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0,
1.1       millert  5610:
                   5611: #### Visual (vi)
                   5612: #
                   5613: # In September 1993, Visual Technology of Westboro, Massachusetts,
                   5614: # merged with White Pine Software of Nashua, New Hampshire.
                   5615: #
                   5616: # White Pine Software may be contacted at +1 603/886-9050.
                   5617: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
                   5618: #
                   5619:
                   5620: # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
                   5621: # Recently I hacked together the following termcap for Visual
                   5622: # Technology's Visual 50 terminal. It's a slight modification of
                   5623: # the vt52 termcap.
                   5624: # It's intended to run when the Visual 50 is in vt52 emulation mode
                   5625: # (I know what you're thinking; if it's emulating a vt52, then why
                   5626: # another termcap? Well, it turns out that the Visual 50 can handle
                   5627: # <dl1> and db(?) among other things, which the vt52 can't)
                   5628: # The termcap works OK for the most part. The only problem is on
                   5629: # character inserts. The whole line gets painfully redrawn for each
                   5630: # character typed. Any suggestions?
                   5631: # Beau's entry is combined with the vi50 entry from University of Wisconsin.
                   5632: # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
                   5633: # disguise; <kf7>-<kf9> are really l1-l3.
                   5634: vi50|visual 50,
                   5635:        OTbs, OTpt, am, da, db, msgr,
                   5636:        cols#80, it#8, lines#24,
1.11      millert  5637:        OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H,
                   5638:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   5639:        cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH,
                   5640:        ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
                   5641:        kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV,
                   5642:        kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH,
                   5643:        nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES,
1.1       millert  5644: # this one was BSD & SCO's vi50
                   5645: vi50adm|visual 50 in adm3a mode,
                   5646:        am, msgr,
                   5647:        cols#80, it#8, lines#24,
                   5648:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5649:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
                   5650:        ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
1.11      millert  5651:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
                   5652:        rmso=\ET, smso=\EU,
1.14      millert  5653: # From: Jeff Siegal <jbs@quiotix.com>
1.1       millert  5654: vi55|Visual 55,
1.11      millert  5655:        OTbs, am, mir, msgr,
1.1       millert  5656:        cols#80, it#8, lines#24,
1.11      millert  5657:        clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H,
1.1       millert  5658:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
1.11      millert  5659:        cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   5660:        il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED,
                   5661:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET,
                   5662:        smir=\Ea, smso=\EU,
1.1       millert  5663:
                   5664: # Visual 200 from BRL
                   5665: # The following switch settings are assumed for normal operation:
                   5666: #      FULL_DUPLEX             SCROLL                  CR
                   5667: #      AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
                   5668: # Other switches may be set for operator convenience or communication
                   5669: # requirements.
                   5670: # Character insertion is kludged in order to get around the "beep" misfeature.
                   5671: # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
                   5672: # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
                   5673: # and <dl1> strings, but we seem to get along fine without them.
                   5674: vi200|visual 200,
                   5675:        OTbs, OTpt, am, mir, msgr,
                   5676:        OTkn#10, cols#80, it#8, lines#24,
                   5677:        acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H,
                   5678:        cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   5679:        cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey,
1.11      millert  5680:        el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea,
                   5681:        kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   5682:        kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p,
                   5683:        kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
                   5684:        kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,
                   5685:        kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,
                   5686:        rmacs=\EG, rmkx=\E>, rmso=\E3,
                   5687:        rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF,
                   5688:        smkx=\E=, smso=\E4, tbc=\Eg,
1.1       millert  5689: # The older Visuals didn't come with function keys. This entry uses
                   5690: # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
                   5691: # If your version of vi doesn't support function keys you may want
                   5692: # to use vi200-f.
                   5693: vi200-f|visual 200 no function keys,
                   5694:        is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
1.11      millert  5695:        kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w,
                   5696:        kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@,
                   5697:        use=vi200,
1.1       millert  5698: vi200-rv|visual 200 reverse video,
1.11      millert  5699:        cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
1.1       millert  5700:
                   5701: # the function keys are programmable but we don't reprogram them to their
                   5702: # default values with <is2> because programming them is very verbose. maybe
                   5703: # an initialization file should be made for the 300 and they could be stuck
                   5704: # in it.
                   5705: # (vi300: added <rmam>/<smam> based on init string -- esr)
1.11      millert  5706: vi300|visual 300 ansi x3.64,
                   5707:        am, bw, mir, xenl,
                   5708:        cols#80, lines#24,
                   5709:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   5710:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   5711:        dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   5712:        il1=\E[L, ind=^J,
                   5713:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
                   5714:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   5715:        kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\,
                   5716:        kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\,
                   5717:        kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l,
                   5718:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   5719:        smso=\E[1m, smul=\E[4m,
1.1       millert  5720: # some of the vi300s have older firmware that has the command
                   5721: # sequence for setting editing extent reversed.
1.11      millert  5722: vi300-old|visual 300 with old firmware (set edit extent reversed),
                   5723:        is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
                   5724:        use=vi300,
1.1       millert  5725:
                   5726: # Visual 500 prototype entry from University of Wisconsin.
                   5727: # The best place to look for the escape sequences is page A1-1 of the
                   5728: # Visual 500 manual.  The initialization sequence given here may be
                   5729: # overkill, but it does leave out some of the initializations which can
                   5730: # be done with the menus in set-up mode.
                   5731: # The :xp: line below is so that emacs can understand the padding requirements
                   5732: # of this slow terminal.  :xp: is 10 time the padding factor.
                   5733: # (vi500: removed unknown :xp#4: termcap;
                   5734: # also added empty <acsc> to suppress tic warning -- esr)
                   5735: vi500|visual 500,
                   5736:        am, mir, msgr,
                   5737:        cols#80, it#8, lines#33,
                   5738:        acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
                   5739:        csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
1.11      millert  5740:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   5741:        dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>,
                   5742:        el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>,
                   5743:        ind=^J,
1.1       millert  5744:        is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
                   5745:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   5746:        khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
1.11      millert  5747:        rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D,
1.1       millert  5748:
                   5749: # The visual 550 is a visual 300 with tektronix graphics,
                   5750: # and with 33 lines. clear screen is modified here to
                   5751: # also clear the graphics.
1.11      millert  5752: vi550|visual 550 ansi x3.64,
                   5753:        lines#33,
                   5754:        clear=\030\E[H\E[2J, use=vi300,
1.1       millert  5755:
                   5756: vi603|visual603|visual 603,
                   5757:        hs, mir,
1.11      millert  5758:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   5759:        csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C,
                   5760:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   5761:        dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L,
                   5762:        ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
                   5763:        rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   5764:        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~,
                   5765:        use=vt100,
1.1       millert  5766:
                   5767: #### Wyse (wy)
                   5768: #
                   5769: #      Wyse Technology
                   5770: #      3471 North First Street
                   5771: #      San Jose, CA 95134
                   5772: #      Vox: (408)-473-1200
                   5773: #      Fax: (408) 473-1222
                   5774: #      Web: http://www.wyse.com
                   5775: #
                   5776: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
                   5777: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
                   5778: # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
                   5779: # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
                   5780: #
                   5781: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
                   5782: # They now own the Qume and Amdek brands, too.  So these are the people to
                   5783: # talk with about all Link, Qume, and Amdek terminals.
                   5784: #
                   5785: # These entries include a few small fixes.
                   5786: # I canceled the bel capacities in the vb entries.
                   5787: # I made two trivial syntax fixes in the wyse30 entry.
                   5788: # I made some entries relative to adm+sgr.
                   5789: #
                   5790: #
                   5791: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   5792:
                   5793: #         Although the Wyse 30 can support more than one attribute
                   5794: #      it requires magic cookies to do so.  Many applications do not
                   5795: #      function well with magic cookies.  The following terminfo uses
                   5796: #      the protect mode to support one attribute (dim) without cookies.
                   5797: #      If more than one attribute is needed then the wy30-mc terminfo
                   5798: #      should be used.
                   5799: #
                   5800: wy30|wyse30|Wyse 30,
                   5801:        am, bw, hs, mc5i, mir, msgr, xon,
                   5802:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   5803:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   5804:        civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
                   5805:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   5806:        cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
                   5807:        dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
                   5808:        fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
                   5809:        ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
                   5810:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   5811:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
                   5812:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   5813:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
                   5814:        kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
1.11      millert  5815:        mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177,
                   5816:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
1.1       millert  5817:        rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   5818:        sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   5819:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   5820:        smso=\E`7\E), tbc=\E0, tsl=\EF,
                   5821: #
                   5822: #      This terminal description uses the non-hidden attribute mode
                   5823: #      (with magic cookie).
                   5824: #
                   5825: # (wy30-mc: added <smcup> to suppress tic warning --esr)
                   5826: wy30-mc|wyse30-mc|wyse 30 with magic cookies,
                   5827:        msgr@,
                   5828:        ma@, xmc#1,
                   5829:        blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
                   5830:        rmcup=\EG0, rmso=\EG0,
1.11      millert  5831:        sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
1.1       millert  5832:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
1.24    ! millert  5833:        smso=\EG4, use=wy30, use=adm+sgr,
1.1       millert  5834: #      The mandatory pause used by <flash> does not work with
                   5835: #      older versions of terminfo.  If you see this effect then
                   5836: #      unset xon and delete the / from the delay.
                   5837: #      i.e. change $<100/> to $<100>
                   5838: wy30-vb|wyse30-vb|wyse 30 visible bell,
                   5839:        bel@, use=wy30,
                   5840: #
                   5841: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   5842: #      Normal) without magic cookies by using the protect mode.
                   5843: #      The following description uses this feature, but when more
                   5844: #      than one attribute is put on the screen at once, all attributes
                   5845: #      will be changed to be the same as the last attribute given.
                   5846: #         The Wyse 50 can support more attributes when used with magic
                   5847: #      cookies.  The wy50-mc terminal description uses magic cookies
                   5848: #      to correctly handle multiple attributes on a screen.
                   5849: #
                   5850: wy50|wyse50|Wyse 50,
                   5851:        am, bw, hs, mc5i, mir, msgr, xon,
                   5852:        cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
                   5853:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
                   5854:        civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
                   5855:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   5856:        cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
                   5857:        ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   5858:        home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
                   5859:        is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H,
                   5860:        kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   5861:        kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   5862:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   5863:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   5864:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   5865:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   5866:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
1.11      millert  5867:        pfx=\Ez%p1%{63}%+%c%p2%s\177,
                   5868:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
1.1       millert  5869:        ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
                   5870:        sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
                   5871:        sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
                   5872:        smso=\E`6\E), tbc=\E0, tsl=\EF,
                   5873: #
                   5874: #      This terminal description uses the non-hidden attribute mode
                   5875: #      (with magic cookie).
                   5876: #
                   5877: #      The mandatory pause used by flash does not work with some
                   5878: #      older versions of terminfo.  If you see this effect then
                   5879: #      unset <xon> and delete the / from the delay.
                   5880: #      i.e. change $<100/> to $<100>
                   5881: # (wy50-mc: added <smcup> to suppress tic warning --esr)
                   5882: wy50-mc|wyse50-mc|wyse 50 with magic cookies,
                   5883:        msgr@,
                   5884:        ma@, xmc#1,
                   5885:        blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4,
                   5886:        rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0,
1.11      millert  5887:        sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
1.1       millert  5888:        sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
1.24    ! millert  5889:        smso=\EGt, use=wy50, use=adm+sgr,
1.1       millert  5890: wy50-vb|wyse50-vb|wyse 50 visible bell,
                   5891:        bel@, use=wy50,
                   5892: wy50-w|wyse50-w|wyse 50 132-column,
                   5893:        cols#132, lw#7, nlab#16, wsl#97,
1.24    ! millert  5894:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
        !          5895:        use=wy50,
1.1       millert  5896: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
1.24    ! millert  5897:        bel@, use=wy50-w,
1.11      millert  5898:
1.1       millert  5899: #
                   5900: #      The Wyse 350 is a Wyse 50 with color.
                   5901: #      Unfortunately this means that it has magic cookies.
                   5902: #      The color attributes are designed to overlap the reverse, dim and
                   5903: #      underline attributes.  This is nice for monochrome applications
                   5904: #      because you can make underline stuff green (or any other color)
                   5905: #      but for true color applications it's not so hot because you cannot
                   5906: #      mix color with reverse, dim or underline.
                   5907: #          To further complicate things one of the attributes must be
                   5908: #      black (either the foreground or the background).  In reverse video
                   5909: #      the background changes color with black letters.  In normal video
                   5910: #      the foreground changes colors on a black background.
                   5911: #          This terminfo uses some of the more advanced features of curses
                   5912: #      to display both color and blink.  In the final analysis I am not
                   5913: #      sure that the wy350 runs better with this terminfo than it does
                   5914: #      with the wy50 terminfo (with user adjusted colors).
                   5915: #
                   5916: #      The mandatory pause used by flash does not work with
                   5917: #      older versions of terminfo.  If you see this effect then
                   5918: #      unset xon and delete the / from the delay.
                   5919: #      i.e. change $<100/> to $<100>
                   5920: #
                   5921: # Bug: The <op> capability resets attributes.
                   5922: wy350|wyse350|Wyse 350,
                   5923:        am, bw, hs, mc5i, mir, xon,
                   5924:        colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
                   5925:        wsl#45, xmc#1,
                   5926:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   5927:        cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   5928:        cub1=^H, cud1=^J, cuf1=^L,
                   5929:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
                   5930:        dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
                   5931:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   5932:        il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>,
                   5933:        is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
                   5934:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
                   5935:        ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   5936:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   5937:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   5938:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   5939:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   5940:        ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
1.11      millert  5941:        pfx=\Ez%p1%{63}%+%c%p2%s\177,
                   5942:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
1.1       millert  5943:        rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
1.11      millert  5944:        setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%{48}%+%c,
                   5945:        sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
1.1       millert  5946:        sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
1.24    ! millert  5947:        smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, use=adm+sgr,
1.1       millert  5948: wy350-vb|wyse350-vb|wyse 350 visible bell,
                   5949:        bel@, use=wy350,
                   5950: wy350-w|wyse350-w|wyse 350 132-column,
                   5951:        cols#132, lw#7, nlab#16, wsl#97,
1.24    ! millert  5952:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
        !          5953:        use=wy350,
1.1       millert  5954: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
1.24    ! millert  5955:        bel@, use=wy350-w,
1.1       millert  5956: #
                   5957: #      This terminfo description is untested.
                   5958: #      The wyse100 emulates an adm31, so the adm31 entry should work.
                   5959: #
                   5960: wy100|wyse 100,
                   5961:        hs, mir,
                   5962:        cols#80, lines#24, xmc#1,
                   5963:        bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5964:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   5965:        dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
                   5966:        invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   5967:        kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
                   5968:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
1.24    ! millert  5969:        rmir=\Er, smir=\Eq, tsl=\EF, use=adm+sgr,
1.1       millert  5970: #
                   5971: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   5972: #      This terminal does not need padding up to 9600 baud!
                   5973: #      <msgr> should be set but the clear screen fails when in
                   5974: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   5975: #      then set <msgr>.
                   5976: #
                   5977: wy120|wyse120|wy150|wyse150|Wyse 120/150,
                   5978:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   5979:        cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
                   5980:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   5981:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   5982:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   5983:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   5984:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   5985:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
                   5986:        hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   5987:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   5988:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   5989:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   5990:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   5991:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   5992:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   5993:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   5994:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   5995:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
1.11      millert  5996:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   5997:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   5998:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
1.1       millert  5999:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
                   6000:        rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
                   6001:        rs3=\EwG\Ee($<100>,
1.11      millert  6002:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
1.1       millert  6003:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   6004:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
1.24    ! millert  6005:        tbc=\E0, tsl=\EF, use=adm+sgr,
1.1       millert  6006: #
                   6007: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
                   6008:        cols#132, lw#7, nlab#16, wsl#97,
                   6009:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   6010:        rs2=\E`;$<70>, use=wy120,
                   6011: #
                   6012: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
                   6013:        lh@, lines#25, lw@, nlab@,
                   6014:        pln@, rs3=\EwG\Ee)$<100>, use=wy120,
                   6015: #
                   6016: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
                   6017:        lh@, lines#25, lw@, nlab@,
                   6018:        pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
                   6019: #
                   6020: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
1.24    ! millert  6021:        bel@, use=wy120,
1.1       millert  6022: #
                   6023: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
1.24    ! millert  6024:        bel@, use=wy120-w,
1.1       millert  6025: #
                   6026: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   6027: #      The reset strings are slow and the pad times very depending
                   6028: #      on other parameters such as font loading.  I have tried
                   6029: #      to follow the following outline:
                   6030: #
                   6031: #              <rs1> -> set personality
                   6032: #              <rs2> -> set number of columns
                   6033: #              <rs3> -> set number of lines
                   6034: #              <is1> -> select the proper font
                   6035: #              <is2> -> do the initialization
                   6036: #              <is3> -> set up display memory (2 pages)
                   6037: #
                   6038: #      The Wyse 60's that have vt100 emulation are slower than the
                   6039: #      older Wyse 60's.  This change happened mid-1987.
                   6040: #      The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
                   6041: #
                   6042: #      The meta key is only half right.  This terminal will return the
                   6043: #      high order bit set when you hit CTRL-function_key
                   6044: #
                   6045: #      It may be useful to assign two function keys with the
                   6046: #      values  \E=(\s  look at old data in page 1
                   6047: #              \E=W,   look at bottom of page 1
                   6048: #      where \s is a space ( ).
                   6049: #
                   6050: #      Note:
                   6051: #         The Wyse 60 runs faster when the XON/XOFF
                   6052: #         handshake is turned off.
                   6053: #
                   6054: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   6055: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   6056: wy60|wyse60|Wyse 60,
                   6057:        am, bw, hs, km, mc5i, mir, msgr,
                   6058:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
                   6059:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   6060:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
                   6061:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   6062:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   6063:        dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
                   6064:        ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
                   6065:        home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
                   6066:        ip=$<3>, is1=\EcB0\EcC1,
                   6067:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   6068:        is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   6069:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   6070:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   6071:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   6072:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   6073:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   6074:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   6075:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
1.11      millert  6076:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   6077:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   6078:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
1.1       millert  6079:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
                   6080:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
                   6081:        rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
1.11      millert  6082:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
1.1       millert  6083:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   6084:        smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
1.24    ! millert  6085:        tbc=\E0, tsl=\EF, use=adm+sgr,
1.1       millert  6086: #
                   6087: wy60-w|wyse60-w|wyse 60 132-column,
                   6088:        cols#132, lw#7, nlab#16, wsl#97,
                   6089:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
                   6090:        rs2=\EeF$<150>\E`;$<150>, use=wy60,
                   6091: #
                   6092: wy60-25|wyse60-25|wyse 60 80-column 25-lines,
                   6093:        lh@, lines#25, lw@, nlab@,
                   6094:        pln@, rs3=\EwG\Ee)$<200>, use=wy60,
                   6095: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
                   6096:        lh@, lines#25, lw@, nlab@,
                   6097:        pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
                   6098: #
                   6099: wy60-42|wyse60-42|wyse 60 80-column 42-lines,
                   6100:        lines#42,
                   6101:        clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
                   6102:        dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
                   6103:        ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
1.24    ! millert  6104:        ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60,
1.1       millert  6105: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
                   6106:        cols#132, lw#7, nlab#16, wsl#97,
                   6107:        clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
                   6108:        dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
1.24    ! millert  6109:        nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42,
1.1       millert  6110: #
                   6111: wy60-43|wyse60-43|wyse 60 80-column 43-lines,
                   6112:        lh@, lines#43, lw@, nlab@,
                   6113:        pln@, rs3=\Ee+$<150>, use=wy60-42,
                   6114: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
                   6115:        lh@, lines#43, lw@, nlab@,
                   6116:        pln@, rs3=\Ee+$<150>, use=wy60-42-w,
                   6117: #
                   6118: wy60-vb|wyse60-vb|Wyse 60 visible bell,
                   6119:        bel@, use=wy60,
                   6120: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
1.24    ! millert  6121:        bel@, use=wy60-w,
1.1       millert  6122:
                   6123: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   6124: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   6125: #      setup parameter controls the number of lines on the screen.
                   6126: #      For the Wyse 99GT the "lines" setup parameter controls the
                   6127: #      number of lines in a page.  The screen can display 25 lines max.
                   6128: #          The Wyse-99GT also has personalities for the VT220 and
                   6129: #      Tektronix 4014.  But this has no bearing on the native mode.
                   6130: #
                   6131: #      (msgr) should be set but the clear screen fails when in
                   6132: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   6133: #      then set msgr, else use msgr@.
                   6134: #
                   6135: #      u0 -> enter Tektronix mode
                   6136: #      u1 -> exit Tektronix mode
                   6137: #
                   6138: wy99gt|wyse99gt|Wyse 99gt,
                   6139:        msgr@,
                   6140:        clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
                   6141:        el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
                   6142:        il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
                   6143:        ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1,
1.24    ! millert  6144:        u0=\E~>\E8, u1=\E[42h, use=wy60,
1.1       millert  6145: #
                   6146: wy99gt-w|wyse99gt-w|wyse 99gt 132-column,
                   6147:        cols#132, lw#7, nlab#16, wsl#97,
                   6148:        clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
1.24    ! millert  6149:        dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>,
        !          6150:        use=wy99gt,
1.1       millert  6151: #
                   6152: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
                   6153:        lh@, lines#25, lw@, nlab@,
                   6154:        pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
                   6155: #
                   6156: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
                   6157:        lh@, lines#25, lw@, nlab@,
                   6158:        pln@, rs2=\E`;$<150>, use=wy99gt-w,
                   6159: #
                   6160: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
                   6161:        bel@, use=wy99gt,
                   6162: #
                   6163: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
1.24    ! millert  6164:        bel@, use=wy99gt-w,
1.11      millert  6165:
                   6166: # Can't set tabs! Other bugs (ANSI mode only):
                   6167: # - can't redefine function keys (anyway, key redefinition in ANSI mode
                   6168: #   is too much complex to be described);
                   6169: # - meta key can't be described (the terminal forgets it when reset);
                   6170: # The xon-xoff handshaking can't be disabled while in ansi personality, so
                   6171: # emacs can't work at speed greater than 9600 baud.  No padding is needed at
                   6172: # this speed.
                   6173: #   dch1 has been commented out because it causes annoying glittering when
                   6174: # vi deletes one character at the beginning of a line with tabs in it.
                   6175: #   dch makes sysgen(1M) have a horrible behaviour when deleting
                   6176: # a screen and makes screen(1) behave badly, so it is disabled too. The nice
                   6177: # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
                   6178: # not, so smir and rmir are commented out as well.
                   6179: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   6180: wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard),
                   6181:        am, km, mc5i, mir, msgr, xenl,
                   6182:        cols#80, it#8, lines#25, vt#3,
                   6183:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~,
                   6184:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6185:        clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M,
                   6186:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>,
                   6187:        cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED,
                   6188:        cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>,
                   6189:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   6190:        cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
                   6191:        ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>,
                   6192:        enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H,
                   6193:        hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL,
                   6194:        il1=\E[L, ind=\n$<1>, invis=\E[8m,
                   6195:        is2=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i,
                   6196:        kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   6197:        kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   6198:        kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ,
                   6199:        kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~,
                   6200:        kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~,
                   6201:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h,
                   6202:        mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8,
                   6203:        rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
                   6204:        rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m,
                   6205:        rs2=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i,
                   6206:        sc=\E7,
                   6207:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;,
                   6208:        sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6209:        smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
                   6210:
                   6211: #   This is the american terminal. Here tabs work fine.
                   6212: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   6213: wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard),
1.24    ! millert  6214:        hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, use=wy99-ansi,
1.11      millert  6215:
                   6216: # This terminal (firmware version 02) has a lot of bugs:
                   6217: # - can't set tabs;
                   6218: # - other bugs in ANSI modes (see above).
                   6219: # This description disables handshaking when using cup. This is because
                   6220: # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
                   6221: # cannot be used at speeds greater than 9600 baud, because at greater
                   6222: # speeds handshaking is needed even for character sending. If you use
                   6223: # DTR handshaking, you can use even greater speeds.
                   6224: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   6225: wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
                   6226:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   6227:        cols#80, it#8, lines#25, wsl#46,
                   6228:        acsc='x+y.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
                   6229:        blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,
                   6230:        cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,
                   6231:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   6232:        cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r,
                   6233:        ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>,
                   6234:        flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE,
                   6235:        ind=^J, invis=\EG3,
                   6236:        is2=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024,
                   6237:        ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H,
                   6238:        kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r,
                   6239:        kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r,
                   6240:        kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r,
                   6241:        kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r,
                   6242:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   6243:        kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#,
                   6244:        nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed.,
                   6245:        rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30,
                   6246:        rs2=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024,
                   6247:        sgr=\E(\EG%{48}%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\E)%;%?%p9%t\EcE%e\EcD%;,
                   6248:        sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30,
                   6249:        smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF,
                   6250:
                   6251: # This is the american terminal. Here tabs work.
                   6252: # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
                   6253: wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard),
1.24    ! millert  6254:        hts=\E1, tbc=\E0, use=wy99f,
1.11      millert  6255:
1.1       millert  6256: #
                   6257: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   6258: #      The reset strings are slow and the pad times very depending
                   6259: #      on other parameters such as font loading.  I have tried
                   6260: #      to follow the following outline:
                   6261: #
                   6262: #              <rs1> -> set personality
                   6263: #              <rs2> -> set number of columns
                   6264: #              <rs3> -> set number of lines
                   6265: #              <is1> -> select the proper font
                   6266: #              <is2> -> do the initialization
                   6267: #              <is3> -> set up display memory (2 pages)
                   6268: #
                   6269: #      The display memory may be used for either text or graphics.
                   6270: #      When "Display Memory = Shared" the terminal will have more pages
                   6271: #      but garbage may be left on the screen when you switch from
                   6272: #      graphics to text.  If "Display Memory = Unshared" then the
                   6273: #      text area will be only one page long.
                   6274: #
                   6275: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   6276: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   6277: wy160|wyse160|Wyse 160,
                   6278:        am, bw, hs, km, mc5i, mir, msgr,
                   6279:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
                   6280:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   6281:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
                   6282:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   6283:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
                   6284:        dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
                   6285:        el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
                   6286:        hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
                   6287:        is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   6288:        is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   6289:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   6290:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   6291:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   6292:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   6293:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
                   6294:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
                   6295:        mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
1.11      millert  6296:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   6297:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   6298:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
1.1       millert  6299:        rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
                   6300:        rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
                   6301:        rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>,
1.11      millert  6302:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
1.1       millert  6303:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   6304:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
1.24    ! millert  6305:        tbc=\E0, tsl=\EF, use=adm+sgr,
1.1       millert  6306: #
                   6307: wy160-w|wyse160-w|wyse 160 132-column,
                   6308:        cols#132, lw#7, nlab#16, wsl#90,
                   6309:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
                   6310:        rs2=\EeF$<150>\E`;$<150>, use=wy160,
                   6311: #
                   6312: wy160-25|wyse160-25|wyse 160 80-column 25-lines,
                   6313:        lh@, lines#25, lw@, nlab@,
                   6314:        pln@, rs3=\EwG\Ee)$<200>, use=wy160,
                   6315: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
                   6316:        lh@, lines#25, lw@, nlab@,
                   6317:        pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
                   6318: #
                   6319: wy160-42|wyse160-42|wyse 160 80-column 42-lines,
                   6320:        lines#42,
                   6321:        clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
                   6322:        ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
1.24    ! millert  6323:        rs3=\Ee*$<150>, use=wy160,
1.1       millert  6324: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
                   6325:        cols#132, lw#7, nlab#16, wsl#90,
                   6326:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
1.24    ! millert  6327:        rs2=\EeF$<150>\E`;$<150>, use=wy160-42,
1.1       millert  6328: #
                   6329: wy160-43|wyse160-43|wyse 160 80-column 43-lines,
                   6330:        lh@, lines#43, lw@, nlab@,
                   6331:        pln@, rs3=\Ee+$<150>, use=wy160-42,
                   6332: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
                   6333:        lh@, lines#43, lw@, nlab@,
                   6334:        pln@, rs3=\Ee+$<150>, use=wy160-42-w,
                   6335: #
                   6336: wy160-vb|wyse160-vb|Wyse 160 visible bell,
                   6337:        bel@, use=wy160,
                   6338: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
1.24    ! millert  6339:        bel@, use=wy160-w,
1.1       millert  6340: #
                   6341: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   6342: #
                   6343: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   6344: #      Underline) without magic cookies.  The following description
                   6345: #      uses this capability, but when more than one attribute is
                   6346: #      put on the screen at once, all attributes will be changed
                   6347: #      to be the same as the last attribute given.
                   6348: #         The Wyse 75 can support more attributes when used with magic
                   6349: #      cookies.  The wy75-mc terminal description uses magic cookies
                   6350: #      to correctly handle multiple attributes on a screen.
                   6351: #
                   6352: wy75|wyse75|wyse 75,
                   6353:        am, hs, mc5i, mir, msgr, xenl, xon,
                   6354:        cols#80, lines#24, ma#1, pb#1201, wsl#78,
                   6355:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6356:        bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
                   6357:        cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
                   6358:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   6359:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   6360:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
                   6361:        dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
                   6362:        dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
                   6363:        ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
                   6364:        enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
                   6365:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   6366:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   6367:        ind=\n$<2>, ip=$<1>,
                   6368:        is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
                   6369:        is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy,
                   6370:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   6371:        kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM,
                   6372:        kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   6373:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   6374:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
                   6375:        kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
                   6376:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   6377:        khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
                   6378:        kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
                   6379:        mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
                   6380:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
                   6381:        rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
                   6382:        sc=\E7,
                   6383:        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%;,
                   6384:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6385:        smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
                   6386:        tbc=\E[3g, tsl=\E[>\,\001,
                   6387: #
                   6388: #      This terminal description uses the non-hidden attribute mode
                   6389: #      (with magic cookie).
                   6390: #
                   6391: wy75-mc|wyse75-mc|wyse 75 with magic cookies,
                   6392:        msgr@,
                   6393:        ma@, xmc#1,
                   6394:        blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
                   6395:        rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
                   6396:        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%;,
                   6397:        sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
                   6398:        use=wy75,
                   6399: wy75-vb|wyse75-vb|wyse 75 with visible bell,
                   6400:        pb@,
                   6401:        bel@, use=wy75,
                   6402: wy75-w|wyse75-w|wyse 75 in 132 column mode,
                   6403:        cols#132, wsl#130,
                   6404:        rs2=\E[35h\E[?3h$<80>, use=wy75,
                   6405: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
                   6406:        pb@,
                   6407:        bel@, use=wy75-w,
                   6408: #
                   6409: #      Wyse 85 emulating a vt220 7 bit mode.
                   6410: #              24 line screen with status line.
                   6411: #
                   6412: #      The vt220 mode permits more function keys but it wipes out
                   6413: #      the escape key.  I strongly recommend that <f11> be set to
                   6414: #      escape (esc).
                   6415: #      The terminal may have to be set for 8 data bits and 2 stop
                   6416: #      bits for the arrow keys to work.
                   6417: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
                   6418: #      <dch> and <ich> work best when XON/XOFF is set.  <ich> and
                   6419: #      <dch> leave trash on the screen when used without XON/XOFF.
                   6420: #
                   6421: wy85|wyse85|wyse 85,
                   6422:        am, hs, mc5i, mir, msgr, xenl, xon,
                   6423:        cols#80, it#8, lines#24, wsl#80,
                   6424:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6425:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6426:        clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
                   6427:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6428:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6429:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   6430:        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
                   6431:        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
                   6432:        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
                   6433:        enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
                   6434:        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
                   6435:        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
                   6436:        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
                   6437:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
                   6438:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   6439:        kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   6440:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP,
                   6441:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   6442:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   6443:        kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
                   6444:        kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   6445:        kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
                   6446:        knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
                   6447:        lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   6448:        ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
                   6449:        rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p,
                   6450:        rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7,
                   6451:        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%;,
                   6452:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6453:        smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   6454:        tsl=\E[40h\E7\E[25;%i%p1%dH,
                   6455: #
                   6456: #      Wyse 85 with visual bell.
                   6457: wy85-vb|wyse85-vb|wyse 85 with visible bell,
                   6458:        bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
                   6459: #
                   6460: #      Wyse 85 in 132-column mode.
                   6461: wy85-w|wyse85-w|wyse 85 in 132-column mode,
                   6462:        cols#132, wsl#132,
                   6463:        rs2=\E[35h\E[?3h$<70>, use=wy85,
                   6464: #
                   6465: #      Wyse 85 in 132-column mode with visual bell.
                   6466: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
1.24    ! millert  6467:        bel@, use=wy85-w,
1.14      millert  6468:
                   6469: # From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
                   6470: # This copes with an apparent firmware bug in the wy85.  He writes:
                   6471: # "What I did was change leave the terminal cursor keys set to Normal
                   6472: # (instead of application), and change \E[ to \233 for all the keys in
                   6473: # terminfo. At one point, I found some reference indicating that this
                   6474: # terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
                   6475: # me), but I can't find that and the server under my bookmark to "Wyse
                   6476: # Technical" isn't responding.  So there's the question of wether the wy85
                   6477: # terminfo should reflect the manufactuer's intended behaviour of the terminal
                   6478: # or the actual."
                   6479: wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode,
                   6480:        am, hs, mc5i, mir, msgr, xenl, xon,
                   6481:        cols#80, it#8, lines#24, wsl#80,
                   6482:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6483:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6484:        clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
                   6485:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6486:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6487:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   6488:        dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
                   6489:        dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
                   6490:        ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
                   6491:        enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
                   6492:        fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
                   6493:        ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
                   6494:        ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
                   6495:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
                   6496:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   6497:        kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\233D, kcud1=\233B,
                   6498:        kcuf1=\233C, kcuu1=\233A, kdch1=\2333~, kent=\EOM,
                   6499:        kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
                   6500:        kf13=\23325~, kf14=\23326~, kf15=\23328~, kf16=\23329~,
                   6501:        kf17=\23331~, kf18=\23332~, kf19=\23333~, kf2=\EOQ,
                   6502:        kf20=\23334~, kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~,
                   6503:        kf8=\23319~, kf9=\23320~, kfnd=\2331~, khlp=\23328~,
                   6504:        khome=\23326~, kich1=\2332~, knp=\2336~, kpp=\2335~,
                   6505:        kslt=\2334~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
                   6506:        mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
                   6507:        rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
                   6508:        rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
                   6509:        rs3=\E[?5l, sc=\E7,
                   6510:        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%;,
                   6511:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   6512:        smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   6513:        tsl=\E[40h\E7\E[25;%i%p1%dH,
1.1       millert  6514: #
                   6515: #      Wyse 185 emulating a vt320 7 bit mode.
                   6516: #
                   6517: #      This terminal always displays 25 lines.  These lines may be used
                   6518: #      as 24 data lines and a terminal status line (top or bottom) or
                   6519: #      25 data lines.  The 48 and 50 line modes change the page size
                   6520: #      and not the number of lines on the screen.
                   6521: #
                   6522: #      The Compose Character key can be used as a meta key if changed
                   6523: #      by set-up.
                   6524: #
                   6525: wy185|wyse185|wyse 185,
                   6526:        am, hs, km, mc5i, mir, msgr, xenl, xon,
                   6527:        cols#80, it#8, lines#24, wsl#80,
                   6528:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6529:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6530:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   6531:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   6532:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6533:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6534:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
                   6535:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   6536:        dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
                   6537:        el=\E[K, el1=\E[1K, enacs=\E)0,
                   6538:        flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
                   6539:        home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
                   6540:        ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
                   6541:        ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   6542:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
                   6543:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
                   6544:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   6545:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM,
                   6546:        kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
                   6547:        kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
                   6548:        kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
                   6549:        kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
                   6550:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   6551:        khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   6552:        kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
                   6553:        mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>,
                   6554:        rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>,
                   6555:        rmso=\E[27m, rmul=\E[24m,
                   6556:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   6557:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   6558:        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%;,
                   6559:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   6560:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   6561:        tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
                   6562: #
                   6563: #      Wyse 185 with 24 data lines and top status (terminal status)
                   6564: wy185-24|wyse185-24|wyse 185 with 24 data lines,
                   6565:        hs@,
1.24    ! millert  6566:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
        !          6567:        use=wy185,
1.1       millert  6568: #
                   6569: #      Wyse 185 with visual bell.
                   6570: wy185-vb|wyse185-vb|wyse 185+flash,
                   6571:        bel@, use=wy185,
                   6572: #
                   6573: #      Wyse 185 in 132-column mode.
                   6574: wy185-w|wyse185-w|wyse 185 in 132-column mode,
                   6575:        cols#132, wsl#132,
                   6576:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
1.24    ! millert  6577:        ip=$<7>, rs2=\E[35h\E[?3h, use=wy185,
1.1       millert  6578: #
                   6579: #      Wyse 185 in 132-column mode with visual bell.
                   6580: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
                   6581:        bel@, use=wy185-w,
                   6582:
                   6583: # wy325 terminfo entries
                   6584: # Done by Joe H. Davis        3-9-92
                   6585:
                   6586: # lines 25  columns 80
                   6587: #
                   6588: wy325|wyse325|Wyse epc,
                   6589:        am, bw, hs, mc5i, mir,
                   6590:        cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
                   6591:        acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
                   6592:        bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
                   6593:        cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   6594:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
                   6595:        dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
                   6596:        flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
                   6597:        il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
                   6598:        is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
                   6599:        is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
                   6600:        kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
                   6601:        kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   6602:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   6603:        kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
                   6604:        kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
                   6605:        kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
                   6606:        mc0=\EP, mc4=^T, mc5=\Ed#,
1.11      millert  6607:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   6608:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   6609:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
1.1       millert  6610:        rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
                   6611:        rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
                   6612:        rs3=\EwG\Ee($<100>,
1.11      millert  6613:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
1.1       millert  6614:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
                   6615:        smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
1.24    ! millert  6616:        tsl=\EF, use=adm+sgr,
1.1       millert  6617:
                   6618: #
                   6619: # lines 24  columns 80  vb
                   6620: #
                   6621: wy325-vb|wyse325-vb|wyse-325 with visual bell,
                   6622:        bel@, use=wy325,
                   6623:
                   6624: #
                   6625: # lines 24  columns 132
                   6626: #
                   6627: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
                   6628:        cols#132, lw#7, nlab#16, wsl#97,
                   6629:        cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
                   6630:        rs2=\E`;$<70>, use=wy325,
                   6631: #
                   6632: # lines 25  columns 80
                   6633: #
                   6634: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
                   6635:        lh@, lines#25, lw@, nlab@,
                   6636:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   6637: #
                   6638: # lines 25  columns 132
                   6639: #
                   6640: wy325-25w|wyse325-25w|wy325 132 columns,
                   6641:        lh@, lines#25, lw@, nlab@,
                   6642:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   6643: #
                   6644: # lines 25  columns 132  vb
                   6645: #
                   6646: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
1.24    ! millert  6647:        bel@, use=wy325-w,
1.1       millert  6648:
                   6649: #
                   6650: # lines 42  columns 80
                   6651: #
                   6652: wy325-42|wyse325-42|wyse-325 42 lines,
                   6653:        lh@, lines#42, lw@, nlab@,
                   6654:        pln@, rs3=\EwG\Ee)$<100>, use=wy325,
                   6655: #
                   6656: # lines 42  columns 132
                   6657: #
                   6658: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
                   6659:        lh@, lines#42, lw@, nlab@,
                   6660:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   6661: #
                   6662: # lines 42  columns 132  vb
                   6663: #
                   6664: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
1.24    ! millert  6665:        bel@, use=wy325-w,
1.1       millert  6666: #
                   6667: # lines 43  columns 80
                   6668: #
                   6669: wy325-43|wyse325-43|wyse-325 43 lines,
                   6670:        lh@, lines#43, lw@, nlab@,
                   6671:        pln@, use=wy325,
                   6672: #
                   6673: # lines 43  columns 132
                   6674: #
                   6675: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
                   6676:        lh@, lines#43, lw@, nlab@,
                   6677:        pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
                   6678: #
                   6679: # lines 43  columns 132  vb
                   6680: #
                   6681: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
1.24    ! millert  6682:        bel@, use=wy325-w,
1.1       millert  6683:
                   6684: #      Wyse 370 -- 24 line screen with status line.
                   6685: #
                   6686: #      The terminal may have to be set for 8 data bits and 2 stop
                   6687: #      bits for the arrow keys to work.
                   6688: #
                   6689: #      If you change keyboards the terminal will send different
                   6690: #      escape sequences.
                   6691: #      The following definition is for the basic terminal without
                   6692: #      function keys.
                   6693: #
                   6694: #      <u0> -> enter Tektronix 4010/4014 mode
                   6695: #      <u1> -> exit  Tektronix 4010/4014 mode
                   6696: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   6697: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   6698: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   6699: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
                   6700: #
                   6701: # Bug: The <op> capability resets attributes.
                   6702: wy370-nk|wyse 370 without function keys,
                   6703:        am, ccc, hs, mc5i, mir, msgr, xenl, xon,
                   6704:        colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
                   6705:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6706:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6707:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   6708:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   6709:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6710:        cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
                   6711:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
                   6712:        dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
                   6713:        dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
                   6714:        el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
                   6715:        flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
                   6716:        home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
                   6717:        ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
                   6718:        ind=\n$<2>,
                   6719:        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,
                   6720:        invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
                   6721:        is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
                   6722:        is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
                   6723:        mc5=\E[5i,
                   6724:        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,
                   6725:        op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
                   6726:        rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
                   6727:        rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
                   6728:        rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
                   6729:        rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
                   6730:        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%;,
                   6731:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
                   6732:        smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
                   6733:        tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
                   6734:        u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
                   6735:        u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
                   6736: #
                   6737: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   6738: #      This is the default 370.
                   6739: #
                   6740: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
                   6741:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6742:        kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
                   6743:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   6744:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
                   6745:        kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   6746:        kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
1.24    ! millert  6747:        knp=\E[U, kpp=\E[V, use=wy370-nk,
1.1       millert  6748: #
                   6749: #      Function key set for the VT-320 (and wy85) compatible keyboard
                   6750: #
                   6751: wy370-105k|Wyse 370 with 105 key keyboard,
                   6752:        ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs,
                   6753:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   6754:        kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   6755:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   6756:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   6757:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   6758:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   6759:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   6760:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   6761:        use=wy370-nk,
                   6762: #
                   6763: #      Function key set for the PC compatible keyboard
                   6764: #
                   6765: wy370-EPC|Wyse 370 with 102 key keyboard,
                   6766:        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   6767:        kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
                   6768:        kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   6769:        kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1.24    ! millert  6770:        khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk,
1.1       millert  6771: #
                   6772: #      Wyse 370 with visual bell.
                   6773: wy370-vb|Wyse 370 with visible bell,
                   6774:        bel@, use=wy370,
                   6775: #
                   6776: #      Wyse 370 in 132-column mode.
                   6777: wy370-w|Wyse 370 in 132-column mode,
                   6778:        cols#132, wsl#132,
                   6779:        rs2=\E[35h\E[?3h$<70>, use=wy370,
                   6780: #
                   6781: #      Wyse 370 in 132-column mode with visual bell.
                   6782: wy370-wvb|Wyse 370 with visible bell 132-columns,
1.24    ! millert  6783:        flash=\E[30h\E\,\E[30l$<300>, use=wy370-w,
1.1       millert  6784: wy370-rv|Wyse 370 reverse video,
                   6785:        rs3=\E[32h\E[?5h, use=wy370,
                   6786: #
                   6787: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   6788: #
                   6789: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
                   6790:        am, os,
                   6791:        cols#74, lines#35,
                   6792:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
                   6793:        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,
                   6794:        cuu1=^K, ff=^L,
                   6795:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   6796:        home=^]7`x @\037,
                   6797:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   6798:        is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
                   6799: #
                   6800: #      Wyse 160 Tektronix 4010/4014 emulator,
                   6801: #
                   6802: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
                   6803:        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,
1.24    ! millert  6804:        home=^]8`g @\037, use=wy99gt-tek,
1.1       millert  6805: #
                   6806: #      Wyse 370 Tektronix 4010/4014 emulator,
                   6807: #
                   6808: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
                   6809:        am, os,
                   6810:        cols#80, lines#36,
                   6811:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
                   6812:        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,
                   6813:        cuu1=^K, ff=^L,
                   6814:        hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
                   6815:        home=^]8g @\037,
                   6816:        hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
                   6817:        is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
                   6818:        nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
                   6819:
                   6820: # Vendor-supplied Wyse entries end here.
                   6821:
                   6822: #
                   6823: #TITLE:  TERMINFO ENTRY WY520
                   6824: #DATE:   8/5/93
                   6825: # The WY520 terminfo is based on the WY285 entry published on the WYSE
                   6826: # BBS with the addition of more function keys and special keys.
                   6827: #
                   6828: #               rs1 -> set personality
                   6829: #               rs2 -> set number of columns
                   6830: #               rs3 -> set number of lines
                   6831: #               is1 -> select the proper font
                   6832: #               is2 -> do the initialization
                   6833: #               is3 -> If this string is empty then rs3 gets sent.
                   6834: #
                   6835: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
                   6836: #       - The BS key is programmed to generate BS in smcup since
                   6837: #         is2 doesn't seem to work.
                   6838: #       - Remove and shift/Remove: delete a character
                   6839: #       - Insert : enter insert mode
                   6840: #       - Find   : delete to end of file
                   6841: #       - Select : clear a line
                   6842: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
                   6843: #       - F14 : Home key
                   6844: #       - Bottom status line (host writable line) is used.
                   6845: #       - smkx,rmkx are removed because this would put the numeric
                   6846: #         keypad in Dec application mode which doesn't seem to work
                   6847: #         with SCO applications.
                   6848: #
                   6849: wy520|wyse520|wyse 520,
                   6850:        am, hs, km, mc5i, mir, xenl, xon,
                   6851:        cols#80, it#8, lines#24, wsl#80,
                   6852:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   6853:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   6854:        clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
                   6855:        csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
                   6856:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   6857:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   6858:        cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
                   6859:        dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
                   6860:        ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
                   6861:        enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
                   6862:        hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
                   6863:        il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
                   6864:        is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
                   6865:        is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy,
                   6866:        kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D,
                   6867:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
                   6868:        kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
                   6869:        kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
                   6870:        kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
                   6871:        kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   6872:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   6873:        khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
                   6874:        kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
                   6875:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   6876:        ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
                   6877:        rmso=\E[m, rmul=\E[24m,
                   6878:        rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
                   6879:        rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
                   6880:        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%;,
                   6881:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
                   6882:        smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   6883:        tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
                   6884:        vpa=\E[%i%p1%dd,
                   6885: #
                   6886: #       Wyse 520 with 24 data lines and status (terminal status)
                   6887: wy520-24|wyse520-24|wyse 520 with 24 data lines,
                   6888:        hs@,
1.24    ! millert  6889:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
        !          6890:        use=wy520,
1.1       millert  6891: #
                   6892: #       Wyse 520 with visual bell.
                   6893: wy520-vb|wyse520-vb|wyse 520 with visible bell,
1.11      millert  6894:        flash=\E[30h\E\,\E[30l$<100>, use=wy520,
1.1       millert  6895: #
                   6896: #       Wyse 520 in 132-column mode.
                   6897: wy520-w|wyse520-w|wyse 520 in 132-column mode,
                   6898:        cols#132, wsl#132,
                   6899:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
1.24    ! millert  6900:        ip=$<7>, rs2=\E[35h\E[?3h, use=wy520,
1.1       millert  6901: #
                   6902: #       Wyse 520 in 132-column mode with visual bell.
                   6903: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
1.24    ! millert  6904:        flash=\E[30h\E\,\E[30l$<100>, use=wy520-w,
1.1       millert  6905: #
                   6906: #
                   6907: #       Wyse 520 emulating a vt420 7 bit mode.
                   6908: #       The DEL key is programmed to generate BS in is2.
                   6909: #       With EPC keyboard.
                   6910: #       - 'End' key will clear till end of line on EPC keyboard
                   6911: #       - Shift/End : ignored.
                   6912: #       - Insert : enter insert mode.
                   6913: #       - Delete : delete a character (have to change interrupt character
                   6914: #                  to CTRL-C: stty intr '^c') for it to work since the
                   6915: #                  Delete key sends 7FH.
                   6916: wy520-epc|wyse520-epc|wyse 520 with EPC keyboard,
                   6917:        kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
                   6918:        kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
                   6919:        use=wy520,
                   6920: #
                   6921: #       Wyse 520 with 24 data lines and status (terminal status)
                   6922: #       with EPC keyboard.
1.14      millert  6923: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard,
1.1       millert  6924:        hs@,
1.24    ! millert  6925:        dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
        !          6926:        use=wy520-epc,
1.1       millert  6927: #
                   6928: #       Wyse 520 with visual bell.
1.14      millert  6929: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard,
1.24    ! millert  6930:        flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc,
1.1       millert  6931: #
                   6932: #       Wyse 520 in 132-column mode.
                   6933: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
                   6934:        cols#132, wsl#132,
                   6935:        dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
1.24    ! millert  6936:        ip=$<7>, rs2=\E[35h\E[?3h, use=wy520-epc,
1.1       millert  6937: #
                   6938: #       Wyse 520 in 132-column mode with visual bell.
1.14      millert  6939: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard,
1.24    ! millert  6940:        flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w,
1.1       millert  6941: #
                   6942: #       Wyse 520 in 80-column, 36 lines
                   6943: wy520-36|wyse520-36|wyse 520 with 36 data lines,
                   6944:        hs@,
                   6945:        lines#36,
1.24    ! millert  6946:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
        !          6947:        use=wy520,
1.1       millert  6948: #
                   6949: #       Wyse 520 in 80-column, 48 lines
                   6950: wy520-48|wyse520-48|wyse 520 with 48 data lines,
                   6951:        hs@,
                   6952:        lines#48,
1.24    ! millert  6953:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
        !          6954:        use=wy520,
1.1       millert  6955: #
                   6956: #       Wyse 520 in 132-column, 36 lines
                   6957: wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines,
                   6958:        cols#132, wsl#132,
                   6959:        rs2=\E[?3h,
1.24    ! millert  6960:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
        !          6961:        use=wy520-36,
1.1       millert  6962: #
                   6963: #       Wyse 520 in 132-column, 48 lines
                   6964: wy520-48w|wyse520-48w|wyse 520 with 48 data lines,
                   6965:        cols#132, wsl#132,
                   6966:        rs2=\E[?3h,
1.24    ! millert  6967:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
        !          6968:        use=wy520-48,
1.1       millert  6969: #
                   6970: #
                   6971: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
                   6972: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard,
                   6973:        hs@,
                   6974:        lines#36,
1.24    ! millert  6975:        dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
        !          6976:        use=wy520-epc,
1.1       millert  6977: #
                   6978: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
                   6979: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard,
                   6980:        hs@,
                   6981:        lines#48,
1.24    ! millert  6982:        dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
        !          6983:        use=wy520-epc,
1.1       millert  6984: #
                   6985: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
                   6986: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard,
                   6987:        cols#132, wsl#132,
                   6988:        rs2=\E[?3h,
1.24    ! millert  6989:        rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
        !          6990:        use=wy520-36pc,
1.1       millert  6991: #
                   6992: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
1.14      millert  6993: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard,
1.1       millert  6994:        cols#132, wsl#132,
                   6995:        rs2=\E[?3h,
1.24    ! millert  6996:        rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
        !          6997:        use=wy520-48pc,
1.1       millert  6998:
                   6999: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
                   7000: # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
                   7001: # file and we don't know what <hts> is -- esr)
                   7002: wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
1.11      millert  7003:        OTbs, am,
1.1       millert  7004:        cols#80, it#8, lines#24,
                   7005:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   7006:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
                   7007:        dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
1.11      millert  7008:        is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F,
                   7009:        kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O,
                   7010:        rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N,
                   7011:        smul=^N,
1.1       millert  7012:
                   7013: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
                   7014:        is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
1.11      millert  7015:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   7016:        khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>,
                   7017:        use=wy75,
1.1       millert  7018:
                   7019: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   7020: wy100q|Wyse 100 for Quotron,
1.11      millert  7021:        OTbs,
                   7022:        cols#80, lines#24, xmc#1,
1.1       millert  7023:        cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
                   7024:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  7025:        dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
                   7026:        is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,
1.24    ! millert  7027:        kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, use=adm+sgr,
1.1       millert  7028:
                   7029: #### Kermit terminal emulations
                   7030: #
                   7031: # Obsolete Kermit versions may be listed in the section describing obsolete
                   7032: # non-ANSI terminal emulators later in the file.
                   7033: #
                   7034:
                   7035: # KERMIT standard all versions.
                   7036: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   7037: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   7038: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   7039: kermit|standard kermit,
1.11      millert  7040:        OTbs,
                   7041:        cols#80, lines#24,
1.1       millert  7042:        clear=\EE, cub1=^H, cuf1=\EC,
                   7043:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
1.11      millert  7044:        el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n,
                   7045:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
1.1       millert  7046: kermit-am|standard kermit plus auto-margin,
                   7047:        am,
1.24    ! millert  7048:        is2=K1 Standard Kermit plus Automatic Margins\n,
        !          7049:        use=kermit,
1.1       millert  7050: # IBMPC Kermit 1.2.
                   7051: # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
                   7052: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   7053: # line).
                   7054: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   7055: pckermit|pckermit12|UCB IBMPC Kermit 1.2,
                   7056:        am,
                   7057:        lines#25,
                   7058:        clear=\EH\EJ, ed@, el@,
1.11      millert  7059:        is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
1.1       millert  7060: # IBMPC Kermit 1.20
                   7061: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   7062: # Initialization must escape from that region by cursor position to line 24.
                   7063: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
                   7064: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
                   7065: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   7066: pckermit120|UCB IBMPC Kermit 1.20,
                   7067:        it#8, lines#24,
1.11      millert  7068:        cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I,
                   7069:        il1=\EL,
1.1       millert  7070:        is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
1.24    ! millert  7071:        rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit,
1.1       millert  7072: # MS-DOS Kermit 2.27 for the IBMPC
                   7073: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   7074: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   7075: # Initialization must escape from that region by cursor position to line 24.
                   7076: # Does not use am: because autowrap is lost when kermit dropped and restarted.
                   7077: # Reverse video for standout like H19.
                   7078: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   7079: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   7080: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
1.11      millert  7081:        OTbs, am@,
1.1       millert  7082:        cols#80, it#8, lines#24,
                   7083:        clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   7084:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
1.11      millert  7085:        cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK,
                   7086:        home=\EH, ht=^I, il1=\EL,
1.1       millert  7087:        is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
1.11      millert  7088:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek,
                   7089:        rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep,
1.1       millert  7090: # MS-DOS Kermit 2.27 with automatic margins
                   7091: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   7092: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
                   7093:        am,
                   7094:        cvvis=\EO\Eq\EG\EvK5,
1.24    ! millert  7095:        is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n,
        !          7096:        use=msk227,
1.1       millert  7097: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
                   7098: # Automatic margins now default.  Use ansi <sgr> for highlights.
                   7099: # Define function keys.
                   7100: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   7101: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   7102: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
                   7103:        am,
                   7104:        bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
                   7105:        is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
1.11      millert  7106:        kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
                   7107:        kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m,
1.24    ! millert  7108:        sgr0=\E[m, smso=\E[1m, smul=\E[4m, use=mskermit227,
1.1       millert  7109: # This was designed for a VT320 emulator, but it is probably a good start
                   7110: # at support for the VT320 itself.
                   7111: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
                   7112: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
                   7113: vt320-k3|MS-Kermit 3.00's vt320 emulation,
                   7114:        am, eslok, hs, km, mir, msgr, xenl,
                   7115:        cols#80, it#8, lines#49, pb#9600, vt#3,
1.11      millert  7116:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  7117:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   7118:        clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
1.11      millert  7119:        csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H,
                   7120:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7121:        cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7122:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   7123:        dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
1.1       millert  7124:        flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
1.11      millert  7125:        fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   7126:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   7127:        is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
                   7128:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~,
                   7129:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   7130:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
                   7131:        kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8,
                   7132:        rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l,
                   7133:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   7134:        rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E[4i\E[?4i\E[m\E[r\E[2$~,
1.1       millert  7135:        sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
                   7136:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   7137:        tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
                   7138: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
                   7139: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
                   7140: # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
                   7141: vt320-k311|dec vt320 series as defined by kermit 3.11,
                   7142:        am, eslok, hs, mir, msgr, xenl, xon,
                   7143:        cols#80, it#8, lines#24, vt#3,
1.11      millert  7144:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1.1       millert  7145:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   7146:        clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
                   7147:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7148:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7149:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  7150:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   7151:        dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
                   7152:        flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
                   7153:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
1.1       millert  7154:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
1.11      millert  7155:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   7156:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
                   7157:        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
                   7158:        lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
                   7159:        rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O,
                   7160:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
                   7161:        rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
                   7162:        smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
                   7163:        smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
                   7164:
                   7165: ######## NON-ANSI TERMINAL EMULATIONS
                   7166: #
1.1       millert  7167:
1.11      millert  7168: #### Avatar
                   7169: #
                   7170: # These entries attempt to describe Avatar, a terminal emulation used with
                   7171: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   7172: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   7173: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   7174: # in the BBS world.
                   7175: #
                   7176: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   7177: # models that terminfo knows about.  An Avatar color attribute is the
                   7178: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   7179: #
                   7180: # I wrote these entries while looking at the Avatar spec.  I don't have
                   7181: # the facilities to test them.  Let me know if they work, or don't.
                   7182: #
                   7183: # Avatar escapes not used by these entries (because maybe you're smarter
                   7184: # and more motivated than I am and can figure out how to wrap terminfo
                   7185: # around some of them, and because they are weird enough to be funny):
                   7186: #                              level 0:
                   7187: # ^L           -- clear window/reset current attribute to default
                   7188: # ^V^A%p1%c    -- set current color attribute, parameter decodes as follows:
                   7189: #
                   7190: #      bit:         6   5   4   3   2   1   0
                   7191: #                   |       |   |   |       |
                   7192: #                   +---+---+   |   +---+---+
                   7193: #                       |       |       |
                   7194: #                       |       |  foreground color
                   7195: #                       |  foreground intensity
                   7196: #                  background color
                   7197: #                              level 0+:
                   7198: # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) up by p1 lines
                   7199: # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c        -- scroll (p2,p3) to (p4,p5) down by p1 lines
                   7200: # ^V^L%p1%c%p2%c%p3%c          -- clear p2 lines and p3 cols w/attr %p1
                   7201: # ^V^M%p1%c%p2%c%p3%c%p4%c     -- fill p3 lines & p4 cols w/char p2+attr %p1
                   7202: # (^V^L and ^V^M set the current attribute as a side-effect.)
                   7203: # ^V ^Y <a> [...] <c>  -- repeat pattern. <a> specifies the number of bytes
                   7204: #                         in the pattern, <c> the number of times the pattern
                   7205: #                         should be repeated. If either value is 0, no-op.
                   7206: #                         The pattern can contain Avatar console codes,
                   7207: #                         including other ^V ^Y patterns.
                   7208: #                              level 1:
                   7209: # ^V^O         -- clockwise mode on; turn print direction right each time you
                   7210: #                 hit a window edge (yes, really).  Turned off by CR
                   7211: # ^V^P         -- no-op
                   7212: # ^V^Q%c       -- query the driver
                   7213: # ^V^R         -- driver reset
                   7214: # ^V^S         -- Sound tone (PC-specific)
                   7215: # ^V^T                 -- change highlight at current cursor poition to %c
                   7216: # ^V^U%p1%c%p2%c       -- highlight window <a> with attribute <b>
                   7217: # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
                   7218: #                      -- define window
1.1       millert  7219: #
1.11      millert  7220: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   7221: # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
                   7222: # tell ncurses that the corresponding highlights exist; it should use <sgr>,
                   7223: # which is the only method that will actually work for multiple highlights.)
                   7224: avatar0|avatar terminal emulator level 0,
                   7225:        am, bce, msgr,
                   7226:        cols#80, it#8, lines#25,
                   7227:        blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
                   7228:        cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
                   7229:        ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp,
                   7230:        rs2=^L,
                   7231:        sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;,
1.24    ! millert  7232:        sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, use=klone+acs,
1.11      millert  7233: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   7234: avatar0+|avatar terminal emulator level 0+,
                   7235:        dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,
                   7236: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   7237: avatar|avatar1|avatar terminal emulator level 1,
                   7238:        civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
1.24    ! millert  7239:        rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+,
1.11      millert  7240:
                   7241: #### RBcomm
1.1       millert  7242: #
1.11      millert  7243: # RBComm is a lean and mean terminal emulator written by the Interrupt List
                   7244: # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
                   7245: # '90s), especially in the BBS world, and still has some loyal users due to
                   7246: # its very small memory footprint and to a cute macro language.
                   7247: rbcomm|IBM PC with RBcomm and EMACS keybindings,
                   7248:        am, bw, mir, msgr, xenl,
                   7249:        cols#80, it#8, lines#25,
                   7250:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   7251:        clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7252:        cub1=^H, cud1=^C, cuf1=^B,
                   7253:        cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^,
                   7254:        cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z,
                   7255:        ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K,
                   7256:        ind=\ED, invis=\E[8m,
                   7257:        is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,
                   7258:        kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED,
                   7259:        rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=,
                   7260:        rmir=^], rmkx=\E>, rmso=^U, rmul=^U,
                   7261:        rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m,
                   7262:        smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T,
                   7263: rbcomm-nam|IBM PC with RBcomm without autowrap,
                   7264:        am@,
                   7265:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
                   7266:        is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H,
1.24    ! millert  7267:        kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
1.11      millert  7268: rbcomm-w|IBM PC with RBcomm in 132 column mode,
                   7269:        cols#132,
                   7270:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
                   7271:        is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H,
1.24    ! millert  7272:        kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
1.1       millert  7273:
                   7274: ######## OLDER TERMINAL TYPES
                   7275: #
                   7276: # This section is devoted to older commercial terminal brands that are now
                   7277: # discontinued, but known to be still in use or represented by emulations.
                   7278: #
                   7279:
                   7280: #### AT&T (att, tty)
                   7281: #
                   7282: # This section also includes Teletype-branded VDTs.
                   7283: #
                   7284: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
                   7285: # Boundless Technologies); for details, see the header comment on the ADDS
                   7286: # section.
                   7287: #
                   7288: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   7289: # removed.
                   7290: #
1.11      millert  7291: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
                   7292:        am, eo, mir, msgr, xon,
                   7293:        cols#80, it#8, lines#24,
                   7294:        bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   7295:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7296:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7297:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   7298:        el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   7299:        il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J,
                   7300:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   7301:        kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r,
                   7302:        kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r,
                   7303:        kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r,
                   7304:        kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H,
                   7305:        kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   7306:        rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h,
                   7307:        smso=\E[7m,
                   7308: att2350|AT&T 2350 Video Information Terminal 80 column mode,
1.24    ! millert  7309:        mc0@, mc4@, mc5@, use=att2300,
1.1       millert  7310:
                   7311: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   7312: # Seems upward compatible with vt100, plus ins/del line/char.
                   7313: # On sgr, the protection parameter is ignored.
                   7314: # No check is made to make sure that only 3 parameters are output.
                   7315: #      standout= reverse + half-intensity = 3 | 5.
                   7316: #      bold= reverse + underline = 2 | 3.
                   7317: # note that half-bright blinking doesn't look different from normal blinking.
                   7318: # NOTE:you must program the function keys first, label second!
                   7319: # (att4410: a BSD entry has been seen with the following capabilities:
                   7320: # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
                   7321: # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
1.11      millert  7322: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
                   7323:        am, hs, mir, msgr, xon,
                   7324:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   7325:        acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7326:        bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
                   7327:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   7328:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
                   7329:        dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I,
                   7330:        ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0,
                   7331:        is3=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW,
                   7332:        kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7333:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
                   7334:        kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H,
                   7335:        ll=\E[24H, nel=^M^J,
                   7336:        pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s,
                   7337:        pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
                   7338:        rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
                   7339:        sc=\E7,
                   7340:        sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   7341:        sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
                   7342:        tsl=\E7\E[25;%p1%{1}%+%dH,
                   7343:
                   7344: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
                   7345:        cols#132, wsl#132,
                   7346:        is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
                   7347:
                   7348: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
                   7349:        OTbs,
1.24    ! millert  7350:        pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s,
        !          7351:        use=att5410v1,
1.11      millert  7352:
                   7353: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
                   7354:        cols#132, wsl#132,
                   7355:        is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
1.1       millert  7356:
                   7357: # 5410 in terms of a vt100
                   7358: # (v5410: added <rmam>/<smam> based on init string -- esr)
1.11      millert  7359: v5410|att5410 in terms of a vt100,
                   7360:        am, mir, msgr, xon,
                   7361:        cols#80, it#8, lines#24, vt#3,
                   7362:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7363:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   7364:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   7365:        cub1=^H, cud1=^J, cuf1=\E[C$<2>,
                   7366:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
                   7367:        dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   7368:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
                   7369:        il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   7370:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   7371:        kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
                   7372:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
                   7373:        kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,
                   7374:        rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
                   7375:        rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   7376:        sc=\E7,
                   7377:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   7378:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   7379:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
1.1       millert  7380:
                   7381: #
                   7382: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   7383: # even! the 5420 has three modes: scroll, window or page mode
                   7384: # this terminfo should work in scroll or window mode, but doesn't
                   7385: # take advantage of any of the differences between them.
                   7386: #
                   7387: # Has memory below (2 lines!)
                   7388: # 3 pages of memory (plus some spare)
                   7389: # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
                   7390: # <hpa>, <hts> would work for these, but these work in both scroll and window
                   7391: # mode... Unset insert character so insert mode works
                   7392: # <is1> sets 80 column mode,
                   7393: # <is2> escape sequence:
                   7394: # 1) turn off all fonts
                   7395: # 2) function keys off, keyboard lock off, control display off,
                   7396: #    insert mode off, erasure mode off,
                   7397: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   7398: # 4) reset origin mode
                   7399: # 5) set line wraparound
                   7400: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   7401: # 7) clear margins
                   7402: # 8) program ENTER to transmit ^J,
                   7403: # We use \212 to program the ^J because a bare ^J will get translated by
                   7404: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   7405: #     1      2            3              4     5     6    7  8
                   7406: # <is3> set screen color to black,
                   7407: # No representation in terminfo for the delete word key: kdw1=\Ed
                   7408: # Key capabilities assume the power-up send sequence...
                   7409: # This <rmcup> is not strictly necessary, but it helps maximize
                   7410: # memory usefulness: <rmcup=\Ez>,
                   7411: # Alternate sgr0:      <sgr0=\E[m\EW^O>,
                   7412: # 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%;>,
                   7413: # smkx programs the SYS PF keys to send a set sequence.
                   7414: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
                   7415: # This string causes them to send the strings <kf1>-<kf8>
                   7416: # when pressed in SYS PF mode.
                   7417: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  7418: att4415|tty5420|att5420|AT&T 4415/5420 80 cols,
                   7419:        OTbs, db, mir, xon,
                   7420:        lh#2, lm#78, lw#8, nlab#8, wsl#55,
                   7421:        cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD,
                   7422:        cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx,
                   7423:        cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP,
                   7424:        dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD,
                   7425:        flash=\E[?5h$<200>\E[?5l, home=\E[x,
                   7426:        hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@,
                   7427:        il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>,
                   7428:        is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212,
                   7429:        is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
                   7430:        kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd,
                   7431:        kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   7432:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
                   7433:        kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   7434:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i,
                   7435:        mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt,
                   7436:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s,
                   7437:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV,
                   7438:        rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
                   7439:        rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
                   7440:        sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   7441:        sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
                   7442:        smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
                   7443:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   7444:        use=att4410,
                   7445:
                   7446: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
                   7447:        cols#132, lm#54, wsl#97,
                   7448:        is1=\E[?3h$<100>, use=att4415,
                   7449:
                   7450: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
1.24    ! millert  7451:        flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415,
1.11      millert  7452:
                   7453: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
                   7454:        cols#132, lm#54, wsl#97,
1.24    ! millert  7455:        flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h,
        !          7456:        use=att4415,
1.1       millert  7457:
                   7458: # Note that this mode permits programming USER PF KEYS and labels
                   7459: # However, when you program user pf labels you have to reselect
                   7460: # user pf keys to make them appear!
1.11      millert  7461: att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
                   7462:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
                   7463:        pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
                   7464:        pln=\E[%p1%d;0;0;1q%p2%:-16.16s,
                   7465:
                   7466: att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
1.24    ! millert  7467:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
        !          7468:        use=att4415,
1.11      millert  7469:
                   7470: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
1.24    ! millert  7471:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
        !          7472:        use=att4415-rv,
1.11      millert  7473:
                   7474: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
1.24    ! millert  7475:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
        !          7476:        use=att4415-w,
1.11      millert  7477:
                   7478: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
1.24    ! millert  7479:        kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
        !          7480:        use=att4415-w-rv,
1.11      millert  7481:
                   7482: att5420_2|AT&T 5420 model 2 80 cols,
                   7483:        am, db, hs, mir, msgr, xon,
                   7484:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   7485:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7486:        blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
                   7487:        cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7488:        cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
                   7489:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j,
                   7490:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   7491:        dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K,
                   7492:        el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   7493:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7494:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
                   7495:        invis=\E[8m,
                   7496:        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,
                   7497:        kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
                   7498:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
                   7499:        kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe,
                   7500:        kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H,
                   7501:        kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
                   7502:        kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
                   7503:        lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i,
                   7504:        mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J,
                   7505:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~,
                   7506:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8,
                   7507:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j,
                   7508:        rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
                   7509:        sc=\E7,
                   7510:        sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   7511:        sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~,
                   7512:        smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   7513:        tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
                   7514: att5420_2-w|AT&T 5420 model 2 in 132 column mode,
                   7515:        cols#132,
1.24    ! millert  7516:        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,
        !          7517:        use=att5420_2,
1.11      millert  7518:
                   7519: att4418|att5418|AT&T 5418 80 cols,
                   7520:        am, xon,
                   7521:        cols#80, lines#24,
                   7522:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7523:        bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD,
                   7524:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   7525:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   7526:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
                   7527:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
                   7528:        ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J,
                   7529:        is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@,
                   7530:        kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h,
                   7531:        kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I,
                   7532:        kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E,
                   7533:        kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j,
                   7534:        kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8,
                   7535:        rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7,
                   7536:        sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
                   7537: att4418-w|att5418-w|AT&T 5418 132 cols,
                   7538:        cols#132,
                   7539:        is1=\E[?3h, use=att5418,
                   7540:
                   7541: att4420|tty4420|teletype 4420,
                   7542:        OTbs, da, db, eo, msgr, ul, xon,
                   7543:        cols#80, lines#24, lm#72,
                   7544:        bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC,
                   7545:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   7546:        dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s,
                   7547:        kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC,
                   7548:        kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH,
                   7549:        kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET,
                   7550:        lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~,
                   7551:        rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
1.1       millert  7552:
                   7553: #  The following is a terminfo entry for the Teletype 4424
                   7554: #  asynchronous keyboard-display terminal.  It supports
                   7555: #  the vi editor.  The terminal must be set up as follows,
                   7556: #
                   7557: #      HIGHLIGHT DEFINITION    3-TONE
                   7558: #      DISPLAY FUNCTION        GROUP III
                   7559: #
                   7560: #  The second entry below provides limited (a la adm3a)
                   7561: #  operation under GROUP II.
                   7562: #
                   7563: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   7564: #      and HIGHLIGHT DEFINITION 3-TONE
                   7565: # The terminal has either bold or blink, depending on options
                   7566: #
                   7567: # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
1.11      millert  7568: att4424|tty4424|teletype 4424,
                   7569:        OTbs, am, xon,
                   7570:        cols#80, lines#24,
                   7571:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7572:        bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M,
                   7573:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7574:        cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
                   7575:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA,
                   7576:        dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM,
                   7577:        ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7578:        ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h,
                   7579:        kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7580:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   7581:        khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~,
                   7582:        rmul=\EZ,
                   7583:        sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
                   7584:        sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\,
                   7585:        tbc=\EF,
                   7586:
                   7587: att4424-1|tty4424-1|teletype 4424 in display function group I,
                   7588:        kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@,
                   7589:        use=att4424,
1.1       millert  7590:
                   7591: # This entry is not one of AT&T's official ones, it was translated from the
                   7592: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   7593: # I have no idea why this is -- older firmware version, maybe?
                   7594: # The following two lines are the comment originally attached to the entry:
                   7595: # This entry appears to avoid the top line - I have no idea why.
                   7596: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   7597: att4424m|tty4424m|teletype 4424M,
                   7598:        am, da, db, mir,
                   7599:        cols#80, it#8, lines#23,
1.11      millert  7600:        bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   7601:        cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP,
                   7602:        dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>,
                   7603:        is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   7604:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   7605:        kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m,
                   7606:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1.1       millert  7607:
                   7608: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   7609: # is quite similar, except for some minor differences. No page
                   7610: # mode, for example, so all of the <cup> sequences used above have
                   7611: # to change back to what's being used for the 5410. Many of the
                   7612: # option settings have changed their numbering as well.
                   7613: #
                   7614: # This has been tested on a preliminary model.
                   7615: #
                   7616: # (att5425: added <rmam>/<smam> based on the init string -- esr)
1.11      millert  7617: att5425|tty5425|att4425|AT&T 4425/5425,
                   7618:        am, da, db, hs, mir, msgr, xenl, xon,
                   7619:        cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
                   7620:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7621:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   7622:        clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M,
                   7623:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7624:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7625:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7626:        cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   7627:        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J,
                   7628:        el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   7629:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
                   7630:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7631:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
                   7632:        invis=\E[8m, is1=\E<\E[?3l$<100>,
                   7633:        is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212,
                   7634:        is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J,
                   7635:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   7636:        kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc,
                   7637:        kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
                   7638:        kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T,
                   7639:        kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
                   7640:        nel=^M^J,
                   7641:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   7642:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8,
1.1       millert  7643:        rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
1.11      millert  7644:        rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
                   7645:        rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
                   7646:        sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   7647:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   7648:        smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
                   7649:        smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
                   7650:        vpa=\E[%p1%{1}%+%dd,
                   7651:
                   7652: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
1.24    ! millert  7653:        smkx=\E[21;1j\E[25;4j\Eent, use=att4425,
1.11      millert  7654:
                   7655: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
                   7656:        cols#132, lm#54, wsl#97,
                   7657:        is1=\E[?3h$<100>, use=tty5425,
1.1       millert  7658:
                   7659: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   7660: # I also added <rmam>/<smam> -- esr)
1.11      millert  7661: att4426|tty4426|teletype 4426S,
                   7662:        am, da, db, xon,
                   7663:        cols#80, lines#24, lm#48,
                   7664:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7665:        bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
                   7666:        cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   7667:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7668:        cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP,
                   7669:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H,
                   7670:        hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^,
                   7671:        il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS,
                   7672:        is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO,
                   7673:        kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   7674:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                   7675:        kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H,
                   7676:        nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT,
                   7677:        rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
                   7678:        rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0,
                   7679:        smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g,
                   7680:        vpa=\E[%p1%dd,
1.1       millert  7681:
                   7682: # Terminfo entry for the AT&T 510 A Personal Terminal
                   7683: # Function keys 9 - 16 are available only after the
                   7684: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   7685: # 9 corresponds to the leftmost touch target on the screen,
                   7686: # function key 16 corresponds to the rightmost.
                   7687: #
                   7688: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   7689: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
1.11      millert  7690: att510a|bct510a|AT&T 510A Personal Terminal,
                   7691:        am, mir, msgr, xenl, xon,
                   7692:        cols#80, lh#2, lines#24, lw#7, nlab#8,
                   7693:        acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
                   7694:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   7695:        civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
                   7696:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,
                   7697:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   7698:        cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP,
                   7699:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
                   7700:        el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I,
                   7701:        hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l,
                   7702:        is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z,
                   7703:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm,
                   7704:        kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh,
                   7705:        kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe,
                   7706:        kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T,
                   7707:        mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE,
                   7708:        pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
                   7709:        rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7,
                   7710:        sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;,
                   7711:        sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m,
                   7712:        smul=\E[4m, tbc=\E[3g,
1.1       millert  7713:
                   7714: # Terminfo entry for the AT&T 510 D Personal Terminal
                   7715: # Function keys 9 through 16 are accessed by bringing up the
                   7716: # system blocks.
                   7717: # Function key 9 corresponds to the leftmost touch target on the screen,
                   7718: # function key 16 corresponds to the rightmost.
                   7719: #
                   7720: # There are problems with soft key labeling.  These are due to
                   7721: # strangenesses in the native terminal that are impossible to
                   7722: # describe in a terminfo.
1.11      millert  7723: att510d|bct510d|AT&T 510D Personal Terminal,
                   7724:        am, da, db, mir, msgr, xenl, xon,
                   7725:        cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
                   7726:        acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
                   7727:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   7728:        clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
                   7729:        cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,
                   7730:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   7731:        cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P,
                   7732:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
                   7733:        el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H,
                   7734:        hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   7735:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
                   7736:        invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212,
                   7737:        kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
                   7738:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd,
                   7739:        kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
                   7740:        kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
                   7741:        kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2,
                   7742:        mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE,
                   7743:        pln=\E[%p1%dp%p2%:-16s, rc=\E8,
                   7744:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   7745:        rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
                   7746:        rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|,
                   7747:        rs2=\E[5;0|, sc=\E7,
                   7748:        sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   7749:        sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
                   7750:        smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
                   7751:        smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1.1       millert  7752:
                   7753: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.11      millert  7754: att500|att513|AT&T 513 using page mode,
                   7755:        am, chts, mir, msgr, xenl, xon,
                   7756:        cols#80, lh#2, lines#24, lw#8, nlab#8,
                   7757:        acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
                   7758:        bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
                   7759:        clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
                   7760:        csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7761:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   7762:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7763:        cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m,
                   7764:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   7765:        enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
                   7766:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   7767:        indn=\E[%p1%dE, invis=\E[8m,
                   7768:        is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
                   7769:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   7770:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   7771:        kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
                   7772:        kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
                   7773:        kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
                   7774:        kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw,
                   7775:        kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd,
                   7776:        kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   7777:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent,
                   7778:        kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   7779:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm,
                   7780:        khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
                   7781:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   7782:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   7783:        kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
                   7784:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
                   7785:        mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i,
                   7786:        nel=\EE,
                   7787:        pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s,
                   7788:        pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s,
                   7789:        pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
                   7790:        pln=\E[%p1%dp%p2%:-16s, rc=\E8,
                   7791:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
                   7792:        rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
                   7793:        rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
                   7794:        rmul=\E[m,
                   7795:        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,
                   7796:        rs2=\E[5;0|, sc=\E7,
                   7797:        sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   7798:        sgr0=\E[m\017, smacs=^N, smir=\E[4h,
                   7799:        smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
                   7800:        smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1.1       millert  7801:
                   7802: # 01-07-88
                   7803: # printer must be set to EMUL ANSI to accept ESC codes
                   7804: # <cuu1> stops at top margin
                   7805: # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
                   7806: #      and alt font ascii,wrap on,tabs cleared
                   7807: # <is2> disables newline on LF,Emphasized off
                   7808: # The <u0> capability sets form length
1.11      millert  7809: att5310|att5320|AT&T Model 53210 or 5320 matrix printer,
                   7810:        xhpa, xvpa,
                   7811:        bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10,
                   7812:        orhi#100, orl#12, orvi#72,
                   7813:        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%;,
                   7814:        cr=^M,
                   7815:        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%;,
                   7816:        cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM,
                   7817:        ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
                   7818:        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%;,
                   7819:        rshm=\E[m,
                   7820:        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(}%;,
                   7821:        smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds,
                   7822:        smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m,
                   7823:        u0=\E[%p1%dt, vpa=\E[%p1%dd,
1.1       millert  7824:
                   7825: # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
                   7826: # The following SET-UP modes are assumed for normal operation:
                   7827: #      CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
                   7828: # Other SET-UP modes may be set for operator convenience or communication
                   7829: # requirements.  This termcap description is for the Resident Terminal Mode.
                   7830: # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   7831: # The BRL entry also said: UNSAFE :ll=\E[70H:
                   7832: att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs,
                   7833:        am, xon,
                   7834:        cols#88, it#8, lines#70, vt#3,
                   7835:        bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   7836:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   7837:        dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   7838:        home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   7839:        il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J,
                   7840:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   7841:        kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT,
                   7842:        rs1=\Ec, sc=\E7,
                   7843:
                   7844: # 5620 terminfo  (2.0 or later ROMS with char attributes)
                   7845: # The following SET-UP modes are assumed for normal operation:
                   7846: #      DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
                   7847: # Other SET-UP modes may be set for operator convenience or communication
                   7848: # requirements.  This termcap description is for Resident Terminal Mode.  No
                   7849: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   7850: # assumptions: <ind> (scroll forward one line) is only done at screen bottom
                   7851: # Be aware that older versions of the dmd have a firmware bug that affects
                   7852: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
                   7853: # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
                   7854: # also has <ll>=\E[70H commented out and marked unsafe.
                   7855: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
1.11      millert  7856: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
                   7857:        OTbs, am, msgr, npc, xon,
                   7858:        cols#88, it#8, lines#70,
                   7859:        bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H,
                   7860:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   7861:        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
                   7862:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@,
                   7863:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   7864:        indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   7865:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J,
                   7866:        pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T,
                   7867:        rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7,
                   7868:        sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   7869: att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
                   7870:        lines#24, use=att5620,
                   7871: att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
                   7872:        lines#34, use=att5620,
1.1       millert  7873: # 5620 layer running the "S" system's downloaded graphics handler:
                   7874: att5620-s|tty5620-s|layer|vitty|5620 S layer,
                   7875:        OTbs, OTpt, am,
                   7876:        cols#80, it#8, lines#72,
                   7877:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   7878:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED,
                   7879:        el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J,
                   7880:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   7881:        kll=\E[70;1H,
                   7882:
                   7883: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
                   7884: #
                   7885: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
                   7886: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
1.11      millert  7887: att605|AT&T 605 80 column 102key keyboard,
                   7888:        am, eo, xon,
                   7889:        cols#80, lines#24, lw#8, nlab#8, wsl#80,
                   7890:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7891:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   7892:        cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   7893:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
                   7894:        dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   7895:        el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   7896:        il1=\E[L, ind=^J, invis=\E[8m,
                   7897:        is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017,
                   7898:        kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J,
                   7899:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   7900:        kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq,
                   7901:        kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD,
                   7902:        kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH,
                   7903:        kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
                   7904:        kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe,
                   7905:        kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx,
                   7906:        kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv,
                   7907:        kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
                   7908:        kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh,
                   7909:        kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@,
                   7910:        kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H,
                   7911:        mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   7912:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   7913:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
                   7914:        rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
                   7915:        rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016,
                   7916:        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
                   7917:        tsl=\E7\E[25;%i%p1%dx,
                   7918: att605-pc|ATT 605 in pc term mode,
                   7919:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
                   7920:        cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
                   7921:        dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z,
                   7922:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
                   7923:        kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N,
                   7924:        kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
                   7925:        kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I,
                   7926:        rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g,
1.24    ! millert  7927:        xonc=e, use=att605,
1.11      millert  7928: att605-w|AT&T 605-w 132 column 102 key keyboard,
                   7929:        cols#132, wsl#132,
1.24    ! millert  7930:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0,
        !          7931:        use=att605,
1.1       millert  7932: # (att610: I added <rmam>/<smam> based on the init string.  I also
                   7933: # added <indn> and <rin> because the BSD file says the att615s have them,
                   7934: # and the 615 is like a 610 with a big keyboard, and most of their other
                   7935: # smart terminals support the same sequence -- esr)
1.11      millert  7936: att610|AT&T 610; 80 column; 98key keyboard,
                   7937:        am, eslok, hs, mir, msgr, xenl, xon,
                   7938:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   7939:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   7940:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   7941:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   7942:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   7943:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   7944:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   7945:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   7946:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   7947:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
                   7948:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   7949:        indn=\E[%p1%dS, invis=\E[8m,
                   7950:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
                   7951:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
                   7952:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   7953:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   7954:        kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
                   7955:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   7956:        kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i,
                   7957:        nel=\EE,
                   7958:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   7959:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
                   7960:        ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
                   7961:        rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
                   7962:        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%;,
                   7963:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   7964:        smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
                   7965: att610-w|AT&T 610; 132 column; 98key keyboard,
1.1       millert  7966:        cols#132, wsl#132,
1.24    ! millert  7967:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
        !          7968:        use=att610,
1.1       millert  7969:
1.11      millert  7970: att610-103k|AT&T 610; 80 column; 103key keyboard,
                   7971:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   7972:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   7973:        kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
                   7974:        kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
                   7975:        kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
                   7976:        kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   7977:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
                   7978:        kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx,
                   7979:        khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl,
                   7980:        knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V,
                   7981:        kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq,
                   7982:        krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo,
1.24    ! millert  7983:        kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610,
1.11      millert  7984: att610-103k-w|AT&T 610; 132 column; 103key keyboard,
1.1       millert  7985:        cols#132, wsl#132,
1.24    ! millert  7986:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
        !          7987:        use=att610-103k,
1.11      millert  7988: att615|AT&T 615; 80 column; 98key keyboard,
                   7989:        kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   7990:        kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   7991:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   7992:        kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   7993:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   7994:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
1.24    ! millert  7995:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610,
1.11      millert  7996: att615-w|AT&T 615; 132 column; 98key keyboard,
                   7997:        kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   7998:        kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
                   7999:        kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
                   8000:        kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
                   8001:        kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
                   8002:        kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
1.24    ! millert  8003:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610-w,
1.11      millert  8004: att615-103k|AT&T 615; 80 column; 103key keyboard,
1.24    ! millert  8005:        kLFT=\E[ A, kRIT=\E[ @, use=att610-103k,
1.11      millert  8006: att615-103k-w|AT&T 615; 132 column; 103key keyboard,
1.24    ! millert  8007:        kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w,
1.1       millert  8008: # (att620: I added <rmam>/<smam> based on the init string and
                   8009: # <rin>/<indn> from a BSD termcap -- esr)
1.11      millert  8010: att620|AT&T 620; 80 column; 98key keyboard,
                   8011:        am, eslok, hs, mir, msgr, xenl, xon,
                   8012:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   8013:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8014:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   8015:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   8016:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   8017:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8018:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8019:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   8020:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   8021:        flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
                   8022:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   8023:        indn=\E[%p1%dS, invis=\E[8m,
                   8024:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
                   8025:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H,
                   8026:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   8027:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   8028:        kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE,
                   8029:        kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI,
                   8030:        kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
                   8031:        kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ,
                   8032:        kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy,
                   8033:        kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf,
                   8034:        kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
                   8035:        kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
                   8036:        kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H,
                   8037:        mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   8038:        pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
                   8039:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
                   8040:        ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
                   8041:        rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
                   8042:        rs2=\Ec\E[?3l, sc=\E7,
                   8043:        sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   8044:        sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h,
                   8045:        smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
                   8046:        tsl=\E7\E[25;%i%p1%dx,
                   8047: att620-w|AT&T 620; 132 column; 98key keyboard,
                   8048:        cols#132, wsl#132,
1.24    ! millert  8049:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
        !          8050:        use=att620,
1.11      millert  8051: att620-103k|AT&T 620; 80 column; 103key keyboard,
                   8052:        kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
                   8053:        kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
                   8054:        kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
                   8055:        kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
                   8056:        kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
                   8057:        kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
                   8058:        kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
                   8059:        kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
                   8060:        kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@,
                   8061:        kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@,
                   8062:        kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@,
                   8063:        kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi,
                   8064:        kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
                   8065:        kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
                   8066:        kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB,
1.24    ! millert  8067:        ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, use=att620,
1.11      millert  8068:
                   8069: att620-103k-w|AT&T 620; 132 column; 103key keyboard,
                   8070:        cols#132, wsl#132,
1.24    ! millert  8071:        is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
        !          8072:        use=att620-103k,
1.1       millert  8073:
                   8074: # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
                   8075: # The following SETUP modes are assumed for normal operation:
                   8076: #      Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
                   8077: #      Font_Size=Large         Non-Layers_Window_Cols=80
                   8078: #                              Non-Layers_Window_Rows=60
                   8079: # Other SETUP modes may be set for operator convenience or communication
                   8080: # requirements.  Some capabilities assume a printer attached to the Aux EIA
                   8081: # port.  This termcap description is for the Fixed Non-Layers Window.  No
                   8082: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   8083: # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
1.11      millert  8084: att630|AT&T 630 windowing terminal,
                   8085:        OTbs, am, da, db, mir, msgr, npc, xon,
                   8086:        cols#80, it#8, lines#60, lm#0,
                   8087:        bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M,
                   8088:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   8089:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   8090:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   8091:        dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
                   8092:        el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   8093:        il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m,
                   8094:        kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   8095:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M,
                   8096:        kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt,
                   8097:        kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy,
                   8098:        kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~,
                   8099:        kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i,
                   8100:        mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
                   8101:        rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
                   8102:        rmul=\E[m, rs2=\Ec, sc=\E7,
                   8103:        sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m,
                   8104:        sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   8105: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
                   8106:        lines#24, use=att630,
1.1       millert  8107:
                   8108: # This is the att700 entry for 700 native emulation of the AT&T 700
                   8109: # terminal.  Comments are relative to changes from the 605V2 entry and
                   8110: # att730 on which the entry is based.  Comments show the terminfo
                   8111: # capability name, termcap name, and description.
                   8112: #
                   8113: # Here is what's going onm in the init string:
                   8114: #      ESC [ 50;4|     set 700 native mode (really is 605)
                   8115: # x    ESC [ 56;ps|    set lines to 24: ps=0; 40: ps=1 (plus status line)
                   8116: #      ESC [ 53;0|     set GenFlow to Xon/Xoff
                   8117: #      ESC [ 8 ;0|     set CR on NL
                   8118: # x    ESC [ ? 3 l/h   set workspace: 80 col(l); 132 col(h)
                   8119: #      ESC [ ? 4 l     jump scroll
                   8120: #      ESC [ ? 5 l/h   video: normal (l); reverse (h)
                   8121: #      ESC [ ?13 l     Labels on
                   8122: #      ESC [ ?15 l     parity check = no
                   8123: #      ESC [ 13 l      monitor mode off
                   8124: #      ESC [ 20 l      LF on NL (not CRLF on NL)
                   8125: #      ESC [ ? 7 h     autowrap on
                   8126: #      ESC [ 12 h      local echo off
                   8127: #      ESC ( B         GO = ASCII
                   8128: #      ESC ) 0         G1 = Special Char & Line Drawing
                   8129: #      ESC [ ? 31 l    Set 7 bit controls
                   8130: #
                   8131: # Note: Most terminals, especially the 600 family use Reverse Video for
                   8132: # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
                   8133: # Assume we should stay with reverse video for 70..  However, the 605V2 exits
                   8134: # standout mode with \E[m (all normal attributes).  The 730 entry simply
                   8135: # exits reverse video which would leave other current attributes intact.  It
                   8136: # was assumed the 730 entry to be more correct so rmso has changed.  The
                   8137: # 605V2 has no sequences to turn individual attributes off, thus its setting
                   8138: # and the rmso/smso settings from the 730.
                   8139: #
                   8140: # Note: For the same reason as above in rmso I changed exit under-score mode
                   8141: # to specifically turn off underscore, rather than return to all normal
                   8142: # attributes
                   8143: #
                   8144: # Note: The following pkey_xmit is taken from the 605V2 which contained the
                   8145: # capability as pfxl.  It was changed here to pfx since pfxl
                   8146: # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
                   8147: # allows strings to be parameters and label values must be programmed as
                   8148: # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
                   8149: # and strings to be parameters.  The 605V2 pfx entry should be examined later
                   8150: # in this regard. For reference the 730 pfxl entry is shown here for comparison
                   8151: # 730 pfx entry:
                   8152: #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
                   8153: # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
                   8154: #
                   8155: # (for 4.0 tic)
                   8156: #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   8157: #
                   8158: # (for <4.0 tic)
                   8159: #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   8160: #
                   8161: # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
                   8162: #
                   8163: # Port1 Interface
                   8164: #
                   8165: # modular 10 pin Connector
                   8166: # Left side       Right side
                   8167: # Pin 1 2 3 4 5 6 7 8 9 10
                   8168: #
                   8169: #        Key (notch) at bottom
                   8170: #
                   8171: # Pin    1 DSR
                   8172: #        3 DCD
                   8173: #        4 DTR
                   8174: #        5 Sig Ground
                   8175: #        6 RD
                   8176: #        7 SD
                   8177: #        8 CTS
                   8178: #        9 RTS
                   8179: #        10 Frame Ground
                   8180: #
                   8181: # The manual is 189 pages and is loaded with details about the escape codes,
                   8182: # etc..... Available from AT&T CIC 800-432-6600...
                   8183: # ask for Document number 999-300-660..
                   8184: #
1.11      millert  8185: att700|AT&T 700 24x80 column display w/102key keyboard,
1.1       millert  8186:        am, eslok, hs, mir, msgr, xenl, xon,
                   8187:        cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
                   8188:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8189:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   8190:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   8191:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   8192:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8193:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8194:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   8195:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   8196:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4,
                   8197:        fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   8198:        il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
                   8199:        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,
                   8200:        is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z,
                   8201:        kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8202:        kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp,
                   8203:        kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC,
                   8204:        kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd,
                   8205:        kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP,
                   8206:        kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq,
                   8207:        kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu,
                   8208:        kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu,
                   8209:        kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr,
                   8210:        kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg,
                   8211:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   8212:        kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H,
                   8213:        mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   8214:        pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
                   8215:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
                   8216:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
                   8217:        rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
                   8218:        rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
                   8219:        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%;,
                   8220:        sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
                   8221:        smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
                   8222:        tsl=\E7\E[99;%i%p1%dx,
                   8223:
                   8224: # This entry was modified 3/13/90 by JWE.
                   8225: # fixes include additions of <enacs>, correcting <rep>, and modification
                   8226: # of <kHOM>.  (See comments below)
                   8227: # att730 has status line of 80 chars
                   8228: # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
                   8229: # the <kf25> and up keys are used for shifted system Fkeys
                   8230: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
                   8231: # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
                   8232: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
                   8233: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
                   8234: # 102, 102+1, or 122 key keyboards
                   8235: #       kHOM=\E[2J,
                   8236: # (att730: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  8237: att730|AT&T 730 windowing terminal,
                   8238:        am, da, db, eslok, hs, mir, msgr, npc, xenl, xon,
                   8239:        cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80,
                   8240:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8241:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
                   8242:        clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
                   8243:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   8244:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8245:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8246:        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   8247:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
                   8248:        enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
                   8249:        home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
                   8250:        ind=\ED, invis=\E[8m,
                   8251:        is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
                   8252:        is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
                   8253:        kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   8254:        kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
                   8255:        kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw,
                   8256:        kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{,
                   8257:        kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD,
                   8258:        kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH,
                   8259:        kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
                   8260:        kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf,
                   8261:        kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ,
                   8262:        kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg,
                   8263:        kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
                   8264:        kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
                   8265:        mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
                   8266:        pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%:-2d  %e;0;3q%;%p2%s,
                   8267:        pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
                   8268:        pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
                   8269:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
                   8270:        rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
                   8271:        rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
                   8272:        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%;,
                   8273:        sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   8274:        smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
                   8275:        swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
                   8276: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
                   8277:        lines#41, use=att730,
                   8278: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
                   8279:        lines#24, use=att730,
                   8280: att730r|730MTGr|AT&T 730 rev video windowing terminal Version,
                   8281:        flash=\E[?5l$<200>\E[?5h,
1.24    ! millert  8282:        is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B,
        !          8283:        use=att730,
1.11      millert  8284: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
                   8285:        lines#41, use=att730r,
                   8286: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
                   8287:        lines#24, use=att730r,
1.1       millert  8288:
                   8289: # The following represents the screen layout along with the associated
                   8290: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   8291: # not appear on the screen but are shown to reference the bezel buttons.
                   8292: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   8293: # position relative to the screen.
                   8294: #
                   8295: #
                   8296: #
                   8297: #      +----------------------------------------------------------------+
                   8298: #      |                                                                |
                   8299: # XXXX | kf0                                                       kf24 | XXXX
                   8300: #      |                                                                |
                   8301: #      |                                                                |
                   8302: # XXXX | kf1                                                       kf23 | XXXX
                   8303: #      |                                                                |
                   8304: #      |                                                                |
                   8305: # XXXX | kf2                                                       kf22 | XXXX
                   8306: #      |                                                                |
                   8307: #      |                                                                |
                   8308: # XXXX | kf3                                                       kf21 | XXXX
                   8309: #      |                                                                |
                   8310: #      |                                                                |
                   8311: # XXXX | kf4                                                       kf20 | XXXX
                   8312: #      |                                                                |
                   8313: #      |                                                                |
                   8314: # XXXX | kf5                                                       kf19 | XXXX
                   8315: #      |                                                                |
                   8316: #      |                                                                |
                   8317: # XXXX | kf6                                                       kf18 | XXXX
                   8318: #      |                                                                |
                   8319: #      |                                                                |
                   8320: # XXXX |                                                                | XXXX
                   8321: #      |                                                                |
                   8322: #      |                                                                |
                   8323: #      +----------------------------------------------------------------+
                   8324: #
                   8325: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   8326: #
                   8327: # Note: XXXX represents the screen buttons
                   8328: #                                                          CMD   REDRAW
                   8329: #
                   8330: #                                                          MAIL
                   8331: #
                   8332: # version 1 note:
                   8333: #      The character string sent by key 'kf26' may be user programmable
                   8334: #       to send either \E[16s, or \E[26s.
                   8335: #       The character string sent by key 'krfr' may be user programmable
                   8336: #       to send either \E[17s, or \E[27s.
                   8337: #
                   8338: # Depression of the "CMD" key sends    \E!    (kcmd)
                   8339: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   8340: # "REDRAW" same as "REFRESH" (krfr)
                   8341: #
                   8342: # "kf" functions adds carriage return to output string if terminal is in
                   8343: # 'new line' mode.
                   8344: #
                   8345: # The following are functions not covered in the table above:
                   8346: #
                   8347: #       Set keyboard character (SKC): \EPn1;Pn2w
                   8348: #                       Pn1= 0 Back Space key
                   8349: #                       Pn1= 1 Break key
                   8350: #                       Pn2=   Program char (hex)
                   8351: #
                   8352: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   8353: #                       Pn1=     Window number (1-39)
                   8354: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   8355: #
                   8356: #       Screen Selection (SSL): \E[Pnu
                   8357: #                       Pn= Window number
                   8358: #
                   8359: #       Set Terminal Modes (SM): \E[Pnh
                   8360: #                       Pn= 3 Graphics mode
                   8361: #                       Pn= > Cursor blink
                   8362: #                       Pn= < Enter new line mode
                   8363: #                       Pn= = Enter reverse insert/replace mode
                   8364: #                       Pn= ? Enter no scroll mode
                   8365: #
                   8366: #       Reset Terminal Mode (RM): \E[Pnl
                   8367: #                       Pn= 3 Exit graphics mode
                   8368: #                       Pn= > Exit cursor blink
                   8369: #                       Pn= < Exit new line mode
                   8370: #                       Pn= = Exit reverse insert/replace mode
                   8371: #                       Pn= ? Exit no scroll mode
                   8372: #
                   8373: #       Screen Status Report (SSR): \E[Pnp
                   8374: #                       Pn= 0 Request current window number
                   8375: #                       Pn= 1 Request current window dimensions
                   8376: #
                   8377: #       Device Status Report (DSR): \E[6n    Request cursor position
                   8378: #
                   8379: #       Call Status Report (CSR): \E[Pnv
                   8380: #                       Pn= 0 Call failed
                   8381: #                       Pn= 1 Call successful
                   8382: #
                   8383: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   8384: #                       Pn1= Button number to be loaded
                   8385: #                       Pn2= Character count of "string"
                   8386: #                       Pn3= Key mode being loaded:
                   8387: #                               0= Unshifted
                   8388: #                               1= Shifted
                   8389: #                               2= Control
                   8390: #                       String= Text string (15 chars max)
                   8391: #
                   8392: #       Screen Number Report (SNR): \E[Pnp
                   8393: #                       Pn= Screen number
                   8394: #
                   8395: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   8396: #                       Pn1= Number of rows available in window
                   8397: #                       Pn2= Number of columns available in window
                   8398: #
                   8399: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
                   8400: #                       Pn1= "Y" Position of cursor
                   8401: #                       Pn2= "X" Position of cursor
                   8402: #
                   8403: #       Request Answer Back (RAB): \E[c
                   8404: #
                   8405: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   8406: #                       *=  0 No printer available
                   8407: #                       *=  2 Printer available
                   8408: #                       V=  Software version number
                   8409: #                       SV= Software sub version number
                   8410: #      (printer-available field not documented in v1)
                   8411: #
                   8412: #       Screen Alignment Aid: \En
                   8413: #
                   8414: #       Bell (lower pitch): \E[x
                   8415: #
                   8416: #       Dial Phone Number: \EPdstring\
                   8417: #                       string= Phone number to be dialed
                   8418: #
                   8419: #       Set Phone Labels: \EPpstring\
                   8420: #                       string= Label for phone buttons
                   8421: #
                   8422: #       Set Clock: \EPchour;minute;second\
                   8423: #
                   8424: #       Position Clock: \EPsY;X\
                   8425: #                       Y= "Y" coordinate
                   8426: #                       X= "X" coordinate
                   8427: #
                   8428: #       Delete Clock: \Epr\
                   8429: #
                   8430: #       Programming The Function Buttons: \EPfPn;string\
                   8431: #                       Pn= Button number (00-06, 18-24)
                   8432: #                                         (kf00-kf06, kf18-kf24)
                   8433: #                       string= Text to sent on button depression
                   8434: #
                   8435: # The following in version 2 only:
                   8436: #
                   8437: #       Request For Local Directory Data: \EPp12;\
                   8438: #
                   8439: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   8440: #
                   8441: #      Request for Local Directory Data in print format: \EPp13;\
                   8442: #
                   8443: #      Enable 'Prt on Line' mode: \022 (DC2)
                   8444: #
                   8445: #      Disable 'Prt on Line' mode: \024 (DC4)
                   8446: #
                   8447:
                   8448: # 05-Aug-86:
                   8449: # The following Terminfo entry describes functions which are supported by
                   8450: # the AT&T 5430/pt505 terminal software version 2 and later.
1.11      millert  8451: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
1.1       millert  8452:        am, xon,
                   8453:        cols#80, it#8, lines#24,
1.11      millert  8454:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   8455:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
                   8456:        cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
                   8457:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   8458:        cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8459:        cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   8460:        dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I,
                   8461:        il=\E[%p1%dL, il1=\E[L, ind=^J,
                   8462:        is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
                   8463:        kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   8464:        kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s,
                   8465:        kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s,
                   8466:        kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s,
                   8467:        kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s,
                   8468:        krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
                   8469:        rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m,
                   8470:        rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m,
                   8471:        smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m,
1.1       millert  8472:
                   8473: # The following Terminfo entry describes functions which are supported by
                   8474: # the AT&T 5430/pt505 terminal software version 1.
                   8475: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
1.11      millert  8476:        lines#24,
                   8477:        mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
                   8478: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
                   8479:        lines#22, use=att505,
                   8480: #
                   8481: #### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
                   8482: # This cut mark helps make life less painful for people running ncurses tic
                   8483: # on machines with relatively little RAM.  The file can be broken in half here
                   8484: # cleanly and compiled in sections -- no `use' references cross this cut
                   8485: # going forward.
                   8486: #
1.1       millert  8487:
                   8488: #### Ampex (Dialogue)
                   8489: #
                   8490: # Yes, these are the same people who are better-known for making audio- and
                   8491: # videotape.  I'm told they are located in Redwood City, CA.
                   8492: #
                   8493:
                   8494: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
                   8495: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   8496: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
1.11      millert  8497:        OTbs, am, bw, ul,
1.1       millert  8498:        cols#80, it#8, lines#24,
1.11      millert  8499:        bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J,
                   8500:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   8501:        dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1,
                   8502:        ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
1.1       millert  8503:        smso=\Ej, smul=\El, tbc=\E3,
                   8504: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
1.11      millert  8505: ampex175|ampex d175,
                   8506:        am,
                   8507:        cols#80, lines#24,
                   8508:        bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   8509:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   8510:        dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J,
                   8511:        is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   8512:        kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K,
                   8513:        rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El,
1.1       millert  8514: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   8515: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   8516: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   8517: # mode), this key can be used as the erase key; I find I like this. Because
                   8518: # some people and some systems may not, there is another termcap ("ampex175")
                   8519: # that suppresses this little eccentricity by omitting the relevant capability.
1.11      millert  8520: ampex175-b|ampex d175 using left arrow for erase,
1.24    ! millert  8521:        kbs=^_, use=ampex175,
1.1       millert  8522: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
                   8523: # (ampex210: removed obsolete ":kn#10:" -- esr)
                   8524: ampex210|a210|ampex a210,
1.11      millert  8525:        OTbs, am, hs, xenl,
1.1       millert  8526:        cols#80, it#8, lines#24, xmc#1,
                   8527:        cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
                   8528:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  8529:        dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX,
                   8530:        fsl=\E.2, home=^^, ht=^I, ich1=\EQ,
                   8531:        if=/usr/share/tabset/std, il1=\EE, invis@,
                   8532:        is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H,
                   8533:        kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
                   8534:        kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
                   8535:        kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^,
                   8536:        tsl=\E.0\Eg\E}\Ef, use=adm+sgr,
1.1       millert  8537: # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
                   8538: # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
                   8539: # and moved the padding to be *after* the caps -- esr)
1.11      millert  8540: ampex219|ampex-219|amp219|Ampex with Automargins,
                   8541:        hs, xenl,
                   8542:        cols#80, it#8, lines#24,
                   8543:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z,
                   8544:        clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M,
                   8545:        csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B,
                   8546:        cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>,
                   8547:        cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>,
                   8548:        el=\E[K$<3>, home=\E[H, ht=^I, ind=^J,
                   8549:        is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   8550:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~,
                   8551:        kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
                   8552:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
                   8553:        rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>,
                   8554:        rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h,
                   8555:        smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>,
                   8556: ampex219w|ampex-219w|amp219w|Ampex 132 cols,
                   8557:        cols#132, lines#24,
                   8558:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   8559:        is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
1.1       millert  8560: # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
                   8561: ampex232|ampex-232|Ampex Model 232,
                   8562:        am,
                   8563:        cols#80, lines#24, xmc#1,
1.11      millert  8564:        cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V,
                   8565:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   8566:        dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET,
                   8567:        flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>,
                   8568:        invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L,
                   8569:        kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
                   8570:        kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
1.24    ! millert  8571:        kf9=^AI\r, khome=^^, use=adm+sgr,
1.1       millert  8572: # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
1.11      millert  8573: ampex232w|Ampex Model 232 / 132 columns,
1.1       millert  8574:        cols#132, lines#24,
1.11      millert  8575:        is2=\E\034Eg\El, use=ampex232,
1.1       millert  8576:
                   8577: #### Ann Arbor (aa)
                   8578: #
                   8579: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
                   8580: # numbers of function keys.  At least some used monitors in portrait mode,
                   8581: # allowing up to 76-character screen heights!  They were reachable at:
                   8582: #
                   8583: #      Ann Arbor Terminals
                   8584: #      6175 Jackson Road
                   8585: #      Ann Arbor, MI 48103
                   8586: #      (313)-663-8000
                   8587: #
                   8588: # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
                   8589: # can't be found on the Web; I fear they're long dead.  R.I.P.
                   8590: #
                   8591:
                   8592:
                   8593: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   8594: # Highly modified 6/22 by Mike O'Brien.
                   8595: # split out into several for the various screen sizes by dave-yost@rand
                   8596: # Modifications made 3/82 by Mark Horton
                   8597: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
                   8598: # status line moved to top of screen, <flash> removed 5/82
                   8599: # Some unknown person at SCO then hacked the init strings to make them more
                   8600: # efficient.
                   8601: #
                   8602: # assumes the following setup:
                   8603: #   A menu: 0000 1010  0001 0000
                   8604: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   8605: #   C menu: 56   66   0    0    9600  0110 1100
                   8606: #   D menu: 0110 1001   1   0
                   8607: #
                   8608: #      Briefly, the settings are for the following modes:
                   8609: #         (values are for bit set/clear with * indicating our preference
                   8610: #          and the value used to test these termcaps)
                   8611: #      Note that many of these settings are irrelevent to the terminfo
                   8612: #      and are just set to the default mode of the terminal as shipped
                   8613: #      by the factory.
                   8614: #
                   8615: # A menu: 0000 1010  0001 0000
                   8616: #      Block/underline cursor*
                   8617: #      blinking/nonblinking cursor*
                   8618: #      key click/no key click*
                   8619: #      bell/no bell at column 72*
                   8620: #
                   8621: #      key pad is cursor control*/key pad is numeric
                   8622: #      return and line feed/return for <cr> key *
                   8623: #      repeat after .5 sec*/no repeat
                   8624: #      repeat at 25/15 chars per sec. *
                   8625: #
                   8626: #      hold data until pause pressed/process data unless pause pressed*
                   8627: #      slow scroll/no slow scroll*
                   8628: #      Hold in area/don't hold in area*
                   8629: #      functions keys have default*/function keys disabled on powerup
                   8630: #
                   8631: #      show/don't show position of cursor during page transmit*
                   8632: #      unused
                   8633: #      unused
                   8634: #      unused
                   8635: #
                   8636: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   8637: #      Baud rate (9600*)
                   8638: #
                   8639: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   8640: #      1 stop bit*/2 stop bits
                   8641: #      parity error detection off*/on
                   8642: #
                   8643: #      keyboard local/on line*
                   8644: #      half/full duplex*
                   8645: #      disable/do not disable keyboard after data transmission*
                   8646: #
                   8647: #      transmit entire page/stop transmission at cursor*
                   8648: #      transfer/do not transfer protected characters*
                   8649: #      transmit all characters/transmit only selected characters*
                   8650: #      transmit all selected areas/transmit only 1 selected area*
                   8651: #
                   8652: #      transmit/do not transmit line separators to host*
                   8653: #      transmit/do not transmit page tab stops tabs to host*
                   8654: #      transmit/do not transmit column tab stop tabs to host*
                   8655: #      transmit/do not transmit graphics control (underline,inverse..)*
                   8656: #
                   8657: #      enable*/disable auto XON/XOFF control
                   8658: #      require/do not require receipt of a DC1 from host after each LF*
                   8659: #      pause key acts as a meta key/pause key is pause*
                   8660: #      unused
                   8661: #
                   8662: #      unused
                   8663: #      unused
                   8664: #      unused
                   8665: #      unused
                   8666: #
                   8667: #      XON character (17*)
                   8668: #      XOFF character (19*)
                   8669: #
                   8670: # C menu: 56   66   0    0    9600  0110 1100
                   8671: #      number of lines to print data on (printer) (56*)
                   8672: #
                   8673: #      number of lines on a sheet of paper (printer) (66*)
                   8674: #
                   8675: #      left margin (printer) (0*)
                   8676: #
                   8677: #      number of pad chars on new line to printer (0*)
                   8678: #
                   8679: #      printer baud rate (9600*)
                   8680: #
                   8681: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   8682: #      printer stop bits: 2*/1
                   8683: #      print/do not print guarded areas*
                   8684: #
                   8685: #      new line is: 01=LF,10=CR,11=CRLF*
                   8686: #      unused
                   8687: #      unused
                   8688: #
                   8689: # D menu: 0110 1001   1   0
                   8690: #      LF is newline/LF is down one line, same column*
                   8691: #      wrap to preceding line if move left from col 1*/don't wrap
                   8692: #      wrap to next line if move right from col 80*/don't wrap
                   8693: #      backspace is/is not destructive*
                   8694: #
                   8695: #      display*/ignore DEL character
                   8696: #      display will not/will scroll*
                   8697: #      page/column tab stops*
                   8698: #      erase everything*/erase unprotected only
                   8699: #
                   8700: #      editing extent: 0=display,1=line*,2=field,3=area
                   8701: #
                   8702: #      unused
                   8703: #
                   8704:
1.11      millert  8705: annarbor4080|aa4080|ann arbor 4080,
                   8706:        OTbs, am,
                   8707:        cols#80, lines#40,
                   8708:        bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_,
                   8709:        cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c,
                   8710:        cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H,
                   8711:        kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P,
1.1       millert  8712:
                   8713: # Strange Ann Arbor terminal from BRL
                   8714: aas1901|Ann Arbor K4080 w/S1901 mod,
                   8715:        am,
                   8716:        cols#80, lines#40,
                   8717:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
                   8718:        home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c,
                   8719:        nel=^M^J,
                   8720:
                   8721: # If you're using the GNU termcap library, add
                   8722: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
                   8723: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   8724: # capability, arguments are:
                   8725: #   1. Total number of lines on the screen.
                   8726: #   2. Number of lines above desired scroll region.
                   8727: #   3. Number of lines below (outside of) desired scroll region.
                   8728: #   4. Total number of lines on the screen, the same as the first parameter.
                   8729: # The generic Ann Arbor entry is the only one that uses this.
1.11      millert  8730: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
                   8731:        OTbs, am, km, mc5i, mir, xon,
                   8732:        cols#80, it#8,
                   8733:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   8734:        clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   8735:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   8736:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   8737:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
                   8738:        el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
                   8739:        hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
                   8740:        il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
                   8741:        is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
                   8742:        kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   8743:        kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
                   8744:        kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
                   8745:        kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
                   8746:        kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
                   8747:        kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
                   8748:        khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
                   8749:        mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
                   8750:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
                   8751:        rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
                   8752:        rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
                   8753:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   8754:        sgr0=\E[m,
                   8755:        smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
                   8756:        smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   8757:        vpa=\E[%p1%{1}%+%dd,
                   8758:
                   8759: aaa+rv|ann arbor ambassador in reverse video,
                   8760:        blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
                   8761:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
                   8762:        rs1=\E[H\E[7m\E[J$<156>,
                   8763:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   8764:        sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
1.1       millert  8765: # Ambassador with the DEC option, for partial vt100 compatibility.
1.11      millert  8766: aaa+dec|ann arbor ambassador in dec vt100 mode,
                   8767:        acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
                   8768:        csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
                   8769:        sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
                   8770:        smacs=^O,
                   8771: aaa-18|ann arbor ambassador/18 lines,
                   8772:        lines#18,
                   8773:        is2=\E7\E[60;0;0;18p\E8,
1.24    ! millert  8774:        rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p,
        !          8775:        use=aaa+unk,
1.11      millert  8776: aaa-18-rv|ann arbor ambassador/18 lines+reverse video,
                   8777:        use=aaa+rv, use=aaa-18,
                   8778: aaa-20|ann arbor ambassador/20 lines,
                   8779:        lines#20,
                   8780:        is2=\E7\E[60;0;0;20p\E8,
1.24    ! millert  8781:        rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p,
        !          8782:        use=aaa+unk,
1.11      millert  8783: aaa-22|ann arbor ambassador/22 lines,
                   8784:        lines#22,
                   8785:        is2=\E7\E[60;0;0;22p\E8,
1.24    ! millert  8786:        rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p,
        !          8787:        use=aaa+unk,
1.11      millert  8788: aaa-24|ann arbor ambassador/24 lines,
                   8789:        lines#24,
                   8790:        is2=\E7\E[60;0;0;24p\E8,
1.24    ! millert  8791:        rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p,
        !          8792:        use=aaa+unk,
1.11      millert  8793: aaa-24-rv|ann arbor ambassador/24 lines+reverse video,
                   8794:        use=aaa+rv, use=aaa-24,
                   8795: aaa-26|ann arbor ambassador/26 lines,
                   8796:        lines#26,
                   8797:        is2=\E7\E[60;0;0;26p\E8,
                   8798:        rmcup=\E[60;0;0;26p\E[26;1H\E[K,
                   8799:        smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
                   8800: aaa-28|ann arbor ambassador/28 lines,
                   8801:        lines#28,
                   8802:        is2=\E7\E[60;0;0;28p\E8,
                   8803:        rmcup=\E[60;0;0;28p\E[28;1H\E[K,
                   8804:        smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
                   8805: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
                   8806:        eslok, hs,
                   8807:        lines#29,
                   8808:        dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   8809:        fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
                   8810:        rmcup=\E[60;1;0;30p\E[29;1H\E[K,
                   8811:        smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
1.24    ! millert  8812:        tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
1.11      millert  8813: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
                   8814:        use=aaa+rv, use=aaa-30-s,
                   8815: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
                   8816:        rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   8817:        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
                   8818: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
                   8819:        rmcup=\E[60;1;0;30p\E[59;1H\E[K,
                   8820:        smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
                   8821: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
                   8822:        lines#30,
                   8823:        is2=\E7\E[60;0;0;30p\E8,
                   8824:        rmcup=\E[60;0;0;30p\E[30;1H\E[K,
                   8825:        smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
                   8826: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
                   8827:        use=aaa+rv, use=aaa-30,
                   8828: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
                   8829:        rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
                   8830:        use=aaa-30,
                   8831: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
                   8832:        rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
                   8833:        use=aaa+rv, use=aaa-30,
                   8834: aaa-36|ann arbor ambassador/36 lines,
                   8835:        lines#36,
                   8836:        is2=\E7\E[60;0;0;36p\E8,
                   8837:        rmcup=\E[60;0;0;36p\E[36;1H\E[K,
                   8838:        smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
                   8839: aaa-36-rv|ann arbor ambassador/36 lines+reverse video,
                   8840:        use=aaa+rv, use=aaa-36,
                   8841: aaa-40|ann arbor ambassador/40 lines,
                   8842:        lines#40,
                   8843:        is2=\E7\E[60;0;0;40p\E8,
                   8844:        rmcup=\E[60;0;0;40p\E[40;1H\E[K,
                   8845:        smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
                   8846: aaa-40-rv|ann arbor ambassador/40 lines+reverse video,
                   8847:        use=aaa+rv, use=aaa-40,
                   8848: aaa-48|ann arbor ambassador/48 lines,
                   8849:        lines#48,
                   8850:        is2=\E7\E[60;0;0;48p\E8,
                   8851:        rmcup=\E[60;0;0;48p\E[48;1H\E[K,
                   8852:        smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
                   8853: aaa-48-rv|ann arbor ambassador/48 lines+reverse video,
                   8854:        use=aaa+rv, use=aaa-48,
                   8855: aaa-60-s|ann arbor ambassador/59 lines+status,
                   8856:        eslok, hs,
                   8857:        lines#59,
                   8858:        dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
                   8859:        fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
1.24    ! millert  8860:        tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
1.11      millert  8861: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
                   8862:        use=aaa+rv, use=aaa-60-s,
                   8863: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
                   8864:        use=aaa+dec, use=aaa+rv, use=aaa-60-s,
                   8865: aaa-60|ann arbor ambassador/60 lines,
                   8866:        lines#60,
1.24    ! millert  8867:        is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8,
        !          8868:        use=aaa+unk,
1.11      millert  8869: aaa-60-rv|ann arbor ambassador/60 lines+reverse video,
                   8870:        use=aaa+rv, use=aaa-60,
                   8871: aaa-db|ann arbor ambassador 30/destructive backspace,
                   8872:        OTbs@,
                   8873:        cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30,
                   8874:
                   8875: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
                   8876:        lines#33,
                   8877:        flash=\E[>59h$<100>\E[>59l,
                   8878:        is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
1.24    ! millert  8879:        rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk,
1.11      millert  8880: guru+rv|guru changes for reverse video,
                   8881:        flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
                   8882: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
                   8883:        use=guru+rv, use=guru-33,
                   8884: guru+s|guru status line,
                   8885:        eslok, hs,
                   8886:        dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
1.1       millert  8887:        rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
1.11      millert  8888:        tsl=\E[>51h\E[1;%p1%dH\E[2K,
                   8889: guru-nctxt|guru with no saved context,
                   8890:        smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
                   8891: guru-s|guru-33-s|ann arbor guru/33 lines+status,
                   8892:        lines#32,
                   8893:        is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
1.24    ! millert  8894:        smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
1.11      millert  8895: guru-24|ann arbor guru 24 lines,
                   8896:        cols#80, lines#24,
1.24    ! millert  8897:        is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p,
        !          8898:        use=guru+unk,
1.11      millert  8899: guru-44|ann arbor guru 44 lines,
                   8900:        cols#97, lines#44,
1.24    ! millert  8901:        is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p,
        !          8902:        use=guru+unk,
1.11      millert  8903: guru-44-s|ann arbor guru/44 lines+status,
                   8904:        lines#43,
                   8905:        is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
1.24    ! millert  8906:        smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
1.11      millert  8907: guru-76|guru with 76 lines by 89 cols,
                   8908:        cols#89, lines#76,
1.24    ! millert  8909:        is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p,
        !          8910:        use=guru+unk,
1.11      millert  8911: guru-76-s|ann arbor guru/76 lines+status,
                   8912:        cols#89, lines#75,
                   8913:        is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
1.24    ! millert  8914:        smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
1.11      millert  8915: guru-76-lp|guru-lp|guru with page bigger than line printer,
                   8916:        cols#134, lines#76,
1.24    ! millert  8917:        is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p,
        !          8918:        use=guru+unk,
1.11      millert  8919: guru-76-w|guru 76 lines by 178 cols,
                   8920:        cols#178, lines#76,
1.24    ! millert  8921:        is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p,
        !          8922:        use=guru+unk,
1.11      millert  8923: guru-76-w-s|ann arbor guru/76 lines+status+wide,
                   8924:        cols#178, lines#75,
                   8925:        is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
1.24    ! millert  8926:        smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
1.11      millert  8927: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
                   8928:        cols#178, lines#76,
1.24    ! millert  8929:        is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p,
        !          8930:        use=guru+unk,
1.11      millert  8931: aaa-rv-unk|ann arbor unknown type,
                   8932:        lh#0, lw#0, nlab#0,
                   8933:        blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
                   8934:        is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
                   8935:        rs1=\E[H\E[7m\E[J,
                   8936:        sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
                   8937:        sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
1.1       millert  8938:
                   8939: #### Applied Digital Data Systems (adds)
                   8940: #
                   8941: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   8942: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   8943: # terminals was merged again.  Then AT&T sold the terminal business to
                   8944: # SunRiver, which later changed its  name to Boundless Technologies.  The
                   8945: # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
                   8946: # as of early 1995) are at:
                   8947: #
                   8948: #      Boundless Technologies
                   8949: #      100 Marcus Boulevard
                   8950: #      Hauppauge, NY 11788-3762
                   8951: #      Vox: (800)-231-5445
                   8952: #      Fax: (516)-342-7378
                   8953: #      Web: http://boundless.com
                   8954: #
                   8955: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
                   8956: # In 1995 Boundless acquired DEC's terminals business.
                   8957: #
                   8958:
                   8959: # Regent: lowest common denominator, works on all regents.
                   8960: # (regent: renamed ":bc:" to ":le:" -- esr)
                   8961: regent|Adds Regent Series,
                   8962:        OTbs, am,
                   8963:        cols#80, lines#24,
                   8964:        bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
                   8965:        home=\EY\s\s, ind=^J, ll=^A,
                   8966: # Regent 100 has a bug where if computer sends escape when user is holding
                   8967: # down shift key it gets confused, so we avoid escape.
                   8968: regent100|Adds Regent 100,
                   8969:        xmc#1,
1.11      millert  8970:        bel=^G,
                   8971:        cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
                   8972:        kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
                   8973:        kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
                   8974:        lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
1.24    ! millert  8975:        sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent,
        !          8976: regent20|Adds Regent 20,
        !          8977:        bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK,
1.11      millert  8978:        use=regent,
1.1       millert  8979: regent25|Adds Regent 25,
1.24    ! millert  8980:        bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A,
        !          8981:        use=regent20,
1.1       millert  8982: regent40|Adds Regent 40,
                   8983:        xmc#1,
                   8984:        bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
1.11      millert  8985:        kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
                   8986:        kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
                   8987:        lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
1.24    ! millert  8988:        smul=\E0`, use=regent25,
1.1       millert  8989: regent40+|Adds Regent 40+,
1.11      millert  8990:        is2=\EB, use=regent40,
1.1       millert  8991: regent60|regent200|Adds Regent 60,
                   8992:        dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
1.11      millert  8993:        rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
                   8994:        use=regent40+,
1.1       millert  8995: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
                   8996: # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
                   8997: viewpoint|addsviewpoint|adds viewpoint,
1.11      millert  8998:        OTbs, am,
1.1       millert  8999:        cols#80, lines#24,
1.11      millert  9000:        bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
                   9001:        cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   9002:        cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
                   9003:        ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   9004:        kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
1.1       millert  9005:        rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
                   9006: # Some viewpoints have bad ROMs that foo up on ^O
1.11      millert  9007: screwpoint|adds viewpoint with ^O bug,
                   9008:        cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
1.1       millert  9009:
                   9010: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
                   9011: # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
                   9012: # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
                   9013: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   9014: # invis=01000100 and %c is the logical or of desired attributes.
                   9015: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   9016: vp3a+|viewpoint3a+|adds viewpoint 3a+,
                   9017:        am, bw,
                   9018:        cols#80, it#8, lines#24,
1.11      millert  9019:        civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J,
                   9020:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   9021:        ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H,
                   9022:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(,
                   9023:        sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E),
1.1       millert  9024:        sgr0=\E(, smso=\E0Q\E),
                   9025: vp60|viewpoint60|addsvp60|adds viewpoint60,
1.11      millert  9026:        use=regent40,
1.1       millert  9027: #
                   9028: # adds viewpoint 90 - from cornell
                   9029: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   9030: #        insert mode. This unfortunately puts the viewpoint90 IN insert
                   9031: #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
                   9032: #   -    :ei=:im=: must be present in the termcap translation.)
                   9033: #   -    <xhp> indicates glitch that attributes stick to location
                   9034: #   -    <msgr> means it's safe to move in standout mode
                   9035: #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
                   9036: #               the status line
                   9037: # Function key and label capabilities merged in from SCO.
                   9038: vp90|viewpoint90|adds viewpoint 90,
1.11      millert  9039:        OTbs, bw, msgr, xhp,
1.1       millert  9040:        cols#80, lines#24,
1.11      millert  9041:        clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
1.1       millert  9042:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
                   9043:        dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
                   9044:        ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
1.11      millert  9045:        kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r,
                   9046:        kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
                   9047:        kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2,
                   9048:        lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9,
                   9049:        lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV,
                   9050:        sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
1.1       millert  9051: # Note: if return acts weird on a980, check internal switch #2
                   9052: # on the top chip on the CONTROL pc board.
                   9053: adds980|a980|adds consul 980,
1.11      millert  9054:        OTbs, am,
1.1       millert  9055:        cols#80, lines#24,
1.11      millert  9056:        bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
                   9057:        cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d,
1.1       millert  9058:        dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
1.11      millert  9059:        kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
                   9060:        kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
1.9       millert  9061:
1.1       millert  9062: #### C. Itoh Electronics
                   9063: #
                   9064: # As of 1995 these people no longer make terminals (they're still in the
                   9065: # printer business).  Their terminals were all clones of the DEC VT series.
                   9066: # They're located in Orange County, CA.
                   9067: #
                   9068:
                   9069: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   9070: #           the delay times and do an auto tab set rather than the indirect
                   9071: #           file used in vt100.
                   9072: cit80|cit-80|citoh 80,
1.11      millert  9073:        OTbs, am,
1.1       millert  9074:        cols#80, lines#24,
1.11      millert  9075:        clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C,
                   9076:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
                   9077:        ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   9078:        kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
1.1       millert  9079: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
                   9080: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   9081: cit101|citc|C.itoh fast vt100,
1.11      millert  9082:        OTbs, am, xenl,
1.1       millert  9083:        cols#80, lines#24,
                   9084:        bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C,
                   9085:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U,
                   9086:        dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
1.11      millert  9087:        flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
1.1       millert  9088:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
                   9089:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   9090:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
1.11      millert  9091:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
                   9092:        smul=\E[4m,
1.1       millert  9093: # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
                   9094: # The following termcap entry was created from the Callan cd100 entry.  The
                   9095: # last two lines (with the capabilities in caps) are used by RM-cobol to allow
                   9096: # full selection of combinations of reverse video, underline, and blink.
                   9097: # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
                   9098: # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
                   9099: # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
                   9100: cit101e|C. Itoh CIT-101e,
                   9101:        OTbs, OTpt, am, mir, msgr,
                   9102:        cols#80, it#8, lines#24,
1.11      millert  9103:        acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr,
                   9104:        cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
1.1       millert  9105:        cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   9106:        el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
1.11      millert  9107:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT,
                   9108:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl,
                   9109:        kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
                   9110:        rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
                   9111:        smkx=\E=, smso=\E[7m, smul=\E[4m,
1.1       millert  9112: # From: David S. Lawyer, June 1997:
                   9113: # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
                   9114: # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
                   9115: # late 1980's CIT Terminals went out of business.
                   9116: # There is no need to use the initialization string is=... (by invoking
                   9117: # tset or setterm etc.) provided that the terminal has been manually set
                   9118: # up (and the setup saved with ^S) to be compatible with this termcap.  To be
                   9119: # compatible it should be in ANSI mode (not VT52).   A set-up that
                   9120: # works is to set all the manually setable stuff to factory defaults
                   9121: # by pressing ^D in set-up mode.  Then increse the brighness with the
                   9122: # up-arrow key since the factory default will likely be dim on an old
                   9123: # terminal.  Then change any options you want (provided that they are
                   9124: # compatible with the termcap).  For my terminal I set: Screen
                   9125: # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
                   9126: # on.  I also set up mine for parity (but you may not need it).  Then
                   9127: # save the setup with ^S.
                   9128: # (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
                   9129: cit101e-rv|Citoh CIT-101e (sets reverse video),
                   9130:        am, eo, mir, msgr, xenl, xon,
                   9131:        cols#80, it#8, lines#24,
1.11      millert  9132:        OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   9133:        civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M,
                   9134:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   9135:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   9136:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9137:        cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   9138:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
                   9139:        home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
                   9140:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
1.1       millert  9141:        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,
1.11      millert  9142:        kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9143:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8,
                   9144:        rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l,
                   9145:        rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7,
                   9146:        sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h,
                   9147:        smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
1.1       millert  9148:        u7=\E[6n, u8=\E[?6c, u9=\E[c,
                   9149: cit101e-n|CIT-101e w/o am,
                   9150:        am@,
1.24    ! millert  9151:        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
        !          9152:        use=cit101e,
1.1       millert  9153: cit101e-132|CIT-101e with 132 cols,
                   9154:        cols#132,
                   9155:        kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
                   9156: cit101e-n132|CIT-101e with 132 cols w/o am,
                   9157:        am@,
                   9158:        cols#132,
1.24    ! millert  9159:        cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
        !          9160:        use=cit101e,
1.1       millert  9161: # CIE Terminals CIT-500 from BRL
                   9162: # The following SET-UP modes are assumed for normal operation:
                   9163: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
                   9164: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
                   9165: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
                   9166: # Other SET-UP modes may be set for operator convenience or communication
                   9167: # requirements.
                   9168: # Hardware tabs are assumed to be set every 8 columns; they can be set up
                   9169: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
                   9170: # "stty ixon -ixany" to enable DC3/DC1 flow control!
                   9171: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
                   9172: cit500|CIE Terminals CIT-500,
                   9173:        OTbs, OTpt, mir, msgr, xon,
                   9174:        OTkn#10, cols#80, it#8, lines#64, vt#3,
                   9175:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   9176:        clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   9177:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   9178:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   9179:        cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   9180:        ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
1.11      millert  9181:        il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD,
                   9182:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M,
                   9183:        ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
                   9184:        kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ,
                   9185:        khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1,
                   9186:        lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18,
                   9187:        lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m,
                   9188:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
1.1       millert  9189:        rmso=\E[m, rmul=\E[m,
                   9190:        rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
1.11      millert  9191:        sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
                   9192:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1.1       millert  9193:
                   9194: # C. Itoh printers begin here
1.11      millert  9195: citoh|ci8510|8510|c.itoh 8510a,
                   9196:        cols#80, it#8,
                   9197:        bold=\E!, cub1@,
                   9198:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073.,
                   9199:        rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
1.24    ! millert  9200:        smul=\EX, use=lpr,
1.11      millert  9201: citoh-pica|citoh in pica,
                   9202:        is1=\EN, use=citoh,
                   9203: citoh-elite|citoh in elite,
                   9204:        cols#96,
                   9205:        is1=\EE,
1.24    ! millert  9206:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089.,
        !          9207:        use=citoh,
1.11      millert  9208: citoh-comp|citoh in compressed,
                   9209:        cols#136,
                   9210:        is1=\EQ,
1.24    ! millert  9211:        is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129.,
        !          9212:        use=citoh,
1.1       millert  9213: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
1.11      millert  9214: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
                   9215:        cols#32767,
                   9216:        is1=\EP, use=citoh,
                   9217: citoh-6lpi|citoh in 6 lines per inch mode,
                   9218:        is3=\EA, use=citoh,
                   9219: citoh-8lpi|citoh in 8 lines per inch mode,
                   9220:        lines#88,
                   9221:        is3=\EB, use=citoh,
1.1       millert  9222:
                   9223: #### Control Data (cdc)
                   9224: #
                   9225:
                   9226: cdc456|cdc 456 terminal,
1.11      millert  9227:        OTbs, am,
1.1       millert  9228:        cols#80, lines#24,
                   9229:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.11      millert  9230:        cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
                   9231:        el=^V, home=^Y, il1=\EL, ind=^J,
1.1       millert  9232:
                   9233: # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
                   9234: cdc721|CDC Viking,
                   9235:        OTbs, am,
                   9236:        cols#80, lines#24,
1.11      millert  9237:        clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
                   9238:        cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
1.1       millert  9239:        kcuu1=^W, khome=^Y,
                   9240: cdc721ll|CDC Vikingll,
                   9241:        OTbs, am,
                   9242:        cols#132, lines#24,
1.11      millert  9243:        clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
                   9244:        cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
1.1       millert  9245:        kcuu1=^W, khome=^Y,
                   9246: # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
                   9247: cdc752|CDC 752,
                   9248:        OTbs, am, bw, xhp,
                   9249:        cols#80, lines#24,
                   9250:        bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   9251:        cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
1.11      millert  9252:        home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017,
1.1       millert  9253: # CDC 756
                   9254: # The following switch/key settings are assumed for normal operation:
                   9255: #      96 chars        SCROLL          FULL duplex     not BLOCK
                   9256: # Other switches may be set according to communication requirements.
                   9257: # Insert/delete-character cannot be used, as the whole display is affected.
                   9258: # "so" & "se" are commented out until jove handles "sg" correctly.
                   9259: cdc756|CDC 756,
                   9260:        OTbs, am, bw,
                   9261:        OTkn#10, cols#80, lines#24,
                   9262:        bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   9263:        cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
1.11      millert  9264:        dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J,
                   9265:        kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI,
                   9266:        kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
                   9267:        kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y,
                   9268:        khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
                   9269:        lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
1.1       millert  9270:        rs1=\031\030\002\003\017,
                   9271: #
                   9272: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
                   9273: #
                   9274: # Part of the long initialization string defines the "DOWN" key to the left
                   9275: # of the tab key to send an ESC.  The real ESC key is positioned way out
                   9276: # in right field.
                   9277: #
                   9278: # The termcap won't work in 132 column mode due to the way it it moves the
                   9279: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
                   9280: # handle the 721 in 132 column mode.
                   9281: #
                   9282: # (cdc721: changed :ri: to :sr: -- esr)
1.11      millert  9283: cdc721-esc|Control Data 721,
1.1       millert  9284:        OTbs, OTpt, am, bw, msgr, xon,
                   9285:        OTkn#10, cols#80, it#8, lines#30,
                   9286:        bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
                   9287:        cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
1.11      millert  9288:        dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
                   9289:        ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
1.1       millert  9290:        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,
1.11      millert  9291:        kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,
                   9292:        kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,
                   9293:        kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,
                   9294:        ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^],
                   9295:        sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk,
                   9296:        smso=^^D, smul=^\, tbc=^^^RY,
1.1       millert  9297:
                   9298: #### Getronics
                   9299: #
                   9300: # Getronics is a Dutch electronics company that at one time was called
                   9301: # `Geveke' and made async terminals; but (according to the company itself!)
                   9302: # they've lost all their documentation on the command set.  The hardware
                   9303: # documentation suggests the terminals were actually manufactured by a
                   9304: # Taiwanese electronics company named Cal-Comp.  There are known
                   9305: # to have been at least two models, the 33 and the 50.
                   9306: #
                   9307:
                   9308: # The 50 seems to be a top end vt220 clone, with the addition of a higher
                   9309: # screen resolution, a larger screen, at least 1 page of memory above and
                   9310: # below the screen, apparently pages of memory right and left of the screen
                   9311: # which can be panned, and about 75 function keys (15 function keys x normal,
                   9312: # shift, control, func A, func B). It also has more setup possibilities than
                   9313: # the vt220. The monitor case is dated November 1978 and the keyboard case is
                   9314: # May 1982.
                   9315: #
                   9316: # The vt100 emulation works as is.  The entry below describes the rather
                   9317: # non-conformant (but more featureful) ANSI mode.
                   9318: #
                   9319: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
                   9320: visa50|geveke visa 50 terminal in ansi 80 character mode,
                   9321:        bw, mir, msgr,
                   9322:        cols#80, lines#25,
1.11      millert  9323:        acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G,
                   9324:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
                   9325:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   9326:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   9327:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9328:        dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
                   9329:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
                   9330:        hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
                   9331:        il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
1.1       millert  9332:        is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
1.11      millert  9333:        ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
                   9334:        kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
                   9335:        kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
                   9336:        kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
                   9337:        kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
                   9338:        lf3=A insert line, lf4=A delete line, lf5=A clear,
                   9339:        lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
                   9340:        lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
                   9341:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
                   9342:        rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
                   9343:        smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
1.1       millert  9344:        vpa=\E[%i%p1%dd,
                   9345:
                   9346: #### Human Designed Systems (Concept)
                   9347: #
                   9348: #      Human Designed Systems
                   9349: #      400 Fehley Drive
                   9350: #      King of Prussia, PA 19406
                   9351: #      Vox: (610)-277-8300
                   9352: #      Fax: (610)-275-5739
                   9353: #      Net: support@hds.com
                   9354: #
                   9355: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   9356: # the character-terminal business now (1995) and making X terminals.  In
                   9357: # particular, the whole `Concept' line described here was discontinued long
                   9358: # ago.
                   9359: #
                   9360:
                   9361: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   9362: # Extensive changes to c108 by arpavax:eric Feb 1982
                   9363: # Some unknown person at SCO then translated it to terminfo.
                   9364: #
                   9365: # There seem to be a number of different versions of the C108 PROMS
                   9366: # (with bug fixes in its Z-80 program).
                   9367: #
                   9368: # The first one that we had would lock out the keyboard of you
                   9369: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   9370: # Try that on your C108 and see if it sends a ^S when you type it.
                   9371: # If so, you have an old version of the PROMs.
                   9372: #
                   9373: # You should configure the C108 to send ^S/^Q before running this.
                   9374: # It is much faster (at 9600 baud) than the c100 because the delays
                   9375: # are not fixed.
                   9376: # new status line display entries for c108-8p:
                   9377: # <is3> - init str #3 - setup term for status display -
                   9378: # set programmer mode, select window 2, define window at last
                   9379: # line of memory, set bkgnd stat mesg there, select window 0.
                   9380: #
                   9381: # <tsl> - to status line - select window 2, home cursor, erase to
                   9382: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   9383: #
                   9384: # <fsl> - from status line - 1/2 bright off, select window 0
                   9385: #
                   9386: # <dsl> - disable status display - set bkgnd status mesg with
                   9387: # illegal window #
                   9388: #
                   9389: # There are probably more function keys that should be added but
                   9390: # I don't know what they are.
                   9391: #
                   9392: # No delays needed on c108 because of ^S/^Q handshaking
                   9393: #
1.11      millert  9394: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
                   9395:        is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n,
1.24    ! millert  9396:        rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p,
1.11      millert  9397: c108-4p|concept108-4p|concept 108 w/4 pages,
                   9398:        OTbs, eslok, hs, xon,
                   9399:        pb@,
                   9400:        acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M,
                   9401:        cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
                   9402:        cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
                   9403:        ind=^J, is1=\EK\E!\E F,
                   9404:        is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n,
                   9405:        rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!,
                   9406:        smcup=\EU\Ev  8p\Ep\r\E\025,
                   9407:        tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100,
                   9408: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
                   9409:        rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r,
                   9410:        use=c108-rv-4p,
                   9411: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
                   9412:        flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
1.1       millert  9413:        use=c108-4p,
1.11      millert  9414: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
                   9415:        cols#132,
                   9416:        is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n,
                   9417:        smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
1.1       millert  9418:
                   9419: # Concept 100:
                   9420: # These have only window relative cursor addressing, not screen
                   9421: # relative. To get it to work right here, smcup/rmcup (which
                   9422: # were invented for the concept) lock you into a one page
                   9423: # window for screen style programs.
                   9424: #
                   9425: # To get out of the one page window, we use a clever trick:
                   9426: # we set the window size to zero ("\Ev    " in rmcup) which the
                   9427: # terminal recognizes as an error and resets the window to all
                   9428: # of memory.
                   9429: #
                   9430: # This trick works on c100 but does not on c108, sigh.
                   9431: #
                   9432: # Some tty drivers use cr3 for concept, others use nl3, hence
                   9433: # the delays on cr and ind below. This padding is only needed at
                   9434: # 9600 baud and up.  One or the other is commented out depending on
                   9435: # local conventions.
                   9436: #
                   9437: # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
                   9438: # less than 6 but more than 2 will work.
                   9439: #
                   9440: # Note: can't use function keys f7-f10 because they are
                   9441: # indistinguishable from arrow keys (!), also, del char and
                   9442: # clear eol use xon/xoff so they probably won't work very well.
                   9443: #
                   9444: # Also note that we don't define insrt/del char/delline/eop/send
                   9445: # because they don't transmit unless we reset them - I figured
                   9446: # it was a bad idea to clobber their definitions.
                   9447: #
                   9448: # The <mc5> sequence changes the escape character to ^^ so that
                   9449: # escapes will be passed through to the printer. Only trouble
                   9450: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   9451: # Unfortunately, if you're sending raster bits through to be
                   9452: # plotted, any character you choose will be likely, so we lose.
                   9453: #
                   9454: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   9455: # cannot be # in is2 because it will hang a c100 with no printer
                   9456: # if sent twice.
1.11      millert  9457: c100|concept100|concept|c104|c100-4p|hds concept 100,
                   9458:        OTbs, am, eo, mir, ul, xenl,
                   9459:        cols#80, lines#24, pb#9600, vt#8,
                   9460:        bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
                   9461:        cub1=^H, cud1=^J, cuf1=\E=,
                   9462:        cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
                   9463:        dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
                   9464:        ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
                   9465:        ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
                   9466:        is1=\EK,
                   9467:        is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c,
                   9468:        is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
                   9469:        kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
                   9470:        kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
                   9471:        kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
                   9472:        khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
                   9473:        kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027,
                   9474:        mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
                   9475:        rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
                   9476:        rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
                   9477:        rmso=\Ed, rmul=\Eg, sgr0=\EN@,
                   9478:        smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX,
                   9479:        smso=\ED, smul=\EG,
                   9480: c100-rv|c100-rv-4p|concept100-rv|c100 rev video,
                   9481:        cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
1.24    ! millert  9482:        smso=\EE, use=c100,
1.11      millert  9483: oc100|oconcept|c100-1p|old 1 page concept 100,
                   9484:        in,
                   9485:        is3@, use=c100,
1.1       millert  9486:
                   9487: # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
                   9488: # Lots of notes, originally inline, but ncurses doesn't grok that.
                   9489: #
                   9490: # am:  not available in power on mode, but turned on with \E[=107;207h in
                   9491: #      is2=.  Also, \E=124l in is2= could have been used to prevent needing
                   9492: #      to specify xenl:, but that would have rendered the last space on the
                   9493: #      last line useless.
                   9494: # bw:  Not available in power on mode, but turned on with \E[=107;207h in
                   9495: #      is2=.
                   9496: # clear: Could be done with \E[2J alone, except that vi (and probably most
                   9497: #      other programs) assume that this also homes the cursor.
                   9498: # dsl: Go to window 2, go to the beginning of the line, use a line feed to
                   9499: #      scroll the window, and go back to window 1.
                   9500: # is2: the string may cause a warning to be issued by tic that it
                   9501: #      found a very long line and that it suspects that a comma is missing
                   9502: #      somewhere.  This warning can be ignored (unless it comes up more than
                   9503: #      once).  The initialization string contains the following commands:
                   9504: #
                   9505: #       [Setup mode items changed from factory defaults:]
                   9506: #              \E)0                    set alternate character set to
                   9507: #                                              graphics
                   9508: #              ^O                      set character set to default
                   9509: #       [In case it wasn't]
                   9510: #              \E[m                    turn off all attributes
                   9511: #       [In case they weren't off]
                   9512: #              \E[=107;                cursor wrap and
                   9513: #                      207h                    character wrap on
                   9514: #              \E[90;3u                set Fkey definitions to "transmit"
                   9515: #                                              defaults
                   9516: #              \E[92;3u                set cursor key definitions to
                   9517: #                                              "transmit" defaults
                   9518: #              \E[43;1u                set shift F13 to transmit...
                   9519: #              \177\E$P\177
                   9520: #              \E[44;1u                set shift F14 to transmit...
                   9521: #                      \177\E$Q\177
                   9522: #              \E[45;1u                set shift F15 to transmit...
                   9523: #                      \177\E$R\177
                   9524: #              \E[46;1u                set shift F16 to transmit...
                   9525: #                      \177\E$S\177
                   9526: #              \E[200;1u               set shift up to transmit...
                   9527: #                      \177\E$A\177
                   9528: #              \E[201;1u               set shift down to transmit...
                   9529: #                      \177\E$B\177
                   9530: #              \E[202;1u               set shift right to transmit...
                   9531: #                      \177\E$C\177
                   9532: #              \E[203;1u               set shift left to transmit...
                   9533: #                      \177\E$D\177
                   9534: #              \E[204;1u               set shift home to transmit...
                   9535: #                      \177\E$H\177
                   9536: #              \E[212;1u               set backtab to transmit...
                   9537: #                      \177\E$I\177
                   9538: #              \E[213;1u               set shift backspace to transmit...
                   9539: #                      \177\E$^H\177
                   9540: #              \E[214;1u               set shift del to transmit...
                   9541: #                      "\E$\177"
                   9542: #       [Necessary items not mentioned in setup mode:]
                   9543: #              \E[2!w                  move to window 2
                   9544: #              \E[25;25w               define window as line 25 of memory
                   9545: #              \E[!w                   move to window 1
                   9546: #              \E[2*w                  show current line of window 2 as
                   9547: #                                              status line
                   9548: #              \E[2+x                  set meta key to use high bit
                   9549: #              \E[;3+}                 move underline to bottom of character
                   9550: #
                   9551: #      All Fkeys are set to their default transmit definitions with \E[90;3u
                   9552: #      in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
                   9553: #      setting MUST be redefined or deactivated, because the default is
                   9554: #      contained in almost all of this terminal's Fkey strings!  If for some
                   9555: #      reason "quit" cannot be altered, the Fkeys can, but it would be
                   9556: #      necessary to change ^| to ^] in all of these definitions, and add
                   9557: #      \E[2;029!t to is2.
                   9558: # lines: is set to 24 because this terminal refuses to treat the 25th
                   9559: #      line normally.
                   9560: # ll:  Not available in power on mode, but turned on with \E[=107;207h in
                   9561: #      is2=.
                   9562: # lm:  Pointless, given that this definition locks a single screen of
                   9563: #      memory into view, but what the hey...
                   9564: # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
                   9565: #      other attributes alone), but some programs expect this to turn off
                   9566: #      everything.
                   9567: # rmul: Could use \E[4!{ to turn off only underline (leaving any other
                   9568: #      attributes alone), but some programs expect this to turn off
                   9569: #      everything.
                   9570: # sgr: Attributes are set on this terminal with the string \E[ followed by
                   9571: #      a list of attribute code numbers (in decimal, separated by
                   9572: #      semicolons), followed by the character m.  The attribute code
                   9573: #      numbers are:
                   9574: #                1 for bold;
                   9575: #                2 for dim (which is ignored in power on mode);
                   9576: #                4 for underline;
                   9577: #                5 for blinking;
                   9578: #                7 for inverse;
                   9579: #                8 for not displayable; and
                   9580: #              =99 for protected (except that there are strange side
                   9581: #              effects to protected characters which make them inadvisable).
                   9582: #       The mapping of terminfo parameters to attributes is as follows:
                   9583: #              %p1 (standout) = bold and inverse together;
                   9584: #              %p2 (underline) = underline;
                   9585: #              %p3 (reverse) = inverse;
                   9586: #              %p4 (blink) = blinking;
                   9587: #              %p5 (dim) is ignored;
                   9588: #              %p6 (bold) = bold;
                   9589: #              %p7 (invisible) = not displayable;
                   9590: #              %p8 (protected) is ignored; and
                   9591: #              %p9 (alt char set) = alt char set.
                   9592: #       The code to do this is:
                   9593: #              \E[0            OUTPUT  \E[0
                   9594: #              %?%p1%p6%O      IF      (standout; bold) OR
                   9595: #              %t;1            THEN    OUTPUT  ;1
                   9596: #              %;              ENDIF
                   9597: #              %?%p2           IF      underline
                   9598: #              %t;4            THEN    OUTPUT  ;4
                   9599: #              %;              ENDIF
                   9600: #              %?%p4           IF      blink
                   9601: #              %t;5            THEN    OUTPUT  ;5
                   9602: #              %;              ENDIF
                   9603: #              %?%p1%p3%O      IF      (standout; reverse) OR
                   9604: #              %t;7            THEN    OUTPUT  ;7
                   9605: #              %;              ENDIF
                   9606: #              %?%p7           IF      invisible
                   9607: #              %t;8            THEN    OUTPUT  ;8
                   9608: #              %;              ENDIF
                   9609: #              m               OUTPUT  m
                   9610: #              %?%p9           IF      altcharset
                   9611: #              %t^N            THEN    OUTPUT  ^N
                   9612: #              %e^O            ELSE    OUTPUT  ^O
                   9613: #              %;              ENDIF
                   9614: # sgr0: Everything is turned off (including alternate character set), since
                   9615: #      there is no way of knowing what it is that the program wants turned
                   9616: #      off.
                   9617: # smul: The "underline" attribute is reconfigurable to an overline or
                   9618: #      strikethru, or (as done with \E[;3+} in is2=), to a line at the true
                   9619: #      bottom of the character cell.  This was done to allow for more readable
                   9620: #      underlined characters, and to be able to distinguish between an
                   9621: #      underlined space, an underscore, and an underlined underscore.
                   9622: # xenl: Terminal can be configured to not need this, but this "glitch"
                   9623: #      behavior is actually preferable with autowrap terminals.
                   9624: #
                   9625: # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
                   9626: # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
                   9627: # string modifies the 'O' in kf43 to kf46 to a '$'.
                   9628: #
                   9629: # kcbt was originally ^I but redefined in is2=.
                   9630: # kHOM was \E[H originally but redefined in is2=, as were a number of
                   9631: # other keys.
                   9632: # kDC was originally \177 but redefined in is2=.
                   9633: #
                   9634: # kbs: Shift was also ^H originally but redefined as \E$^H in is2=.
                   9635: # tsl: Go to window 2, then do an hpa=.
                   9636: #
                   9637: #------- flash=\E[8;3!}^G\E[3;3!}
                   9638: #------- flash=\E[?5h$<100>\E[?5l
                   9639: # There are two ways to flash the screen, both of which have their drawbacks.
                   9640: # The first is to set the bell mode to video, transmit a bell character, and
                   9641: # set the bell mode back - but to what?  There is no way of knowing what the
                   9642: # user's old bell setting was before we messed with it.  Worse, the command to
                   9643: # set the bell mode also sets the key click volume, and there is no way to say
                   9644: # "leave that alone", or to know what it's set to, either.
                   9645: # The second way to do a flash is to set the screen to inverse video, pad for a
                   9646: # tenth of a second, and set it back - but like before, there's no way to know
                   9647: # that the screen wasn't ALREADY in inverse video, or that the user may prefer
                   9648: # it that way.  The point is moot anyway, since vi (and probably other
                   9649: # programs) assume that by defining flash=, you want the computer to use it
                   9650: # INSTEAD of bel=, rather than as a secondary type of signal.
                   9651: #
                   9652: #------- cvvis=\E[+{
                   9653: # The is the power on setting, which is also as visible as the cursor
                   9654: # gets.
                   9655: #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
                   9656: # Windowing is possible, but not defined here because it is also used to
                   9657: # emulate status line functions.  Allowing a program to set a window could
                   9658: # clobber the status line or render it unusable.  There is additional memory,
                   9659: # but screen scroll functions are destructive and do not make use of it.
                   9660: #
                   9661: #-------   dim=                        Not available in power on mode.
                   9662: # You have a choice of defining low intensity characters as "half bright" and
                   9663: # high intensity as "normal", or defining low as "normal" and high as "bold".
                   9664: # No matter which you choose, only one of either "half bright" or "bold" is
                   9665: # available at any time, so taking the time to override the default is
                   9666: # pointless.
                   9667: #
                   9668: #-------  prot=\E[=0;99m
                   9669: # Not defined, because it appears to have some strange side effects.
                   9670: #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
                   9671: #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
                   9672: #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
                   9673: #       Available, but making them available to programs is inadvisable.
                   9674: #       The code to do this is:
                   9675: #              %?%p1%{24}%<    IF      ((key; 24) <;
                   9676: #              %p1%{30}%>               ((key; 30) >;
                   9677: #              %p1%{54}%<                (key; 54) <
                   9678: #              %A                       ) AND
                   9679: #              %O                      ) OR
                   9680: #       [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
                   9681: #              %t\E[           THEN    OUTPUT  \E[
                   9682: #              %p1%d                   OUTPUT  (key) as decimal
                   9683: #       [next line applies to pfx only]
                   9684: #              ;1                      OUTPUT  ;1
                   9685: #              u                       OUTPUT  u
                   9686: #              \177                    OUTPUT  \177
                   9687: #              %p2%s                   OUTPUT  (string) as string
                   9688: #              \177                    OUTPUT  \177
                   9689: #       [DEL chosen as delimiter, but could be any character]
                   9690: #       [implied:              ELSE    do nothing]
                   9691: #              %;              ENDIF
                   9692: #
                   9693: #-------   rs2=
                   9694: # Not defined since anything it might do could be done faster and easier with
                   9695: # either Meta-Shift-Reset or the main power switch.
                   9696: #
                   9697: #-------  smkx=\E[1!z
                   9698: #-------  rmkx=\E[!z
                   9699: # These sequences apply to the cursor and setup keys only, not to the
                   9700: # numeric keypad.  But it doesn't matter anyway, since making these
                   9701: # available to programs is inadvisable.
                   9702: # For the key definitions below, all sequences beginning with \E$ are
                   9703: # custom and programmed into the terminal via is2.  \E$ also has no
                   9704: # meaning to any other terminal.
                   9705: #
                   9706: #------- cmdch=\E[;%p1%d!t
                   9707: # Available, but making it available to programs is inadvisable.
                   9708: #------- smxon=\E[1*q
                   9709: # Available, but making it available to programs is inadvisable.
                   9710: # Terminal will send XON/XOFF on buffer overflow.
                   9711: #------- rmxon=\E[*q
                   9712: # Available, but making it available to programs is inadvisable.
                   9713: # Terminal will not notify on buffer overflow.
                   9714: #-------   smm=\E[2+x
                   9715: #-------   rmm=\E[+x
                   9716: # Available, but making them available to programs is inadvisable.
                   9717: #
                   9718: # Printing:
                   9719: #       It's not made clear in the manuals, but based on other ansi/vt type
                   9720: #       terminals, it's a good guess that this terminal is capable of both
                   9721: #       "transparent print" (which doesn't copy data to the screen, and
                   9722: #       therefore needs mc5i: specified to say so) and "auxilliary print"
                   9723: #       (which does duplicate printed data on the screen, in which case mc4=
                   9724: #       and mc5= should use the \E[?4i and \E[?5i strings instead).
                   9725:
                   9726: hds200|Human Designed Systems HDS200,
                   9727:        am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
                   9728:        cols#80, it#8, lines#24, lm#0,
                   9729:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   9730:        blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
                   9731:        clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
                   9732:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   9733:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   9734:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9735:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   9736:        dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
                   9737:        fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
                   9738:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   9739:        invis=\E[0;8m,
1.11      millert  9740:        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+},
1.1       millert  9741:        kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H,
                   9742:        kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9743:        kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r,
                   9744:        kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ,
                   9745:        kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r,
                   9746:        kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r,
                   9747:        kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r,
                   9748:        kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r,
                   9749:        kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r,
                   9750:        kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r,
                   9751:        kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r,
                   9752:        kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r,
                   9753:        kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
                   9754:        kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
                   9755:        kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
                   9756:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8,
                   9757:        rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017,
                   9758:        rmul=\E[m\017, sc=\E7,
                   9759:        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%;,
                   9760:        sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
                   9761:        smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
                   9762:        vpa=\E[%i%p1%dd,
                   9763:
                   9764: # <ht> through <el> included to specify padding needed in raw mode.
                   9765: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
1.11      millert  9766: avt-ns|concept avt no status line,
                   9767:        OTbs, am, eo, mir, ul, xenl, xon,
                   9768:        cols#80, it#8, lines#24, lm#192,
                   9769:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   9770:        clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M,
                   9771:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   9772:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   9773:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   9774:        cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
                   9775:        dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
                   9776:        hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
                   9777:        ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
                   9778:        invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l,
                   9779:        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,
                   9780:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9781:        kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   9782:        kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
                   9783:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
                   9784:        pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
                   9785:        prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
                   9786:        ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
                   9787:        rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
                   9788:        sc=\E7,
                   9789:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   9790:        sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,
                   9791:        smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
                   9792:        tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,
                   9793: avt-rv-ns|concept avt in reverse video mode/no status line,
                   9794:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
                   9795:        use=avt-ns,
                   9796: avt-w-ns|concept avt in 132 column mode/no status line,
                   9797:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
                   9798:        use=avt-ns,
                   9799: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
                   9800:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
1.24    ! millert  9801:        smcup=\E[H\E[1;24;1;132w, use=avt-ns,
1.1       millert  9802:
                   9803: # Concept AVT with status line. We get the status line using the
                   9804: # "Background status line" feature of the terminal. We swipe the
                   9805: # first line of memory in window 2 for the status line, keeping
                   9806: # 191 lines of memory and 24 screen lines for regular use.
                   9807: # The first line is used instead of the last so that this works
                   9808: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   9809: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   9810: #
1.11      millert  9811: avt+s|concept avt status line changes,
                   9812:        eslok, hs,
                   9813:        lm#191,
                   9814:        dsl=\E[0*w, fsl=\E[1;1!w,
                   9815:        is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
                   9816:        rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
                   9817:        tsl=\E[2;1!w\E[;%p1%dH\E[2K,
                   9818: avt|avt-s|concept-avt|avt w/80 columns,
                   9819:        use=avt+s, use=avt-ns,
                   9820: avt-rv|avt-rv-s|avt reverse video w/sl,
1.24    ! millert  9821:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
        !          9822:        use=avt+s, use=avt-ns,
1.11      millert  9823: avt-w|avt-w-s|concept avt 132 cols+status,
1.24    ! millert  9824:        is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
        !          9825:        use=avt+s, use=avt-ns,
1.11      millert  9826: avt-w-rv|avt-w-rv-s|avt wide+status+rv,
                   9827:        flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
1.24    ! millert  9828:        smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns,
1.1       millert  9829:
                   9830: #### Contel Business Systems.
                   9831: #
                   9832:
                   9833: # Contel c300 and c320 terminals.
1.11      millert  9834: contel300|contel320|c300|Contel Business Systems C-300 or C-320,
                   9835:        am, in, xon,
                   9836:        cols#80, lines#24, xmc#1,
                   9837:        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   9838:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   9839:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   9840:        el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
                   9841:        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
                   9842:        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   9843:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
                   9844:        rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
1.1       millert  9845: # Contel c301 and c321 terminals.
                   9846: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
                   9847:        flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
1.11      millert  9848:        use=contel300,
1.1       millert  9849:
                   9850: #### Data General (dg)
                   9851: #
                   9852: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   9853: # the terminals group at Data General was shut down in 1991; all these
                   9854: # terminals have thus been discontinued.
                   9855: #
1.11      millert  9856: # DG terminals have function keys that respond to the SHIFT and CTRL keys,
                   9857: # e.g., SHIFT-F1 generates a different code from F1.  To number the keys
                   9858: # sequentially, first the unmodified key codes are listed as F1 through F15.
                   9859: # Then their SHIFT versions are listed as F16 through F30, their CTRL versions
                   9860: # are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
                   9861: # F46 through F60.  This is done in the private "includes" below whose names
                   9862: # start with "dgkeys+".
                   9863: #
                   9864: # DG terminals generally support 8 bit characters.  For each of these terminals
                   9865: # two descriptions are supplied:
                   9866: #      1) A default description for 8 bits/character communications, which
                   9867: #         uses the default DG international character set and keyboard codes.
                   9868: #      2) A description with suffix "-7b" for 7 bits/character communications.
                   9869: #         This description must use the NON-DEFAULT native keyboard language.
                   9870:
                   9871: # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
                   9872: # Ctrl/Shift fdkeys (kf34-kf44).
                   9873:
                   9874: dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys,
                   9875:        ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z,
                   9876:        kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
                   9877:        kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z,
                   9878:        kf11=\233011z, kf12=\233012z, kf13=\233013z,
                   9879:        kf14=\233014z, kf15=\233000z, kf16=\233101z,
                   9880:        kf17=\233102z, kf18=\233103z, kf19=\233104z,
                   9881:        kf2=\233002z, kf20=\233105z, kf21=\233106z,
                   9882:        kf22=\233107z, kf23=\233108z, kf24=\233109z,
                   9883:        kf25=\233110z, kf26=\233111z, kf27=\233112z,
                   9884:        kf28=\233113z, kf29=\233114z, kf3=\233003z,
                   9885:        kf30=\233100z, kf31=\233201z, kf32=\233202z,
                   9886:        kf33=\233203z, kf34=\233204z, kf35=\233205z,
                   9887:        kf36=\233206z, kf37=\233207z, kf38=\233208z,
                   9888:        kf39=\233209z, kf4=\233004z, kf40=\233210z,
                   9889:        kf41=\233211z, kf42=\233212z, kf43=\233213z,
                   9890:        kf44=\233214z, kf45=\233200z, kf46=\233301z,
                   9891:        kf47=\233302z, kf48=\233303z, kf49=\233304z,
                   9892:        kf5=\233005z, kf50=\233305z, kf51=\233306z,
                   9893:        kf52=\233307z, kf53=\233308z, kf54=\233309z,
                   9894:        kf55=\233310z, kf56=\233311z, kf57=\233312z,
                   9895:        kf58=\233313z, kf59=\233314z, kf6=\233006z,
                   9896:        kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z,
                   9897:        khome=\233H, kprt=\233i,
                   9898:
                   9899: dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys,
                   9900:        ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z,
                   9901:        kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   9902:        kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z,
                   9903:        kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z,
                   9904:        kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z,
                   9905:        kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z,
                   9906:        kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z,
                   9907:        kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z,
                   9908:        kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z,
                   9909:        kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z,
                   9910:        kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z,
                   9911:        kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z,
                   9912:        kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z,
                   9913:        kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z,
                   9914:        kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z,
                   9915:        kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z,
                   9916:        kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z,
                   9917:        kf9=\E[009z, khome=\E[H, kprt=\E[i,
                   9918:
                   9919: dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys,
                   9920:        kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K,
                   9921:        kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c,
                   9922:        kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r,
                   9923:        kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3,
                   9924:        kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8,
                   9925:        kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#,
                   9926:        kf37=^^$, kf38=^^%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(,
                   9927:        kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w,
                   9928:        kf8=^^x, kf9=^^y, khome=^H,
                   9929:
                   9930: dgkeys+15|Private entry describing 15 DG mode special keys,
                   9931:        kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^,
                   9932:        kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^},
                   9933:        kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d,
                   9934:        kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i,
                   9935:        kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s,
                   9936:        kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5,
                   9937:        kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:,
                   9938:        kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!,
                   9939:        kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%, kf51=^^&,
                   9940:        kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,,
                   9941:        kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x,
                   9942:        kf9=^^y,
                   9943:
                   9944: # Data General color terminals use the "Tektronix" color model.  The total
                   9945: # number of colors varies with the terminal model, as does support for
                   9946: # attributes used in conjunction with color.
                   9947:
                   9948: # Removed u7, u8 definitions since they conflict with tack:
                   9949: #              Preserve user-defined colors in at least some cases.
                   9950: #      u7=^^Fh,
                   9951: #              Default is ACM mode.
                   9952: #      u8=^^F}20^^Fi^^F}21,
                   9953: #
                   9954: dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode,
                   9955:        bce,
                   9956:        colors#16, ncv#53, pairs#256,
                   9957:        op=\036Ad\036Bd,
                   9958:        setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
                   9959:        setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
                   9960:        setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
                   9961:
                   9962: dg+fixed|Fixed color info for DG D430C terminals in DG mode,
                   9963:        use=dgunix+fixed,
                   9964:
                   9965: # Video attributes are coordinated using static variables set by "sgr", then
                   9966: # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
                   9967: # (D=dim, U=underline, B=blink, R=reverse.)
                   9968: dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode,
                   9969:        bce,
                   9970:        colors#8, ncv#16, pairs#64,
                   9971:        op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m,
                   9972:        setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9973:        setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9974:        setb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9975:        setf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9976:
                   9977: dg+color|Color info for Data General D470C terminals in ANSI mode,
                   9978:        colors#16, ncv#53, pairs#256,
                   9979:        setab=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9980:        setaf=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9981:        setb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9982:        setf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
                   9983:        use=dg+color8,
                   9984:
                   9985: dgmode+color8|Color info for Data General D220/D230C terminals in DG mode,
                   9986:        bce,
                   9987:        colors#8, ncv#16, pairs#64,
                   9988:        op=\036Ad\036Bd,
                   9989:        setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
                   9990:        setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
                   9991:        setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
                   9992:
                   9993: dgmode+color|Color info for Data General D470C terminals in DG mode,
                   9994:        colors#16, pairs#256,
                   9995:        setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
                   9996:        setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
                   9997:        use=dgmode+color8,
                   9998:
                   9999: dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
                   10000:        bce, ccc,
                   10001:        colors#52, ncv#53, pairs#26,
                   10002:        initp=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X,
                   10003:        oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,
                   10004:        op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,
                   10005:        scp=\036RG2%p1%02X,
                   10006:
                   10007: # Colors are in the order:  normal, reverse, dim, dim + reverse.
                   10008: dg+ccc|Configurable color info for DG D430C terminals in DG mode,
                   10009:        bce, ccc,
                   10010:        colors#52, ncv#53, pairs#26,
                   10011:        initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c,
                   10012:        oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,
                   10013:        op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,
                   10014:        scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,
                   10015:
                   10016: # The generic DG terminal type (an 8-bit-clean subset of the 6053)
                   10017: # Initialization string 1 sets:
                   10018: #      ^R              - vertical scrolling enabled
                   10019: #      ^C              - blinking enabled
                   10020: dg-generic|Generic Data General terminal in DG mode,
                   10021:        am, bw, msgr, xon,
                   10022:        cols#80, lines#24,
                   10023:        bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
                   10024:        cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C,
                   10025:        mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\,
1.24    ! millert  10026:        smul=^T, use=dgkeys+11,
1.1       millert  10027:
                   10028: # According to the 4.4BSD termcap file, the dg200 <cup> should be the
                   10029: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   10030: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   10031: # maybe they were originally nuls (which would fit).
1.11      millert  10032:
                   10033: dg200|data general dasher 200,
                   10034:        OTbs, am, bw,
                   10035:        cols#80, lines#24,
                   10036:        bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
                   10037:        cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
                   10038:        kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
                   10039:        kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
                   10040:        kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
                   10041:        smso=^^D, smul=^T,
                   10042:
1.1       millert  10043: # Data General 210/211 (and 410?)      from Lee Pearson (umich!lp) via BRL
                   10044: dg210|dg-ansi|Data General 210/211,
                   10045:        am,
                   10046:        cols#80, lines#24,
1.11      millert  10047:        OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH,
                   10048:        cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D,
                   10049:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   10050:        nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m,
                   10051:        smul=\E[4;m,
1.1       millert  10052: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   10053: # courtesy of Carlos Rucalde of Vantage Software, Inc.
                   10054: # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
                   10055: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   10056: dg211|Data General d211,
1.11      millert  10057:        cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
                   10058:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
1.24    ! millert  10059:        rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200,
1.14      millert  10060:
                   10061: # dg450 from Cornell (not official)
1.1       millert  10062: dg450|dg6134|data general 6134,
1.11      millert  10063:        cub1@, cuf1=^X, use=dg200,
1.14      millert  10064:
                   10065: # Not official...
1.1       millert  10066: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   10067: # having a command to move straight down from any position on the bottom line
                   10068: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   10069: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   10070: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   10071: # backspace on all terminals.  This is not so in DG mode.
                   10072: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
                   10073: # grounds that there is no matching ":ml:"
                   10074: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
                   10075: dg460-ansi|Data General Dasher 460 in ANSI-mode,
1.11      millert  10076:        OTbs, am, msgr, ul,
1.1       millert  10077:        cols#80, it#8, lines#24,
1.11      millert  10078:        OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B,
                   10079:        cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P,
                   10080:        dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   10081:        ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D,
                   10082:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   10083:        kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z,
                   10084:        kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z,
                   10085:        kf8=\E[009z, kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3,
                   10086:        lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m,
                   10087:        ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m,
                   10088:        smul=\E[4m,
1.14      millert  10089: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
1.1       millert  10090: # Data General 605x
                   10091: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   10092: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
                   10093: # This also matches a posted description of something called a `Dasher 100'
                   10094: # so there's a dg100 alias here.
                   10095: # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
1.11      millert  10096: dg6053-old|dg100|data general 6053,
1.1       millert  10097:        OTbs, am, bw, ul,
                   10098:        cols#80, lines#24,
1.11      millert  10099:        OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z,
                   10100:        cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K,
                   10101:        home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X,
                   10102:        kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v,
                   10103:        kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L,
                   10104:        rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D,
                   10105:        smul=^T,
                   10106:
                   10107: # (Some performance can be gained over the generic DG terminal type)
                   10108: dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053,
                   10109:        xon@,
                   10110:        home=^P\0\0, ll=^P\0^W, use=dg-generic,
                   10111:
                   10112: # Like 6053, but adds reverse video and more keypad and function keys.
                   10113: d200|d200-dg|Data General DASHER D200,
                   10114:        bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^],
                   10115:        sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;,
1.24    ! millert  10116:        sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15,
        !          10117:        use=dg6053,
1.11      millert  10118:
                   10119: # DASHER D210 series terminals in ANSI mode.
                   10120: #      Reverse video, no insert/delete character/line, 7 bits/character only.
                   10121: #
                   10122: # Initialization string 1 sets:
                   10123: #      <0              - scrolling enabled
                   10124: #      <1              - blink enabled
                   10125: #      <4              - print characters regardless of attributes
                   10126: d210|d214|Data General DASHER D210 series,
                   10127:        am, bw, msgr, xon,
                   10128:        cols#80, lines#24,
                   10129:        bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M,
                   10130:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   10131:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   10132:        cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K,
                   10133:        el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l,
                   10134:        ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
                   10135:        sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m,
1.24    ! millert  10136:        sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b,
1.11      millert  10137:
                   10138: # DASHER D210 series terminals in DG mode.
                   10139: # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
                   10140: d210-dg|d214-dg|Data General DASHER D210 series in DG mode,
                   10141:        xon,
                   10142:        ed=^^FF, use=d200-dg,
                   10143:
                   10144: # DASHER D211 series terminals in ANSI mode.
                   10145: # Like the D210, but with 8-bit characters and local printer support.
                   10146: #
                   10147: # Initialization string 2 sets:
                   10148: #      \E[2;1;1;1v
                   10149: #              2;1     - 8 bit operations
                   10150: #              1;1     - 8 bit (international) keyboard language
                   10151: #      \E(B            - default primary character set (U.S. ASCII)
                   10152: #      \E)4            - default secondary character set (international)
                   10153: #      ^O              - primary character set
                   10154: #
                   10155: d211|d215|Data General DASHER D211 series,
                   10156:        km,
1.24    ! millert  10157:        is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b,
        !          10158:        use=d210,
1.11      millert  10159:
                   10160: # Initialization string 2 sets:
                   10161: #      \E[2;0;1;0v
                   10162: #              2;0     - 7 bit operations
                   10163: #              1;0     - 7 bit (native) keyboard language
                   10164: #      \E(0            - default character set (the keyboard native language)
                   10165: #      ^O              - primary character set
                   10166: d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode,
                   10167:        km@,
                   10168:        is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211,
                   10169:
                   10170: # Like the D210 series, but adds support for 8-bit characters.
                   10171: #
                   10172: # Reset string 2 sets:
                   10173: #      ^^N     - secondary character set
                   10174: #      ^^FS0>  - 8 bit international character set
                   10175: #      ^^O     - primary character set
                   10176: #      ^^FS00  - default character set (matching the native keyboard language)
                   10177: #
                   10178: d211-dg|d215-dg|Data General DASHER D211 series in DG mode,
                   10179:        km,
                   10180:        rs2=\036N\036FS0>\036O\036FS00, use=d210-dg,
                   10181:
                   10182: d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode,
                   10183:        use=d211-dg,
                   10184:
                   10185: # Enhanced DG mode with changes to be more UNIX compatible.
                   10186: d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode,
                   10187:        mc5i,
                   10188:        it#8,
                   10189:        acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI,
                   10190:        clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA,
                   10191:        el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J,
                   10192:        is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd,
                   10193:        kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB,
                   10194:        kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0,
                   10195:        mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00,
                   10196:        rs2=\036N\036FS0E\036O\036FS00,
                   10197:        sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;,
                   10198:        sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11,
1.24    ! millert  10199:        vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg,
1.11      millert  10200: d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines,
                   10201:        lines#25,
                   10202:        is3=\036Fz2, use=d216+,
                   10203:
                   10204: d217-unix|Data General DASHER D217 in DG-UNIX mode,
                   10205:        use=d216-unix,
                   10206: d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines,
                   10207:        use=d216-unix-25,
                   10208:
                   10209: # DASHER D220 color terminal in ANSI mode.
                   10210: # Like the D470C but with fewer colors and screen editing features.
                   10211: #
                   10212: # Initialization string 1 sets:
                   10213: #      \E[<0;<1;<4l
                   10214: #              <0      - scrolling enabled
                   10215: #              <1      - blink enabled
                   10216: #              <4      - print characters regardless of attributes
                   10217: #      \E[m            - all attributes off
                   10218: # Reset string 1 sets:
                   10219: #      \Ec             - initial mode defaults (RIS)
                   10220: #
                   10221: d220|Data General DASHER D220,
                   10222:        mc5i@,
1.24    ! millert  10223:        dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
        !          10224:        use=dg+color8, use=d470c,
1.11      millert  10225:
                   10226: d220-7b|Data General DASHER D220 in 7 bit mode,
                   10227:        mc5i@,
1.24    ! millert  10228:        dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
        !          10229:        use=dg+color8, use=d470c-7b,
1.11      millert  10230:
                   10231: # Initialization string 3 sets:
                   10232: #      - default cursor (solid rectangle)
                   10233: # Reset string 2 sets:
                   10234: #      ^^N     - secondary character set
                   10235: #      ^^FS0>  - 8 bit international character set
                   10236: #      ^^O     - primary character set
                   10237: #       ^^FS00  - default character set (matching the native keyboard language)
                   10238: #
                   10239: d220-dg|Data General DASHER D220 color terminal in DG mode,
                   10240:        mc5i@,
                   10241:        dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@,
1.24    ! millert  10242:        rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8,
        !          10243:        use=d470c-dg,
1.11      millert  10244:
                   10245: # DASHER D230C color terminal in ANSI mode.
                   10246: # Like the D220 but with minor ANSI compatibility improvements.
                   10247: #
                   10248: d230c|d230|Data General DASHER D230C,
                   10249:        blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J,
                   10250:        rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m,
                   10251:        sgr=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;,
                   10252:        sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m,
1.24    ! millert  10253:        smul=\E[4;50m, use=dgkeys+7b, use=d220,
1.11      millert  10254:
                   10255: d230c-dg|d230-dg|Data General DASHER D230C in DG mode,
                   10256:        use=d220-dg,
                   10257:
                   10258: # DASHER D400/D450 series terminals.
                   10259: # These add intelligent features like insert/delete to the D200 series.
                   10260: #
                   10261: # Initialization string 2 sets:
                   10262: #      ^^FQ2           - default cursor (solid rectangle)
                   10263: #      ^^FW            - character protection disabled
                   10264: #      ^^FJ            - normal (80 column) mode
                   10265: #      ^^F\^           - horizontal scrolling enabled (for alignment)
                   10266: #      ^^FX004?        - margins at columns 0 and 79
                   10267: #      ^^F]            - horizontal scrolling disabled
                   10268: #      ^^O             - primary character set
                   10269: #      ^^FS00          - default character set (the keyboard native language)
                   10270: #      - (should reset scrolling regions, but that glitches the screen)
                   10271: # Reset string 1 sets:
                   10272: #      ^^FA            - all terminal defaults except scroll rate
                   10273: # Reset string 2 sets:
                   10274: #      ^^F]            - horizontal scrolling disabled
                   10275: #      ^^FT0           - jump scrolling
                   10276: #
                   10277: d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series,
                   10278:        mc5i,
                   10279:        acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0,
                   10280:        cnorm=\036FQ2, dch1=^^K, dl1=^^FI,
                   10281:        enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177,
                   10282:        ich1=^^J, il1=^^FH,
                   10283:        is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00,
                   10284:        ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O,
                   10285:        rs1=^^FA, rs2=\036F]\036FT0,
                   10286:        sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;,
                   10287:        sgr0=\017\025\035\036E\036O, smacs=^^N,
                   10288:        vpa=\020\177%p1%c, use=d210-dg,
                   10289:
                   10290: # DASHER D410/D460 series terminals in ANSI mode.
                   10291: # These add a large number of intelligent terminal features.
                   10292: #
                   10293: # Initialization string 1 sets:
                   10294: #      \E[<0;<1;<2;<4l
                   10295: #              <0      - scrolling enabled
                   10296: #              <1      - blink enabled
                   10297: #              <2      - horizontal scrolling enabled (for alignment)
                   10298: #              <4      - print characters regardless of attributes
                   10299: #      \E[5;0v         - normal (80 column) mode
                   10300: #      \E[1;1;80w      - margins at columns 1 and 80
                   10301: #      \E[1;6;<2h
                   10302: #              1       - print all characters even if protected
                   10303: #              6       - character protection disabled
                   10304: #              <2      - horizontal scrolling disabled
                   10305: #      - (should reset scrolling regions, but that glitches the screen)
                   10306: #
                   10307: # Initialization string 2 sets:
                   10308: #      \E[3;2;2;1;1;1v
                   10309: #              3;2     - default cursor (solid rectangle)
                   10310: #              2;1     - 8 bit operations
                   10311: #              1;1     - international keyboard language
                   10312: #      \E(B            - default primary character set (U.S. ASCII)
                   10313: #      \E)4            - default secondary character set (international)
                   10314: #      ^O              - primary character set
                   10315: #
                   10316: #      Reset string 1 sets:
                   10317: #      \Ec             - initial mode defaults (RIS)
                   10318: #      \E[<2h          - horizontal scrolling disabled
                   10319: #
                   10320: # Reset string 2 sets:
                   10321: #      \E[4;0;2;1;1;1v
                   10322: #              4;0     - jump scrolling
                   10323: #              2;1     - 8 bit operations
                   10324: #              1;1     - 8 bit (international) keyboard language
                   10325: #      \E(B            - default primary character set (U.S. ASCII)
                   10326: #      \E)4            - default secondary character set (international)
                   10327: #
                   10328: d410|d411|d460|d461|Data General DASHER D410/D460 series,
                   10329:        mc5i,
                   10330:        acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v,
                   10331:        cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   10332:        dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
                   10333:        is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h,
                   10334:        is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i,
                   10335:        ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h,
                   10336:        rs2=\E[4;0;2;1;1;1v\E(B\E)4,
                   10337:        sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;,
1.24    ! millert  10338:        sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211,
1.11      millert  10339:
                   10340: # Initialization string 2 sets:
                   10341: #      \E[3;2;2;0;1;0v
                   10342: #              3;2     - default cursor (solid rectangle)
                   10343: #              2;0     - 7 bit operations
                   10344: #              1;0     - 7 bit (native) keyboard language
                   10345: #      \E(0            - default character set (the keyboard native language)
                   10346: #      ^O              - primary character set
                   10347: #
                   10348: # Reset string 2 sets:
                   10349: #      \E[4;0;2;0;1;0v
                   10350: #              4;0     - jump scrolling
                   10351: #              2;0     - 7 bit operations
                   10352: #              1;0     - 7 bit (native) keyboard language
                   10353: #      \E(0            - default character set (the keyboard native language)
                   10354: #
                   10355: d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode,
                   10356:        km@,
                   10357:        enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O,
                   10358:        rs2=\E[4;0;2;0;1;0v\E(0,
                   10359:        sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;,
1.24    ! millert  10360:        sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410,
1.11      millert  10361:
                   10362: d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode,
                   10363:        km,
                   10364:        enacs@, rmacs=\036FS00,
                   10365:        sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;,
                   10366:        sgr0=\017\025\035\036E\036FS00, smacs=\036FS11,
                   10367:        use=d400-dg,
                   10368:
                   10369: # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
                   10370: #
                   10371: # Initialization string 1 sets:
                   10372: #      \E[<0;<1;<2;<4l
                   10373: #              <0      - scrolling enabled
                   10374: #              <1      - blink enabled
                   10375: #              <2      - horizontal scrolling enabled (for alignment)
                   10376: #              <4      - print characters regardless of attributes
                   10377: #      \E[5;1v         - compressed (135 column) mode
                   10378: #      \E[1;1;126      - margins at columns 1 and 126
                   10379: #      \E[1;6;<2h
                   10380: #              1       - print all characters even if protected
                   10381: #              6       - character protection disabled
                   10382: #              <2      - horizontal scrolling disabled
                   10383: #      - (should reset scrolling regions, but that glitches the screen)
                   10384: #
                   10385: # Reset string 1 sets:
                   10386: #      \Ec             - initial mode defaults (RIS)
                   10387: #      \E[5;1v         - compressed (135 column) mode
                   10388: #      \E[1;1;126w     - margins at columns 1 and 126
                   10389: #      \E[<2h          - horizontal scrolling disabled
                   10390: #
                   10391: d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode,
                   10392:        cols#126,
                   10393:        is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
1.24    ! millert  10394:        rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410,
1.11      millert  10395:
                   10396: d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode,
                   10397:        cols#126,
                   10398:        is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
1.24    ! millert  10399:        rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b,
1.11      millert  10400:
                   10401: d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode,
                   10402:        use=d410-dg,
                   10403:
                   10404: # These add intelligent features like scrolling regions.
                   10405: d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode,
                   10406:        civis=\036FQ0, clear=^^FE, cnorm=\036FQ5,
                   10407:        cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI,
                   10408:        home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH,
                   10409:        is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00,
                   10410:        ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I,
                   10411:        rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10,
                   10412:        vpa=\036FPFF%p1%2.2X,
1.24    ! millert  10413:        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
        !          10414:        use=d216+,
1.11      millert  10415: d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode,
                   10416:        cols#132,
                   10417:        is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00,
                   10418:        rs2=\036P@1\036FK\036FX0083,
1.24    ! millert  10419:        wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X,
        !          10420:        use=d412-unix,
1.11      millert  10421: d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines,
                   10422:        lines#25,
                   10423:        is3=\036Fz2,
1.24    ! millert  10424:        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
        !          10425:        use=d462+,
1.11      millert  10426: d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line,
                   10427:        eslok, hs,
                   10428:        clear=\036FG\036PH, fsl=\036F}01\022,
                   10429:        is3=\036Fz2\036F}00\036FB180000\036F}01, ll@,
                   10430:        tsl=\036F}00\036FP%p1%2.2X18\036PG,
1.24    ! millert  10431:        wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X,
        !          10432:        use=d462+,
1.11      millert  10433:
                   10434: #      Relative cursor motions are confined to the current window,
                   10435: #      which is not what the scrolling region specification expects.
                   10436: #      Thus, relative vertical cursor positioning must be deleted.
                   10437: d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region,
                   10438:        csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;,
1.24    ! millert  10439:        cud1@, cuu1@, ll@, use=d462+,
1.11      millert  10440:
                   10441: d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode,
                   10442:        use=d412-unix,
                   10443: d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode,
                   10444:        use=d412-unix-w,
                   10445: d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines,
                   10446:        use=d412-unix-25,
                   10447: d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line,
                   10448:        use=d412-unix-s,
                   10449: d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region,
                   10450:        use=d412-unix-sr,
                   10451:
                   10452: d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode,
                   10453:        use=d413-unix,
                   10454: d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode,
                   10455:        use=d413-unix-w,
                   10456: d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines,
                   10457:        use=d413-unix-25,
                   10458: d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line,
                   10459:        use=d413-unix-s,
                   10460: d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region,
                   10461:        use=d413-unix-sr,
                   10462:
                   10463: d430c-dg|d430-dg|Data General D430C in DG mode,
                   10464:        use=d413-dg, use=dg+fixed,
                   10465: d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors,
                   10466:        use=d413-dg, use=dg+ccc,
                   10467:
                   10468: d430c-unix|d430-unix|Data General D430C in DG-UNIX mode,
                   10469:        use=d413-unix, use=dgunix+fixed,
                   10470: d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode,
                   10471:        use=d413-unix-w, use=dgunix+fixed,
                   10472: d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines,
                   10473:        use=d413-unix-25, use=dgunix+fixed,
                   10474: d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line,
                   10475:        use=d413-unix-s, use=dgunix+fixed,
                   10476: d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region,
                   10477:        use=d413-unix-sr, use=dgunix+fixed,
                   10478: d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors,
                   10479:        use=d413-unix, use=dgunix+ccc,
                   10480: d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors,
                   10481:        use=d413-unix-w, use=dgunix+ccc,
                   10482: d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors,
                   10483:        use=d413-unix-25, use=dgunix+ccc,
                   10484: d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors,
                   10485:        use=d413-unix-s, use=dgunix+ccc,
                   10486: d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors,
                   10487:        use=d413-unix-sr, use=dgunix+ccc,
                   10488:
                   10489: # DASHER D470C color terminal in ANSI mode.
                   10490: # Like the D460 but with 16 colors and without a compressed mode.
                   10491: #
                   10492: # Initialization string 1 sets:
                   10493: #      \E[<0;<1;<2;<4l
                   10494: #              <0      - scrolling enabled
                   10495: #              <1      - blink enabled
                   10496: #              <2      - horizontal scrolling enabled (for alignment)
                   10497: #              <4      - print characters regardless of attributes
                   10498: #      \E[1;1;80w      - margins at columns 1 and 80
                   10499: #      \E[1;6;<2h
                   10500: #              1       - print all characters even if protected
                   10501: #              6       - character protection disabled
                   10502: #              <2      - horizontal scrolling disabled
                   10503: #      - (should reset scrolling regions, but that glitches the screen)
                   10504: #
                   10505: d470c|d470|Data General DASHER D470C,
                   10506:        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
                   10507:        sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;,
                   10508:        use=dg+color, use=d460,
                   10509:
                   10510: d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
                   10511:        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
                   10512:        sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;,
                   10513:        use=dg+color, use=d460-7b,
                   10514:
                   10515: # Initialization string 2 sets:
                   10516: #      ^^FQ2           - default cursor (solid rectangle)
                   10517: #      ^^FW            - character protection disabled
                   10518: #      ^^F\^           - horizontal scrolling enabled (for alignment)
                   10519: #      ^^FX004?        - margins at columns 0 and 79
                   10520: #      ^^F]            - horizontal scrolling disabled
                   10521: #      ^^O             - primary character set
                   10522: #      ^^FS00          - default character set (the keyboard native language)
                   10523: #      - (should reset scrolling regions, but that glitches the screen)
                   10524: #
                   10525: d470c-dg|d470-dg|Data General DASHER D470C in DG mode,
                   10526:        is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00,
                   10527:        use=dgmode+color, use=d460-dg,
                   10528:
                   10529: # DASHER D555 terminal in ANSI mode.
                   10530: # Like a D411, but has an integrated phone.
                   10531: d555|Data General DASHER D555,
                   10532:        use=d411,
                   10533: d555-7b|Data General DASHER D555 in 7-bit mode,
                   10534:        use=d411-7b,
                   10535: d555-w|Data General DASHER D555 in wide mode,
                   10536:        use=d411-w,
                   10537: d555-7b-w|Data General DASHER D555 in wide 7-bit mode,
                   10538:        use=d411-7b-w,
                   10539: d555-dg|Data General DASHER D555 series in DG mode,
                   10540:        use=d411-dg,
                   10541:
                   10542: # DASHER D577 terminal in ANSI mode.
                   10543: # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
                   10544: d577|Data General DASHER D577,
                   10545:        use=d411,
                   10546: d577-7b|Data General DASHER D577 in 7-bit mode,
                   10547:        use=d411-7b,
                   10548: d577-w|Data General DASHER D577 in wide mode,
                   10549:        use=d411-w,
                   10550: d577-7b-w|Data General DASHER D577 in wide 7-bit mode,
                   10551:        use=d411-7b-w,
                   10552:
                   10553: d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode,
                   10554:        use=d411-dg,
                   10555:
                   10556: # DASHER D578 terminal.
                   10557: # Like a D577, but without compressed mode; like a D470C in this respect.
                   10558: #
                   10559: # Initialization string 1 sets:
                   10560: #      \E[<0;<1;<2;<4l
                   10561: #              <0      - scrolling enabled
                   10562: #              <1      - blink enabled
                   10563: #              <2      - horizontal scrolling enabled (for alignment)
                   10564: #              <4      - print characters regardless of attributes
                   10565: #      \E[1;1;80w      - margins at columns 1 and 80
                   10566: #      \E[1;6;<2h
                   10567: #              1       - print all characters even if protected
                   10568: #              6       - character protection disabled
                   10569: #              <2      - horizontal scrolling disabled
                   10570: #      - (should reset scrolling regions, but that glitches the screen)
                   10571: #
                   10572: d578|Data General DASHER D578,
                   10573:        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577,
                   10574: d578-7b|Data General DASHER D578 in 7-bit mode,
1.24    ! millert  10575:        is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577-7b,
1.1       millert  10576:
                   10577: #### Datamedia (dm)
                   10578: #
1.14      millert  10579: # Datamedia was headquartered in Nashua, New Hampshire until it went
                   10580: # out of business in 1993, but the ID plates on the terminals referred
                   10581: # to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
                   10582: # manufacturer which threw out all information about the terminals.
1.11      millert  10583: #
                   10584:
                   10585: cs10|colorscan|Datamedia Color Scan 10,
                   10586:        msgr,
                   10587:        cols#80, lines#24,
                   10588:        bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   10589:        cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   10590:        ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   10591:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m,
                   10592:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   10593: cs10-w|Datamedia Color Scan 10 with 132 columns,
                   10594:        cols#132,
                   10595:        cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
1.1       millert  10596:
                   10597: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
                   10598: dm1520|dm1521|datamedia 1520,
1.11      millert  10599:        OTbs, am, xenl,
1.1       millert  10600:        cols#80, it#8, lines#24,
                   10601:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
1.11      millert  10602:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   10603:        home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
                   10604:        khome=^Y,
1.1       millert  10605: # dm2500: this terminal has both <ich> and <smir>. Applications using
                   10606: # termcap/terminfo directly (rather than through ncurses) might be confused.
                   10607: dm2500|datamedia2500|datamedia 2500,
1.11      millert  10608:        OTbs, OTnc,
1.1       millert  10609:        cols#80, lines#24,
                   10610:        bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
                   10611:        cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
1.11      millert  10612:        dch1=\020\010\030\035$<10*>,
                   10613:        dl1=\020\032\030\035$<10*>, el=^W, home=^B,
                   10614:        ich1=\020\034\030\035$<10*>,
                   10615:        il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377,
                   10616:        rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^],
                   10617:        smdc=^P, smir=^P, smso=^N,
1.1       millert  10618: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
                   10619: # also, has a meta-key.
                   10620: # From: <goldberger@su-csli.arpa>
                   10621: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   10622: dmchat|dmchat version of datamedia 2500,
                   10623:        km,
                   10624:        dl1=\020\032\030\035$<2/>,
1.11      millert  10625:        il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
1.1       millert  10626: # (dm3025: ":MT:" changed to ":km:" -- esr)
                   10627: dm3025|datamedia 3025a,
1.11      millert  10628:        OTbs, km,
1.1       millert  10629:        cols#80, it#8, lines#24,
                   10630:        bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   10631:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
1.11      millert  10632:        dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
                   10633:        home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>,
                   10634:        is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP,
                   10635:        smir=\EP, smso=\EO1,
1.1       millert  10636: dm3045|datamedia 3045a,
1.11      millert  10637:        OTbs, am, eo, km@, ul, xenl,
                   10638:        dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA,
                   10639:        kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
                   10640:        kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r,
                   10641:        khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
                   10642:        use=dm3025,
1.1       millert  10643: # Datamedia DT80 soft switches:
                   10644: # 1    0=Jump  1=Smooth
                   10645: #      Autorepeat      0=off  1=on
                   10646: #      Screen          0=Dark 1=light
                   10647: #      Cursor          0=u/l  1=block
                   10648: #
                   10649: # 2    Margin Bell     0=off  1=on
                   10650: #      Keyclick        0=off  1=on
                   10651: #      Ansi/VT52       0=VT52 1=Ansi
                   10652: #      Xon/Xoff        0=Off  1=On
                   10653: #
                   10654: # 3    Shift3          0=Hash 1=UK Pound
                   10655: #      Wrap            0=Off  1=On
                   10656: #      Newline         0=Off  1=On
                   10657: #      Interlace       0=Off  1=On
                   10658: #
                   10659: # 4    Parity          0=Odd  1=Even
                   10660: #      Parity          0=Off  1=On
                   10661: #      Bits/Char       0=7    1=8
                   10662: #      Power           0=60Hz 1=50Hz
                   10663: #
                   10664: # 5    Line Interface  0=EIA  1=Loop
                   10665: #      Aux Interface   0=EIA  1=Loop
                   10666: #      Local Copy      0=Off  1=On
                   10667: #      Spare
                   10668: #
                   10669: # 6    Aux Parity      0=Odd  1=Even
                   10670: #      Aux Parity      0=Off  1=On
                   10671: #      Aux Bits/Char   0=7    1=8
                   10672: #      CRT Saver       0=Off  1=On
                   10673: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   10674: dm80|dmdt80|dt80|datamedia dt80/1,
                   10675:        clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
                   10676:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
1.11      millert  10677:        home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM,
                   10678:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
                   10679:        use=vt100,
1.1       millert  10680: # except in 132 column mode, where it needs a little padding.
                   10681: # This is still less padding than the vt100, and you can always turn on
                   10682: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   10683: # reverse video.
                   10684: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
                   10685:        cols#132,
1.11      millert  10686:        clear=\E[H\E[2J$<50/>, cud1=^J,
                   10687:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>,
                   10688:        ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
1.14      millert  10689: # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
1.11      millert  10690: dt80-sas|Datamedia DT803/DTX for SAS usage,
                   10691:        am, bw,
                   10692:        cols#80, lines#24,
                   10693:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
                   10694:        bel=^G, clear=^L, cr=^M,
                   10695:        csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2,
                   10696:        cub1=^H, cud1=\EB, cuf1=^\,
                   10697:        cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K,
                   10698:        el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB,
                   10699:        is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J,
                   10700:        kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N,
                   10701:        rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF,
                   10702:        smso=\E$2\004, tbc=\E'0,
1.1       millert  10703:
                   10704: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
                   10705: # These aren't end-all Excel termcaps; but do insert/delete char/line
                   10706: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
                   10707: # The naming convention has been bent somewhat, with the use of E? (where
                   10708: # E is for 'Excel') as # a name.  This was done to distinguish the entries
                   10709: # from the other Datamedias in use here, and yet to associate a model of
                   10710: # the Excel terminals with the regular datamedia terminals that share
                   10711: # major characteristics.
                   10712: excel62|excel64|datamedia Excel 62,
                   10713:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   10714:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   10715:        use=dt80,
                   10716: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
                   10717:        dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
                   10718:        kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
                   10719:        use=dt80w,
                   10720: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
                   10721:        dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
                   10722:        kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
1.24    ! millert  10723:        smir=\E[4h, use=dt80,
1.1       millert  10724:
                   10725: #### Falco
                   10726: #
                   10727: #      Falco Data Products
                   10728: #      440 Potrero Avenue
                   10729: #      Sunnyvale, CA 940864-196
                   10730: #      Vox: (800)-325-2648
                   10731: #      Fax: (408)-745-7860
                   10732: #      Net: techsup@charm.sys.falco.com
                   10733: #
                   10734: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   10735: # emulations of DEC VT-series, Wyse, and Televideo types.
                   10736: #
                   10737:
                   10738: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
                   10739: # This terminal was released around 1983 and was discontinued long ago.
                   10740: # The standout and underline highlights are the same.
                   10741: falco|ts1|ts-1|falco ts-1,
1.11      millert  10742:        OTbs, am,
1.1       millert  10743:        cols#80, it#8, lines#24,
                   10744:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   10745:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   10746:        dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
                   10747:        ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
1.11      millert  10748:        kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0,
                   10749:        smir=\Eq, smso=\Eg1, smul=\Eg1,
1.1       millert  10750: falco-p|ts1p|ts-1p|falco ts-1 with paging option,
1.11      millert  10751:        OTbs, am, da, db, mir, msgr, ul,
1.1       millert  10752:        cols#80, it#8, lines#24,
1.11      millert  10753:        bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B,
                   10754:        cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
                   10755:        dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
1.1       millert  10756:        il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
1.11      millert  10757:        kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er,
                   10758:        rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq,
                   10759:        smso=\Eg4, smul=\Eg1,
1.1       millert  10760: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  10761: ts100|ts100-sp|falco ts100-sp,
                   10762:        am, mir, msgr, xenl, xon,
                   10763:        cols#80, it#8, lines#24, vt#3,
                   10764:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   10765:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   10766:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   10767:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   10768:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   10769:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   10770:        cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
                   10771:        el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
                   10772:        ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
                   10773:        ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn,
                   10774:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM,
                   10775:        kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
                   10776:        kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   10777:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   10778:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   10779:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   10780:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   10781:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   10782:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
                   10783: ts100-ctxt|falco ts-100 saving context,
                   10784:        rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
1.1       millert  10785:
                   10786: #### Florida Computer Graphics
                   10787: #
                   10788:
                   10789: # Florida Computer Graphics Beacon System, using terminal emulator program
                   10790: # "host.com", as provided by FCG.  This description is for an early release
                   10791: # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
                   10792: # commented out.
                   10793:
                   10794: # From: David Bryant <cbosg!djb> 1/7/83
1.11      millert  10795: beacon|FCG Beacon System,
1.1       millert  10796:        am, da, db,
1.11      millert  10797:        cols#80, lines#32,
                   10798:        bel=\ESTART\r\E37\r\EEND\r$<1>,
                   10799:        blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M,
                   10800:        cub1=^H, cud1=^J, cuf1=\EV,
                   10801:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU,
                   10802:        dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE,
                   10803:        ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=,
                   10804:        rmso=\ESTART\r\E70\,0\r\EEND\r$<20>,
                   10805:        rmul=\ESTART\r\E60\,0\r\EEND\r,
                   10806:        sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>,
                   10807:        smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>,
                   10808:        smso=\ESTART\r\E70\,6\r\EEND\r$<20>,
                   10809:        smul=\ESTART\r\E60\,1\r\EEND\r,
1.1       millert  10810:
                   10811: #### Fluke
                   10812: #
                   10813:
                   10814: # The f1720a differences from ANSI: no auto margin, destructive
                   10815: # tabs, # of lines, funny highlighting and underlining
                   10816: f1720|f1720a|fluke 1720A,
                   10817:        xt,
                   10818:        cols#80, lines#16, xmc#1,
                   10819:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
1.11      millert  10820:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J,
                   10821:        el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^],
                   10822:        kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   10823:        smso=\E[7m, smul=\E[4m,
1.1       millert  10824:
                   10825: #### Liberty Electronics (Freedom)
                   10826: #
                   10827: #      Liberty Electronics
                   10828: #      48089 Fremont Blvd
                   10829: #      Fremont CA 94538
                   10830: #      Vox: (510)-623-6000
                   10831: #      Fax: (510)-623-7021
                   10832:
                   10833: # From: <faletti@berkeley.edu>
                   10834: # (f100: added empty <acsc> to suppress a tic warning;
                   10835: # made this relative to adm+sgr -- note that <invis> isn't
                   10836: # known to work for f100 but does on the f110. --esr)
1.11      millert  10837: f100|freedom|freedom100|freedom model 100,
                   10838:        OTbs, am, bw, hs, mir, msgr, xon,
                   10839:        cols#80, lines#24,
                   10840:        acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J,
                   10841:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   10842:        dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
                   10843:        flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c,
                   10844:        ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>,
                   10845:        is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V,
                   10846:        kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r,
                   10847:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   10848:        kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er,
                   10849:        smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
                   10850:        vpa=\E[%p1%{32}%+%c, use=adm+sgr,
                   10851: f100-rv|freedom-rv|freedom 100 in reverse video,
                   10852:        flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
1.1       millert  10853: # The f110 and f200 have problems with vi(1).  They use the ^V
                   10854: # code for the down cursor key. When kcud1 is defined in terminfo
                   10855: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   10856: # is lost! It cannot be remapped in vi because it is necessary to enter
                   10857: # a ^V to to quote the ^V that is being remapped!!!
                   10858: #
                   10859: # f110/f200 users will have to decide whether
                   10860: # to lose the down cursor key or the quoting capability. We will opt
                   10861: # initially for leaving the quoting capability out, since use of VI
                   10862: # is not generally applicable to most interactive applications
                   10863: # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
                   10864: f110|freedom110|Liberty Freedom 110,
                   10865:        bw@, eslok,
                   10866:        it#8, wsl#80,
1.11      millert  10867:        blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
                   10868:        cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r,
                   10869:        flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW,
                   10870:        kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ,
                   10871:        kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO,
1.24    ! millert  10872:        smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, use=f100,
1.11      millert  10873: f110-14|Liberty Freedom 110 14inch,
                   10874:        dch1@, use=f110,
                   10875: f110-w|Liberty Freedom 110 - 132 cols,
                   10876:        cols#132, use=f110,
                   10877: f110-14w|Liberty Freedom 110 14in/132 cols,
                   10878:        cols#132,
                   10879:        dch1@, use=f110,
1.1       millert  10880: # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.11      millert  10881: f200|freedom200|Liberty Freedom 200,
                   10882:        OTbs, am, eslok, hs, mir, msgr, xon,
                   10883:        cols#80, it#8, lines#24, wsl#80,
                   10884:        acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0,
                   10885:        clear=^Z, cnorm=\E.1, cr=^M,
                   10886:        csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
                   10887:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   10888:        cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY,
                   10889:        el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^,
                   10890:        hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
                   10891:        kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
                   10892:        kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   10893:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   10894:        kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
                   10895:        ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<,
1.24    ! millert  10896:        tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, use=adm+sgr,
1.11      millert  10897: f200-w|Liberty Freedom 200 - 132 cols,
                   10898:        cols#132, use=f200,
1.1       millert  10899: # The f200 has the ability to reprogram the down cursor key. The key is
                   10900: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
                   10901: # so powering the terminal off and on will not cause the change to be lost.
                   10902: f200vi|Liberty Freedom 200 for vi,
1.11      millert  10903:        flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
                   10904: f200vi-w|Liberty Freedom 200 - 132 cols for vi,
                   10905:        cols#132, use=f200vi,
1.1       millert  10906:
                   10907: #### GraphOn (go)
                   10908: #
                   10909: #      Graphon Corporation
                   10910: #      544 Division Street
                   10911: #      Campbell, CA 95008
                   10912: #      Vox: (408)-370-4080
                   10913: #      Fax: (408)-370-5047
                   10914: #      Net: troy@graphon.com (Troy Morrison)
                   10915: #
                   10916: #
                   10917: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   10918: # including one odd hybrid that starts out life on power-up as a character
                   10919: # terminal, than can be switched to X graphics mode (driven over the serial
                   10920: # line) by an escape sequence.  No info on this beast yet.
                   10921: # (go140: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  10922: go140|graphon go-140,
                   10923:        OTbs,
                   10924:        cols#80, it#8, lines#24,
1.1       millert  10925:        clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C,
1.11      millert  10926:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   10927:        ed=\E[J$<10/>, el=\E[K, ht=^I,
1.1       millert  10928:        if=/usr/share/tabset/vt100, il1=\E[L,
                   10929:        is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
1.11      millert  10930:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   10931:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
                   10932:        rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
                   10933:        rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
                   10934:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
1.1       millert  10935: go140w|graphon go-140 in 132 column mode,
1.11      millert  10936:        am,
1.1       millert  10937:        cols#132,
1.24    ! millert  10938:        is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q,
        !          10939:        use=go140,
1.1       millert  10940: # Hacked up vt200 termcap to handle GO-225/VT220
                   10941: # From: <edm@nwnexus.WA.COM>
                   10942: # (go225: I added <rmam>/<smam> based on the init string -- esr)
                   10943: go225|go-225|Graphon 225,
1.11      millert  10944:        OTbs, am, mir, xenl,
                   10945:        cols#80, it#8, lines#25, vt#3,
                   10946:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   10947:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   10948:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   10949:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED,
                   10950:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H,
                   10951:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   10952:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
1.1       millert  10953:        rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
1.11      millert  10954:        rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>,
                   10955:        rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w,
                   10956:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r,
                   10957:        smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1.1       millert  10958:
1.11      millert  10959: #### Harris (Beehive)
1.1       millert  10960: #
                   10961: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   10962: # Their terminal group is ancient history now (1995) though the parent
                   10963: # company is still in business.
                   10964: #
                   10965:
1.11      millert  10966: # Beehive documentation is undated and marked Preliminary and has no figures
                   10967: # so we must have early Superbee2 (Model 600, according to phone conversation
                   10968: # with mfr.). It has proved reliable except for some missing padding
                   10969: # (notably after \EK and <nl> at bottom of screen).
                   10970: #
                   10971: # The key idea is that AEP mode is poison for <cup> & that US's in
                   10972: # the local memory should be avoided like the plague. That means
                   10973: # that the 2048 character local buffer is used as 25 lines of 80
                   10974: # characters, period. No scrolling local memory, folks. It also
                   10975: # appears that we cannot use naked INS LINE feature since it uses
                   10976: # US. The sbi fakes <il1> with an 80-space insert that may be too
                   10977: # slow at low speeds; also spaces get converted to \040 which is
                   10978: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   10979: #
                   10980: # The <nl> string is designed for last line of screen ONLY; cup to
                   10981: # 25th line corrects the motion inherent in scrolling to Page 1.
                   10982: #
                   10983: # There is one understood bug. It is that the screen appears to
                   10984: # pop to a new (blank) page after a <nel>, or leave a half-line
                   10985: # ellipsis to a quad that is the extra 48 memory locations. The
                   10986: # data received is dumped into memory but not displayed.  Not to
                   10987: # worry if <cup> is being used; the lines not displayed will be,
                   10988: # whenever the cursor is moved up there. Since <cup> is addressed
                   10989: # relative to MEMORY of window, nothing is lost; but beware of
                   10990: # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
                   10991: # therefore, is setenv MORE -c .
                   10992: #
                   10993: # WARNING: Not all features tested.
                   10994: #
                   10995: # Timings are assembled from 3 sources. Some timings may reflect
                   10996: # SB2/Model 300 that were used if more conservative.
                   10997: # Tested on a Model 600 at 1200 and 9600 bd.
                   10998: #
                   10999: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   11000: # placed on the keyboard and useless because of AEP, is made
                   11001: # into a backspace key. In use ESC must be pressed twice (to send)
                   11002: # and sending ^C must be prefixed by ESC to avoid that weird
                   11003: # transmit mode associated with ENTER key.
                   11004: #
                   11005: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   11006: # the screen, then it has dropped into ENTER mode; hit
                   11007: # RESET--ONLINE--!tset.
                   11008: #
                   11009: # As delivered this machine has a FATAL feature that will throw
                   11010: # it into that strange transmit state (SPOW) if the space bar is
                   11011: # hit after a CR is received, but before receiving a LF (or a
                   11012: # few others).
                   11013: #
                   11014: # The circuits MUST be modified to eliminate the SPOW latch.
                   11015: # This is done by strapping on chip A46 of the I/O board; cut
                   11016: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   11017: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   11018: # With this modification absurdly high timings on cr are
                   11019: # unnecessary.
                   11020: #
                   11021: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   11022: # not AEP!
                   11023: #
                   11024: sb1|beehive superbee,
                   11025:        OTbs, am, bw, da, db, mir, ul, xsb,
                   11026:        cols#80, lines#25, xmc#1,
                   11027:        bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r,
                   11028:        cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
                   11029:        cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>,
                   11030:        el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1,
                   11031:        il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>,
                   11032:        ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED,
                   11033:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK,
                   11034:        kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
                   11035:        kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO,
                   11036:        krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER,
                   11037:        rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO,
                   11038:        smso=\E_1, smul=\E_0, tbc=\E3,
                   11039: sbi|superbee|beehive superbee at Indiana U.,
                   11040:        xsb,
1.24    ! millert  11041:        cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA,
        !          11042:        use=sb1,
1.11      millert  11043: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   11044: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   11045: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   11046: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   11047: # the switch in the back set to CRLF instead of AEP.  This description
                   11048: # is tested on the sb2 but should work on all with either switch setting.
                   11049: # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
                   11050: # the other two if you want to try to hit that tiny escape key.
                   11051: # This description is tricky: being able to use cup depends on there being
                   11052: # 2048 bytes of memory and the hairy <nl> string.
                   11053: superbee-xsb|beehive super bee,
                   11054:        am, da, db, xsb,
                   11055:        cols#80, it#8, lines#25,
                   11056:        clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J,
                   11057:        cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
                   11058:        dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
                   11059:        home=\EH, ht=^I, hts=\E1,
                   11060:        ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ,
                   11061:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq,
                   11062:        kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
                   11063:        khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
                   11064: # This loses on lines > 80 chars long, use at your own risk
                   11065: superbeeic|super bee with insert char,
                   11066:        ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
                   11067: sb2|sb3|fixed superbee,
                   11068:        xsb@, use=superbee,
                   11069:
1.14      millert  11070: ####  Beehive Medical Electronics
                   11071: #
                   11072: # Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
                   11073: # Regarding your question though; Beehive terminals weren't made by Harris.
                   11074: # They were made by Beehive Medical Electronics in Utah. They went out of
                   11075: # business in the early '80s.
                   11076: #
                   11077: # (OK, then, I don't know why a couple of these say "harris beehive".)
                   11078: #
                   11079:
1.11      millert  11080: # Reports are that most of these Beehive entries (except superbee) have not
                   11081: # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
                   11082:
                   11083: # (bee: <ich1> was empty, which is obviously bogus -- esr)
                   11084: beehive|bee|harris beehive,
                   11085:        OTbs, am, mir,
                   11086:        cols#80, lines#24,
                   11087:        cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
                   11088:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   11089:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>,
                   11090:        kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   11091:        kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
                   11092:        krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@,
                   11093:        smir=\EQ, smso=\EdP, smul=\Ed`,
                   11094: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
                   11095: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
                   11096: # look at those spaces in <rmso>/<smso>.  Seems strange to me...
                   11097: # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
                   11098: # really care, cook up one using ^F -- esr)
                   11099: beehive3|bh3m|beehiveIIIm|harris beehive 3m,
                   11100:        OTbs, am,
                   11101:        cols#80, it#8, lines#20,
                   11102:        bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
                   11103:        dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
                   11104:        il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s,
                   11105: beehive4|bh4|beehive 4,
                   11106:        am,
                   11107:        cols#80, lines#24,
                   11108:        bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   11109:        cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J,
1.14      millert  11110: # There was an early Australian kit-built computer called a "Microbee".
                   11111: # It's not clear whether this is for one of those or for a relative
                   11112: # of the Beehive.
1.11      millert  11113: microb|microbee|micro bee series,
                   11114:        OTbs, am,
                   11115:        cols#80, it#8, lines#24,
                   11116:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11117:        cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   11118:        el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   11119:        kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
                   11120:        kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@,
                   11121:        rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`,
                   11122:
1.1       millert  11123: # 8675, 8686, and bee from Cyrus Rahman
                   11124: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   11125: ha8675|harris 8675,
                   11126:        is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
1.11      millert  11127:        kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei,
                   11128:        kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H,
1.24    ! millert  11129:        kf8=\177, kf9=\Ee, use=bee,
1.1       millert  11130: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   11131: # in :is: -- esr)
                   11132: ha8686|harris 8686,
                   11133:        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#,
1.11      millert  11134:        kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003,
                   11135:        kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003,
                   11136:        kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003,
                   11137:        kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(,
                   11138:        use=bee,
1.1       millert  11139:
                   11140: #### Hazeltine
                   11141: #
                   11142: # Hazeltine appears to be out of the terminal business as of 1995.  These
                   11143: # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
                   11144: # Harris. They have a hazeltine.com domain (but no web page there ) and can
                   11145: # be reached at:
                   11146: #
                   11147: #      Hazeltine
                   11148: #      450 East Pulaski Road
                   11149: #      Greenlawn, New York 11740
                   11150: #
                   11151: # As late as 1993, manuals for the terminal product line could still be
                   11152: # purchased from:
                   11153: #
                   11154: #      TRW Customer Service Division
                   11155: #      15 Law Drive
                   11156: #      P.O. Box 2076
                   11157: #      Fairfield, NJ 07007-2078
                   11158: #
                   11159: # They're now (1998) a subsidiary of General Electric, operating under the
                   11160: # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
                   11161: # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
                   11162: #
                   11163:
                   11164: # Since <cuf1> is blank, when you want to erase something you
                   11165: # are out of luck.  You will have to do ^L's a lot to
                   11166: # redraw the screen.  h1000 is untested.  It doesn't work in
                   11167: # vi - this terminal is too dumb for even vi.  (The code is
                   11168: # there but it isn't debugged for this case.)
                   11169: hz1000|hazeltine 1000,
1.11      millert  11170:        OTbs,
                   11171:        cols#80, lines#12,
                   11172:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K,
                   11173:        ind=^J,
1.1       millert  11174: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   11175: hz1420|hazeltine 1420,
1.11      millert  11176:        OTbs, am,
1.1       millert  11177:        cols#80, lines#24,
                   11178:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
                   11179:        cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
                   11180:        ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
                   11181:        smso=\E^_,
                   11182: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   11183: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   11184: # receive tildes.
                   11185: hz1500|hazeltine 1500,
1.11      millert  11186:        OTbs, am, hz,
1.1       millert  11187:        cols#80, lines#24,
                   11188:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
1.11      millert  11189:        cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c,
                   11190:        cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R,
                   11191:        il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P,
                   11192:        kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
1.1       millert  11193: # h1510 assumed to be in sane escape mode.  Else use h1500.
                   11194: # (h1510: early versions of this entry apparently had "<rmso=\E^_>,
                   11195: # <smso=\E^Y>, but these caps were commented out in 8.3; also,
                   11196: # removed incorrect and overridden ":do=^J:" -- esr)
                   11197: hz1510|hazeltine 1510,
1.11      millert  11198:        OTbs, am,
1.1       millert  11199:        cols#80, lines#24,
                   11200:        bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
                   11201:        cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
                   11202:        el=\E^O, il1=\E^Z, ind=^J,
                   11203: # Hazeltine 1520
                   11204: # The following switch settings are assumed for normal operation:
                   11205: #      FULL            CR              U/L_CASE        ESCAPE
                   11206: #      FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
                   11207: # Other switches may be set for operator convenience or communication
                   11208: # requirements.
                   11209: hz1520|Hazeltine 1520,
                   11210:        OTbs, am, bw, msgr,
                   11211:        cols#80, lines#24,
                   11212:        bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J,
                   11213:        cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
                   11214:        ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H,
                   11215:        kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L,
                   11216:        kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z,
                   11217:        rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_,
                   11218: # This version works with the escape switch off
                   11219: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
                   11220: hz1520-noesc|hazeltine 1520,
                   11221:        am, hz,
                   11222:        cols#80, lines#24,
                   11223:        bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
1.11      millert  11224:        cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O,
                   11225:        home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
1.1       millert  11226: # Note: the h1552 appears to be the first Hazeltine terminal which
                   11227: # is not braindamaged.  It has tildes and backprimes and everything!
                   11228: # Be sure the auto lf/cr switch is set to cr.
                   11229: hz1552|hazeltine 1552,
1.11      millert  11230:        OTbs,
                   11231:        cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue,
1.24    ! millert  11232:        lf2=red, lf3=green, use=vt52,
1.1       millert  11233: hz1552-rv|hazeltine 1552 reverse video,
1.11      millert  11234:        cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
1.1       millert  11235: # Note: h2000 won't work well because of a clash between upper case and ~'s.
                   11236: hz2000|hazeltine 2000,
                   11237:        OTbs, OTnc, am,
                   11238:        cols#74, lines#27,
1.11      millert  11239:        bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J,
                   11240:        cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R,
                   11241:        il1=~\032$<6>, ind=^J, pad=\177,
1.1       millert  11242: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   11243: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   11244: # to work ok. There is one problem though if one types a lot of garbage
                   11245: # characters very fast vi seems not able to keep up and hangs while trying
                   11246: # to insert. That's in insert mode while trying to insert in the middle of
                   11247: # a line. It might be because the Esprit doesn't have insert char and delete
                   11248: # char as a built in function. Vi has to delete to end of line and then
                   11249: # redraw the rest of the line.
1.11      millert  11250: esprit|Hazeltine Esprit I,
                   11251:        OTbs, am, bw,
                   11252:        cols#80, lines#24,
                   11253:        bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K,
                   11254:        cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
                   11255:        ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H,
                   11256:        kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J,
                   11257:        kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J,
                   11258:        kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R,
                   11259:        lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
                   11260:        rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_,
1.1       millert  11261: esprit-am|hazeltine esprit auto-margin,
1.11      millert  11262:        am, use=esprit,
1.1       millert  11263: # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
                   11264: # Vi it seems always wants to send a control J for "do" and it turned out
                   11265: # that the terminal would work somewhat if the auto LF/CR was turned off.
                   11266: # (hmod1: removed :dn=~^K: -- esr)
                   11267: hmod1|Hazeltine Modular 1,
                   11268:        OTbs, am, hz,
                   11269:        cols#80, lines#24,
                   11270:        bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
1.11      millert  11271:        cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z,
                   11272:        ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R,
                   11273:        rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_,
1.1       millert  11274: #
                   11275: # Hazeltine Executive 80 Model 30 (1554?)
                   11276: #      from  Will Martin <control@ALMSA-1.ARPA> via BRL
                   11277: # Like VT100, except for different "am" behavior.
                   11278: hazel|exec80|h80|he80|Hazeltine Executive 80,
                   11279:        OTbs, OTpt, am,
                   11280:        cols#80, it#8, lines#24, vt#3,
                   11281:        OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   11282:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   11283:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   11284:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   11285:        ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
                   11286:        is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
                   11287:        kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   11288:        kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
1.11      millert  11289:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
                   11290:        rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
1.1       millert  11291:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   11292:        sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
                   11293:        smul=\E[4m$<2/>,
                   11294:
1.11      millert  11295: #### IBM
1.1       millert  11296: #
                   11297:
1.11      millert  11298: ibm327x|line mode IBM 3270 style,
                   11299:        gn,
                   11300:        clear=^M^J, el=^M, home=^M,
1.1       millert  11301:
1.11      millert  11302: ibm3101|i3101|IBM 3101-10,
                   11303:        OTbs, am, xon,
                   11304:        cols#80, lines#24,
                   11305:        bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11306:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   11307:        el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
                   11308:        kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH,
                   11309: ibm3151|IBM 3151 display,
                   11310:        is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
                   11311:        sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;,
1.24    ! millert  11312:        sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162,
1.11      millert  11313: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1.24    ! millert  11314: # removed kend, knp, kpp -TD
1.11      millert  11315: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
                   11316:        OTbs, am, mir, msgr,
                   11317:        cols#80, it#8, lines#24,
                   11318:        acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370,
                   11319:        bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
                   11320:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   11321:        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
                   11322:        invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1,
                   11323:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
1.24    ! millert  11324:        kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r,
1.11      millert  11325:        kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r,
                   11326:        kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r,
                   11327:        kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r,
                   11328:        kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r,
                   11329:        kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
                   11330:        kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
1.24    ! millert  11331:        ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, rmcup=\E>A,
        !          11332:        rmso=\E4@, rmul=\E4@,
1.11      millert  11333:        sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;,
                   11334:        sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
                   11335:
                   11336: ibm3161-C|IBM 3161-C NLS terminal using cartridge,
1.24    ! millert  11337:        rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, use=ibm3161,
1.11      millert  11338: ibm3162|IBM 3162 display,
                   11339:        blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a,
                   11340:        rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a,
                   11341:        use=ibm3161-C,
1.1       millert  11342:
1.24    ! millert  11343: # This really should not use setab/setaf, but it is clear that the
        !          11344: # original terminfo does not toggle red/blue colors as in setb/setf.
1.11      millert  11345: ibm3164|i3164|IBM 3164,
                   11346:        msgr,
                   11347:        colors#8, pairs#64,
1.24    ! millert  11348:        op=\E4 "@, rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A,
        !          11349:        setab=\E4  %p1%{64}%+%c,
        !          11350:        setaf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@,
1.11      millert  11351:        smcup=\E!9/N\E>B, use=ibm3161,
1.1       millert  11352:
1.11      millert  11353: ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display,
                   11354:        am, bw, msgr, xon,
                   11355:        cols#80, it#8, lines#25,
                   11356:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
1.24    ! millert  11357:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
1.11      millert  11358:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   11359:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11360:        cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
                   11361:        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H,
                   11362:        hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
                   11363:        indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z,
                   11364:        kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   11365:        kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q,
1.13      millert  11366:        kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q,
                   11367:        kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q,
                   11368:        kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q,
                   11369:        kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q,
                   11370:        kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q,
                   11371:        kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q,
                   11372:        kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q,
                   11373:        kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q,
                   11374:        kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
                   11375:        kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q,
                   11376:        kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q,
1.24    ! millert  11377:        krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l,
        !          11378:        rmso=\E[m, rmul=\E[m, rs2=\Ec,
1.11      millert  11379:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
                   11380:        sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
1.1       millert  11381:
1.11      millert  11382: ibmaed|IBM Experimental display,
                   11383:        OTbs, am, eo, msgr,
                   11384:        cols#80, it#8, lines#52,
                   11385:        clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
                   11386:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   11387:        dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
                   11388:        il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   11389:        rmso=\E0, sgr0=\E0, smso=\E0,
                   11390: ibm-apl|apl|IBM apl terminal simulator,
                   11391:        lines#25, use=dm1520,
                   11392: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   11393: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   11394: ibmmono|IBM workstation monochrome,
                   11395:        eslok, hs,
                   11396:        bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
                   11397:        invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
                   11398:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
                   11399:        khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
                   11400:        lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
1.24    ! millert  11401:        sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo,
        !          11402:        use=ibm3101,
1.11      millert  11403: ibmega|IBM Enhanced Color Display,
                   11404:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
1.24    ! millert  11405:        nel=^M^J, use=ibmmono,
        !          11406: # This color scheme is assumed in some recent IBM terminal descriptions
        !          11407: # (green on black, emulated on a 16-color terminal).
        !          11408: ibm+color|IBM color definitions,
        !          11409:        colors#8, ncv#3, pairs#64,
        !          11410:        op=\E[32m\E[40m,
        !          11411:        setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;,
        !          11412:        setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;,
1.11      millert  11413: ibm5154|IBM 5154 Color display,
1.24    ! millert  11414:        colors#8, ncv@, pairs#64,
1.11      millert  11415:        bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
1.24    ! millert  11416:        use=ibm+color,
1.11      millert  11417: ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
                   11418:        rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;,
                   11419:        use=ibmmono,
                   11420: ibmvga-c|IBM VGA display color termcap,
                   11421:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
1.24    ! millert  11422:        nel=^M^J, use=ibmega-c,
1.11      millert  11423: ibmvga|IBM VGA display,
                   11424:        cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
1.24    ! millert  11425:        nel=^M^J, use=ibmega,
1.11      millert  11426: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   11427: rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display,
                   11428:        lines#32,
                   11429:        dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
                   11430: ibm6155|IBM 6155 Black & White display,
                   11431:        blink@, bold@, use=ibm5151,
                   11432: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   11433: ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display,
                   11434:        lines#31,
                   11435:        dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
                   11436: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
                   11437:        lines#31,
1.24    ! millert  11438:        dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo,
        !          11439:        use=ibmega-c,
1.11      millert  11440: ibm6154|IBM 6154 Color displays,
                   11441:        blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
                   11442:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
1.24    ! millert  11443:        sgr0=\E[0;10m, use=ibm5154,
1.11      millert  11444: ibm6153|IBM 6153 Black & White display,
                   11445:        blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
                   11446:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
1.24    ! millert  11447:        sgr0=\E[0;10m, use=ibm5151,
1.11      millert  11448: ibm6153-90|IBM 6153 Black & White display,
                   11449:        cols#90, lines#36,
                   11450:        blink@, bold@, use=ibm5151,
                   11451: ibm6153-40|IBM 6153 Black & White display,
                   11452:        cols#40, lines#12, use=ibm6153-90,
                   11453: ibm8512|ibm8513|IBM color VGA Terminal,
                   11454:        am, mir, msgr,
                   11455:        cols#80, it#8, lines#25,
                   11456:        acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m,
1.24    ! millert  11457:        clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C,
1.11      millert  11458:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
                   11459:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL,
                   11460:        il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A,
                   11461:        kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q,
                   11462:        kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
                   11463:        kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m,
                   11464:        rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l,
                   11465:        rmir=\E[4l, rmso=\E[m, rmul=\E[m,
                   11466:        rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
                   11467:        smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
                   11468:        smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   11469:        use=ibm8503,
                   11470: hft-c|HFT with Color,
                   11471:        colors#8, pairs#64,
                   11472:        acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0,
                   11473:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B,
1.24    ! millert  11474:        use=ibm5151, use=ibm+color,
1.11      millert  11475: hft-c-old|HFT with Color PC850,
                   11476:        colors#8, pairs#64,
                   11477:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
1.24    ! millert  11478:        use=ibm+color,
        !          11479: hft-old|AIWS High Function Terminal,
1.14      millert  11480:        am, xon,
                   11481:        cols#80, lines#25,
1.24    ! millert  11482:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
1.14      millert  11483:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11484:        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   11485:        ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
                   11486:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   11487:        kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
                   11488:        kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
                   11489:        kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
                   11490:        ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m,
1.24    ! millert  11491:        sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color,
1.11      millert  11492: ibm-system1|system1|ibm system/1 computer,
                   11493:        am, xt,
                   11494:        cols#80, lines#24,
                   11495:        bel=^G, clear=^Z, cub1=^H, cuf1=^\,
                   11496:        cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
                   11497:        ind=^J,
1.14      millert  11498: #       lft-pc850 : IBM Low Function Terminal Device
                   11499: #    lft "supports" underline, bold, and blink in the sense that the lft code
                   11500: #    sets all the right bits.  HOWEVER, depending upon the adapter, these
                   11501: #    attributes may or may not be supported by the device driver.
                   11502: lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device,
                   11503:        am, bw, msgr, xon,
                   11504:        cols#80, it#8, lines#25,
                   11505:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
                   11506:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   11507:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   11508:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   11509:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   11510:        dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K,
                   11511:        home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL,
                   11512:        il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec,
                   11513:        kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B,
                   11514:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q,
                   11515:        kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q,
                   11516:        kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q,
                   11517:        kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q,
                   11518:        kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q,
                   11519:        kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q,
                   11520:        kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q,
                   11521:        kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q,
                   11522:        kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q,
                   11523:        kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
                   11524:        kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
                   11525:        kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q,
                   11526:        kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT,
                   11527:        rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec,
                   11528:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
                   11529:        sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   11530:        tbc=\E[3g,
1.24    ! millert  11531: ibm5081|hft|IBM Megapel Color display,
1.11      millert  11532:        acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
1.24    ! millert  11533:        s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
1.11      millert  11534: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
                   11535:        eslok, hs,
                   11536:        lines#33,
1.24    ! millert  11537:        dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo,
        !          11538:        use=ibmega-c,
1.11      millert  11539: ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display,
                   11540:        use=hft-c,
                   11541: ibm8514|IBM 8514/a color VGA display,
                   11542:        eslok, hs,
                   11543:        dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft,
                   11544: ibm8514-c|IBM 8514 color display with standout and underline,
                   11545:        eslok, hs,
                   11546:        lines#41,
                   11547:        cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
                   11548:        kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
                   11549:        use=ibmega-c,
1.1       millert  11550:
                   11551: #
1.11      millert  11552: # AIX entries.  IBM ships these with AIX 3.2.5.
1.24    ! millert  11553: # -- added rc, sc based on manpage -TD
        !          11554: aixterm|IBM Aixterm Terminal Emulator,
1.11      millert  11555:        eslok, hs,
                   11556:        acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
1.24    ! millert  11557:        fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7,
        !          11558:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
        !          11559:        sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154,
1.11      millert  11560: aixterm-m|IBM AIXterm Monochrome Terminal Emulator,
                   11561:        eslok, hs,
                   11562:        acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
                   11563:        fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
                   11564:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
1.24    ! millert  11565:        sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153,
1.11      millert  11566: aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
                   11567:        eslok, hs,
                   11568:        bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
                   11569:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
1.24    ! millert  11570:        tsl=\E[?%p1%dT, use=ibm6153,
1.11      millert  11571: jaixterm|IBM Kanji Aixterm Terminal Eemulator,
                   11572:        acsc@, use=aixterm,
                   11573: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
1.24    ! millert  11574:        acsc@, use=aixterm-m,
1.1       millert  11575:
1.11      millert  11576: #### Infoton/General Terminal Corp.
1.1       millert  11577: #
                   11578:
1.11      millert  11579: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   11580: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
                   11581:        OTbs, am,
                   11582:        cols#80, lines#24,
                   11583:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   11584:        cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
                   11585:        ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
                   11586:        ind=^J, rmso=\Ea, smso=\Eb,
                   11587: i400|infoton 400,
                   11588:        OTbs, am,
                   11589:        cols#80, lines#25,
                   11590:        bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   11591:        cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A,
                   11592:        dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
                   11593:        il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
                   11594: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   11595: addrinfo,
                   11596:        am,
                   11597:        cols#80, lines#24,
                   11598:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
                   11599:        cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H,
                   11600:        ind=^J, ll=^H^\,
                   11601: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
                   11602: infoton,
                   11603:        am,
1.1       millert  11604:        cols#80, lines#24,
1.11      millert  11605:        bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
                   11606:        ed=^K, ind=^J, ll=^H^\,
1.1       millert  11607:
1.11      millert  11608: # The ICL6402 was actually the Kokusai Display System 6402.
                   11609: # The 6404 was the KDS7372 (color version of the 6402).
1.1       millert  11610: #
1.11      millert  11611: # ICL6404 control codes follow:
1.1       millert  11612: #
1.11      millert  11613: #code            function
                   11614: #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   11615: #ctrl-A          set SOM position at cursor position
                   11616: #ctrl-G          Bell
                   11617: #ctrl-H          Backspace
                   11618: #ctrl-I          Horiz tab
                   11619: #ctrl-J          Linefeed
                   11620: #ctrl-K          Cursor up
                   11621: #ctrl-L          Cursor right
                   11622: #ctrl-M          Carriage return
                   11623: #ctrl-N          Disable xon/xoff to host
                   11624: #ctrl-O          Enable xon/xoff to host
                   11625: #ctrl-R          Enable bidirectional mode
                   11626: #ctrl-T          Disable bidirectional mode
                   11627: #ctrl-V          Cursor down
                   11628: #ctrl-Z          Clear unprotected data to insert char
                   11629: #ctrl-^          Cursor home
                   11630: #ctrl-_          Newline
1.1       millert  11631: #
1.11      millert  11632: #ESC             lead-in char for multiple character command
1.1       millert  11633: #
1.11      millert  11634: #ESC space R     execute power on sequence
                   11635: #ESC ! p1 p2     define scroll region:
                   11636: #                p1 = scroll top    line:  20h - 37h
                   11637: #                p1 = scroll bottom line:  20h - 37h
                   11638: #ESC "           unlock keyboard
                   11639: #ESC #           lock keyboard
                   11640: #ESC $           Semi-graphics mode on
                   11641: #ESC %           Semi-graphics mode off
                   11642: #ESC &           protect mode on
                   11643: #ESC '           protect mode off
                   11644: #ESC (           write protect mode off (full intensity)
                   11645: #ESC )           write protect mode on (half intensity)
1.1       millert  11646: #
1.11      millert  11647: #ESC *           clear screen
                   11648: #ESC +           clear unprotected data to insert char
1.1       millert  11649: #ESC ,           clear unprotected data to half intensity spaces
                   11650: #ESC - p1 p2 p3 p4     address cursor to page, row, column:
                   11651: #                      p1 = page number  0 - 3
                   11652: #                      p2 = row          20h - 7fh
                   11653: #                      p3 = column (lo)  20h - 7fh
                   11654: #                      p4 = column (hi)  20h - 21h (only 132 col)
                   11655: #ESC . p1        set cursor style:
                   11656: #                p1 = 0  invisible cursor
                   11657: #                p1 = 1  block blinking cursor
                   11658: #                p1 = 2  block steady cursor
                   11659: #                p1 = 3  underline blinking cursor
                   11660: #                p1 = 4  underline steady cursor
                   11661: #ESC /           transmit cursor location (page, row, column)
                   11662: #ESC 0 p1 p2 p3 p4     program edit key:
                   11663: #                      p1 = edit key code: '@'-'S', '`'-'s'
                   11664: #                      p2 p3 p4 = program data (3 bytes)
                   11665: #
                   11666: #ESC 1           set tab
                   11667: #ESC 2           clear tab at cursor
                   11668: #ESC 3           clear all tabs
                   11669: #ESC 4           send unprotect line to cursor
                   11670: #ESC 5           send unprotect page to cursor
                   11671: #ESC 6           send line to cursor
                   11672: #ESC 7           send page to cursor
                   11673: #ESC 8 n         set scroll mode:
                   11674: #                n = 0   set jump scroll
                   11675: #                n = 1   set smooth scroll
                   11676: #ESC 9 n         control display:
                   11677: #                n = 0   display off
                   11678: #                n = 1   display on
                   11679: #ESC :           clear unprotected data to null
                   11680: #ESC ;           clear unprotected data to insert char
                   11681: #
                   11682: #ESC <           keyclick on
                   11683: #ESC = p1 p2     address cursor to row, column
                   11684: #                p1 = row          20h - 7fh
                   11685: #                p2 = column (lo)  20h - 7fh
                   11686: #                p3 = column (hi)  20h - 21h (only 132 col)
                   11687: #ESC >           keyclick off
                   11688: #ESC ?           transmit cursor location (row, column)
                   11689: #
                   11690: #ESC @           copy print mode on
                   11691: #ESC A           copy print mode off
                   11692: #ESC B           block mode on
                   11693: #ESC C           block mode off (conversation mode)
                   11694: #ESC D F         set full duplex
                   11695: #ESC D H         set half duplex
                   11696: #ESC E           line insert
                   11697: #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
                   11698: #                0 = black, 1 = red,     2 = green, 3 = yellow
                   11699: #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
                   11700: #ESC G n         set serial field attribute (n = 30h - 3Fh)
                   11701: #ESC H n         full graphics mode:
                   11702: #                n = 0  exit full graphics mode
                   11703: #                n = 1  enter full graphics mode
                   11704: #ESC I           back tab
                   11705: #ESC J           back page
                   11706: #ESC K           forward page
                   11707: #
                   11708: #ESC L           unformatted page print
                   11709: #ESC M L         move window left  (132 col mode only)
                   11710: #ESC M R         move window right (132 col mode only)
                   11711: #ESC N           set page edit (clear line edit)
                   11712: #ESC O           set line edit (clear page edit)
                   11713: #ESC P           formatted page print
                   11714: #ESC Q           character insert
                   11715: #ESC R           line delete
                   11716: #ESC S           send message unprotected only
                   11717: #ESC T           erase line to insert char
                   11718: #ESC U           set monitor mode   (see ESC X, ESC u)
                   11719: #
                   11720: #ESC V n         select video attribute mode:
                   11721: #                n = 0   serial field attribute mode
                   11722: #                n = 1   parallel character attribute mode
                   11723: #ESC V 2 n       define line attribute:
                   11724: #                n = 0   single width single height
                   11725: #                n = 1   single width double height
                   11726: #                n = 2   double width single height
                   11727: #                n = 3   double width double height
                   11728: #ESC V 3 n       select character font:
                   11729: #                n = 0   system font
                   11730: #                n = 1   user defined font
                   11731: #ESC V 4 n       select screen mode:
                   11732: #                n = 0   page screen mode
                   11733: #                n = 1   virtual screen mode
                   11734: #ESC V 5 n       control mouse mode:
                   11735: #                n = 0   disable mouse
                   11736: #                n = 1   enable sample mode
                   11737: #                n = 2   send mouse information
                   11738: #                n = 3   enable request mode
                   11739: #ESC W           character delete
                   11740: #ESC X           clear monitor mode (see ESC U, ESC u)
                   11741: #ESC Y           erase page to insert char
                   11742: #
                   11743: #ESC Z n         send user/status line:
                   11744: #                n = 0   send user line
                   11745: #                n = 1   send status line
                   11746: #                n = 2   send terminal ID
                   11747: #ESC [ p1 p2 p3  set character attribute (parallel char mode):
                   11748: #                p1: 0 = normal
                   11749: #                    1 = blank
                   11750: #                    2 = blink
                   11751: #                    3 = blink blank (= blank)
                   11752: #                    4 = reverse
                   11753: #                    5 = reverse blank
                   11754: #                    6 = reverse blink
                   11755: #                    7 = reverse blink blank (= reverse blank)
                   11756: #                    8 = underline
                   11757: #                    9 = underline blank
                   11758: #                    : = underline blink
                   11759: #                    ; = underline blink blank
                   11760: #                    < = reverse underline
                   11761: #                    = = reverse underline blank
                   11762: #                    > = reverse underline blink
                   11763: #                    ? = reverse underline blink blank
                   11764: #                p2, p3: f/grnd, b/grnd colour
                   11765: #                (see ESC F for colours)
                   11766: #                use ZZ for mono, eg.
                   11767: #                    ESC [ 0 Z Z for normal
                   11768: #                    ESC [ 4 Z Z for inverse etc.
                   11769: #
                   11770: #ESC \ n         set page size:
                   11771: #                n = 1   24 lines/page
                   11772: #                n = 2   48 lines/page
                   11773: #                n = 3   72 lines/page
                   11774: #                n = 4   96 lines/page
                   11775: #ESC ] n         set Wordstar mode:
                   11776: #                n = 0   normal (KDS7372) mode
                   11777: #                n = 1   Wordstar mode
                   11778: #
                   11779: #ESC b           set foreground colour screen
                   11780: #
                   11781: #ESC c n         enter self-test mode:
                   11782: #                n = 0   exit self test mode
                   11783: #                n = 1   ROM test
                   11784: #                n = 2   RAM test
                   11785: #                n = 3   NVRAM test
                   11786: #                n = 4   screen display test
                   11787: #                n = 5   main/printer port test
                   11788: #                n = 6   mouse port test
                   11789: #                n = 7   graphics board test
                   11790: #                n = 8   graphics memory test
                   11791: #                n = 9   display all 'E'
                   11792: #                n = :   display all 'H'
                   11793: #ESC d           set background colour screen
                   11794: #
                   11795: #ESC e n         program insert char (n = insert char)
                   11796: #ESC f text CR   load user status line with 'text'
                   11797: #
                   11798: #ESC g           display user status line on 25th line
                   11799: #ESC h           display system status line on 25th line
                   11800: #ESC i           tab
                   11801: #ESC j           reverse linefeed
                   11802: #ESC k n         duplex/local edit mode:
                   11803: #                n = 0   duplex edit mode
                   11804: #                n = 1   local edit mode
                   11805: #ESC l n         select virtual screen:
                   11806: #                n = 0   screen 1
                   11807: #                n = 1   screen 2
                   11808: #ESC m           save current config to NVRAM
                   11809: #ESC n p1        select display screen:
                   11810: #                p1 = 0  screen 1
                   11811: #                p1 = 1  screen 2
                   11812: #                p1 = 2  screen 3
                   11813: #                p1 = 3  screen 4
                   11814: #ESC o p1 p2     set characters/line and attribute:
                   11815: #                p1 = 0  80 chars/line
                   11816: #
                   11817: #ESC o p1 p2     set characters/line and attribute:
                   11818: #                p1 = 0  80 chars/line
                   11819: #                p1 = 1  132 chars/line
                   11820: #                p2 = 0  single width single height
                   11821: #                p2 = 1  single width double height
                   11822: #                p2 = 2  double width single height
                   11823: #                p2 = 3  double width double height
                   11824: #
                   11825: #ESC q           insert mode on
                   11826: #ESC r           edit mode on
                   11827: #ESC s           send message all
                   11828: #ESC t           erase line to null
                   11829: #ESC u           clear monitor mode (see ESC U, ESC X)
                   11830: #ESC v           autopage mode on
                   11831: #ESC w           autopage mode off
                   11832: #ESC x p1 p2 p3  define delimiter code...
                   11833: #ESC y           erase page to null
                   11834: #
                   11835: #ESC z 2 p1 p2 p3 p4   draw quadrangle:
                   11836: #                      p1 = starting row
                   11837: #                      p2 = starting column
                   11838: #                      p3 = end row
                   11839: #                      p4 = end column
                   11840: #
                   11841: #ESC { p1 p2 p3 p4     configure main port
                   11842: #                      (baud, stop bits, parity, word length)
                   11843: #
                   11844: #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
                   11845: #                        p1 = function key code:
                   11846: #                             '1' - ';'  normal f1- f11
                   11847: #                             '<' - 'F'  shifted f1 - f11
                   11848: #                        p2 = program mode:
                   11849: #                             1 = FDX
                   11850: #                             2 = LOC
                   11851: #                             3 = HDX
                   11852: #                        Ctrl-Y = terminator
                   11853: #                        (use Ctrl-P to escape ^P, ^Y )
                   11854: #
                   11855: #ESC } p1 p2 p3 p4     configure printer port
                   11856: #                      (baud, stop bits, parity, word length)
                   11857: #ESC ~           send system status
                   11858: #
                   11859: # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
                   11860: #
                   11861: # Entry is by esr going solely on above information and is UNTESTED.
                   11862: # This actually looks a lot like a Televideo 9xx.
                   11863: # This entry uses page 0 and is monochrome; I'm not brave enough to try
                   11864: # to make color work without a test terminal.  The <am> capability is a guess.
                   11865: # The initialization string sets conversation mode, blinking underline cursor,
                   11866: # full duplex, parallel attribute mode, display user status line, white
                   11867: # foreground, black background, normal highlight.
                   11868: #
1.11      millert  11869: icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
                   11870:        OTbs, am, hs,
                   11871:        cols#80, lines#24,
                   11872:        bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*,
                   11873:        cnorm=\E.3, cr=^M,
                   11874:        csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L,
                   11875:        cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c,
                   11876:        cuu1=^K, cvvis=\E.1, dch=\EW, dl1=\ER, home=^^, ht=^I, hts=\E1,
                   11877:        il1=\EE, invis=\E[1ZZ, is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ,
                   11878:        nel=^_, rev=\E[4ZZ, rmir=\Er,
                   11879:        rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
                   11880:        rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
                   11881:        sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ,
                   11882:        sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
                   11883: icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
1.24    ! millert  11884:        rs2=\Eo1, use=icl6404,
1.1       millert  11885:
                   11886: #### Interactive Systems Corp
                   11887: #
                   11888: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   11889: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   11890: # bought out by Sun.
                   11891: #
                   11892:
                   11893: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
                   11894: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
                   11895: # ":le=^_:" later overridden -- esr)
                   11896: intext|Interactive Systems Corporation modified owl 1200,
1.11      millert  11897:        OTbs, am,
1.1       millert  11898:        cols#80, it#8, lines#24, xmc#1,
1.11      millert  11899:        bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J,
                   11900:        cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\,
                   11901:        dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>,
                   11902:        el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H,
                   11903:        kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
                   11904:        kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r,
                   11905:        kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<,
                   11906:        rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%,
                   11907:        smso=^V$\,,
1.1       millert  11908: intext2|intextii|INTERACTIVE modified owl 1251,
                   11909:        am, bw, ul,
                   11910:        cols#80, lines#24, xmc#0,
1.11      millert  11911:        bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B,
                   11912:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   11913:        dl1=\E[M, ed=\E[J, el=\E[K,
1.1       millert  11914:        flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
1.11      millert  11915:        hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S,
                   11916:        kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r,
                   11917:        kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r,
                   11918:        kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
                   11919:        khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO,
                   11920:        lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
                   11921:        lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D,
                   11922:        smul=\E[18 D,
1.1       millert  11923:
                   11924: #### Kimtron (abm, kt)
                   11925: #
                   11926: # Kimtron seems to be history, but as March 1998 these people are still
                   11927: # offering repair services for Kimtron equipment:
                   11928: #
                   11929: #    Com/Pair Monitor Service
                   11930: #    1105 N. Cliff Ave.
                   11931: #    Sioux Falls, South Dakota 57103
                   11932: #
                   11933: #    WATS voice:  1-800/398-4946
                   11934: #    POTS   fax: +1 605/338-8709
                   11935: #    POTS voice: +1 605/338-9650
                   11936: #         Email: <compair@sd.cybernex.net>
                   11937: #  Internet/Web: <http://www.com-pair.com>
                   11938: #
                   11939: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   11940: # enter bold mode, enter reverse mode, turn off all attributes.
                   11941: #
                   11942:
                   11943: # Kimtron ABM 85 added by Dual Systems
                   11944: # (abm85: removed duplicated ":kd=^J:" -- esr)
                   11945: abm85|Kimtron ABM 85,
1.11      millert  11946:        OTbs, am, bw, msgr,
1.1       millert  11947:        cols#80, it#8, lines#24, xmc#1,
                   11948:        cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
                   11949:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  11950:        dl1=\ER, ed=\Ey, el=\Et, ht=^I,
1.1       millert  11951:        if=/usr/share/tabset/stdcrt, il1=\EE,
1.11      millert  11952:        is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H,
                   11953:        kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek,
                   11954:        rmul=\Em, smir=\EQ, smso=\Ej, smul=\El,
1.1       millert  11955: # Kimtron ABM 85H added by Dual Systems.
                   11956: # Some notes about the abm85h entries:
                   11957: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
                   11958: #    firmware revs prior to SP51
                   11959: # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
                   11960: #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
                   11961: #    in some places and NOT software settable i.e., <is2> can't fix it)
                   11962: # 3) In 85h mode, the arrow keys and special functions transmit when
                   11963: #    the terminal is in dup-edit, and work only locally in local-edit.
                   11964: #    Vi won't swallow `del char' for instance, but <smcup> turns on
                   11965: #    dup-edit anyway so that the arrow keys will work right. If the
                   11966: #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
                   11967: #    <is2>.  Note that 920E mode does not have software commands to toggle
                   11968: #    between dup and local edit, so you get whatever was set last on the
                   11969: #    terminal.
                   11970: # 4) <flash> attribute is nice, but seems too slow to work correctly
                   11971: #    (\Eb<pad>\Ed)
                   11972: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
                   11973: #    are selected, the <xmc@> entry should be removed.
                   11974: # 6) auto new-line should be on (selectable from setup mode only)
                   11975: #
                   11976: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
                   11977: abm85h|Kimtron ABM 85H native mode,
1.11      millert  11978:        hs,
                   11979:        xmc@,
                   11980:        bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
                   11981:        fsl=^M, invis@,
1.1       millert  11982:        is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El,
1.24    ! millert  11983:        kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, use=adm+sgr,
        !          11984:        use=abm85,
1.1       millert  11985: abm85e|Kimtron ABM 85H in 920E mode,
                   11986:        xmc@,
                   11987:        bel=^G, dim=\E), flash@,
                   11988:        is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
1.24    ! millert  11989:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
1.1       millert  11990: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
                   11991:        xmc@,
1.11      millert  11992:        bel=^G, dim=\E),
1.1       millert  11993:        is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
1.24    ! millert  11994:        rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
1.1       millert  11995: # From: <malman@bbn-vax.arpa>
                   11996: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
                   11997: kt7|kimtron model kt-7,
1.11      millert  11998:        OTbs, am,
1.1       millert  11999:        cols#80, it#8, lines#24,
                   12000:        cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
                   12001:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
1.11      millert  12002:        dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
                   12003:        if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E",
                   12004:        kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
                   12005:        kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
                   12006:        kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   12007:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
1.24    ! millert  12008:        kich1=\EQ, kil1=\EE, tsl=\Ef, use=adm+sgr,
1.1       millert  12009: # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
                   12010: # other kt7 entry and the adjacent key capabilities).  Removed EE which is
                   12011: # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
                   12012: # but we can't figure out what.
                   12013: kt7ix|kimtron model kt-7 or 70 in IX mode,
                   12014:        am, bw,
                   12015:        cols#80, it#8, lines#25,
1.11      millert  12016:        acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI,
1.1       millert  12017:        civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
                   12018:        cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   12019:        dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
                   12020:        home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J,
                   12021:        is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*,
                   12022:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER,
                   12023:        ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
                   12024:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   12025:        kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ,
                   12026:        nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0,
                   12027:        sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef,
                   12028:
                   12029: #### Microdata/MDIS
                   12030: #
                   12031: # This was a line of terminals made by McDonnell-Douglas Information Systems.
                   12032: # These entries come direct from MDIS documentation.  I have edited them only
                   12033: # to move primary names of the form p[0-9] * to aliases, and to comment out
                   12034: # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have
                   12035: # also removed the change history; the last version indicates this is
                   12036: # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
                   12037: #
                   12038:
                   12039: # McDonnell Information Systems Terminal Family History
                   12040: # =========================================
                   12041: #
                   12042: # Prism-1, Prism-2 and P99:
                   12043: #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
                   12044: #
                   12045: # Prism-4 and Prism-5:
                   12046: #       Slightly less ancient range of Microdata terminals. Follow-on from
                   12047: #       Prism-2, but with many enhancements. P5 has eight display pages.
                   12048: #
                   12049: # Prism-6:
                   12050: #       A special terminal for use with library systems, primarily in Germany.
                   12051: #       Limited numbers. Similar functionality to P5 (except attributes?).
                   12052: #
                   12053: # Prism-7, Prism-8 and Prism-9:
                   12054: #       More recent range of MDIS terminals, in which P7 and P8
                   12055: #       replace the P4 & P5, with added functionality, and P9 is the flagship.
                   12056: #       The P9 has two emulation modes - P8 and ANSI - and includes a
                   12057: #       large number of the DEC VT220 control sequences. Both
                   12058: #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
                   12059: #
                   12060: # Prism-12 and Prism-14:
                   12061: #       Latest range, functionally very similar to the P9.  The P14 has a
                   12062: #       black-on-white overscanning screen.
                   12063: #
                   12064: # The terminfo definitions given here are:
                   12065: #
                   12066: # p2      - Prism-2 (or Prism-1 or P99).
                   12067: #
                   12068: # p4      - Prism-4 (and older P7s & P8s).
                   12069: # p5      - Prism-5 (or Prism-6).
                   12070: #
                   12071: # p7      - Prism-7.
                   12072: # p8      - Prism-8 (in national or multinational mode).
                   12073: # p8-w    - 132 column version of p8.
                   12074: # p9      - Prism-9 in ANSI mode.
                   12075: # p9-w    - 132 column version of p9.
                   12076: # p9-8    - Prism-9 in Prism-8 emulation mode.
                   12077: # p9-8-w  - As p9-8, but with 132 columns.
                   12078: #
                   12079: # p12     - Prism-12 in ANSI mode.
                   12080: # p12-w   - 132 column version of p12.
                   12081: # p12-m   - Prism-12 in MDC emulation mode.
                   12082: # p12-m-w - As p12-m, but with 132 columns.
                   12083: # p14     - Prism-14 in ANSI mode.
                   12084: # p14-w   - 132 column version of p14.
                   12085: # p14-m   - Prism-14 in MDC emulation mode.
                   12086: # p14-m-w - As p14-m, but with 132 columns.
                   12087: #
                   12088: # p2: Prism-2
                   12089: # -----------
                   12090: #
                   12091: # Includes Prism-1 and basic P99 without SP or MP loaded.
                   12092: # The simplest form of Prism-type terminal.
                   12093: # Basic cursor movement and clearing operations only.
                   12094: # No video attributes.
                   12095: # Notes:
                   12096: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   12097: #  value up, followed by backspace.
                   12098: #
1.11      millert  12099: prism2|MDC Prism-2,
                   12100:        am, bw, msgr,
                   12101:        cols#80, lines#24,
                   12102:        bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   12103:        cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   12104:        cuu1=^Z, ed=\EJ, el=\EK, home=^A,
                   12105:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   12106:        ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c,
1.1       millert  12107:
                   12108: # p4: Prism-4
                   12109: # -----------
                   12110: #
                   12111: # Includes early versions of P7 & P8.
                   12112: # Basic family definition for most Prisms (except P2 and P9 ANSI).
                   12113: # Notes:
                   12114: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
                   12115: #  value up, followed by backspace.
                   12116: #  Cursor key definitions removed because they interfere with vi and csh keys.
                   12117: #
1.11      millert  12118: prism4|p4|P4|MDC Prism-4,
                   12119:        am, bw, hs, mc5i, msgr,
                   12120:        cols#80, lines#24, wsl#72, xmc#1,
                   12121:        bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>,
                   12122:        cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   12123:        cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   12124:        cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
                   12125:        fsl=^]\345, home=^A,
                   12126:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
                   12127:        ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
                   12128:        rev=^CD, rmso=^C\s, rmul=^C\s,
                   12129:        sgr=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;,
                   12130:        sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
                   12131:        vpa=\013%p1%{32}%+%c,
1.1       millert  12132:
                   12133: # p5: Prism-5
                   12134: # -----------
                   12135: #
                   12136: # Same definition as p4. Includes Prism-6 (not tested!).
                   12137: # Does not use any multi-page features.
                   12138: #
1.11      millert  12139: prism5|p5|P5|MDC Prism-5,
                   12140:        use=p4,
1.1       millert  12141:
                   12142: # p7: Prism-7
                   12143: # -----------
                   12144: #
                   12145: # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
                   12146: # Notes:
                   12147: #  Use p4 for very early models of P7.
                   12148: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   12149: #
1.11      millert  12150: prism7|p7|P7|MDC Prism-7,
                   12151:        cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4,
1.1       millert  12152:
                   12153: # p8: Prism-8
                   12154: # -----------
                   12155: #
                   12156: # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
                   12157: # Supports national and multinational character sets.
                   12158: # Notes:
                   12159: #  Alternate char set operations only work in multinational mode.
                   12160: #  Use p4 for very early models of P8.
                   12161: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   12162: # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
                   12163: #
1.11      millert  12164: prism8|p8|P8|MDC Prism-8,
                   12165:        cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h,
1.24    ! millert  12166:        vpa=\E[%i%p1%dd, use=p4,
1.1       millert  12167:
                   12168: # p8-w: Prism-8 in 132 column mode
                   12169: # --------------------------------
                   12170: #
                   12171: # 'Wide' version of p8.
                   12172: # Notes:
                   12173: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
                   12174: #
1.11      millert  12175: prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode,
                   12176:        cols#132,
                   12177:        is2=\E[<12h\E[<14h, use=p8,
1.1       millert  12178:
                   12179: # p9: Prism-9 in ANSI mode
                   12180: # -------------------------
                   12181: #
                   12182: # The "flagship" model of this generation of terminals.
                   12183: # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
                   12184: # Notes:
                   12185: #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
                   12186: #  Fixes to deal with terminal firmware bugs:
                   12187: #  . 'ri' uses insert-line since rev index doesn't always
                   12188: #  . 'sgr0' has extra '0' since esc[m fails
                   12189: #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
                   12190: #  Not covered in the current definition:
                   12191: #  . Labels
                   12192: #  . Programming Fn keys
                   12193: #  . Graphic characters (defaults correctly to vt100)
                   12194: #  . Padding values (sets xon)
                   12195: # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
                   12196: #
1.11      millert  12197: prism9|p9|P9|MDC Prism-9 in ANSII mode,
                   12198:        am, bw, hs, mc5i, msgr, xenl, xon,
                   12199:        cols#80, it#8, lines#24, vt#3, wsl#72,
                   12200:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l,
                   12201:        clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v,
                   12202:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   12203:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   12204:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   12205:        dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX,
                   12206:        ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`,
                   12207:        ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   12208:        is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D,
                   12209:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~,
                   12210:        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
                   12211:        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
                   12212:        kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
                   12213:        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
                   12214:        khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J,
                   12215:        prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m,
                   12216:        ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   12217:        rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
                   12218:        sc=\E[%y,
                   12219:        sgr=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;,
                   12220:        sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   12221:        tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
1.1       millert  12222:
                   12223: # p9-w: Prism-9 in 132 column mode
                   12224: # --------------------------------
                   12225: #
                   12226: # 'Wide' version of p9.
                   12227: #
1.11      millert  12228: prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode,
                   12229:        cols#132,
                   12230:        is2=\E[&p\E[<12l\E F\E[<14h,
                   12231:        rs2=\E[&p\E[<12l\E F\E[<14h, use=p9,
1.1       millert  12232:
                   12233: # p9-8: Prism-9 in P8 mode
                   12234: # ------------------------
                   12235: #
                   12236: # P9 terminal in P8 emulation mode.
                   12237: # Similar to p8 definition.
                   12238: # Insertion and deletion operations possible.
                   12239: #
1.11      millert  12240: prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode,
                   12241:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   12242:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8,
1.1       millert  12243:
                   12244: # p9-8-w: Prism-9 in P8 and 132 column modes
                   12245: # ------------------------------------------
                   12246: #
                   12247: # P9 terminal in P8 emulation mode and 132 column mode.
                   12248: #
1.11      millert  12249: prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode,
                   12250:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   12251:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w,
1.1       millert  12252:
                   12253: # p12: Prism-12 in ANSI mode
                   12254: # ---------------------------
                   12255: #
                   12256: # See p9 definition.
                   12257: #
1.11      millert  12258: prism12|p12|P12|MDC Prism-12 in ANSI mode,
                   12259:        use=p9,
1.1       millert  12260:
                   12261: # p12-w: Prism-12 in 132 column mode
                   12262: # ----------------------------------
                   12263: #
                   12264: # 'Wide' version of p12.
                   12265: #
1.11      millert  12266: prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode,
                   12267:        use=p9-w,
1.1       millert  12268:
                   12269: # p12-m: Prism-12 in MDC emulation mode
                   12270: # -------------------------------------
                   12271: #
                   12272: # P12 terminal in MDC emulation mode.
                   12273: # Similar to p8 definition.
                   12274: # Insertion and deletion operations possible.
                   12275: #
1.11      millert  12276: prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode,
                   12277:        use=p9-8,
1.1       millert  12278:
                   12279: # p12-m-w: Prism-12 in MDC emulation and 132 column modes
                   12280: # -------------------------------------------------------
                   12281: #
                   12282: # P12 terminal in MDC emulation mode and 132 column mode.
                   12283: #
1.11      millert  12284: prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode,
                   12285:        use=p9-8-w,
1.1       millert  12286:
                   12287: # p14: Prism-14 in ANSII mode
                   12288: # ---------------------------
                   12289: #
                   12290: # See p9 definition.
                   12291: #
1.11      millert  12292: prism14|p14|P14|MDC Prism-14 in ANSII mode,
                   12293:        use=p9,
1.1       millert  12294:
                   12295: # p14-w: Prism-14 in 132 column mode
                   12296: # ----------------------------------
                   12297: #
                   12298: # 'Wide' version of p14.
                   12299: #
1.11      millert  12300: prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode,
                   12301:        use=p9-w,
1.1       millert  12302:
                   12303: # p14-m: Prism-14 in MDC emulation mode
                   12304: # -------------------------------------
                   12305: #
                   12306: # P14 terminal in MDC emulation mode.
                   12307: # Similar to p8 definition.
                   12308: # Insertion and deletion operations possible.
                   12309: #
1.11      millert  12310: prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode,
                   12311:        use=p9-8,
1.1       millert  12312:
                   12313: # p14-m-w: Prism-14 in MDC emulation and 132 column modes
                   12314: # -------------------------------------------------------
                   12315: #
                   12316: # P14 terminal in MDC emulation mode and 132 column mode.
                   12317: #
1.11      millert  12318: prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode,
                   12319:        use=p9-8-w,
1.1       millert  12320:
                   12321: # End of McDonnell Information Systems Prism definitions
                   12322:
                   12323: # These things were popular in the Pick database community at one time
                   12324: # From: George Land <georgeland@aol.com> 24 Sep 1996
1.11      millert  12325: p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
                   12326:        am, bw, hs, mir,
                   12327:        cols#80, lines#24, ma#1, wsl#78, xmc#1,
                   12328:        bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F,
                   12329:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P,
                   12330:        ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U,
                   12331:        kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ,
                   12332:        kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r,
                   12333:        kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r,
                   12334:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   12335:        kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,
                   12336:        lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,
                   12337:        pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,
                   12338:        smul=^C0,
1.1       millert  12339:
                   12340: #### Microterm (act, mime)
                   12341: #
                   12342: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   12343: # The default mime is assumed to be in enhanced act iv mode.
                   12344: #
                   12345:
                   12346: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
                   12347: # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
                   12348: # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
                   12349: # since Sytek insists ^S means xoff.
                   12350: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   12351: act4|microterm|microterm act iv,
1.11      millert  12352:        OTbs, am,
1.1       millert  12353:        cols#80, lines#24,
1.11      millert  12354:        bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
                   12355:        cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c,
                   12356:        cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>,
                   12357:        ed=\037$<2.2*/>, el=\036$<.1*/>, home=^],
                   12358:        il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X,
                   12359:        kcuu1=^Z,
1.1       millert  12360: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   12361: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   12362: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   12363: act5|microterm5|microterm act v,
1.24    ! millert  12364:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA,
        !          12365:        use=act4,
1.1       millert  12366: # Mimes using brightness for standout.  Half bright is really dim unless
                   12367: # you turn up the brightness so far that lines show up on the screen.
                   12368: mime-fb|full bright mime1,
1.11      millert  12369:        is2=^S\E, rmso=^S, smso=^Y, use=mime,
1.1       millert  12370: mime-hb|half bright mime1,
1.11      millert  12371:        is2=^Y\E, rmso=^Y, smso=^S, use=mime,
1.1       millert  12372: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
                   12373: # the more plausible ":do=^J:" -- esr)
                   12374: # uc was at one time disabled to get around a curses bug, be wary of it
                   12375: mime|mime1|mime2|mimei|mimeii|microterm mime1,
1.11      millert  12376:        OTbs, am,
1.1       millert  12377:        cols#80, it#8, lines#24, vt#9,
                   12378:        bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
1.11      millert  12379:        cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c,
                   12380:        cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>,
                   12381:        il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K,
                   12382:        kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U,
1.1       millert  12383: # These termcaps (for mime2a) put the terminal in low intensity mode
                   12384: # since high intensity mode is so obnoxious.
                   12385: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
1.11      millert  12386:        OTbs, am,
1.1       millert  12387:        cols#80, lines#24,
                   12388:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
1.11      millert  12389:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED,
                   12390:        dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
1.1       millert  12391:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
1.11      millert  12392:        kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7,
                   12393:        smir=\EE, smso=\E\:, smul=\E6,
1.1       millert  12394: # This is the preferred mode (but ^X can't be used as a kill character)
                   12395: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
1.11      millert  12396:        OTbs,
                   12397:        cols#80, it#8, lines#24,
1.1       millert  12398:        bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   12399:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
                   12400:        dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
1.11      millert  12401:        il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED,
                   12402:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
1.1       millert  12403:        rmul=\E5, smir=^O, smso=\E8, smul=\E4,
                   12404: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   12405: mime3a|mime1 emulating 3a,
1.11      millert  12406:        am@,
                   12407:        kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
1.1       millert  12408: mime3ax|mime-3ax|mime1 emulating enhanced 3a,
1.11      millert  12409:        it#8,
1.24    ! millert  12410:        dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>,
        !          12411:        use=mime3a,
1.1       millert  12412: # Wed Mar  9 18:53:21 1983
                   12413: # We run our terminals at 2400 baud, so there might be some timing problems at
                   12414: # higher speeds. The major improvements in this model are the terminal now
                   12415: # scrolls down and insert mode works without redrawing the rest of the line
                   12416: # to the right of the cursor. This is done with a bit of a kludge using the
                   12417: # exit graphics mode to get out of insert, but it does not appear to hurt
                   12418: # anything when using vi at least. If you have some users using act4s with
                   12419: # programs that use curses and graphics mode this could be a problem.
1.11      millert  12420: mime314|mm314|mime 314,
                   12421:        am,
                   12422:        cols#80, lines#24,
                   12423:        clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z,
                   12424:        dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H,
                   12425:        kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S,
1.1       millert  12426: # Microterm mime 340 from University of Wisconsin
                   12427: mm340|mime340|mime 340,
                   12428:        cols#80, lines#24,
                   12429:        clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   12430:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   12431:        dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
1.11      millert  12432:        el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,,
                   12433:        kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J,
1.1       millert  12434: # This came from University of Wisconsin marked "astro termcap for jooss".
                   12435: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   12436: # also added <rmam>/<smam> based  on the init string -- esr)
                   12437: mt4520-rv|micro-term 4520 reverse video,
                   12438:        am, hs, msgr, xenl, xon,
                   12439:        cols#80, it#8, lines#24, wsl#80,
                   12440:        bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
                   12441:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   12442:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   12443:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  12444:        cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   12445:        dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h,
                   12446:        fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
1.1       millert  12447:        ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   12448:        is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J,
1.11      millert  12449:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   12450:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
                   12451:        ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100,
                   12452:        ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m,
1.1       millert  12453:        rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
1.11      millert  12454:        sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
                   12455:        tbc=\E[g, tsl=\E[25;1H,
1.1       millert  12456:
                   12457: # Fri Aug  5 08:11:57 1983
                   12458: # This entry works for the ergo 4000 with the following setups:
                   12459: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   12460: # setup a & c.
                   12461: #
                   12462: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   12463: # Be advised that very early versions DO NOT WORK RIGHT !!
                   12464: # Microterm does have a ROM exchange program- use it or lose big
                   12465: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
1.11      millert  12466: ergo4000|microterm ergo 4000,
                   12467:        da, db, msgr,
                   12468:        cols#80, lines#66,
                   12469:        bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B,
                   12470:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   12471:        dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>,
                   12472:        el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>,
                   12473:        is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>,
                   12474:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   12475:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3,
                   12476:        lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l,
                   12477:        rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>,
                   12478:        smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>,
                   12479:        smso=\E[7m$<20>,
1.1       millert  12480:
                   12481: #### NCR
                   12482: #
                   12483: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   12484: # For what happened to that group, see the ADDS section.
                   12485: #
                   12486: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   12487: #
                   12488:
                   12489: # The following vendor-supplied termcaps were captured from the Boundless
                   12490: # Technologies site, 8 March 1998.  I removed all-upper-case names that were
                   12491: # identical, except for case, to lower-case ones.  I also uncommented the acsc
                   12492: # capabilities.X
                   12493: #
1.14      millert  12494: # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1.1       millert  12495: # DEC vt200/300 with color capabilities added.
1.11      millert  12496: ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
                   12497:        colors#8, pairs#64,
1.24    ! millert  12498:        op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
        !          12499:        use=ncr260vt300an,
1.14      millert  12500: # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1.1       millert  12501: # DEC vt200/300 with color capabilities added.
1.11      millert  12502: ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
                   12503:        colors#8, pairs#64,
1.24    ! millert  12504:        op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
        !          12505:        use=ncr260vt300wan,
1.14      millert  12506: # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
                   12507: # DEC vt200/300 with color capabilities added.
1.11      millert  12508: ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard,
                   12509:        colors#8, pairs#64,
1.24    ! millert  12510:        op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
        !          12511:        use=ncr260vt300pp,
1.1       millert  12512: # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
                   12513: # DEC vt200/300 with color capabilities added.
1.11      millert  12514: ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode,
                   12515:        colors#8, pairs#64,
1.24    ! millert  12516:        op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
        !          12517:        use=ncr260vt300wpp,
1.1       millert  12518: # This definition for ViewPoint supports several attributes.  This means
                   12519: # that it has magic cookies (extra spaces where the attributes begin).
                   12520: # Some applications do not function well with magic cookies.  The System
                   12521: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   12522: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   12523: # attributes can be removed.
                   12524: # Mapping to ASCII character set ('acsc' capability) can also be
                   12525: # restored if needed.
1.11      millert  12526: ncr260vppp|NCR 2900_260 viewpoint,
                   12527:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   12528:        cols#80, lines#24, nlab#32, xmc#1,
                   12529:        acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
                   12530:        cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,
                   12531:        cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,
                   12532:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>,
                   12533:        cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c,
                   12534:        ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I,
                   12535:        hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1,
                   12536:        is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   12537:        kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ,
                   12538:        kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F,
                   12539:        kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r,
                   12540:        kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r,
                   12541:        kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r,
                   12542:        kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r,
                   12543:        kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r,
                   12544:        kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r,
                   12545:        kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r,
                   12546:        kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ,
                   12547:        kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R,
                   12548:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>,
                   12549:        nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003,
                   12550:        rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12551:        rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   12552:        sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq,
                   12553:        smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF,
                   12554: ncr260vpwpp|NCR 2900_260 viewpoint wide mode,
1.1       millert  12555:        cols#132,
1.11      millert  12556:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12557:        is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   12558:        rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
                   12559:        use=ncr260vppp,
                   12560: ncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
                   12561:        am, hs, mir, msgr, xenl, xon,
                   12562:        cols#80, lines#24, nlab#32,
                   12563:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   12564:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   12565:        clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
                   12566:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>,
                   12567:        cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
1.1       millert  12568:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
1.11      millert  12569:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
                   12570:        cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   12571:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
                   12572:        ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>,
                   12573:        fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I,
                   12574:        hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>,
                   12575:        il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,
                   12576:        invis=\E[8m,
                   12577:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12578:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
                   12579:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   12580:        kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   12581:        kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~,
                   12582:        kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, rc=\E8,
                   12583:        rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l,
                   12584:        rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
                   12585:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12586:        sc=\E7,
                   12587:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
                   12588:        sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h,
                   12589:        smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
                   12590:        tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
1.1       millert  12591: ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
                   12592:        cols#132,
1.11      millert  12593:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12594:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12595:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12596:        use=ncr260vt100an,
                   12597: ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
                   12598:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12599:        ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
                   12600:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
                   12601:        kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~,
                   12602:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>,
                   12603:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
1.24    ! millert  12604:        smkx=\E=, use=ncr260vt100an,
1.1       millert  12605: ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
                   12606:        cols#132,
1.11      millert  12607:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12608:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12609:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12610:        use=ncr260vt100pp,
                   12611: ncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
                   12612:        am, hs, mir, msgr, xenl, xon,
                   12613:        cols#80, lines#24, nlab#32,
                   12614:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   12615:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   12616:        clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
                   12617:        csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
                   12618:        cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
                   12619:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
                   12620:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
                   12621:        cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   12622:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
                   12623:        ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
                   12624:        fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
                   12625:        ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
                   12626:        ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
                   12627:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12628:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
                   12629:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   12630:        kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~,
                   12631:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   12632:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   12633:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~,
                   12634:        kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~,
                   12635:        kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR,
                   12636:        kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
                   12637:        kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   12638:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   12639:        kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
                   12640:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
                   12641:        ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
                   12642:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   12643:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12644:        sc=\E7,
                   12645:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
                   12646:        sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
                   12647:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   12648:        tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
1.1       millert  12649: ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
1.11      millert  12650:        cols#132,
                   12651:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12652:        is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
                   12653:        rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
                   12654:        use=ncr260vt200an,
                   12655: ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
                   12656:        ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
                   12657:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
                   12658:        kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   12659:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
                   12660:        use=ncr260vt200an,
1.1       millert  12661: ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
1.11      millert  12662:        cols#132,
                   12663:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12664:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12665:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12666:        use=ncr260vt200pp,
                   12667: ncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
                   12668:        am, hs, mir, msgr, xenl, xon,
                   12669:        cols#80, lines#24, nlab#32,
                   12670:        acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   12671:        blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   12672:        clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
                   12673:        csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
                   12674:        cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
                   12675:        cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
                   12676:        cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
                   12677:        cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
                   12678:        dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
                   12679:        ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
                   12680:        fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
                   12681:        ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
                   12682:        ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
                   12683:        is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12684:        ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs,
                   12685:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   12686:        kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~,
                   12687:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   12688:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   12689:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~,
                   12690:        kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~,
                   12691:        kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR,
                   12692:        kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
                   12693:        kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
                   12694:        kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
                   12695:        kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
                   12696:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
                   12697:        ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
                   12698:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
                   12699:        rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12700:        sc=\E7,
                   12701:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
                   12702:        sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
                   12703:        smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   12704:        tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
                   12705: ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
                   12706:        cols#132,
                   12707:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12708:        is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>,
                   12709:        rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>,
                   12710:        use=ncr260vt300an,
                   12711: ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
                   12712:        ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
                   12713:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
                   12714:        kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   12715:        lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
                   12716:        use=ncr260vt300an,
1.1       millert  12717: NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
1.11      millert  12718:        cols#132,
                   12719:        cup=\E[%i%p1%d;%p2%dH$<30>,
                   12720:        is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12721:        rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
                   12722:        use=ncr260vt300pp,
1.1       millert  12723: # This terminfo file contains color capabilities for the Wyse325 emulation of
                   12724: # the NCR 2900/260C color terminal.  Because of the structure of the command
                   12725: # (escape sequence) used to set color attributes, one of the fore/background
                   12726: # colors must be preset to a given value. I have set the background color to
                   12727: # black.  The user can change this setup by altering the last section of the
                   12728: # 'setf' definition.  The escape sequence to set color attributes is
                   12729: #              ESC d y <foreground_color> <background_color> 1
                   12730: # In addition, the background color can be changed through the desk accessories.
                   12731: # The capablitiy 'op' sets colors to green on black (default combination).
                   12732: #
                   12733: # NOTE:  The NCR Unix System Administrator's Shell will not function properly
                   12734: #          if the 'pairs' capability is defined. Un-Comment the 'pairs'
                   12735: #          capability and recompile if you wish to have it included.
                   12736: #
1.11      millert  12737: ncr260wy325pp|NCR 2900_260 wyse 325,
                   12738:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   12739:        colors#16, cols#80, lines#24, ncv#33, nlab#32,
                   12740:        acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
                   12741:        cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M,
                   12742:        cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
                   12743:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
                   12744:        cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
                   12745:        ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I,
                   12746:        hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
                   12747:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12748:        kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
                   12749:        kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI,
                   12750:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET,
                   12751:        kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r,
                   12752:        kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r,
                   12753:        kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r,
                   12754:        kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r,
                   12755:        kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r,
                   12756:        kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   12757:        kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ,
                   12758:        kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
                   12759:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
                   12760:        nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
                   12761:        rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12762:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12763:        setb=\s,
                   12764:        setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{64}%e%p1%{8}%=%t%{57}%e%p1%{9}%=%t%{58}%e%p1%{10}%=%t%{59}%e%p1%{11}%=%t%{60}%e%p1%{12}%=%t%{61}%e%p1%{13}%=%t%{62}%e%p1%{14}%=%t%{63}%e%p1%{15}%=%t%{56}%;\Edy%c11$<100>,
                   12765:        sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/,
                   12766:        smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
                   12767:        tsl=\EF,
                   12768: ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
                   12769:        cols#132,
                   12770:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12771:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12772:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12773:        use=ncr260wy325pp,
1.1       millert  12774: # This definition for Wyse 350 supports several attributes.  This means
                   12775: # that it has magic cookies (extra spaces where the attributes begin).
                   12776: # Some applications do not function well with magic cookies.  The System
                   12777: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   12778: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   12779: # attributes can be removed.
                   12780: # Mapping to ASCII character set ('acsc' capability) can also be
                   12781: # restored if needed.
                   12782: # In addition, color capabilities have been added to this file.  The drawback,
                   12783: # however, is that the background color has to be black.  The foreground colors
                   12784: # are numbered 0 through 15.
                   12785: #
                   12786: # NOTE:  The NCR Unix System Administrator's Shell does not function properly
                   12787: #          with the 'pairs' capability defined as below.  If you wish to
                   12788: #          have it included, Un-comment it and recompile (using 'tic').
                   12789: #
1.11      millert  12790: ncr260wy350pp|NCR 2900_260 wyse 350,
                   12791:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   12792:        colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1,
                   12793:        acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
                   12794:        cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   12795:        cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
                   12796:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>,
                   12797:        cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
                   12798:        ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I,
                   12799:        hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
                   12800:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12801:        kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
                   12802:        kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   12803:        kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
                   12804:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   12805:        kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
                   12806:        kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
                   12807:        kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
                   12808:        kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
                   12809:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   12810:        khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
                   12811:        mc0=\EP$<10>, mc4=^T, mc5=^R,
                   12812:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>,
                   12813:        nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
                   12814:        rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12815:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12816:        setb=\s,
                   12817:        setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{102}%e%p1%{8}%=%t%{97}%e%p1%{9}%=%t%{98}%e%p1%{10}%=%t%{99}%e%p1%{11}%=%t%{101}%e%p1%{12}%=%t%{106}%e%p1%{13}%=%t%{110}%e%p1%{14}%=%t%{111}%e%p1%{15}%=%t%{56}%;\Em0%c$<100>,
                   12818:        sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/,
                   12819:        smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
                   12820:        tsl=\EF,
                   12821: ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
                   12822:        cols#132,
                   12823:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12824:        is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   12825:        rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   12826:        use=ncr260wy350pp,
1.1       millert  12827: # This definition for Wyse 50+ supports several attributes.  This means
                   12828: # that it has magic cookies (extra spaces where the attributes begin).
                   12829: # Some applications do not function well with magic cookies.  The System
                   12830: # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
                   12831: # If supporting various attributes is not vital, 'xmc#1' and the extra
                   12832: # attributes can be removed.
                   12833: # Mapping to ASCII character set ('acsc' capability) can also be
                   12834: # restored if needed.
                   12835: # (ncr260wy50+pp: originally contained commented-out
                   12836: # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
1.11      millert  12837: ncr260wy50+pp|NCR 2900_260 wyse 50+,
                   12838:        am, bw, hs, km, mc5i, mir, msgr, xon,
                   12839:        cols#80, lines#24, nlab#32, xmc#1,
                   12840:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   12841:        cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
                   12842:        cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
                   12843:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>,
                   12844:        cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
                   12845:        ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>,
                   12846:        ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>,
                   12847:        invis=\EG1,
                   12848:        is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12849:        kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
                   12850:        kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
                   12851:        kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
                   12852:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   12853:        kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
                   12854:        kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
                   12855:        kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
                   12856:        kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
                   12857:        kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
                   12858:        khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
                   12859:        mc0=\EP$<10>, mc4=^T, mc5=^R,
                   12860:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
                   12861:        nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
                   12862:        rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12863:        rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12864:        sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq,
                   12865:        smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF,
                   12866: ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
                   12867:        cols#132,
                   12868:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12869:        is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   12870:        rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
                   12871:        use=ncr260wy50+pp,
                   12872: ncr260wy60pp|NCR 2900_260 wyse 60,
                   12873:        am, bw, hs, km, mc5i, mir, msgr, xon,
1.1       millert  12874:        cols#80, lines#24, nlab#32,
1.11      millert  12875:        acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
                   12876:        cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1,
                   12877:        cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
                   12878:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
                   12879:        cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
                   12880:        ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>,
                   12881:        ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>,
                   12882:        invis=\EG1,
                   12883:        is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12884:        kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
                   12885:        kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK,
                   12886:        kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   12887:        kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
                   12888:        kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
                   12889:        kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r,
                   12890:        kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r,
                   12891:        kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r,
                   12892:        kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r,
                   12893:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   12894:        kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
                   12895:        mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>,
                   12896:        nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
                   12897:        rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
                   12898:        rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12899:        sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/,
                   12900:        smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>,
                   12901:        tsl=\EF,
                   12902: ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
                   12903:        cols#132,
                   12904:        cup=\Ea%i%p1%dR%p2%dC$<30>,
                   12905:        is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12906:        rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
                   12907:        use=ncr260wy60pp,
                   12908: ncr160vppp|NCR 2900_160 viewpoint,
                   12909:        use=ncr260vppp,
                   12910: ncr160vpwpp|NCR 2900_160 viewpoint wide mode,
                   12911:        use=ncr260vpwpp,
                   12912: ncr160vt100an|NCR 2900_160 vt100 with ansi kybd,
                   12913:        use=ncr260vt100an,
                   12914: ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd,
                   12915:        use=ncr260vt100pp,
1.1       millert  12916: ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd,
1.11      millert  12917:        use=ncr260vt100wan,
1.1       millert  12918: ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd,
1.11      millert  12919:        use=ncr260vt100wpp,
                   12920: ncr160vt200an|NCR 2900_160 vt200 with ansi kybd,
                   12921:        use=ncr260vt200an,
                   12922: ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd,
                   12923:        use=ncr260vt200pp,
1.1       millert  12924: ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd,
1.11      millert  12925:        use=ncr260vt200wan,
1.1       millert  12926: ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd,
1.11      millert  12927:        use=ncr260vt200wpp,
                   12928: ncr160vt300an|NCR 2900_160 vt300 with ansi kybd,
                   12929:        use=ncr260vt300an,
                   12930: ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd,
                   12931:        use=ncr260vt300pp,
1.1       millert  12932: ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd,
1.11      millert  12933:        use=ncr260vt300wan,
1.1       millert  12934: ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd,
1.11      millert  12935:        use=ncr260vt300wpp,
                   12936: ncr160wy50+pp|NCR 2900_160 wyse 50+,
                   12937:        use=ncr260wy50+pp,
                   12938: ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode,
                   12939:        use=ncr260wy50+wpp,
                   12940: ncr160wy60pp|NCR 2900_160 wyse 60,
                   12941:        use=ncr260wy60pp,
                   12942: ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode,
                   12943:        use=ncr260wy60wpp,
1.1       millert  12944: ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal,
1.11      millert  12945:        am, hs, mc5i, mir, msgr, xon,
                   12946:        cols#80, it#8, lines#24, nlab#32,
                   12947:        acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~,
                   12948:        bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>,
                   12949:        clear=\E[2J\E[1;1H$<300>, cr=^M,
                   12950:        csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>,
                   12951:        cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>,
                   12952:        cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>,
                   12953:        cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>,
                   12954:        cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>,
                   12955:        dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>,
                   12956:        ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>,
                   12957:        enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>,
                   12958:        ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>,
                   12959:        ind=\ED,
                   12960:        is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>,
                   12961:        kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D,
                   12962:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP,
                   12963:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE,
                   12964:        rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>,
                   12965:        rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>,
                   12966:        rs2=\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>,
                   12967:        sc=\E7,
                   12968:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>,
                   12969:        sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>,
                   12970:        smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>,
                   12971:        tsl=\E[>+1$<70>,
                   12972: ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
                   12973:        cols#132,
                   12974:        is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>,
                   12975:        rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>,
                   12976:        use=ncrvt100an,
1.1       millert  12977: #
                   12978: # Vendor-supplied NCR termcaps end here
                   12979:
                   12980: # NCR7900 DIP switches:
                   12981: #
                   12982: # Switch A:
                   12983: # 1-4 - Baud Rate
                   12984: # 5   - Parity (Odd/Even)
                   12985: # 6   - Don't Send or Do Send Spaces
                   12986: # 7   - Parity Enable
                   12987: # 8   - Stop Bits (One/Two)
                   12988: #
                   12989: # Switch B:
                   12990: # 1   - Upper/Lower Shift
                   12991: # 2   - Typewriter Shift
                   12992: # 3   - Half Duplex / Full Duplex
                   12993: # 4   - Light/Dark Background
                   12994: # 5-6 - Carriage Return Without / With Line Feed
                   12995: # 7   - Extended Mode
                   12996: # 8   - Suppress Keyboard Display
                   12997: #
                   12998: # Switch C:
                   12999: # 1   - End of line entry disabled/enabled
                   13000: # 2   - Conversational mode / (Local?) Mode
                   13001: # 3   - Control characters displayed / not displayed
                   13002: # 4   - (2-wire?) / 4-wire communications
                   13003: # 5   - RTS on and off for each character
                   13004: # 6   - (50Hz?) / 60 Hz
                   13005: # 7   - Exit after level zero diagnostics
                   13006: # 8   - RS-232 interface
                   13007: #
                   13008: # Switch D:
                   13009: # 1   - Reverse Channel (yes / no)
                   13010: # 2   - Manual answer (no / yes)
                   13011: # 3-4 - Cursor appearance
                   13012: # 5   - Communication Rate
                   13013: # 6   - Enable / Disable EXT turnoff
                   13014: # 7   - Enable / Disable CR turnoff
                   13015: # 8   - Enable / Disable backspace
                   13016: #
1.14      millert  13017: # Since each attribute parameter is 0 or 1, we shift each attribute (standout,
                   13018: # reverse, blink, dim, and underline) the appropriate number of bits (by
                   13019: # multiplying the 0 or 1 by a correct factor to shift) so the bias character,
                   13020: # '@' is (effectively) "or"ed with each attribute to generate the proper third
                   13021: # character in the <ESC>0 sequence.  The <sgr> string implements the following
                   13022: # equation:
                   13023: #
                   13024: # ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
                   13025: # ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
                   13026: #
                   13027: #      Where:  P1 <==> Standout attribute parameter
                   13028: #              P2 <==> Underline attribute parameter
                   13029: #              P3 <==> Reverse attribute parameter
                   13030: #              P4 <==> Blink attribute parameter
                   13031: #              P5 <==> Dim attribute parameter
1.1       millert  13032: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
1.11      millert  13033: ncr7900i|ncr7900|ncr 7900 model 1,
                   13034:        am, bw, ul,
                   13035:        cols#80, lines#24, xmc#1,
                   13036:        bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   13037:        cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J,
                   13038:        is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F,
                   13039:        kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@,
                   13040:        rmul=\E0@,
                   13041:        sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
                   13042:        sgr0=\E0@, smso=\E0Q, smul=\E0`,
                   13043: ncr7900iv|ncr 7900 model 4,
                   13044:        am, bw, eslok, hs,
                   13045:        cols#80, lines#24,
                   13046:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
                   13047:        cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1,
                   13048:        fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H,
                   13049:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET,
                   13050:        kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   13051:        khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J,
                   13052:        tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
1.14      millert  13053: # Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
                   13054: #         The user can enter a CTRL-B to get out of this locked state.
                   13055: # In <hpa>, we want to output the character given by the formula:
                   13056: #              ((col / 10) * 16) + (col % 10)          where "col" is "p1"
1.11      millert  13057: ncr7901|ncr 7901 model,
                   13058:        am, bw, ul,
                   13059:        cols#80, lines#24,
                   13060:        bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M,
                   13061:        cub1=^H, cud1=^J, cuf1=^F,
                   13062:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A,
                   13063:        ed=\Ek, el=\EK,
                   13064:        hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J,
                   13065:        is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
                   13066:        khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O,
                   13067:        sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016,
                   13068:        sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
                   13069:        vpa=\013%p1%{64}%+%c,
1.1       millert  13070:
                   13071: #### Perkin-Elmer (Owl)
                   13072: #
                   13073: # These are official terminfo entries from within Perkin-Elmer.
                   13074: #
                   13075:
1.11      millert  13076: bantam|pe550|pe6100|perkin elmer 550,
                   13077:        OTbs,
                   13078:        cols#80, lines#24,
                   13079:        bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   13080:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   13081:        el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA,
                   13082: fox|pe1100|perkin elmer 1100,
                   13083:        OTbs, am,
                   13084:        cols#80, lines#24,
                   13085:        bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
                   13086:        cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   13087:        ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003,
                   13088:        home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3,
                   13089: owl|pe1200|perkin elmer 1200,
                   13090:        OTbs, am, in,
                   13091:        cols#80, lines#24,
                   13092:        bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
                   13093:        cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   13094:        dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
                   13095:        el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
                   13096:        hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
                   13097:        kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
                   13098:        kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
                   13099:        rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3,
                   13100: pe1251|pe6300|pe6312|perkin elmer 1251,
                   13101:        am,
                   13102:        cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
                   13103:        bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
                   13104:        cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
                   13105:        ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J,
                   13106:        kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
                   13107:        kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
1.1       millert  13108: # (pe7000m: this had
                   13109: #      rmul=\E!\0, smul=\E!\040,
                   13110: # which is probably wrong, it collides with kf0
1.11      millert  13111: pe7000m|perkin elmer 7000 series monochrome monitor,
                   13112:        am,
                   13113:        cols#80, lines#24,
                   13114:        bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
                   13115:        cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   13116:        ed=\EJ, el=\EI, home=\EH, ind=^J,
                   13117:        is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,
                   13118:        kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A,
                   13119:        kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
                   13120:        kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
                   13121:        ll=\ES7\s, ri=\ER,
1.1       millert  13122: pe7000c|perkin elmer 7000 series colour monitor,
1.11      millert  13123:        is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,
1.24    ! millert  13124:        rmul=\E!\0, smso=\Eb2, smul=\E!\s, use=pe7000m,
1.1       millert  13125:
                   13126: #### Sperry Univac
                   13127: #
                   13128: # Sperry Univac has merged with Burroughs to form Unisys.
                   13129: #
                   13130:
                   13131: # This entry is for the Sperry UTS30 terminal running the TTY
                   13132: # utility under control of CP/M Plus 1R1. The functionality
                   13133: # provided is comparable to the DEC vt100.
                   13134: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  13135: uts30|sperry uts30 with cp/m@1R1,
                   13136:        am, bw, hs,
                   13137:        cols#80, lines#24, wsl#40,
                   13138:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   13139:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L,
                   13140:        cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c,
                   13141:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
                   13142:        cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH,
                   13143:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM,
                   13144:        dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H,
                   13145:        ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
                   13146:        ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H,
                   13147:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
                   13148:        rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI,
                   13149:        rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m,
                   13150:        rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
                   13151:        sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m,
                   13152:        smul=\E[4m, tsl=\E], uc=\EPB,
1.1       millert  13153:
                   13154: #### Tandem
                   13155: #
                   13156: # Tandem builds these things for use with its line of fault-tolerant
                   13157: # transaction-processing computers.  They aren't generally available
                   13158: # on the merchant market, and so are fairly uncommon.
                   13159: #
                   13160:
                   13161: tandem6510|adm3a repackaged by Tandem,
1.11      millert  13162:        use=adm3a,
1.1       millert  13163:
                   13164: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   13165: # have a fourth digit after 653 that designates minor variants.  These are
                   13166: # natively block-mode and rather ugly, but they have a character mode which
                   13167: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
                   13168: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   13169: # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
                   13170: tandem653|t653x|Tandem 653x multipage terminal,
1.11      millert  13171:        OTbs, am, da, db, hs,
1.1       millert  13172:        cols#80, lines#24, wsl#64, xmc#1,
                   13173:        clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
1.11      millert  13174:        cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r,
                   13175:        ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s,
                   13176:        rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo,
1.1       millert  13177:
                   13178: #### Tandy/Radio Shack
                   13179: #
                   13180: # Tandy has a line of VDTs distinct from its microcomputers.
                   13181: #
                   13182:
                   13183: dmterm|deskmate terminal,
                   13184:        am, bw,
                   13185:        cols#80, lines#24,
1.11      millert  13186:        bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H,
                   13187:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   13188:        cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
                   13189:        ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB,
                   13190:        kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4,
                   13191:        kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0,
                   13192:        khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6,
                   13193:        lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@,
                   13194:        use=adm+sgr,
1.1       millert  13195: dt100|dt-100|Tandy DT-100 terminal,
                   13196:        xon,
                   13197:        cols#80, lines#24, xmc#1,
1.11      millert  13198:        acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
1.1       millert  13199:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
1.11      millert  13200:        csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   13201:        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   13202:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   13203:        il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
                   13204:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i,
                   13205:        kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
                   13206:        kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H,
                   13207:        knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5,
                   13208:        lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
                   13209:        sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
                   13210: dt100w|dt-100w|Tandy DT-100 terminal (wide mode),
                   13211:        cols#132, use=dt100,
1.1       millert  13212: dt110|Tandy DT-110 emulating ansi,
                   13213:        xon,
                   13214:        cols#80, lines#24,
1.11      millert  13215:        acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
1.1       millert  13216:        clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
1.11      millert  13217:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,
                   13218:        cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,
                   13219:        dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H,
                   13220:        ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B,
                   13221:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
                   13222:        kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~,
                   13223:        kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~,
                   13224:        khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1,
                   13225:        lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
                   13226:        lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   13227:        smacs=^N, smso=\E[7m, smul=\E[4m,
                   13228: pt210|TRS-80 PT-210 printing terminal,
1.1       millert  13229:        hc, os,
                   13230:        cols#80,
                   13231:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   13232:
                   13233: #### Tektronix (tek)
                   13234: #
                   13235: # Tektronix tubes are graphics terminals.  Most of them use modified
                   13236: # oscilloscope technology incorporating a long-persistence green phosphor,
                   13237: # and support vector graphics on a main screen with an attached "dialogue
                   13238: # area" for interactive text.
                   13239: #
                   13240:
1.11      millert  13241: tek|tek4012|tektronix 4012,
                   13242:        OTbs, os,
                   13243:        cols#75, lines#35,
                   13244:        bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J,
                   13245:        ff=\014$<1000>, is2=\E^O,
1.1       millert  13246: # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.11      millert  13247: tek4013|tektronix 4013,
                   13248:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012,
                   13249: tek4014|tektronix 4014,
                   13250:        cols#81, lines#38,
                   13251:        is2=\E\017\E9, use=tek4012,
1.1       millert  13252: # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.11      millert  13253: tek4015|tektronix 4015,
                   13254:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014,
                   13255: tek4014-sm|tektronix 4014 in small font,
                   13256:        cols#121, lines#58,
                   13257:        is2=\E\017\E\:, use=tek4014,
1.1       millert  13258: # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
1.11      millert  13259: tek4015-sm|tektronix 4015 in small font,
                   13260:        acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm,
1.1       millert  13261: # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
                   13262: #
                   13263: # You need to have "stty nl2" in effect.  Some versions of tset(1) know
                   13264: # how to set it for you.
                   13265: #
                   13266: # It's got the Magic Cookie problem around stand-out mode.  If you can't
                   13267: # live with Magic Cookie, remove the :so: and :se: fields and do without
                   13268: # reverse video.  If you like reverse video stand-out mode but don't want
                   13269: # it to flash, change the letter 'H' to 'P' in the :so: field.
1.11      millert  13270: tek4023|tektronix 4023,
                   13271:        OTbs, am,
                   13272:        OTdN#4, cols#80, lines#24, vt#4, xmc#1,
                   13273:        OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J,
                   13274:        cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H,
                   13275:        rmso=^_@, smso=^_P,
1.1       millert  13276: # It is recommended that you run the 4025 at 4800 baud or less;
                   13277: # various bugs in the terminal appear at 9600.  It wedges at the
                   13278: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   13279: # on keyboard don't work.  You have to hit BREAK twice to get
                   13280: # one break at any speed - this is a documented feature.
                   13281: # Can't use cursor motion because it's memory relative, and
                   13282: # because it only works in the workspace, not the monitor.
                   13283: # Same for home. Likewise, standout only works in the workspace.
                   13284: #
                   13285: # <el> was commented out since vi and rogue seem to work better
                   13286: # simulating it with lots of spaces!
                   13287: #
                   13288: # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
                   13289: # and didn't seem necessary.
                   13290: #
1.11      millert  13291: tek4024|tek4025|tek4027|tektronix 4024/4025/4027,
                   13292:        OTbs, am, da, db,
                   13293:        cols#80, it#8, lines#34, lm#0,
                   13294:        bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M,
                   13295:        cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r,
                   13296:        cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r,
                   13297:        cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r,
                   13298:        dl=\037dli %p1%d\r\006, dl1=\037dli\r\006,
                   13299:        ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010,
                   13300:        il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r,
                   13301:        ind=^F^J,
                   13302:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   13303:        rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r,
                   13304:        smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r,
                   13305: tek4025-17|tek 4025 17 line window,
                   13306:        lines#17, use=tek4025,
                   13307: tek4025-17-ws|tek 4025 17 line window in workspace,
                   13308:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r,
                   13309:        rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r,
1.24    ! millert  13310:        smso=\037att e\r, use=tek4025-17,
1.11      millert  13311: tek4025-ex|tek4027-ex|tek 4025/4027 w/!,
                   13312:        is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r,
1.24    ! millert  13313:        rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
1.1       millert  13314: # Tektronix 4025a
                   13315: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   13316: # The following status modes are assumed for normal operation (replace the
                   13317: # initial "!" by whatever the current command character is):
                   13318: #      !COM 29                 # NOTE: changes command character to GS (^])
                   13319: #      ^]DUP
                   13320: #      ^]ECH R
                   13321: #      ^]EOL
                   13322: #      ^]RSS T
                   13323: #      ^]SNO N
                   13324: #      ^]STO 9 17 25 33 41 49 57 65 73
                   13325: # Other modes may be set according to communication requirements.
                   13326: # If the command character is inadvertently changed, termcap can't restore it.
                   13327: # Insert-character cannot be made to work on both top and bottom rows.
                   13328: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
                   13329: # There also seems to be a problem with vertical motion, perhaps involving
                   13330: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   13331: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   13332: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   13333: # work any more. -- esr)
                   13334: tek4025a|Tektronix 4025A,
                   13335:        OTbs, OTpt, am, bw, da, db, xon,
                   13336:        cols#80, it#8, lines#34,
1.11      millert  13337:        bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^],
                   13338:        cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;,
                   13339:        cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;,
                   13340:        cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;,
                   13341:        dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;,
                   13342:        el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I,
                   13343:        il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;,
                   13344:        rs2=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;,
                   13345:        tbc=\035sto;,
1.1       millert  13346: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   13347: # Here's the command file that I use to get rogue to work on the 4025.
                   13348: # It should work with any program using the old curses (e.g. it better
                   13349: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   13350: # see the cursor.)
                   13351: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
                   13352: tek4025-cr|tek 4025 for curses and rogue,
1.11      millert  13353:        OTbs, am,
1.1       millert  13354:        cols#80, it#8, lines#33,
1.11      millert  13355:        clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;,
                   13356:        cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J,
1.1       millert  13357:        is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
                   13358:        rmcup=\037wor 0, smcup=\037wor 33h,
                   13359: # next two lines commented out since curses only allows 128 chars, sigh.
                   13360: #      :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:\
                   13361: #      :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:
                   13362: tek4025ex|4025ex|4027ex|tek 4025 w/!,
1.11      millert  13363:        is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r,
1.24    ! millert  13364:        rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
1.11      millert  13365: tek4105|tektronix 4105,
                   13366:        OTbs, am, mir, msgr, ul, xenl, xt,
                   13367:        cols#79, it#8, lines#29,
                   13368:        acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z,
                   13369:        clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C,
                   13370:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P,
                   13371:        dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   13372:        il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m,
                   13373:        is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B,
                   13374:        kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T,
                   13375:        rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m,
                   13376:        rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m,
                   13377:        smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
                   13378:        smul=\E[=5;<2m, tbc=\E[1g,
1.1       millert  13379:
                   13380: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.11      millert  13381: tek4105-30|4015 emulating 30 line vt100,
                   13382:        am, mir, msgr, xenl, xon,
                   13383:        cols#80, it#8, lines#30, vt#3,
                   13384:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   13385:        bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
                   13386:        clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   13387:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   13388:        cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   13389:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   13390:        cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
                   13391:        enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
                   13392:        ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
                   13393:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
                   13394:        kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
                   13395:        kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
                   13396:        rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   13397:        rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
                   13398:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   13399:        sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
                   13400:        sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
                   13401:        smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
1.1       millert  13402:
                   13403: # Tektronix 4105 from BRL
                   13404: # The following setup modes are assumed for normal operation:
                   13405: #      CODE ansi               CRLF no                 DABUFFER 141
                   13406: #      DAENABLE yes            DALINES 30              DAMODE replace
                   13407: #      DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
                   13408: #      FLAGGING input          INSERTREPLACE replace   LFCR no
                   13409: #      ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
                   13410: #      SELECTCHARSET G1 0      TABS -2
                   13411: # Other setup modes may be set for operator convenience or communication
                   13412: # requirements; I recommend
                   13413: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   13414: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   13415: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   13416: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
                   13417: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   13418: #      PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
                   13419: #      XMTDELAY 0
                   13420: # and factory color maps.  After setting these modes, save them with NVSAVE. No
                   13421: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   13422: # "IC" cannot be used in combination with "im" & "ei".
                   13423: # "tek4105a" is just a guess:
                   13424: tek4105a|Tektronix 4105,
                   13425:        OTbs, OTpt, msgr, xon,
                   13426:        OTkn#8, cols#80, it#8, lines#30, vt#3,
                   13427:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   13428:        civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
                   13429:        cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   13430:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   13431:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13432:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
                   13433:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   13434:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   13435:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
                   13436:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   13437:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
                   13438:        kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
                   13439:        lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   13440:        rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
1.11      millert  13441:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   13442:        rs2=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLA>\ELM0\EKE0\ENF1\EKS0\END0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>,
                   13443:        sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
1.1       millert  13444:        smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   13445:
                   13446: #
                   13447: # Tektronix 4106/4107/4109 from BRL
                   13448: # The following setup modes are assumed for normal operation:
                   13449: #      CODE ansi               COLUMNMODE 80           CRLF no
                   13450: #      DABUFFER 141            DAENABLE yes            DALINES 32
                   13451: #      DAMODE replace          DAVISIBILITY yes        ECHO no
                   13452: #      EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
                   13453: #      LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
                   13454: #      PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
                   13455: #      TABS -2
                   13456: # Other setup modes may be set for operator convenience or communication
                   13457: # requirements; I recommend
                   13458: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
                   13459: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
                   13460: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
                   13461: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
                   13462: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
                   13463: #      PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
                   13464: #      XMTDELAY 0
                   13465: # and factory color maps.  After setting these modes, save them with NVSAVE.  No
                   13466: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   13467: # "IC" cannot be used in combination with "im" & "ei".
                   13468: tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109,
                   13469:        msgr, xon,
                   13470:        cols#80, it#8, lines#32, vt#3,
                   13471:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
                   13472:        civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
                   13473:        cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   13474:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   13475:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13476:        cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
                   13477:        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
                   13478:        ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   13479:        il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
                   13480:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   13481:        kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
                   13482:        kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
                   13483:        lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
                   13484:        rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
                   13485:        rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   13486:        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>,
                   13487:        sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
                   13488:        smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g,
                   13489:
1.11      millert  13490: tek4107|tek4109|tektronix terminals 4107 4109,
                   13491:        OTbs, am, mir, msgr, ul, xenl, xt,
                   13492:        cols#79, it#8, lines#29,
                   13493:        bel=^G, blink=\E%!1\E[5m$<2>\E%!0,
                   13494:        bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M,
                   13495:        cub1=^H, cud1=^J, cuf1=\EC,
                   13496:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3,
                   13497:        dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J,
                   13498:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   13499:        rev=\E%!1\E[7m$<2>\E%0, ri=\EI,
                   13500:        rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
                   13501:        sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0,
                   13502:        sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
                   13503:        smul=\E%!1\E[4m$<2>\E%!0,
1.1       millert  13504: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   13505: # see the note attached to tek4207.
                   13506: tek4207-s|Tektronix 4207 with sysline but no memory,
                   13507:        eslok, hs,
                   13508:        dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
                   13509:        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,
                   13510:        is2=\E7\E[?6l\E[2K\E[?6h\E8,
1.11      millert  13511:        tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
1.1       millert  13512:
                   13513: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   13514: # look good for screen editing.  In the dialog area, you can't move the cursor
                   13515: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   13516: # is no way to scroll.
                   13517: #
                   13518: # Note that there is a floppy for free from Tek that makes the
                   13519: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   13520: # an expected enhancement that will use ANSI standard sequences.
                   13521: #
                   13522: # 4112 in non-dialog area pretending to scroll. It really wraps
                   13523: # but vi is said to work (more or less) in this mode.
                   13524: #
                   13525: # 'vi' works reasonably well with this entry.
                   13526: #
1.11      millert  13527: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
                   13528:        am,
                   13529:        cols#80, lines#34,
                   13530:        bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J,
                   13531:        rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0,
1.1       millert  13532: # The 4112 with the ANSI compatibility enhancement
                   13533: tek4112|tek4114|tektronix 4110 series,
1.11      millert  13534:        OTbs, am, db,
1.1       millert  13535:        cols#80, lines#34,
                   13536:        cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C,
1.11      millert  13537:        cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M,
                   13538:        ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
                   13539:        ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8,
                   13540:        rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1.1       millert  13541: tek4112-nd|4112 not in dialog area,
                   13542:        OTns,
1.11      millert  13543:        cuu1=^K, use=tek4112,
1.1       millert  13544: tek4112-5|4112 in 5 line dialog area,
1.11      millert  13545:        lines#5, use=tek4112,
1.1       millert  13546: # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
                   13547: # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
                   13548: # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
                   13549: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   13550: # to be 4-digit octal -- esr)
                   13551: tek4113|tektronix 4113 color graphics with 5 line dialog area,
1.11      millert  13552:        OTbs, am, da, eo,
1.1       millert  13553:        cols#80, lines#5,
                   13554:        clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
                   13555:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
                   13556:        is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
                   13557: tek4113-34|tektronix 4113 color graphics with 34 line dialog area,
                   13558:        lines#34,
1.11      millert  13559:        is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
1.1       millert  13560: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   13561: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   13562: # :vb: needs enough delay to let you see the background color being toggled.
                   13563: tek4113-nd|tektronix 4113 color graphics with no dialog area,
1.11      millert  13564:        OTbs, am, eo,
1.1       millert  13565:        cols#80, it#8, lines#34,
                   13566:        clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
1.11      millert  13567:        cvvis=\ELZ\EKA0,
1.1       millert  13568:        flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
1.11      millert  13569:        home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @,
                   13570:        ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0,
1.1       millert  13571: # This entry is from Tek. Inc.  (Brian Biehl)
                   13572: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
                   13573: otek4115|Tektronix 4115,
                   13574:        OTbs, am, da, db, eo,
                   13575:        cols#80, it#8, lines#34,
                   13576:        cbt=\E[Z, clear=\E[H\E[2J,
1.11      millert  13577:        cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B,
                   13578:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   13579:        cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J,
                   13580:        el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100,
                   13581:        il1=\E[L,
1.1       millert  13582:        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,
1.11      millert  13583:        kbs=^H, ri=\EM, rmam=\E[?7l,
                   13584:        rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l,
                   13585:        rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
                   13586:        smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m,
                   13587:        smul=\E[4m,
                   13588: tek4115|newer tektronix 4115 entry with more ANSI capabilities,
                   13589:        am, xon,
                   13590:        cols#80, lines#34,
                   13591:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
                   13592:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   13593:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13594:        cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
                   13595:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
                   13596:        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
                   13597:        il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D,
                   13598:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
                   13599:        rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
                   13600:        rmso=\E[m, rmul=\E[m,
                   13601:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
                   13602:        sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
                   13603:        vpa=\E[%p1%{1}%+%dd,
1.1       millert  13604: # The tek4125 emulates a vt100 incorrectly - the scrolling region
                   13605: # command is ignored.  The following entry replaces <csr> with the needed
                   13606: # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
                   13607: # chokes on; and adds a lot of initialization for the tek dialog area.
                   13608: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   13609: # Steve Jacobson 8/85
                   13610: # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
                   13611: # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
                   13612: tek4125|tektronix 4125,
                   13613:        lines#34,
                   13614:        csr@, dl1=\E[1M, il1=\E[1L,
                   13615:        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,
1.24    ! millert  13616:        rc@, sc@, smkx=\E=, use=vt100,
1.1       millert  13617:
                   13618: # From: <jcoker@ucbic>
                   13619: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   13620: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
                   13621: # note that if jcoker wasn't confused you may be able to use this one.
                   13622: # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
                   13623: tek4207|Tektronix 4207 graphics terminal with memory,
                   13624:        am, bw, mir, msgr, ul, xenl,
                   13625:        cols#80, it#8, lines#32,
1.11      millert  13626:        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>,
                   13627:        cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13628:        cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J,
                   13629:        el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>,
                   13630:        il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5,
1.1       millert  13631:        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,
1.11      millert  13632:        kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H,
                   13633:        rev=\E[7m, ri=\E[T,
                   13634:        rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m,
                   13635:        rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m,
1.1       millert  13636:        smul=\E[4m, tbc=\E[1g,
                   13637:
                   13638: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
                   13639: # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
                   13640: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   13641: tek4404|tektronix 4404,
1.11      millert  13642:        OTbs,
                   13643:        cols#80, it#8, lines#32,
1.1       millert  13644:        blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
                   13645:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
1.11      millert  13646:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M,
                   13647:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L,
                   13648:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8,
                   13649:        rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l,
                   13650:        rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m,
                   13651:        smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h,
                   13652:        smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
1.1       millert  13653: # Some unknown person wrote:
                   13654: # I added the is string - straight Unix has ESC ; in the login
                   13655: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   13656: # mode). The is string here cleans up a few things (but not
                   13657: # everything).
1.11      millert  13658: ct8500|tektronix ct8500,
                   13659:        am, bw, da, db,
                   13660:        cols#80, lines#25,
                   13661:        bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J,
                   13662:        cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER,
                   13663:        dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\,
                   13664:        il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s,
                   13665:        rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!,
1.1       millert  13666:
1.11      millert  13667: # Tektronix 4205 terminal.
1.1       millert  13668: #
1.11      millert  13669: # am is not defined because the wrap around occurs not when the char.
                   13670: # is placed in the 80'th column, but when we are attempting to type
                   13671: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   13672: # version of xenl, perhaps am + xenl would work!)
1.1       millert  13673: #
1.11      millert  13674: # Bold, dim, and standout are simulated by colors and thus not allowed
                   13675: # with colors.  The tektronix color table is mapped into the RGB color
                   13676: # table by setf/setb. All colors are reset to factory specifications by oc.
                   13677: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
                   13678: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   13679: # interval then maps into pre-defined value.
                   13680: tek4205|tektronix 4205,
                   13681:        ccc, mir, msgr,
                   13682:        colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63,
                   13683:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   13684:        bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z,
                   13685:        clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
1.1       millert  13686:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   13687:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1.11      millert  13688:        dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
                   13689:        ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
                   13690:        ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
                   13691:        initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1,
                   13692:        invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
                   13693:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
                   13694:        kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
                   13695:        kf7=\ES,
                   13696:        oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1,
                   13697:        op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,
                   13698:        rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,
                   13699:        setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;,
                   13700:        setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;,
                   13701:        sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
                   13702:        smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
                   13703:        smul=\E[4m, tbc=\E[1g,
1.1       millert  13704:
1.11      millert  13705: #### Teletype (tty)
1.1       millert  13706: #
1.11      millert  13707: # These are the hardcopy Teletypes from before AT&T bought the company,
                   13708: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   13709: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   13710: # Teletype-branded VDTs are listed in the AT&T section.
1.1       millert  13711: #
1.11      millert  13712: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   13713: # other programs still default to emitting codes for the Model 37.
1.1       millert  13714: #
                   13715:
1.11      millert  13716: tty33|tty35|model 33 or 35 teletype,
                   13717:        hc, os, xon,
                   13718:        cols#72,
                   13719:        bel=^G, cr=^M, cud1=^J, ind=^J,
                   13720: tty37|model 37 teletype,
                   13721:        OTbs, hc, os, xon,
                   13722:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
                   13723:        ind=^J,
1.1       millert  13724:
1.11      millert  13725: # There are known to be at least three flavors of the tty40, all seem more
                   13726: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   13727: # awful braindamage, such as printing a visible newline indicator after each
                   13728: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   13729: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   13730: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   13731: # it - it's null here to prevent it from showing the BL character.
                   13732: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
                   13733: # a "newline" style terminal (-crmode) vi figures all it needs is nl
                   13734: # to get crlf, even if <cr> is not ^M.)
                   13735: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   13736: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
                   13737:        OTbs, xon,
                   13738:        cols#80, lines#24,
                   13739:        clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB,
                   13740:        cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>,
                   13741:        ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1,
                   13742:        ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^],
                   13743:        kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4,
                   13744:        rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>,
                   13745: tty43|model 43 teletype,
                   13746:        OTbs, am, hc, os, xon,
                   13747:        cols#132,
                   13748:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1.1       millert  13749:
1.11      millert  13750: #### Tymshare
1.1       millert  13751: #
                   13752:
1.11      millert  13753: # You can add <is2=\E<> to put this 40-column mode, though I can't
                   13754: # for the life of me think why anyone would want to.
                   13755: scanset|sc410|sc415|Tymshare Scan Set,
                   13756:        am, bw, msgr,
                   13757:        cols#80, lines#24,
                   13758:        acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,
                   13759:        cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   13760:        cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,
                   13761:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,
                   13762:        mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N,
                   13763:
                   13764: #### Volker-Craig (vc)
1.1       millert  13765: #
1.11      millert  13766: # If you saw a Byte Magazine cover with a terminal on it during the early
                   13767: # 1980s, it was probably one of these.  Carl Helmers liked them because
                   13768: # they could crank 19.2 and were cheap (that is, he liked them until he tried
                   13769: # to program one...)
1.1       millert  13770: #
                   13771:
1.11      millert  13772: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   13773: # every other linefeed.
                   13774: vc303|vc103|vc203|volker-craig 303,
                   13775:        OTbs, OTns, am,
                   13776:        cols#80, lines#24,
                   13777:        bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   13778:        cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I,
                   13779:        kcuu1=^N, ll=\017$<1>W,
                   13780: vc303a|vc403a|volker-craig 303a,
                   13781:        clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
                   13782:        home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
                   13783: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   13784: vc404|volker-craig 404,
                   13785:        OTbs, am,
                   13786:        cols#80, lines#24,
                   13787:        bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   13788:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   13789:        ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J,
                   13790:        kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
                   13791: vc404-s|volker-craig 404 w/standout mode,
                   13792:        cud1=^J, rmso=^O, smso=^N, use=vc404,
                   13793: # From: <wolfgang@cs.sfu.ca>
                   13794: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
                   13795: vc414|vc414h|Volker-Craig 414H in sane escape mode.,
                   13796:        OTbs, am,
                   13797:        cols#80, lines#24,
                   13798:        clear=\E\034$<40>, cud1=\E^K, cuf1=^P,
                   13799:        cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3,
                   13800:        dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R,
                   13801:        ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P,
                   13802:        kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE,
                   13803:        kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2,
                   13804:        lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8,
                   13805:        rmso=\E^_, smso=\E^Y,
                   13806: vc415|volker-craig 415,
                   13807:        clear=^L, use=vc404,
                   13808:
                   13809: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
1.1       millert  13810: #
                   13811:
1.11      millert  13812: #### IBM PC and clones
1.1       millert  13813: #
                   13814:
1.11      millert  13815: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   13816: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   13817: # doesn't support scrolling regions, ignores add line commands, and ignores
                   13818: # delete line commands. Consequently, the resulting behavior looks like a
                   13819: # crude adm3a-type terminal.
                   13820: # Steve Jacobson 8/85
                   13821: pcplot|pc-plot terminal emulation program,
                   13822:        xenl@,
                   13823:        csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
                   13824: # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
                   13825: # I've found that my KayPro II, running MDM730, continues to emulate an
                   13826: # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
                   13827: # system the following termcap entry works well:
                   13828: # I have noticed a couple of minor glitches, but nothing I can't work
                   13829: # around. (I added two capabilities from the BRL entry -- esr)
                   13830: kaypro|kaypro2|kaypro II,
                   13831:        OTbs, am,
                   13832:        cols#80, lines#24,
                   13833:        bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L,
                   13834:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W,
                   13835:        el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   13836:
                   13837: # From IBM, Thu May  5 19:35:27 1983
1.14      millert  13838: # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
1.11      millert  13839: ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
                   13840:        OTbs, am,
1.1       millert  13841:        cols#80, lines#24,
1.11      millert  13842:        bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\,
                   13843:        cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_,
                   13844:
                   13845: ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX,
                   13846:        OTbs, am, bw, eo, hs, km, msgr, ul,
                   13847:        cols#80, it#8, lines#24,
                   13848:        acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
                   13849:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
                   13850:        cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   13851:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   13852:        cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
                   13853:        home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B,
                   13854:        indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H,
                   13855:        kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   13856:        kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241,
                   13857:        kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247,
1.24    ! millert  13858:        kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V,
        !          13859:        ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A,
        !          13860:        rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m,
1.11      millert  13861:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
                   13862:        sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1.1       millert  13863:
1.11      millert  13864: #### Apple II
                   13865: #
                   13866: # Apple II firmware console first, then various 80-column cards and
                   13867: # terminal emulators.  For two cents I'd toss all these in the UFO file
                   13868: # along with the 40-column apple entries.
1.1       millert  13869: #
1.11      millert  13870:
                   13871: # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
                   13872: #      'it#8' tells UNIX that you have tabs every 8 columns.  This is a
                   13873: #              function of TIC, not the firmware.
                   13874: #      The clear key on a IIgs will do something like clear-screen,
                   13875: #              depending on what you're in.
                   13876: appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface,
                   13877:        OTbs, am, bw, eo, msgr,
                   13878:        cols#80, it#8, lines#24,
                   13879:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
                   13880:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13881:        home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J,
                   13882:        kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N,
                   13883:        smso=^O,
                   13884: # Apple //e with 80-column card, entry from BRL
                   13885: # The modem interface is permitted to discard LF (maybe DC1), otherwise
                   13886: # passing characters to the 80-column firmware via COUT (PR#3 assumed).
                   13887: # Auto-wrap does not work right due to newline scrolling delay, which also
                   13888: # requires that you set "stty cr2".
                   13889: # Note: Cursor addressing is only available via the Pascal V1.1 entry,
                   13890: # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
                   13891: # using a terminal emulation program instead of the built-in firmware.
                   13892: apple2e|Apple //e,
                   13893:        bw, msgr,
                   13894:        cols#80, lines#24,
                   13895:        bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_,
                   13896:        ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W,
                   13897:        is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K,
                   13898:        nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
                   13899:        smso=^O,
                   13900: # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
                   13901: # 4.20, with incoming and outgoing terminals both on 0, emulation On.
                   13902: apple2e-p|Apple //e via Pascal,
                   13903:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H,
1.24    ! millert  13904:        kcud1=^J, use=apple2e,
1.11      millert  13905: # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
                   13906: # Enable DC3/DC1 flow control with "stty ixon -ixany".
                   13907: apple-ae|ASCII Express,
                   13908:        OTbs, am, bw, msgr, nxon, xon,
                   13909:        cols#80, it#8, lines#24,
                   13910:        bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   13911:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13912:        home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J,
                   13913:        kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
                   13914:        smso=^O,
                   13915: appleII|apple ii plus,
                   13916:        OTbs, am,
                   13917:        cols#80, it#8, lines#24,
                   13918:        clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
                   13919:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6,
                   13920:        ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I,
                   13921:        is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N,
                   13922:        smso=^O,
                   13923: # Originally by Gary Ford 21NOV83
                   13924: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   13925: apple-80|apple II with smarterm 80 col,
                   13926:        OTbs, am, bw,
                   13927:        cols#80, lines#24,
                   13928:        cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
                   13929:        cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
                   13930:        ed=\013$<10*/>, el=\035$<10/>, home=^Y,
                   13931: apple-soroc|apple emulating soroc 120,
                   13932:        am,
                   13933:        cols#80, lines#24,
                   13934:        bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   13935:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
                   13936:        home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   13937: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   13938: #   ucbvax!ucsfmis!harrison  .....uucp
                   13939: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   13940: # "These two work.  If you don't have the inverse video chip for the
                   13941: # Apple with videx then remove the :so: and :se: fields."
                   13942: # (apple-videx: this used to be called DaleApple -- esr)
                   13943: apple-videx|Apple with videx videoterm 80 column board with inverse video,
                   13944:        OTbs, am, xenl,
                   13945:        cols#80, it#8, lines#24,
                   13946:        clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
                   13947:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13948:        home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y,
                   13949:        rmso=^Z2, sgr0=^Z2, smso=^Z3,
                   13950: # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
                   13951: #                            Apple Cat ][ 212 modem, + more all
                   13952: #                            controlled by ASCII Express: Pro.
                   13953: # From Dave Shaver <isucs1!shaver>
                   13954: apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell,
                   13955:        OTbs, am, eo, xt,
                   13956:        cols#80, lines#24,
                   13957:        acsc=, clear=^L, cuf1=^\,
                   13958:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13959:        flash=^W35^W06, home=^Y,
                   13960:        is2=^V4^W06\017\rVisible Bell Installed.\016\r\n,
                   13961:        rmso=^N, smso=^O,
                   13962: apple-uterm|Ultraterm for Apple micros,
                   13963:        OTbs, am, eo, xt,
                   13964:        cols#80, lines#24,
                   13965:        acsc=, clear=^L, cuf1=^\,
                   13966:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13967:        home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O,
                   13968: # from trwrba!bwong (Bradley W. Wong):
1.1       millert  13969: #
1.11      millert  13970: # This entry assumes that you are using an apple with the UCSD Pascal
                   13971: # language card.  SYSTEM.MISCINFO is assumed to be the same as that
                   13972: # supplied with the standard apple except that screenwidth should be set
                   13973: # using SETUP to 80 columns.  Note that the right arrow in not mapped in
                   13974: # this termcap entry.  This is because that key, on the Apple, transmits
                   13975: # a ^U and would thus preempt the more useful "up" function of vi.
1.1       millert  13976: #
1.11      millert  13977: # HMH 2/23/81
                   13978: apple80p|80-column apple with Pascal card,
                   13979:        am, bw,
                   13980:        cols#80, lines#24,
                   13981:        clear=^Y^L, cuf1=^\\:,
                   13982:        cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
                   13983:        home=^Y, kcub1=^H,
1.1       millert  13984: #
1.11      millert  13985: # Apple II+ equipped with Videx 80 column card
1.1       millert  13986: #
1.11      millert  13987: # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
                   13988: # manually converted by D A Gwyn
1.1       millert  13989: #
1.11      millert  13990: # DO NOT use any terminal emulation with this data base, it works directly
                   13991: # with the Videx card.  This has been tested with vi 1200 baud and works fine.
1.1       millert  13992: #
1.11      millert  13993: # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
                   13994: # 1 screen, while in R2 ^U doesn't.
                   13995: # For inverse alternate character set add:
                   13996: #      <smacs>=^O:<rmacs>=^N:
                   13997: # (apple-v: added it#8 -- esr)
                   13998: apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520),
                   13999:        am, xenl,
                   14000:        cols#80, it#8, lines#24,
                   14001:        bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H,
                   14002:        cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c,
                   14003:        cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>,
                   14004:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
                   14005:        khome=^Y, rmso=^Z2, smso=^Z3,
                   14006: apple-videx3|vapple|Apple II with 80 col card,
                   14007:        OTbs, am,
                   14008:        cols#80, lines#24,
                   14009:        clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   14010:        cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   14011:        kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!,
                   14012:        kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH,
                   14013: #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
                   14014: aepro|Apple II+ running ASCII Express Pro--vt52,
                   14015:        OTbs,
                   14016:        cols#80, lines#24,
                   14017:        clear=\014$<300/>, cuf1=\EC,
                   14018:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   14019:        el=\EK, home=\EH,
                   14020: # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
                   14021: apple-vm80|ap-vm80|apple with viewmax-80,
                   14022:        OTbs,
                   14023:        cols#80, lines#24,
                   14024:        clear=\014$<300/>, cuf1=^\\:,
                   14025:        cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_,
                   14026:        ed=\013$<300/>, el=^], home=\031$<200/>,
1.1       millert  14027:
1.11      millert  14028: #### Apple Lisa & Macintosh
                   14029: #
1.1       millert  14030:
1.11      millert  14031: # (lisa: changed <cvvis> to <cnorm> -- esr)
                   14032: lisa|apple lisa console display (black on white),
                   14033:        OTbs, am, eo, msgr,
                   14034:        cols#88, it#8, lines#32,
                   14035:        acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L,
                   14036:        cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   14037:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   14038:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
                   14039:        is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   14040:        kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
                   14041:        sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m,
                   14042: liswb|apple lisa console display (white on black),
                   14043:        is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
                   14044:        smso=\E[m, smul=\E[4m, use=lisa,
1.1       millert  14045:
1.11      millert  14046: # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
                   14047: # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
                   14048: #
                   14049: # These entries assume that the 'Auto Wraparound' is enabled.
                   14050: # Xon-Xoff flow control should also be enabled.
1.1       millert  14051: #
1.11      millert  14052: # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
                   14053: # settings are in non-volatile memory and don't need to be reset upon login.
                   14054: # Also setting the number of columns glitches the screen annoyingly.
                   14055: # You can type "reset" to get them set.
1.1       millert  14056: #
1.11      millert  14057: lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation,
                   14058:        OTbs, OTpt, am, xenl, xon,
                   14059:        OTkn#4, cols#80, it#8, lines#24, vt#3,
                   14060:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
                   14061:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   14062:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   14063:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
                   14064:        el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD,
                   14065:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ,
                   14066:        kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8,
                   14067:        rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   14068:        rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r,
                   14069:        sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
                   14070:        tbc=\E[3g,
                   14071: # Lisaterm in 132 column ("wide") mode.
                   14072: lisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
                   14073:        cols#132,
                   14074:        kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm,
                   14075: # Although MacTerminal has insert/delete line, it is commented out here
                   14076: # since it is much faster and cleaner to use the "lock scrolling region"
                   14077: # method of inserting and deleting lines due to the MacTerminal implementation.
                   14078: # Also, the "Insert/delete ch" strings have an extra character appended to them
                   14079: # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
                   14080: # supported by MacTerminal.
                   14081: mac|macintosh|Macintosh with MacTerminal,
                   14082:        xenl,
                   14083:        OTdN#30,
                   14084:        blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa,
                   14085: # Lisaterm in 132 column ("wide") mode.
                   14086: mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
                   14087:        cols#132, use=mac,
1.1       millert  14088:
1.11      millert  14089: #### Radio Shack/Tandy
1.1       millert  14090: #
                   14091:
1.11      millert  14092: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   14093: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   14094: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   14095: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
                   14096:        OTbs, am,
                   14097:        cols#80, it#8, lines#24,
                   14098:        bel=^G, blink=^_", bold=\E\:^A, civis=^E\s,
                   14099:        clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
                   14100:        cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
                   14101:        dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
                   14102:        kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,
                   14103:        sgr0=\037!\E\:\0, smso=^_\s, smul=^_",
                   14104: # (trs2: removed obsolete ":nl=^_:" -- esr)
                   14105: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
                   14106:        OTbs, am, msgr,
                   14107:        cols#80, it#8, lines#24,
                   14108:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
                   14109:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B,
                   14110:        el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\,
                   14111:        kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
                   14112: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
                   14113: # (This had extension capabilities
                   14114: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   14115: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
                   14116: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
                   14117: trs16|trs-80 model 16 console,
                   14118:        OTbs, am,
                   14119:        cols#80, it#8, lines#24,
                   14120:        acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L,
                   14121:        cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   14122:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   14123:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
                   14124:        ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   14125:        kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S,
                   14126:        khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
                   14127:        lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@,
                   14128:        smacs=\ERG, smso=\ERD,
1.1       millert  14129:
1.11      millert  14130: #### Atari ST
1.1       millert  14131: #
                   14132:
1.11      millert  14133: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   14134: atari|atari st,
                   14135:        OTbs, am,
                   14136:        cols#80, it#8, lines#25,
                   14137:        clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
                   14138:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   14139:        ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB,
                   14140:        kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
                   14141: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   14142: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
                   14143: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
                   14144:        lines#49,
1.24    ! millert  14145:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H,
        !          14146:        use=vt220,
1.11      millert  14147: # MiNT VT52 emulation. 80 columns, 25 rows.
                   14148: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   14149: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   14150: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
                   14151: # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
                   14152: st52|Atari ST with VT52 emulation,
                   14153:        am, km,
1.1       millert  14154:        cols#80, lines#25,
1.11      millert  14155:        bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED,
                   14156:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   14157:        cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
                   14158:        ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
                   14159:        kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M,
                   14160:        kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>,
                   14161:        kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
                   14162:        kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek,
                   14163:        ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq,
                   14164:        smcup=\Ee, smso=\Ep,
                   14165:
                   14166: #### Commodore Business Machines
1.1       millert  14167: #
1.11      millert  14168: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   14169: # after years of shaky engineering and egregious mismanagement.  Made one
                   14170: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   14171: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   14172: # ever (most units sold); they can still be found gathering dust in closets
                   14173: # everywhere.
1.1       millert  14174: #
                   14175:
1.11      millert  14176: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   14177: # Added a few more entries, converted caret-type control sequence (^x) entries
                   14178: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
1.14      millert  14179: # Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
1.11      millert  14180: #
                   14181: # :as:, :ae:                   Support for alternate character sets.
                   14182: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   14183: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   14184: #     This one appears to fix a problem I always had with a line ending
                   14185: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   14186: #     line tended to disappear and reappear depending on how the screen
                   14187: #     was refreshed. Note that this is probably needed only if you use
                   14188: #     something like a Dnet Fterm with the window sized to some peculiar
                   14189: #     dimension larger than 80 columns.
                   14190: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
                   14191: # (amiga: removed obsolete :kn#10:,
                   14192: # also added empty <acsc> to suppress a warning --esr)
                   14193: amiga|Amiga ANSI,
                   14194:        OTbs, am, bw, xenl,
                   14195:        cols#80, lines#24,
                   14196:        acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
                   14197:        civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD,
                   14198:        cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
                   14199:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   14200:        cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
                   14201:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
                   14202:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
1.14      millert  14203:        indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H,
                   14204:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[9~,
                   14205:        kf1=\E[0~, kf2=\E[1~, kf3=\E[2~, kf4=\E[3~, kf5=\E[4~,
                   14206:        kf6=\E[5~, kf7=\E[6~, kf8=\E[7~, kf9=\E[8~, rev=\E[7m,
                   14207:        ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, rmul=\E[m,
                   14208:        rs1=\Ec, sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
1.1       millert  14209:
1.11      millert  14210: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
                   14211: # (amiga: added empty <acsc> to suppress a warning.
                   14212: # I'm told this entry screws up badly with AS225, the Amiga
                   14213: # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
                   14214: amiga-h|Hans Verkuil's Amiga ANSI,
                   14215:        OTbs, bw, msgr,
                   14216:        cols#80, lines#24,
                   14217:        acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
                   14218:        civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M,
                   14219:        cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
                   14220:        cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
                   14221:        cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
                   14222:        dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
                   14223:        home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S,
                   14224:        indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H,
                   14225:        kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
                   14226:        kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~,
                   14227:        kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
                   14228:        kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
                   14229:        rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m,
                   14230:        rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l,
                   14231:        smso=\2337m, smul=\2334m,
                   14232:
                   14233: # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
                   14234: amiga-8bit|Amiga ANSI using 8-bit controls,
                   14235:        acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
1.24    ! millert  14236:        ind=\204, indn@, ri=\215, rin@, use=amiga-h,
1.1       millert  14237:
1.11      millert  14238: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   14239: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   14240: # having a little trouble. I've had to map most of my control characters
                   14241: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   14242: # and create some functions (like cm), but thats life.
                   14243: #      The problem is with the arrow keys - right, and up work fine, but
                   14244: # left deletes the previous character and down I just can't figure out.
                   14245: # Jove knows what I want, but I don't know what it's sending to me (it
                   14246: # isn't thats bound to next-line in jove).
                   14247: #      Anybody got any ideas? Here's my termcap.
                   14248: # DAG -- I changed his "^n" entries to "\n"; see if that works.
1.1       millert  14249: #
1.11      millert  14250: commodore|b-128|Commodore B-128 micro,
                   14251:        am, bw,
                   14252:        OTdN#20, cols#80, lines#24, pb#150,
                   14253:        OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J,
                   14254:        cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P,
                   14255:        dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
                   14256:        home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
                   14257:        kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=,
                   14258:        smir=,
1.1       millert  14259:
1.11      millert  14260: #### North Star
1.1       millert  14261: #
1.11      millert  14262: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   14263: northstar|North Star Advantage,
                   14264:        OTbs,
                   14265:        cols#80, lines#24,
                   14266:        clear=\004$<200/>,
                   14267:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
                   14268:        el=\016$<200/>, home=\034\032$<200/>,
1.1       millert  14269:
1.11      millert  14270: #### Osborne
1.1       millert  14271: #
1.11      millert  14272: # Thu Jul  7 03:55:16 1983
                   14273: #
                   14274: # As an aside, be careful; it may sound like an anomaly on the
                   14275: # Osborne, but with the 80-column upgrade, it's too easy to
                   14276: # enter lines >80 columns!
                   14277: #
                   14278: # I've already had several comments...
                   14279: # The Osborne-1 with the 80-col option is capable of being
                   14280: # 52, 80, or 104 characters wide; default to 80 for compatibility
                   14281: # with most systems.
                   14282: #
                   14283: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
                   14284: osborne-w|osborne1-w|osborne I in 104-column mode,
                   14285:        msgr, ul, xt,
                   14286:        cols#104, lines#24,
                   14287:        bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   14288:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   14289:        dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
                   14290:        kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
                   14291: # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
                   14292: osborne|osborne1|osborne I in 80-column mode,
                   14293:        OTbs, am, mir, msgr, ul, xhp,
                   14294:        OTdB#4, cols#80, lines#24,
                   14295:        clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L,
                   14296:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
                   14297:        dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H,
                   14298:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E),
                   14299:        rmul=\Em, smir=\EQ, smso=\E(, smul=\El,
1.1       millert  14300: #
1.11      millert  14301: # Osborne Executive definition from BRL
                   14302: # Similar to tvi920
                   14303: # Added by David Milligan and Tom Smith (SMU)
                   14304: osexec|Osborne executive,
                   14305:        OTbs, am,
                   14306:        OTug#1, cols#80, lines#24, xmc#1,
                   14307:        OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   14308:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   14309:        dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
                   14310:        is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
                   14311:        kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
                   14312:        kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
                   14313:        kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej,
                   14314:        smul=\El, tbc=\E3,
1.1       millert  14315:
1.11      millert  14316: #### Console types for obsolete UNIX clones
1.1       millert  14317: #
1.11      millert  14318: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   14319: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
                   14320: # were commercial, Minix an educational tool sold in conjunction with a book.
                   14321: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   14322: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   14323: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   14324: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
                   14325: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   14326: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   14327: # even as single processes under SunOS and the Macintosh OS.
1.1       millert  14328: #
                   14329:
1.11      millert  14330: # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
                   14331: minix|minix console (v1.7),
                   14332:        am, xenl,
                   14333:        cols#80, it#8, lines#25,
                   14334:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
                   14335:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   14336:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   14337:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   14338:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
                   14339:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   14340:        is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   14341:        kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S,
                   14342:        kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +,
                   14343:        lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM,
                   14344:        rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   14345: # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
                   14346: minix-old|minix console (v1.5),
                   14347:        xon,
                   14348:        cols#80, it#8, lines#25,
                   14349:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
                   14350:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   14351:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   14352:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   14353:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
                   14354:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   14355:        kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
                   14356:        kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G,
                   14357:        khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
                   14358:        rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
                   14359: # The linewrap option can be specified by editing /usr/include/minix/config.h
                   14360: # before recompiling the minix 1.5 kernel.
                   14361: minix-old-am|minix console with linewrap,
                   14362:        am, use=minix-old,
1.1       millert  14363:
1.11      millert  14364: pc-minix|minix console on an Intel box,
                   14365:        use=klone+acs, use=minix,
1.1       millert  14366:
1.11      millert  14367: # According to the Coherent 2.3 manual, the PC console is similar
                   14368: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   14369: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   14370: # has blinking and bold.
                   14371: pc-coherent|pcz19|coherent|IBM PC console running Coherent,
                   14372:        am, mir,
                   14373:        cols#80, it#8, lines#25,
                   14374:        bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   14375:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN,
                   14376:        ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED,
                   14377:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
                   14378:        rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
1.1       millert  14379:
1.11      millert  14380: # According to the Venix 1.1 manual, the PC console is similar
                   14381: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   14382: # different strings, (2) enhanced standout, (3) added insert/delete line.
                   14383: # Note in particular that it doesn't have automatic margins.
                   14384: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   14385: # not described here because this derives from an old termcap entry.
                   14386: pc-venix|venix|IBM PC console running Venix,
                   14387:        cols#80, it#8, lines#25,
                   14388:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
1.1       millert  14389:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
1.11      millert  14390:        ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK,
                   14391:        kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI,
1.1       millert  14392:
1.11      millert  14393: #### Miscellaneous microcomputer consoles
1.1       millert  14394: #
1.11      millert  14395: # If you know anything more about any of these, please tell me.
1.1       millert  14396: #
                   14397:
1.11      millert  14398: # The MAI Basic Four computer was obsolete at the end of the 1980s.
                   14399: # It may be used as a terminal by putting it in "line" mode as seen on
                   14400: # one of the status lines.
                   14401: # Initialization is similar to CIT80. <is2> will set ANSI mode for you.
                   14402: # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
                   14403: # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I
                   14404: # used \ED instead.
                   14405: # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
                   14406: mai|basic4|MAI Basic Four in ansi mode,
                   14407:        am, da, db, mir, msgr,
                   14408:        cols#82, it#8, lines#25,
                   14409:        bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h,
                   14410:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,
                   14411:        cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
                   14412:        dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
                   14413:        if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED,
                   14414:        is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H,
                   14415:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   14416:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
                   14417:        kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T,
                   14418:        rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
                   14419:        smir=\E[4h, smso=\E[7m, smul=\E[4m,
                   14420: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   14421: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
1.14      millert  14422: #
                   14423: # On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
                   14424: # The Basis 108 was a Apple II clone, manufactured by the "Basis
                   14425: # Mikrocomputer GmbH" in Munster, Germany (the company still exists today,
                   14426: # about 1,5 km from where I live, but doesn't build own computers any
                   14427: # more). A Basis 108 featured a really heavy (cast aluminium?) case, was
                   14428: # equipped with one or two 5.25" disk drives, had a monochrome and colour
                   14429: # video output for a TV set or a dedicated monitor and several slots for
                   14430: # Apple II cards. Basis 108 were quite popular at german schools before
                   14431: # the advent of the IBM PC. They run, for example, the UCSD Pascal
                   14432: # development system (which I used even in 1993 to program the steering
                   14433: # and data recording for our school's experimental solar panel :), Apple DOS
                   14434: # or CP/M.
1.11      millert  14435: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   14436: basis|BASIS108 computer with terminal translation table active,
                   14437:        clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
                   14438:        kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
1.24    ! millert  14439:        smso=\E(, use=adm3a,
1.11      millert  14440: # luna's BMC terminal emulator
                   14441: luna|luna68k|LUNA68K Bitmap console,
                   14442:        cols#88, lines#46, use=ansi-mini,
                   14443: megatek|pegasus workstation terminal emulator,
                   14444:        am, os,
                   14445:        cols#83, lines#60,
                   14446: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   14447: # interface (pre-Macintosh by several years) that went nowhere.
                   14448: xerox820|x820|Xerox 820,
                   14449:        am,
                   14450:        cols#80, lines#24,
                   14451:        bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   14452:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X,
                   14453:        home=^^, ind=^J,
1.1       millert  14454:
1.11      millert  14455: #### Videotex and teletext
1.1       millert  14456: #
1.11      millert  14457:
                   14458: # \E\:1}       switch to te'le'informatique mode (ascii terminal/ISO 6429)
                   14459: # \E[?3l       80 columns
                   14460: # \E[?4l       scrolling on
                   14461: # \E[12h       local echo off
                   14462: # \Ec          reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
                   14463: # \E)0         G1 DEC set (line graphics)
1.1       millert  14464: #
1.11      millert  14465: # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
                   14466: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique,
                   14467:        OTbs, eslok, hs, xenl,
                   14468:        cols#80, it#8, lines#24, wsl#72, xmc#0,
                   14469:        acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G,
                   14470:        blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J,
                   14471:        cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   14472:        cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
                   14473:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   14474:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   14475:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J,
                   14476:        home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J,
                   14477:        ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0,
                   14478:        is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
                   14479:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp,
                   14480:        kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu,
                   14481:        kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H,
                   14482:        kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H,
                   14483:        mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM,
                   14484:        rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
                   14485:        rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m,
                   14486:        smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A,
                   14487:        u6=\E[%i%d;%dR, u7=\E[6n,
1.1       millert  14488:
1.11      millert  14489: # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
                   14490: #
                   14491: minitel1|minitel 1,
                   14492:        am, bw, eslok, hs, hz, msgr,
                   14493:        colors#8, cols#40, lines#24, pairs#8,
                   14494:        acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L,
                   14495:        cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   14496:        cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X,
                   14497:        enacs=^Y, fsl=^J, home=^^, ind=^J,
                   14498:        is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG,
                   14499:        rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\,
                   14500:        setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;,
                   14501:        sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;,
                   14502:        sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c,
                   14503: # is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
                   14504: minitel1b|minitel 1-bistandard (in 40cols mode),
                   14505:        mir,
                   14506:        cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
                   14507:        cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   14508:        dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L,
                   14509:        is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D,
                   14510:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
                   14511:        kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l,
1.24    ! millert  14512:        smir=\E[4h, smkx=\E;iYA\E;jYC, use=minitel1,
1.11      millert  14513: # <rmkx> posait des problemes (logout en sortant de vi).
                   14514: minitel1b-80|minitel 1-bistandard (standard teleinformatique),
                   14515:        am@, bw@, hz@,
                   14516:        colors@, cols#80, it#8, pairs@,
                   14517:        blink=\E[5m, bold=\E[1m, civis=\037@A\024\n,
                   14518:        clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C,
                   14519:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   14520:        ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq,
                   14521:        kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw,
                   14522:        kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m,
                   14523:        ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@,
                   14524:        sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
1.24    ! millert  14525:        sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, use=minitel1b,
1.1       millert  14526:
1.11      millert  14527: ######## OBSOLETE VDT TYPES
1.1       millert  14528: #
1.11      millert  14529: # These terminals are *long* dead -- these entries are retained for
                   14530: # historical interest only.
                   14531:
                   14532: #### Amtek Business Machines
1.1       millert  14533: #
                   14534:
1.11      millert  14535: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   14536: # but these caps were commented out in 8.3; also, removed overridden
                   14537: # ":do=^J:" -- esr)
                   14538: abm80|amtek business machines 80,
                   14539:        OTbs, am, bw,
                   14540:        cols#80, lines#24,
                   14541:        cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
                   14542:        cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
                   14543:        dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
1.1       millert  14544:
1.11      millert  14545: #### Bell Labs blit terminals
                   14546: #
                   14547: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   14548: # David Breneman <daveb@dgtl.com> has this to say:
1.1       millert  14549: #
1.11      millert  14550: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   14551: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   14552: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   14553: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   14554: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   14555: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   14556: #  world. And the Jerq lived the rest of its days in research, but never
                   14557: #  strayed from those paths.
1.1       millert  14558: #
1.11      millert  14559: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   14560: #  it started to be shown outside of the halls of the Bell Labs Research
                   14561: #  organization, the management powers that be decided that the name could
                   14562: #  not remain. So it was renamed to be Blit. This was in late 1981.
1.1       millert  14563: #
1.11      millert  14564: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   14565: # 730, and 730+.)
1.1       millert  14566: #
1.11      millert  14567:
                   14568: blit|jerq|blit running teletype rom,
                   14569:        am, eo, ul, xon,
                   14570:        cols#87, it#8, lines#72,
                   14571:        bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   14572:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
                   14573:        dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c,
                   14574:        dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!,
                   14575:        il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED,
                   14576:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez,
                   14577:
                   14578: # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
                   14579: cbblit|fixterm|blit running columbus code,
                   14580:        cols#88,
                   14581:        ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d,
                   14582:        rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!,
1.24    ! millert  14583:        smul=\EU", use=blit,
1.11      millert  14584:
                   14585: oblit|ojerq|first version of blit rom,
                   14586:        am, da, db, eo, mir, ul, xon,
                   14587:        cols#88, it#8, lines#72,
                   14588:        bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
                   14589:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO,
                   14590:        dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G,
                   14591:        ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER,
                   14592:        smir=\EQ,
                   14593:
                   14594: #### Bolt, Beranek & Newman (bbn)
1.1       millert  14595: #
1.11      millert  14596: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   14597: # The parent company, best known as the architects of the Internet, is
                   14598: # still around.
1.1       millert  14599: #
1.11      millert  14600: # Jeff DelPapa <dp@world.std.com> writes:
                   14601: # The bitgraph was a large white box that contained a monochrome bitmap
                   14602: # display, and a 68000 to run it.  You could download code and run it on
                   14603: # the cpu, it had 128kb (I think) of memory.  I used one in the late
                   14604: # 70's, sure beat a vt100.  It had one strange feature tho -- it used
                   14605: # the cpu to bitblt pixels to scroll, it took longer than the refresh
                   14606: # rate, and looked like a rubber sheet stretching, then snapping
                   14607: # upwards.  It had everything the early mac had, except a floppy drive a
                   14608: # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
                   14609: # Beranek and Neuman) sold at most a few hundred of them to the real
                   14610: # world.  DOD may have bought more...
                   14611: #
1.1       millert  14612:
1.11      millert  14613: # Entries for the BitGraph terminals.  The problem
                   14614: # with scrolling in vi can only be fixed by getting BBN to put
                   14615: # smarter scroll logic in the terminal or changing vi or padding
                   14616: # scrolls with about 500 ms delay.
                   14617: #
                   14618: # I always thought the problem was related to the terminal
                   14619: # counting newlines in its input buffer before scrolling and
                   14620: # then moving the screen that much. Then vi comes along and
                   14621: # paints lines in on the bottom line of the screen, so you get
                   14622: # this big white gap.
                   14623:
                   14624: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
                   14625:        flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
                   14626:        use=bg2.0,
                   14627: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
                   14628:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
                   14629:        use=bg2.0,
                   14630: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
                   14631:        OTbs, xenl,
                   14632:        cols#85, lines#64,
                   14633:        bel=^G, clear=\E[H\E[J$<150>, cr=^M,
                   14634:        csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   14635:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>,
                   14636:        ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>,
                   14637:        ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
                   14638:        kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1,
                   14639:        lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7,
                   14640:        sgr0=\E[m, smkx=\E=, smso=\E[7m,
                   14641:
                   14642: bg1.25rv|bbn bitgraph 1.25 (reverse video),
1.24    ! millert  14643:        flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
        !          14644:        use=bg1.25,
1.11      millert  14645: bg1.25nv|bbn bitgraph 1.25 (normal video),
1.24    ! millert  14646:        flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
        !          14647:        use=bg1.25,
1.11      millert  14648: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
                   14649: bg1.25|bbn bitgraph 1.25,
                   14650:        cols#85, lines#64,
                   14651:        bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B,
                   14652:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
                   14653:        dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
                   14654:        il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB,
                   14655:        kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES,
                   14656:        lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l,
                   14657:        rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=,
                   14658:        smso=\E[7m,
                   14659:
1.14      millert  14660: #### Bull (bq, dku, vip)
                   14661: #
                   14662: # (Adapted for terminfo; AIX extension capabilities translated -- esr)
                   14663:
                   14664: #============================================#
                   14665: # BULL QUESTAR 210 `SDP' terminals emulation #
                   14666: #============================================#
                   14667: #
                   14668: # Description written by R.K.Saunders (Bull Transac)
                   14669: #
                   14670: # Modifications written by F. Girard (Bull MTS)
                   14671: #              19-05-87 V02.00.01
                   14672: #              17-12-87 V02.00.02
                   14673: #              15-09-89 V02.00.05
                   14674: #
                   14675: #      Typical technical selections F1 (modes SDP/ROLL):
                   14676: # -------------------------------------------------------
                   14677: # |   01   02   03   04   05   06   07   08   09   10   |
                   14678: # |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
                   14679: # |                                                     |
                   14680: # |   11   12   13   14   15   16   17   18   19   20   |
                   14681: # |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
                   14682: # |                                                     |
                   14683: # |   21   22   23   24   25   26   27   28   29   30   |
                   14684: # |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
                   14685: # |                                                     |
                   14686: # |   31   32   33   34   35   36   37   38   39   40   |
                   14687: # |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
                   14688: # -------------------------------------------------------
                   14689: #      Typical firmware identification F5 "etat 6":
                   14690: #  P287.02.04b (AZERTY)
                   14691: #  P297.11.04  (24-pin: 2732)  or P798.11.04   (28-pin: 2764)
                   14692: #  P298.03.03  (monochrome)    or P374.03.02   (colour)
                   14693: #
                   14694: #      SM SDP mode (VIP command):      ^[[?=h
                   14695: #      RIS (erases screen):            ^[c
                   14696: #      DMI disable keyboard:           ^[`
                   14697: #      SM double rendition mode:       ^[[?>h
                   14698: #      RM solicited status mode:       ^[[5l
                   14699: #      RM character mode:              ^[[>l
                   14700: #      RM echoplex mode:               ^[[12l
                   14701: #      RM column tab mode:             ^[[18l
                   14702: #      RM forbid SS2 keyboard mode:    ^[[?<l
                   14703: #      SM scroll mode:                 ^[[=h
                   14704: #      FCF enable XON/XOFF:            ^[P1s^[\
                   14705: #      MTL select end msg character:   ^[[^Wp
                   14706: #      EMI enable keyboard:            ^[b
                   14707: #      RIS retour etat initial:        ^[c
                   14708: #      enable FC keypad:               ^[[?<h,
                   14709: #      MPW map status line window:     ^[PY99:98^[\
                   14710: #      SCP select status line:         ^[[0;98v
                   14711: #      ED erase entire partition:      ^[[2J
                   14712: #      SCP select main partition:      ^[[v
                   14713: #      SM character insertion mode:    ^[[4h
                   14714: #      RM character replacement mode:  ^[[4l
                   14715: #      COO cursor on:                  ^[[r
                   14716: #      COO cursor off:                 ^[[1r
                   14717: #      SGR dim (turquoise) rev attr:   ^[[2;7m
                   14718: #      SGR Data normal attr:           ^[[m
                   14719: #      SO Line-graphic mode ON:        ^N
                   14720: #      SI Line-graphic mode OFF:       ^O
                   14721: #      MC start routing to printer:    ^[[5i
                   14722: #      MC stop routing to printer:     ^M^[[4i
                   14723: #
                   14724:
                   14725: # This entry covers the following terminals:
                   14726: # dku7102, tws2102, and tws models 2105 to 2112
                   14727: tws-generic|dku7102|Bull Questar tws terminals,
                   14728:        am, eslok, hs, mir, msgr, xenl, xhp@, xon,
                   14729:        cols#80, it#8, lines#24, wsl#80,
                   14730:        acsc=``aaffggj)k\,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~,
                   14731:        bel=^G, blink=\E[0;5m, cbt=\E[Z, civis=\E[1r, clear=\E[2J,
                   14732:        cnorm=\E[r, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
                   14733:        cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
                   14734:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   14735:        dim=\E[0;2m, dl=\E[%p1%dM, dl1=\E[M,
                   14736:        dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[v, ed=\E[J, el=\E[K,
                   14737:        fsl=\E[v, home=\E[H, ht=\E[I, hts=\EH, il=\E[%p1%dL,
                   14738:        il1=\E[L, ind=^J, invis=\E[0;8m,
                   14739:        is1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\,
                   14740:        is2=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p,
                   14741:        is3=\Eb\E[?<h, kbs=^H, kcbt=\E[Z, kctab=\E[g, kcub1=\E[D,
                   14742:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
                   14743:        ked=\E[J, kel=\E[K, kf1=\E[1u\027, kf2=\E[2u\027,
                   14744:        kf3=\E[3u\027, kf4=\E[4u\027, kf5=\E[5u\027,
                   14745:        kf6=\E[6u\027, kf7=\E[7u\027, kf8=\E[8u\027, khome=\E[H,
                   14746:        khts=\EH, kil1=\E[L, krmir=\E[4l, ll=\E[H\E[A, mc0=\E[0i,
                   14747:        mc4=\r\E[4i, mc5=\E[5i, rev=\E[0;7m, rmacs=^O,
                   14748:        rmcup=\E[0;98v\E[2J\E[v, rmir=\E[4l, rmso=\E[m,
                   14749:        rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N,
                   14750:        sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
                   14751:        sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\,
                   14752:        smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[2g,
                   14753:        tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m,
                   14754: tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA,
                   14755:        dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v,
                   14756:        use=tws-generic,
                   14757: tws2103|xdku|BULL Questar tws2103,
                   14758:        ht=^I, use=tws-generic,
                   14759: tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA,
1.24    ! millert  14760:        ht=^I, use=tws2102-sna,
1.14      millert  14761: dku7102-old|BULL Questar 200 DKU7102 (microcode version < 6),
                   14762:        clear=\E[2J\E[H, cup@, dl@, dl1@,
                   14763:        dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v, el=\E[K\E[m,
                   14764:        il@, il1@, tsl=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m,
                   14765:        use=tws-generic,
                   14766: dku7202|BULL Questar 200 DKU7202 (colour/character attributes),
                   14767:        blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb,
1.24    ! millert  14768:        smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic,
1.14      millert  14769:
                   14770: #=========================================================#
                   14771: # BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
                   14772: #=========================================================#
                   14773: #
                   14774: # Description written by J. Staerck (BULL SA)
                   14775: #       Copyright (c) 1989 BULL SA
                   14776: #---------------------------------------------------------------------------
                   14777: #  This entry is used for terminals with vt320 emulation mode
                   14778: #  and following set-up :
                   14779: #    8 bit ISO Latin Character Set (ISO 8859-1),
                   14780: #    7 bit Control Characters,
                   14781: #    80 columns screen.
                   14782: #  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
                   14783: #  They are used in string capabilities with vt220-320 emulation mode.
                   14784: #  In the following DEC definitions, two kinds of terminfo databases are
                   14785: #    provided :
                   14786: #    1. the first with Command Sequence Introducer starting with escape
                   14787: #       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
                   14788: #    2. the second with Command Sequence Introducer starting with escape
                   14789: #       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
                   14790: #      Soft Terminal Reset             esc [ ! p
                   14791: #      RIS (erases screen):            esc c
                   14792: #      DECKPNM numeric keypad mode:    esc >
                   14793: #      DECKPAM applic. keypad mode:    esc =
                   14794: #      DECSTBM Scrolling region:       esc [ r
                   14795: #      SCS select G0 = US:             esc ( B
                   14796: #      SCS select G1 = line-graphic:   esc ) 0
                   14797: #      Select 7-bit C1 controls:       esc sp F
                   14798: #      Select 8-bit C1 controls:       esc sp G
                   14799: #      Select cursor home:             esc [  H
                   14800: #      Select erase screen:            esc [  J
                   14801: #      SM KAM lock keyboard:           esc [ 2 h
                   14802: #      RM KAM unlock keyboard:         esc [ 2 l
                   14803: #      SM SRM local echo off:          esc [ 1 2 h
                   14804: #      RM SRM local echo on:           esc [ 1 2 l
                   14805: #      SM LNM New line :               esc [ 2 0 h
                   14806: #      RM LNM return = CR only:        esc [ 2 0 l
                   14807: #      SM DECCKM cursor keys mode:     esc [ ? 1 h
                   14808: #      RM DECCKM appli. keys mode:     esc [ ? 1 l
                   14809: #      SM DECANM ANSI mode on:         esc [ ? 2 h
                   14810: #      RM DECANM ANSI mode off:        esc [ ? 2 l
                   14811: #      SM DECCOLM 132-column screen:   esc [ ? 3 h
                   14812: #      RM DECCOLM 80-column screen:    esc [ ? 3 l
                   14813: #      SM DECSCLM Smooth scroll:       esc [ ? 4 h
                   14814: #      RM DECSCLM Jump scroll:         esc [ ? 4 l
                   14815: #      SM DECSCNM screen light backgr. esc [ ? 5 h
                   14816: #      RM DECSCNM screen dark backgr.  esc [ ? 5 l
                   14817: #      SM DECOM move within margins:   esc [ ? 6 h
                   14818: #      RM DECOM move outside margins:  esc [ ? 6 l
                   14819: #      SM DECAWM auto right margin:    esc [ ? 7 h
                   14820: #      RM DECAWM auto right margin:    esc [ ? 7 l
                   14821: #      SM DECARM auto repeat:          esc [ ? 8 h
                   14822: #      RM DECARM auto repeat:          esc [ ? 8 l
                   14823: #      DECSASD Select active main:     esc [ 0 $ }
                   14824: #      DECSASD Select active status:   esc [ 1 $ }
                   14825: #      DECSSDT Select status none:     esc [ 0 $ ~
                   14826: #      DECSSDT Select status indic.:   esc [ 1 $ ~
                   14827: #      DECSSDT Select status host-wr:  esc [ 2 $ ~
                   14828: #      SM DECTCEM Visible cursor:      esc [ ? 2 5 h
                   14829: #      RM DECTCEM Invisible cursor:    esc [ ? 2 5 l
                   14830: #      SM DECNCRM 7 bits NCR set:      esc [ ? 4 2 h
                   14831: #      RM DECNCRM Multi or ISO latin:  esc [ ? 4 2 l
                   14832: #      SM DECNKM numeric keypad mode:  esc [ ? 6 6 h
                   14833: #      RM DECNKM numeric keypad appl.: esc [ ? 6 6 l
                   14834: #      SM DECKBUM clavier informatique esc [ ? 6 8 h
                   14835: #      RM DECKBUM clavier bureautique: esc [ ? 6 8 l
                   14836: #      DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 " p
                   14837: # or   DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 ; 0 " p
                   14838: # or   DECSCL vt300 mode 8-bit ctrl:   esc [ 6 3 ; 2 " p
                   14839: #      DECSCL vt300 mode 7-bit ctrl:   esc [ 6 3 ; 1 " p
                   14840: #      Char. and Line attributes:      esc [ Ps ... Ps m
                   14841: # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
                   14842: # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
                   14843: #
                   14844:
                   14845: # This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
                   14846: bq300|Bull vt320 ISO Latin 1 80 columns terminal,
                   14847:        am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
                   14848:        cols#80, it#8, lines#24, vt#3, wsl#80,
                   14849:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   14850:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   14851:        clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
                   14852:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
                   14853:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   14854:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   14855:        cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
                   14856:        dl1=\E[M, dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX,
                   14857:        ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
                   14858:        flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I,
                   14859:        hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
                   14860:        is1=\E[63;1"p\E[2h,
                   14861:        is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
                   14862:        is3=\E[0$}\E[?25h\E[2l\E[H\E[J, ka1=\EOw, ka3=\EOy,
                   14863:        kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
                   14864:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~,
                   14865:        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
                   14866:        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
                   14867:        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
                   14868:        kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
                   14869:        khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
                   14870:        krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
                   14871:        mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
                   14872:        ri=\EM, rmacs=^O, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l,
                   14873:        rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p,
                   14874:        rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
                   14875:        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;,
                   14876:        sgr0=\E[0m\E(B, smacs=^N, smam=\E[?7h,
                   14877:        smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m,
                   14878:        smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~,
1.24    ! millert  14879: bq300-rv|Bull vt320 reverse 80 columns,
1.14      millert  14880:        flash=\E[?5l$<50>\E[?5h,
1.24    ! millert  14881:        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
        !          14882:        use=bq300,
1.14      millert  14883: bq300-w|Bull vt320 132 columns,
                   14884:        cols#132, wsl#132,
                   14885:        is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
1.24    ! millert  14886:        rs2=\E[?3h, use=bq300,
1.14      millert  14887: bq300-w-rv|Bull vt320 reverse mode 132 columns,
                   14888:        cols#132, wsl#132,
                   14889:        flash=\E[?5l$<50>\E[?5h,
                   14890:        is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
1.24    ! millert  14891:        rs2=\E[?3h, use=bq300,
1.14      millert  14892:
                   14893: #  This entry is used for terminals with vt320 emulation mode
                   14894: #  and following set-up :
                   14895: #    8 bit ISO Latin Character Set (ISO 8859-1),
                   14896: #    8 bit Control Characters, (CSI coded as x9B for ESC [)
                   14897: #    80 columns screen.
                   14898: #      Soft Terminal Reset             csi ! p
                   14899: #      RIS (erases screen):            esc c
                   14900: #      DECKPNM numeric keypad mode:    esc >
                   14901: #      DECKPAM applic. keypad mode:    esc =
                   14902: #      DECSTBM Scrolling region:       esc [ r
                   14903: #      SCS select G0 = US:             esc ( B
                   14904: #      SCS select G1 = line-graphic:   esc ) 0
                   14905: #      Select 7-bit C1 controls:       esc sp F
                   14906: #      Select 8-bit C1 controls:       esc sp G
                   14907: #      Select cursor home:             csi H
                   14908: #      Select erase screen:            csi J
                   14909: #      SM KAM lock keyboard:           csi 2 h
                   14910: #      RM KAM unlock keyboard:         csi 2 l
                   14911: #      SM SRM local echo off:          csi 1 2 h
                   14912: #      RM SRM local echo on:           csi 1 2 l
                   14913: #      SM LNM New line :               csi 2 0 h
                   14914: #      RM LNM return = CR only:        csi 2 0 l
                   14915: #      SM DECCKM cursor keys mode:     csi ? 1 h
                   14916: #      RM DECCKM appli. keys mode:     csi ? 1 l
                   14917: #      SM DECANM ANSI mode on:         csi ? 2 h
                   14918: #      RM DECANM ANSI mode off:        csi ? 2 l
                   14919: #      SM DECCOLM 132-column screen:   csi ? 3 h
                   14920: #      RM DECCOLM 80-column screen:    csi ? 3 l
                   14921: #      SM DECSCLM Smooth scroll:       csi ? 4 h
                   14922: #      RM DECSCLM Jump scroll:         csi ? 4 l
                   14923: #      SM DECSCNM screen light backgr. csi ? 5 h
                   14924: #      RM DECSCNM screen dark backgr.  csi ? 5 l
                   14925: #      SM DECOM move within margins:   csi ? 6 h
                   14926: #      RM DECOM move outside margins:  csi ? 6 l
                   14927: #      SM DECAWM auto right margin:    csi ? 7 h
                   14928: #      RM DECAWM auto right margin:    csi ? 7 l
                   14929: #      SM DECARM auto repeat:          csi ? 8 h
                   14930: #      RM DECARM auto repeat:          csi ? 8 l
                   14931: #      DECSASD Select active main:     csi 0 $ }
                   14932: #      DECSASD Select active status:   csi 1 $ }
                   14933: #      DECSSDT Select status none:     csi 0 $ ~
                   14934: #      DECSSDT Select status indic.:   csi 1 $ ~
                   14935: #      DECSSDT Select status host-wr:  csi 2 $ ~
                   14936: #      SM DECTCEM Visible cursor:      csi ? 2 5 h
                   14937: #      RM DECTCEM Invisible cursor:    csi ? 2 5 l
                   14938: #      SM DECNCRM 7 bits NCR set:      csi ? 4 2 h
                   14939: #      RM DECNCRM Multi or ISO latin:  csi ? 4 2 l
                   14940: #      DECSCL vt300 mode 8-bit ctrl:   csi 6 3 " p
                   14941: # or   DECSCL vt300 mode 8-bit ctrl:   csi 6 3 ; 0 " p
                   14942: #      DECSCL vt300 mode 7-bit ctrl:   csi 6 3 ; 1 " p
                   14943: #      Char. and Line attributes:      csi Ps ... Ps m
                   14944: # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
                   14945: # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
                   14946: # (bq300-8: <cub1>,<cuf1>,<cuu1>,<cud1>,<dl1>,<il1> to get under 1024 --esr)
                   14947: bq300-8|Bull vt320 full 8 bits 80 columns,
                   14948:        am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
                   14949:        cols#80, it#8, lines#24, vt#3, wsl#80,
                   14950:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   14951:        bel=^G, blink=\2335m, bold=\2331m, civis=\233?25l,
                   14952:        clear=\233H\233J, cnorm=\233?25h, cr=^M,
                   14953:        csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB,
                   14954:        cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA,
                   14955:        cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P,
                   14956:        dl=\233%p1%dM, dsl=\2331$}\2332$~\n\2330$},
                   14957:        ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,
                   14958:        enacs=\E(B\E)0, flash=\233?5h$<50>\233?5l, fsl=\2330$},
                   14959:        home=\233H, ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL,
                   14960:        ind=\ED, is1=\E[63;2"p\E[2h,
                   14961:        is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
                   14962:        is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w,
                   14963:        ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s,
                   14964:        kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
                   14965:        kdch1=\2333~, kf1=\217P, kf10=\23321~, kf11=\23323~,
                   14966:        kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
                   14967:        kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
                   14968:        kf2=\217Q, kf20=\23334~, kf3=\217R, kf4=\217S, kf6=\23317~,
                   14969:        kf7=\23318~, kf8=\23319~, kf9=\23320~, kfnd=\2331~,
                   14970:        khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~,
                   14971:        krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3,
                   14972:        lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8,
                   14973:        rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, rmcup=\233?7h,
                   14974:        rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
                   14975:        rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
                   14976:        sgr=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;,
                   14977:        sgr0=\2330m\E(B, smacs=^N, smam=\233?7h,
                   14978:        smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m,
                   14979:        smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~,
                   14980: bq300-8rv|Bull vt320 8-bit reverse mode 80 columns,
                   14981:        flash=\233?5l$<50>\233?5h,
1.24    ! millert  14982:        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
        !          14983:        use=bq300-8,
1.14      millert  14984: bq300-8w|Bull vt320 8-bit 132 columns,
                   14985:        cols#132, wsl#132,
                   14986:        is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
1.24    ! millert  14987:        rs2=\233?3h, use=bq300-8,
1.14      millert  14988: bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns,
                   14989:        cols#132, wsl#132,
                   14990:        flash=\233?5l$<50>\233?5h,
                   14991:        is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
1.24    ! millert  14992:        rs2=\233?3h, use=bq300-8,
1.14      millert  14993:
                   14994: #  This entry is used for terminals with vt320 emulation mode
                   14995: #  a 102 keys keyboard (PC scancode !) and following set-up :
                   14996: #    8 bit ISO Latin Character Set (ISO 8859-1),
                   14997: #    7 bit Control Characters,
                   14998: #    80 columns screen.
                   14999: bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns,
                   15000:        kbs=^H, kdch1=\E[3~, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
                   15001:        kf11=\E[29~, kf12=\E[31~, kf13@, kf14@, kf15@, kf16@, kf17@,
                   15002:        kf18@, kf19@, kf2=\E[18~, kf20@, kf3=\E[19~, kf4=\E[20~,
                   15003:        kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
                   15004:        kfnd@, khlp@, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
1.24    ! millert  15005:        krdo@, kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300,
1.14      millert  15006: bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns,
                   15007:        flash=\E[?5l$<50>\E[?5h,
1.24    ! millert  15008:        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
        !          15009:        use=bq300-pc,
1.14      millert  15010: bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal,
                   15011:        cols#132, wsl#132,
                   15012:        is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
1.24    ! millert  15013:        rs2=\E[?3h, use=bq300-pc,
1.14      millert  15014: bq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns,
                   15015:        cols#132, wsl#132,
                   15016:        flash=\E[?5l$<50>\E[?5h,
                   15017:        is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
1.24    ! millert  15018:        rs2=\E[?3h, use=bq300-pc,
1.14      millert  15019: #    8 bit ISO Latin Character Set (ISO 8859-1),
                   15020: #    8 bit Control Characters,
                   15021: #    80 columns screen.
                   15022: bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns,
                   15023:        kbs=^H, kdch1=\2333~, kend=\2334~, kf1=\23317~,
                   15024:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13@, kf14@,
                   15025:        kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\23318~, kf20@,
                   15026:        kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
                   15027:        kf7=\23324~, kf8=\23325~, kf9=\23326~, kfnd@, khlp@,
                   15028:        khome=\2331~, kich1=\2332~, knp=\2336~, kpp=\2335~, krdo@,
1.24    ! millert  15029:        kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300-8,
1.14      millert  15030: bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns,
                   15031:        flash=\E[?5l$<50>\E[?5h,
1.24    ! millert  15032:        is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
        !          15033:        use=bq300-8-pc,
1.14      millert  15034: bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns,
                   15035:        cols#132, wsl#132,
                   15036:        is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
1.24    ! millert  15037:        rs2=\E[?3h, use=bq300-8-pc,
1.14      millert  15038: bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns,
                   15039:        cols#132, wsl#132,
                   15040:        flash=\E[?5l$<50>\E[?5h,
                   15041:        is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
1.24    ! millert  15042:        rs2=\E[?3h, use=bq300-8-pc,
1.14      millert  15043:
                   15044: #======================================================#
                   15045: # BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
                   15046: #======================================================#
                   15047:
                   15048: # normal mode, 8 bits, 80 columns terminal.
                   15049: #      RES reset :                     ^[e
                   15050: #      RIS reset initial state:        ^[c
                   15051: #      BLE bell enable                 ^[h
                   15052: #      BLD bell disable                ^[g
                   15053: #      CAMS char. attr. mode set       ^[[D
                   15054: #      CAMR char. attr. mode reset     ^[[G
                   15055: #      CLR clear                       ^[`
                   15056: #      KBU keyboard unlock (set)       ^[[W
                   15057: #      KBL keyboard lock (reset)       ^[[X
                   15058: #      CM  character mode (async.)     ^[k
                   15059: #      NEP non echoplex mode (by host) ^[l
                   15060: #      EP  echoplex mode (by host)     ^[m
                   15061: #      IM  insert mode set             ^[[I
                   15062: #      IM  insert mode reset           ^[[J
                   15063: #      RMS roll mode set               ^[r
                   15064: #      RMR roll mode reset             ^[q
                   15065: #      SM78 set mode vip7800           ^[[1q
                   15066: #      SD  scroll up   (72 lines)      ^[[0s
                   15067: #      SD  scroll down (72 lines)      ^[[1s
                   15068: #      RBM block mode reset            ^[[E
                   15069: #      SLS status line set             ^[w
                   15070: #      SLR status line reset           ^[v
                   15071: #      SLL status line lock            ^[O
                   15072: #      LGS Line-graphic mode set       ^[G
                   15073: #      LGR Line-graphic mode reset     ^[F
                   15074: #      TBC tab clear (at cursor pos.)  ^[[g
                   15075: #      TBI tab initialize              ^[[N
                   15076: #      TBS tab set (at cursor pos.)    ^[p
                   15077: #      PDS  print data space           ^[[0p
                   15078: #      PHD  print host data            ^[[3p
                   15079: #      PDT  print data terminator      ^[[<p
                   15080: #      PRES print adapter reset        ^[[2p
                   15081: #      SSPR multi-part. reset          ^[[<>u
                   15082: #      SSP0 partition 0 set            ^[[00u
                   15083: #      SSP1 partition n format 1       ^[[PnPnSTRINGu
                   15084: #      SSP2 partition n format 2       ^[[PnPnSTRINGu
                   15085: #      SSP3 partition n format 3       ^[[PnPnu
                   15086: #      ATR attribute (visual)
                   15087: #          blink :                     ^[sB
                   15088: #          dim :                       ^[sL
                   15089: #          hide (blank) :              ^[sH
                   15090: #          restore :                   ^[sR
                   15091: #          inverse video :             ^[sI
                   15092: #          prot. :                     ^[sP
                   15093: #          underline :                 ^[s_
                   15094: #          reset :                     ^{
                   15095: #
                   15096: # This covers the vip7800 and BQ3155-vip7800
                   15097: vip|Bull Questar 3155-7800,
                   15098:        am, eslok, hs, km, mc5i, msgr, xenl, xon,
                   15099:        cols#80, it#8, lines#24, vt#3, wsl#80,
                   15100:        acsc=0pjdkblamcnkqitgufvhwexj, bel=^G, blink=\EsB,
                   15101:        cbt=\E[Z, clear=\E`, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   15102:        cup=\E[%i%p1%03d%p2%03df, cuu1=\EA, dch1=\E[P, dim=\EsL,
                   15103:        dl1=\E[M, dsl=\Ev, ed=\EJ, el=\EK,
                   15104:        flash=\007$<80>\007$<80>\007, fsl=\EO, home=\EH, ht=^I,
                   15105:        hts=\Ep, ich1=\E[I, ind=^J, invis=\EsH,
                   15106:        is2=\E[00u\E[<>001001024080024080u\E[01u,
                   15107:        is3=\Er\E[W\E`, kHOM=\EH, kLFT=\Eo, kRIT=\Eu, kbs=^H,
                   15108:        kcbt=\E[Z, kclr=\E`, kctab=\E[g, kcub1=\ED, kcud1=\EB,
                   15109:        kcuf1=\EC, kcuu1=\EA, kdch1=\E[P, kdl1=\E[M, ked=\EJ,
                   15110:        kel=\EK, kf1=\E0, kf10=\ET, kf11=\E\\, kf12=\E\^, kf13@, kf14@,
                   15111:        kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E2, kf20@, kf21=\E1,
                   15112:        kf22=\E5, kf23=\E7, kf24=\E9, kf25=\E;, kf26=\E=, kf27=\E?,
                   15113:        kf28=\EQ, kf29=\ES, kf3=\E6, kf30=\EV, kf31=\E], kf32=\E_,
                   15114:        kf4=\E8, kf5=\E\:, kf6=\E<, kf7=\E>, kf8=\EP, kf9=\ER,
                   15115:        khome=\EH, khts=\Ep, kich1=\E[I, kil1=\E[L, kind=\E[0s,
                   15116:        kll=\EH\EA, kri=\E[1s, krmir=\E[J, ktbc=\E[N, lf1=pf1,
                   15117:        lf2=pf2, lf3=pf3, lf4=pf4, ll=\EH\EA, mc0=\E[0p, mc4=\E[<p,
                   15118:        mc5=\E[3p, nel=^M, prot=\EsP, rev=\EsI,
                   15119:        ri=\EA\EJ\EH\E[L$<10>, rmacs=\EF, rmir=\E[J, rmso=\EsR,
                   15120:        rmul=\EsR, rs1=\Ec, rs2=\E[G, s0ds=\EF, s1ds=\EG,
                   15121:        sgr0=\EsR\EsU\EF, smacs=\EG, smir=\E[I, smso=\EsI,
                   15122:        smul=\Es_, tbc=\E[N, tsl=\Ew,
                   15123: # normal screen, 8 bits, 132 columns terminal.
                   15124: vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide,
                   15125:        cols#132, wsl#132,
                   15126:        is2=\E[00u\E[<>001001024132024132u\E[01u, use=vip,
                   15127: vip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines,
                   15128:        lines#72,
                   15129:        is2=\E[00u\E[<>001001024080072080u\E[01u, use=vip,
                   15130: vip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines,
                   15131:        cols#132, lines#72, wsl#132,
                   15132:        is2=\E[00u\E[<>001001024132072132u\E[01u, use=vip,
                   15133:
1.11      millert  15134: #### Chromatics
1.1       millert  15135: #
                   15136:
1.11      millert  15137: # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
                   15138: # that is smaller than the screen, and puts up a warning message
                   15139: # outside the window. Te erases the warning message, puts the
                   15140: # window back to be the whole screen, and puts the cursor at just
                   15141: # below the small window. I defined <cnorm> and <civis> to really turn
                   15142: # the cursor on and off, but I have taken this out since I don't
                   15143: # like the cursor being turned off when vi exits.
                   15144: cg7900|chromatics|chromatics 7900,
                   15145:        am,
                   15146:        cols#80, lines#40,
                   15147:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^],
                   15148:        cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2,
                   15149:        ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|,
                   15150:        rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,
                   15151:        rmso=\001C1\,\001c2\,,
                   15152:        smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,
                   15153:        smso=\001C4\,\001c7\,, uc=\001\001_\001\0,
                   15154:
                   15155: #### Computer Automation
1.1       millert  15156: #
1.11      millert  15157:
                   15158: ca22851|computer automation 22851,
                   15159:        am,
                   15160:        cols#80, lines#24,
                   15161:        bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I,
                   15162:        cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J,
                   15163:        kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^,
                   15164:
                   15165: #### Cybernex
1.1       millert  15166: #
                   15167:
1.11      millert  15168: # This entry has correct padding and the undocumented "ri" capability
                   15169: cyb83|xl83|cybernex xl-83,
                   15170:        OTbs, am,
                   15171:        cols#80, lines#24,
                   15172:        bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
                   15173:        cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N,
                   15174:        ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H,
                   15175:        kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N,
                   15176: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   15177: cyb110|mdl110|cybernex mdl-110,
                   15178:        OTbs, am,
                   15179:        cols#80, lines#24,
                   15180:        bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
                   15181:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
                   15182:        dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
                   15183:        ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y,
                   15184:        ht=\011$<43>, ich1=\016A\035$<3.5>,
                   15185:        il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF,
1.1       millert  15186:
1.11      millert  15187: #### Datapoint
                   15188: #
                   15189: # Datapoint is gone.  They used to be headquartered in Texas.
                   15190: # They created ARCnet, an Ethernet competitor that flourished for a while
                   15191: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   15192: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
1.1       millert  15193: #
                   15194:
1.11      millert  15195: dp3360|datapoint|datapoint 3360,
                   15196:        OTbs, am,
                   15197:        cols#82, lines#25,
                   15198:        bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
                   15199:        ed=^_, el=^^, home=^], ind=^J,
                   15200:
                   15201: # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
                   15202: # The Datapoint 8242 Workstation was sold at least between 1985
                   15203: # and 1989. To make the terminal work with this entry, press
                   15204: # CONTROL-INT-INT to take the terminal off-line, and type (opt).
                   15205: # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
                   15206: # CR/LF off. Use control-shift-[] as escape key, control-I as tab,
                   15207: # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
                   15208: # fact unusable because the strings sent by the terminal conflict
                   15209: # with other keys).
                   15210: # The terminal is capable of displaying "box draw" characters.
                   15211: # For each graphic character you must send 2 ESC's (\E\E) followed
                   15212: # by a control character as follows:
                   15213: #         character        meaning
                   15214: #         =========        =======
                   15215: #         ctrl-E           top tee
                   15216: #         ctrl-F           right tee
                   15217: #         ctrl-G           bottom tee
                   15218: #         ctrl-H           left tee
                   15219: #         ctrl-I           cross
                   15220: #         ctrl-J           top left corner
                   15221: #         ctrl-K           top right corner
                   15222: #         ctrl-L           bottom left corner
                   15223: #         ctrl-M           bottom right corner
                   15224: #         ctrl-N           horizontal line
                   15225: #         ctrl-O           vertical line
                   15226: # Unfortunately this cannot be fitted into the termcap/terminfo
                   15227: # description scheme.
                   15228: dp8242|datapoint 8242,
                   15229:        msgr,
                   15230:        cols#80, lines#25,
                   15231:        bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X,
                   15232:        cr=^M, cub1=^H, cud1=^J,
                   15233:        cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V,
                   15234:        home=^U, ht=^I, il1=\E^T, ind=^C,
                   15235:        is1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
                   15236:        kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee,
                   15237:        kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea,
                   15238:        kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J,
                   15239:        rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D,
                   15240:        rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
                   15241:        smso=\E^E, smul=\E^F,
                   15242:        wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025,
1.1       millert  15243:
1.11      millert  15244: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   15245: #
                   15246: # These entries are DEC's official terminfos for its older terminals.
                   15247: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   15248: # Engineering for more information.  Updated terminfos and termcaps
                   15249: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1.1       millert  15250: #
                   15251:
1.11      millert  15252: gt40|dec gt40,
                   15253:        OTbs, os,
                   15254:        cols#72, lines#30,
                   15255:        bel=^G, cr=^M, cub1=^H, cud1=^J,
                   15256: gt42|dec gt42,
                   15257:        OTbs, os,
                   15258:        cols#72, lines#40,
                   15259:        bel=^G, cr=^M, cub1=^H, cud1=^J,
                   15260: vt50|dec vt50,
                   15261:        OTbs,
                   15262:        cols#80, lines#12,
                   15263:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   15264:        cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J,
                   15265: vt50h|dec vt50h,
                   15266:        OTbs,
                   15267:        cols#80, lines#12,
                   15268:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   15269:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   15270:        el=\EK, ht=^I, ind=^J, ri=\EI,
                   15271: # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
                   15272: vt61|vt-61|vt61.5|dec vt61,
1.1       millert  15273:        cols#80, lines#24,
1.11      millert  15274:        bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J,
                   15275:        cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
                   15276:        cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I,
                   15277:        ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
                   15278:        ri=\E$<20>I,
                   15279:
                   15280: # The gigi does standout with red!
                   15281: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
                   15282: gigi|vk100|dec gigi graphics terminal,
                   15283:        OTbs, am, xenl,
                   15284:        cols#84, lines#24,
                   15285:        bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   15286:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   15287:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
                   15288:        el=\E[K, ht=^I, ind=^J,
                   15289:        is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h,
                   15290:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
                   15291:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
                   15292:        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   15293:        sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m,
                   15294:        smul=\E[4m,
                   15295:
                   15296: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   15297: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   15298: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   15299: # a format program, so you had to buy pre-formatted floppies from DEC at
                   15300: # a hefty premium!).
                   15301: pro350|decpro|dec pro console,
                   15302:        OTbs,
                   15303:        cols#80, it#8, lines#24,
                   15304:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   15305:        clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
                   15306:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
                   15307:        el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   15308:        kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI,
                   15309:        kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG,
                   15310:        rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D,
1.1       millert  15311:
1.11      millert  15312: dw1|decwriter I,
                   15313:        OTbs, hc, os,
                   15314:        cols#72,
                   15315:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   15316: dw2|decwriter|dw|decwriter II,
                   15317:        OTbs, hc, os,
                   15318:        cols#132,
                   15319:        bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
                   15320: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   15321: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   15322: # \E[w         10 char/in pitch
                   15323: # \E[1;132     full width horizontal margins
                   15324: # \E[2g                clear all tab stops
                   15325: # \E[z         6 lines/in
                   15326: # \E[66t       66 lines/page (for \f)
                   15327: # \E[1;66r     full vertical page can be printed
                   15328: # \E[4g                clear vertical tab stops
                   15329: # \E>          disable alternate keypad mode (so it transmits numbers!)
                   15330: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
                   15331: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   15332: #              a tab stop)
1.1       millert  15333: #
1.11      millert  15334: #       The dw3 does standout with wide characters.
1.1       millert  15335: #
1.11      millert  15336: dw3|la120|decwriter III,
                   15337:        OTbs, hc, os,
                   15338:        cols#132,
                   15339:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J,
                   15340:        is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
                   15341:        is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
                   15342:        kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w,
                   15343: dw4|decwriter IV,
                   15344:        OTbs, am, hc, os,
                   15345:        cols#132,
                   15346:        bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H,
                   15347:        kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
1.1       millert  15348:
1.11      millert  15349: # These aren't official
                   15350: ln03|dec ln03 laser printer,
                   15351:        hc,
                   15352:        cols#80, lines#66,
                   15353:        bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J,
                   15354:        rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m,
                   15355:        smul=\E[4m,
                   15356: ln03-w|dec ln03 laser printer 132 cols,
                   15357:        cols#132,
                   15358:        bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
1.24    ! millert  15359:        kcud1=^J, nel=^M^J, use=ln03,
1.1       millert  15360:
1.11      millert  15361: #### Delta Data (dd)
1.1       millert  15362: #
                   15363:
1.11      millert  15364: # Untested. The cup sequence is hairy enough that it probably needs work.
                   15365: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   15366: # There are BSD-derived termcap entries floating around for this puppy
                   15367: # that are *certainly* wrong.
                   15368: delta|dd5000|delta data 5000,
                   15369:        OTbs, am,
                   15370:        cols#80, lines#27,
                   15371:        bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y,
                   15372:        cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c,
                   15373:        cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J,
                   15374:
                   15375: #### Digital Data Research (ddr)
                   15376: #
1.1       millert  15377:
1.11      millert  15378: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
                   15379: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
                   15380:        OTbs, am, xenl,
                   15381:        cols#80, it#8, lines#24, vt#3,
                   15382:        blink=\E[5m$<2/>, bold=\E[1m$<2/>,
                   15383:        clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
                   15384:        cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
                   15385:        cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
                   15386:        ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H,
                   15387:        kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
                   15388:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
                   15389:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
                   15390:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
                   15391:        rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
                   15392:        sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m,
                   15393:        smul=\E[4m$<2/>,
1.1       millert  15394:
1.11      millert  15395: #### Evans & Sutherland
1.1       millert  15396: #
                   15397:
1.11      millert  15398: # Jon Leech <leech@cs.unc.edu> tells us:
                   15399: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   15400: # performance 3D vector graphics system with a bunch of specialized hardware.
                   15401: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   15402: # evolutions including (limited) color versions such as the PS330C. PS300s
                   15403: # were effectively obsolete by the late 80s, replaced by raster graphics
                   15404: # systems, although specialized applications like molecular modelling
                   15405: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   15406: # are out of production, though of course E&S is very much alive (in 1996).
                   15407: # (ps300: changed ":pt@:" to "it@" -- esr)
                   15408: #
                   15409: ps300|Picture System 300,
                   15410:        xt,
                   15411:        it@,
                   15412:        rmso@, rmul@, smso@, smul@, use=vt100,
1.1       millert  15413:
1.11      millert  15414: #### General Electric (ge)
1.1       millert  15415: #
                   15416:
1.11      millert  15417: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
                   15418:        OTbs, hc, os,
                   15419:        cols#120,
                   15420:        bel=^G, cr=^M, cud1=^J, ind=^J,
1.1       millert  15421:
1.11      millert  15422: #### Heathkit/Zenith
1.1       millert  15423: #
1.11      millert  15424:
                   15425: # Here is a description of the H19 DIP switches:
1.1       millert  15426: #
1.11      millert  15427: # S401
                   15428: # 0-3 = baud rate as follows:
                   15429: #
                   15430: #         3       2       1       0
                   15431: #      ---     ---     ---     ---
                   15432: #         0       0       1       1       300 baud
                   15433: #         0       1       0       1       1200 baud
                   15434: #         1       0       0       0       2400 baud
                   15435: #         1       0       1       0       4800 baud
                   15436: #         1       1       0       0       9600 baud
                   15437: #         1       1       0       1       19.2K baud
1.1       millert  15438: #
1.11      millert  15439: # 4 = parity (0 = no parity)
                   15440: # 5 = even parity (0 = odd parity)
                   15441: # 6 = stick parity (0 = normal parity)
                   15442: # 7 = full duplex (0 = half duplex)
1.1       millert  15443: #
1.11      millert  15444: # S402
                   15445: # 0 = block cursor (0 = underscore cursor)
                   15446: # 1 = no key click (0 = keyclick)
                   15447: # 2 = wrap at end of line (0 = no wrap)
                   15448: # 3 = auto LF on CR (0 = no LF on CR)
                   15449: # 4 = auto CR on LF (0 = no CR on LF)
                   15450: # 5 = ANSI mode (0 = VT52 mode)
                   15451: # 6 = keypad shifted (0 = keypad unshifted)
                   15452: # 7 = 50Hz refresh (1 = 60Hz refresh)
1.1       millert  15453: #
1.11      millert  15454: # Factory Default settings are as follows:
                   15455: #          7 6 5 4 3 2 1 0
                   15456: # S401     1 0 0 0 1 1 0 0
                   15457: # S402     0 0 0 0 0 0 0 0
                   15458: # (h19: I added <rmam>/<smam> based on the init string;
                   15459: # also added empty <acsc> to suppress a tic warning -- esr)
                   15460: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
                   15461:        OTbs, am, mir, msgr,
                   15462:        cols#80, it#8, lines#24,
                   15463:        acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H,
                   15464:        cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH,
                   15465:        cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>,
                   15466:        ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
                   15467:        is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
                   15468:        kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
                   15469:        kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
                   15470:        kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
                   15471:        ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,
                   15472:        smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
                   15473: h19-bs|heathkit w/keypad shifted,
                   15474:        rmkx=\Eu, smkx=\Et, use=h19-b,
                   15475: h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
1.24    ! millert  15476:        rmkx=\Eu, smkx=\Et, use=h19-u,
1.11      millert  15477: # (h19: merged in <ip> from BSDI hp19-e entry>;
                   15478: # also added empty <acsc> to suppress a tic warning --esr)
                   15479: # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
                   15480: # Tim tells us that:
                   15481: # I have an old Zenith-19 terminal at home that still gets a lot of use.
                   15482: # This terminal suffers from the same famous insert-mode padding lossage
                   15483: # that has been acknowledged for the Z29 terminal.  Emacs is nearly
                   15484: # unusable on this box, since even a half-scroll up or down the window
                   15485: # causes flaming terminal death.
                   15486: #
                   15487: # On the Z19, the only way I have found around this problem is to remove
                   15488: # the :al: and :dl: entries entirely.  No amount of extra padding will
                   15489: # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
                   15490: # makes Emacs a little slower, but it remains in the land of the living.
                   15491: # Big win.
                   15492: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
                   15493:        OTbs, am, eslok, hs, mir, msgr,
                   15494:        cols#80, it#8, lines#24,
                   15495:        acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB,
                   15496:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   15497:        cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH,
                   15498:        ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB,
                   15499:        kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   15500:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue,
                   15501:        lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,
                   15502:        smacs=\EF, smir=\E@, smso=\Ep,
                   15503:        tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
                   15504: h19-u|heathkit with underscore cursor,
                   15505:        cnorm@, cvvis@, use=h19-b,
                   15506: h19-g|h19g|heathkit w/block cursor,
                   15507:        cnorm=\Ex4, use=h19-b,
                   15508: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
                   15509:        lines#60,
                   15510:        dl1=\EM, il1=\EL, use=h19,
1.1       millert  15511:
1.11      millert  15512: # The major problem with the Z29 is that it requires more padding than the Z19.
1.1       millert  15513: #
1.11      millert  15514: # The problem with declaring an H19 to be synonymous with a Z29 is that
                   15515: # it needs more padding. It especially loses if a program attempts
                   15516: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   15517: # even loses worse if the program attempts to insert tabs at 9600
                   15518: # baud. Adding padding to text that is inserted loses because in
                   15519: # order to make the Z29 not die, one must add so much padding that
                   15520: # whenever the program tries to use insert mode, the effective
                   15521: # rate is about 110 baud.
                   15522: #
                   15523: # What program would want to put the terminal into insert mode
                   15524: # and shove stuff at it at 9600 baud you ask?
                   15525: #
                   15526: # Emacs. Emacs seems to want to do the mathematically optimal
                   15527: # thing in doing a redisplay rather than the practical thing.
                   15528: # When it is about to output a line on top of a line that is
                   15529: # already on the screen, instead of just killing to the end of
                   15530: # the line and outputting the new line, it compares the old line
                   15531: # and the new line and if there are any similarities, it
                   15532: # constructs the new line by deleting the text on the old line
                   15533: # on the terminal that is already there and then inserting new
                   15534: # text into the line to transform it into the new line that is
                   15535: # to be displayed. The Z29 does not react kindly to this.
                   15536: #
                   15537: # But don't cry for too long.... There is a solution. You can make
                   15538: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   15539: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   15540: # line will be really slow", you say. Well there is a sort of a
                   15541: # solution to that too. There is an insert character option on
                   15542: # the Z29 that will insert one character. Unfortunately, it
                   15543: # involves putting the terminal into ansi mode, inserting the
                   15544: # character, and changing it back to H19 mode. All this takes 12
                   15545: # characters. Pretty expensive to insert one character, but it
                   15546: # works. Either Emacs doesn't try to use its inserting hack when
                   15547: # it's only given an insert character ability or the Z29 doesn't
                   15548: # require padding with this (the former is probably more likely,
                   15549: # but I haven't checked it out).
                   15550: # (z29: added empty <acsc> to suppress a tic warning, merged in
                   15551: # status line capabilities from BRL entry --esr)
                   15552: z29|zenith29|z29b|zenith z29b,
                   15553:        OTbs, OTpt, am, eslok, hs, mir, msgr,
                   15554:        OTkn#10, cols#80, lines#24,
                   15555:        OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4,
                   15556:        cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   15557:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A,
                   15558:        cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1,
                   15559:        ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I,
                   15560:        ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>,
                   15561:        is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   15562:        kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
                   15563:        kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
                   15564:        lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq,
                   15565:        rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8,
                   15566:        tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
                   15567: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   15568: # the world is stable. <rs1> causes the terminal to be reset to the state
                   15569: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   15570: # cursor, bc -> block cursor.
                   15571: # From: Mike Meyers
                   15572: # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
                   15573: # looks vt100-compatible -- esr)
                   15574: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
                   15575:        OTbs, OTpt, am, eslok, hs, mir, msgr,
                   15576:        OTkn#10, cols#80, it#8, lines#24,
                   15577:        OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J,
                   15578:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   15579:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
                   15580:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   15581:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   15582:        dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H,
                   15583:        ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL,
                   15584:        ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
                   15585:        kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS,
                   15586:        kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
                   15587:        kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7,
                   15588:        nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h,
                   15589:        rmso=\E[m, rmul=\E[m,
                   15590:        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,
                   15591:        sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
                   15592:        tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
                   15593: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
                   15594:        rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
                   15595:        use=z29a,
                   15596: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
                   15597:        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,
                   15598:        use=z29a,
                   15599: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
                   15600:        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,
                   15601:        use=z29a,
                   15602: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   15603: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
                   15604:        am, eslok, hs, mc5i, mir, msgr, xon,
                   15605:        cols#80, lines#24,
                   15606:        acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
                   15607:        blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
                   15608:        clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
                   15609:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   15610:        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
                   15611:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
                   15612:        dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
                   15613:        dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
                   15614:        fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L,
                   15615:        ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw,
                   15616:        ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D,
                   15617:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS,
                   15618:        kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
                   15619:        kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
                   15620:        mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
                   15621:        rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
                   15622:        rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0,
                   15623:        smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
                   15624:        tsl=\E[s\E[>1h\E[25;%i%p1%dH,
1.1       millert  15625:
1.11      millert  15626: # From: Brad Brahms <Brahms@USC-ECLC>
                   15627: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
1.24    ! millert  15628:        cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw,
1.11      millert  15629: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
                   15630: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
                   15631:        OTbs, OTpt, mir, msgr,
                   15632:        OTkn#10, cols#80, it#8, lines#24,
                   15633:        acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB,
                   15634:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>,
                   15635:        cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>,
                   15636:        ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H,
                   15637:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES,
                   15638:        kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
                   15639:        kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq,
                   15640:        smacs=\EF, smir=\E@, smso=\Ep,
                   15641: p19|h19-b with il1/dl1,
                   15642:        dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
                   15643: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
                   15644: # (ztx: removed duplicate :sr: -- esr)
                   15645: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
                   15646:        OTbs, am, eslok, hs,
                   15647:        cols#80, it#8, lines#24,
                   15648:        clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
                   15649:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
                   15650:        dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I,
                   15651:        il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>,
                   15652:        kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES,
                   15653:        kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER,
                   15654:        ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2,
                   15655:        tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1.1       millert  15656:
1.11      millert  15657: #### IMS International (ims)
1.1       millert  15658: #
1.11      millert  15659: # There was a company called IMS International located in Carson City,
                   15660: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   15661: # bus/Z80 hardware and a line of terminals called Ultimas.
1.1       millert  15662: #
                   15663:
1.11      millert  15664: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   15665: ims950-b|bare ims950 no init string,
                   15666:        is2@, use=ims950,
                   15667: # (ims950: removed obsolete ":ko@:" -- esr)
                   15668: ims950|ims televideo 950 emulation,
                   15669:        xenl@,
                   15670:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
1.24    ! millert  15671:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950,
1.11      millert  15672: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   15673: ims950-rv|ims tvi950 rev video,
                   15674:        xenl@,
                   15675:        flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
1.24    ! millert  15676:        kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950-rv,
1.11      millert  15677: ims-ansi|ultima2|ultimaII|IMS Ultima II,
                   15678:        OTbs, am,
                   15679:        cols#80, it#8, lines#24,
                   15680:        clear=\E[H\E[2J, cub1=^H, cud1=\ED,
                   15681:        cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K,
                   15682:        ht=^I, if=/usr/share/tabset/vt100,
                   15683:        is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
                   15684:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM,
                   15685:        rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m,
                   15686:        smul=\E[4m,
1.1       millert  15687:
1.11      millert  15688: #### Intertec Data Systems
1.1       millert  15689: #
1.11      millert  15690: # I think this company is long dead as of 1995.  They made an early CP/M
                   15691: # micro called the "Intertec Superbrain" that was moderately popular,
                   15692: # then sank out of sight.
1.1       millert  15693: #
                   15694:
1.11      millert  15695: superbrain|intertec superbrain,
                   15696:        OTbs, am, bw,
                   15697:        cols#80, lines#24,
                   15698:        OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J,
                   15699:        cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K,
                   15700:        ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U,
                   15701:        kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L,
                   15702: # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
                   15703: # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
                   15704: # and the reverse is actually true.  Try it. -- esr)
                   15705: intertube|intertec|Intertec InterTube,
                   15706:        OTbs, am,
                   15707:        cols#80, lines#25,
                   15708:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
                   15709:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A,
                   15710:        ind=^J, rmso=\E0@, smso=\E0P,
                   15711: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   15712: # are typing and a command comes in, the keystrokes you type get interspersed
                   15713: # with the command and it messes up
                   15714: intertube2|intertec data systems intertube 2,
                   15715:        OTbs,
                   15716:        cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
                   15717:        el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
1.24    ! millert  15718:        ll=^K^X\r, vpa=\013%p1%c, use=intertube,
1.1       millert  15719:
1.11      millert  15720: #### Ithaca Intersystems
1.1       millert  15721: #
1.11      millert  15722: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   15723: # past.  They used to be reachable at:
1.1       millert  15724: #
1.11      millert  15725: #      Ithaca Intersystems
                   15726: #      1650 Hanshaw Road
                   15727: #      Ithaca, New York 14850
1.1       millert  15728: #
1.11      millert  15729: # However, the outfit went bankrupt years ago.
1.1       millert  15730: #
                   15731:
1.11      millert  15732: # The Graphos III was a color graphics terminal from Ithaca Intersystems.
                   15733: # These entries were written (originally in termcap syntax) by Brian Yandell
                   15734: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   15735: # University of Wisconsin.
                   15736:
                   15737: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   15738: # removed <if=/usr/share/tabset/init.graphos> and
                   15739: # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
                   15740: graphos|graphos III,
                   15741:        am, mir,
                   15742:        cols#80, it#8, lines#24,
                   15743:        clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z,
                   15744:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
                   15745:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   15746:        cuu=\E[%p1%dA, cuu1=\E[A,
                   15747:        cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM,
                   15748:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
                   15749:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   15750:        kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
                   15751:        kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l,
                   15752:        rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h,
                   15753:        smir=\E[4h, smso=\E[7m,
                   15754: graphos-30|graphos III with 30 lines,
                   15755:        lines#30,
                   15756:        cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
1.1       millert  15757:
1.11      millert  15758: #### Modgraph
                   15759: #
                   15760: # These people used to be reachable at:
1.1       millert  15761: #
1.11      millert  15762: #      Modgraph, Inc
                   15763: #      1393 Main Street,
                   15764: #      Waltham, MA 02154
                   15765: #      Vox: (617)-890-5796.
1.1       millert  15766: #
1.11      millert  15767: # However, if you call that number today you'll get an insurance company.
                   15768: # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
                   15769: # 26 Feb 1997 that says:
1.1       millert  15770: #
1.11      millert  15771: # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
                   15772: # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
                   15773: # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
                   15774: # panel-mount etc).  I can be emailed at sonfour@aol.com
1.1       millert  15775: #
1.11      millert  15776: # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
                   15777: # dated 1984.  According to the manual, it featured Tek 4010/4014
                   15778: # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
1.1       millert  15779: #
1.11      millert  15780:
                   15781: modgraph|mod24|modgraph terminal emulating vt100,
                   15782:        xenl@,
                   15783:        cols#80, lines#24,
                   15784:        cvvis=\E\^9;0s\E\^7;1s,
                   15785:        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,
1.24    ! millert  15786:        rf@, ri=\EM\E[K$<5/>, use=vt100,
1.11      millert  15787: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   15788: modgraph2|modgraph gx-1000 80x24 with keypad not enabled,
                   15789:        am, da, db,
                   15790:        cols#80, it#8, lines#24,
                   15791:        clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>,
                   15792:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>,
                   15793:        ed=\EJ$<50/>, el=\EK$<3/>, ht=^I,
                   15794:        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,
                   15795:        ri=\EI$<5/>,
1.1       millert  15796: #
1.11      millert  15797: # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
                   15798: # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
                   15799: # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
                   15800: # mark and using delete-to-killbuffer work correctly.  However, we would
                   15801: # like normal mode of operation to be using a Modgraph with 48 line setting.
                   15802: # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
                   15803: # the setting mark and delete-to-killbuffer results in the deletion of only
                   15804: # the line the mark is set on.
                   15805: # We've discovered that the delete-to-killbuffer works correctly
                   15806: # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
                   15807: # the first line disappears but a ctrl-l shows that it did work
                   15808: # correctly.
                   15809: modgraph48|mod|Modgraph w/48 lines,
                   15810:        OTbs, OTpt, am, xenl,
                   15811:        cols#80, it#8, lines#48, vt#3,
                   15812:        OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
                   15813:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
                   15814:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
                   15815:        flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q,
                   15816:        home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h,
                   15817:        kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
                   15818:        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m,
                   15819:        ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   15820:        rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
                   15821:        smso=\E[7m, smul=\E[4m,
                   15822:
                   15823: #### Morrow Designs
                   15824: #
                   15825: # This was George Morrow's company.  They started in the late 1970s making
                   15826: # S100-bus machines.  They used to be reachable at:
1.1       millert  15827: #
1.11      millert  15828: #        Morrow
                   15829: #        600 McCormick St.
                   15830: #        San Leandro, CA 94577
1.1       millert  15831: #
1.11      millert  15832: # but they're long gone now (1995).
1.1       millert  15833: #
1.11      millert  15834:
                   15835: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   15836: # Jeff's specimen was dated June 1984.
                   15837: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   15838: mt70|mt-70|Morrow MD-70; native Morrow mode,
                   15839:        am, mir, msgr, xon,
                   15840:        cols#80, it#8, lines#24,
                   15841:        acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G,
                   15842:        cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
                   15843:        cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
                   15844:        cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
                   15845:        flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE,
                   15846:        ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r,
                   15847:        kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r,
                   15848:        kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r,
                   15849:        kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r,
                   15850:        kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r,
                   15851:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   15852:        kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_,
                   15853:        rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1,
1.24    ! millert  15854:        tbc=\E0, use=adm+sgr,
1.11      millert  15855:
                   15856: #### Motorola
1.1       millert  15857: #
1.11      millert  15858:
                   15859: # Motorola EXORterm 155        from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
                   15860: # (Seth H Zirin)
                   15861: ex155|Motorola Exorterm 155,
                   15862:        OTbs, am, bw,
                   15863:        OTkn#5, OTug#1, cols#80, lines#24,
                   15864:        cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED,
                   15865:        cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU,
                   15866:        home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H,
                   15867:        kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@,
                   15868:        rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED,
                   15869:
                   15870: #### Omron
1.1       millert  15871: #
1.11      millert  15872: # This company is still around in 1995, manufacturing point-of-sale systems.
                   15873:
                   15874: omron|Omron 8025AG,
                   15875:        OTbs, am, da, db,
                   15876:        cols#80, lines#24,
                   15877:        bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
                   15878:        cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH,
                   15879:        il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef,
                   15880:
                   15881: #### Ramtek
1.1       millert  15882: #
1.11      millert  15883: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   15884: # were competition for things like the Tektronics 4025.
1.1       millert  15885: #
                   15886:
1.11      millert  15887: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   15888: # The following SET-UP modes are assumed for normal operation:
                   15889: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   15890: #      NEWLINE_OFF             80_COLUMNS
                   15891: # Other SET-UP modes may be set for operator convenience or communication
                   15892: # requirements; I recommend
                   15893: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   15894: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   15895: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   15896: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   15897: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   15898: rt6221|Ramtek 6221 80x24,
                   15899:        OTbs, OTpt, msgr, xon,
                   15900:        OTkn#4, cols#80, it#8, lines#24, vt#3,
                   15901:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
                   15902:        clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
                   15903:        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
                   15904:        cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
                   15905:        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
                   15906:        cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
                   15907:        hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   15908:        kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
                   15909:        kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
                   15910:        nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
                   15911:        rmso=\E[m, rmul=\E[m,
                   15912:        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>,
                   15913:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
                   15914:        smul=\E[4m, tbc=\E[3g,
                   15915: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
                   15916: rt6221-w|Ramtek 6221 160x48,
                   15917:        cols#160, lines#48,
                   15918:        ll=\E[48;1H, use=rt6221,
                   15919:
                   15920: #### RCA
1.1       millert  15921: #
                   15922:
1.11      millert  15923: # RCA VP3301 or VP3501
                   15924: rca|rca vp3301/vp3501,
                   15925:        OTbs,
                   15926:        cols#40, lines#24,
                   15927:        clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   15928:        cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1,
1.1       millert  15929:
                   15930:
1.11      millert  15931: #### Selanar
1.1       millert  15932: #
                   15933:
1.11      millert  15934: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   15935: # The following SET-UP modes are assumed for normal operation:
                   15936: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   15937: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   15938: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   15939: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   15940: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   15941: # For use with graphics software, all graphics modes should be set to factory
                   15942: # default.  Other SET-UP modes may be set for operator convenience or
                   15943: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   15944: # to enable DC3/DC1 flow control!
                   15945: # I commented out the scrolling capabilities since they are too slow.
                   15946: hirez100|Selanar HiREZ-100,
                   15947:        OTbs, OTpt, mir, msgr, xon,
                   15948:        OTkn#4, cols#80, it#8, lines#48, vt#3,
                   15949:        acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
                   15950:        cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   15951:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   15952:        cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
                   15953:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   15954:        hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H,
                   15955:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
                   15956:        kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
                   15957:        lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
                   15958:        mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
                   15959:        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
                   15960:        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>,
                   15961:        sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
                   15962:        smul=\E[4m, tbc=\E[3g,
                   15963: hirez100-w|Selanar HiREZ-100 in 132-column mode,
                   15964:        cols#132, use=hirez100,
                   15965:
                   15966: #### Signetics
1.1       millert  15967: #
                   15968:
1.11      millert  15969: # From University of Wisconsin
                   15970: vsc|Signetics Vsc Video driver by RMC,
                   15971:        am, msgr,
                   15972:        cols#80, it#8, lines#26,
                   15973:        clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
                   15974:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
                   15975:        ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s,
                   15976:        rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_",
1.1       millert  15977:
1.11      millert  15978: #### Soroc
1.1       millert  15979: #
1.11      millert  15980: # Alan Frisbie <frisbie@flying-disk.com> writes:
1.1       millert  15981: #
1.11      millert  15982: # As you may recall, the Soroc logo consisted of their name,
                   15983: # with the letter "S" superimposed over an odd design.   This
                   15984: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   15985: # wedge with rounded corners inside it.   The color was sort of
                   15986: # a metallic gold/yellow.
                   15987: #
                   15988: # If I had been more of a beer drinker it might have been obvious
                   15989: # to me, but it took a clue from their service department to make
                   15990: # me exclaim, "Of course!"   The circular object was the top of
                   15991: # a beer can (the old removable pop-top style) and "Soroc" was an
                   15992: # anagram for "Coors".
                   15993: #
                   15994: # I can just imagine the founders of the company sitting around
                   15995: # one evening, tossing back a few and trying to decide what to
                   15996: # call their new company and what to use for a logo.
                   15997: #
1.1       millert  15998:
1.11      millert  15999: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
                   16000: soroc120|iq120|soroc|soroc iq120,
                   16001:        clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J,
1.24    ! millert  16002:        kcuf1=^L, kcuu1=^K, use=adm3a,
1.11      millert  16003: soroc140|iq140|soroc iq140,
1.1       millert  16004:        OTbs, am, mir,
1.11      millert  16005:        cols#80, lines#24,
                   16006:        bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   16007:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew,
                   16008:        dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J,
                   16009:        kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r,
                   16010:        kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
                   16011:        kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8,
                   16012:        rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A,
1.1       millert  16013:
1.11      millert  16014: #### Southwest Technical Products
1.1       millert  16015: #
1.11      millert  16016: # These guys made an early personal micro called the M6800.
                   16017: # The ct82 was probably its console terminal.
1.1       millert  16018: #
                   16019:
1.11      millert  16020: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   16021: swtp|ct82|southwest technical products ct82,
1.1       millert  16022:        am,
1.11      millert  16023:        cols#82, lines#20,
                   16024:        bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
                   16025:        cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F,
                   16026:        home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
                   16027:        is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
                   16028:        ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
1.1       millert  16029:
1.11      millert  16030: #### Synertek
                   16031: #
                   16032: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
1.1       millert  16033: #
1.11      millert  16034: # Synertek used to make ICs, various 6502-based single-board process
                   16035: # control and hobbyist computers, and assorted peripherals including a
                   16036: # series of small inexpensive terminals (I think they were one of the
                   16037: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   16038: # was only slightly larger than the keyboard).
1.1       millert  16039: #
1.11      millert  16040: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   16041: # was a 40x24 terminal that could connect to a standard TV through a
                   16042: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   16043: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   16044: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   16045: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   16046: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   16047: # and I've never had any problems with mine (witness the fact that mine
                   16048: # was made in 1981 and is still working great... I've blown the video
                   16049: # output transistor a couple of times, but it's a 2N2222 :-)
1.1       millert  16050: #
1.11      millert  16051: # The KTM-3 (which is what is listed in the terminfo file) was their
                   16052: # attempt at putting a KTM-2 in a box (and some models came with a
                   16053: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   16054: # control and escape sequences are very different. The KTM-3 was always
                   16055: # real broken, at least according to the folks I've talked to about it.
                   16056: #
                   16057: # The padding in the entry is probably off--these terminals were very
                   16058: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   16059: # anyone with any sanity replaced the ROMs with something that provided
                   16060: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   16061: # obviously very primitive... oh, you could get an upgraded ROM from
                   16062: # Synertek for some incredible amount of money, but what hacker with an
                   16063: # EPROM burner would do that? :)
                   16064: #
                   16065: # Sorry I don't have any contact info; I believe they were located in
                   16066: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   16067: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   16068: # business these days.
1.1       millert  16069: #
                   16070:
1.11      millert  16071: # Tested, seems to work fine with vi.
                   16072: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
                   16073:        am,
1.1       millert  16074:        cols#80, lines#24,
1.11      millert  16075:        clear=^Z, cub1=^H, cuf1=^L,
                   16076:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
                   16077:
                   16078: #### Tab Office Products
                   16079: #
                   16080: #      TAB Products Co. - Palo Alto, California
                   16081: #      Electronic Office Products,
                   16082: #      1451 California Avenue 94304
                   16083: #
                   16084: # I think they're out of business.
                   16085: #
1.1       millert  16086:
1.11      millert  16087: # The tab 132 uses xon/xoff, so no padding needed.
                   16088: # <smkx>/<rmkx> have nothing to do with arrow keys.
                   16089: # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
                   16090: # Seems to be no way to get rid of status line.
                   16091: # The manual for this puppy was dated June 1981.  It claims to be VT52-
                   16092: # compatible but looks more vt100-like.
                   16093: tab132|tab|tab132-15|tab 132/15,
                   16094:        da, db,
                   16095:        OTdN@, cols#80, lines#24, lm#96,
                   16096:        cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M,
                   16097:        il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B,
1.24    ! millert  16098:        kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, use=vt100,
1.11      millert  16099: tab132-w|tab132 in wide mode,
                   16100:        cols#132,
                   16101:        is2=\E[?7h\E[?3h\E[?5l, use=tab132,
                   16102: tab132-rv|tab132 in reverse-video mode,
                   16103:        is2=\E[?7h\E[?3l\E[?5h, use=tab132,
                   16104: tab132-w-rv|tab132 in reverse-video/wide mode,
1.24    ! millert  16105:        is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
1.1       millert  16106:
                   16107:
1.11      millert  16108: #### Teleray
                   16109: #
                   16110: #      Research Incorporated
                   16111: #      6425 Flying Cloud Drive
                   16112: #      Eden Prairie, MN 55344
                   16113: #      Vox: (612)-941-3300
                   16114: #
                   16115: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   16116: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   16117: # people believe that all the types listed below are very rare now (1995).
                   16118: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   16119: # Model 100) that were ANSI-compatible.
1.1       millert  16120: #
1.11      millert  16121: # Note two things called "teleray".  Reorder should move the common one
                   16122: # to the front if you have either.  A dumb teleray with the cursor stuck
                   16123: # on the bottom and no obvious model number is probably a 3700.
1.1       millert  16124: #
                   16125:
1.11      millert  16126: t3700|dumb teleray 3700,
                   16127:        OTbs,
                   16128:        cols#80, lines#24,
                   16129:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
                   16130: t3800|teleray 3800 series,
                   16131:        OTbs,
                   16132:        cols#80, it#8, lines#24,
                   16133:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   16134:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
                   16135:        home=\EH, ht=^I, ind=^J, ll=\EY7\s,
                   16136: t1061|teleray|teleray 1061,
                   16137:        OTbs, am, km, xhp, xt,
                   16138:        cols#80, it#8, lines#24, xmc#1,
                   16139:        bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   16140:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   16141:        dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF,
                   16142:        ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
                   16143:        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,
                   16144:        kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7,
                   16145:        kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH,
                   16146:        tbc=\EG,
                   16147: t1061f|teleray 1061 with fast PROMs,
                   16148:        dl1=\EM, il1=\EL, ip@, use=t1061,
                   16149: # "Teleray Arpa Special", officially designated as
                   16150: # "Teleray Arpa network model 10" with "Special feature 720".
                   16151: # This is the new (1981) fast microcode updating the older "arpa" proms
                   16152: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
                   16153: # converts the keypad to programmable function keys, and has other goodies.
                   16154: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   16155: # programs handle such lossage properly.
                   16156: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   16157: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
                   16158: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
                   16159: t10|teleray 10 special,
                   16160:        OTbs, km, xhp, xt,
                   16161:        cols#80, it#8, lines#24, xmc#2,
                   16162:        clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
                   16163:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
                   16164:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
                   16165:        ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
                   16166:        smul=\ERH,
                   16167: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   16168: # back/forth words. Put the function keys (f1-f10) where they can be
                   16169: # found, and turn off the other magic keys along the top row, except
                   16170: # for line/local. Do the magic appropriate to make the page shifts work.
                   16171: # Also toggle ^S/^Q for those of us who use Emacs.
                   16172: t16|teleray 16,
                   16173:        am, da, db, mir, xhp, xt,
                   16174:        cols#80, lines#24,
                   16175:        bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
                   16176:        cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P,
                   16177:        dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L,
                   16178:        ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
                   16179:        kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
                   16180:        rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
                   16181:        rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
                   16182:        smso=\E[7m, smul=\E[4m,
1.1       millert  16183:
1.11      millert  16184: #### Texas Instruments (ti)
1.1       millert  16185: #
                   16186:
1.11      millert  16187: # The Silent 700 was so called because it was built around a quiet thermal
                   16188: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   16189: # neat for its day.
                   16190: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
                   16191:        OTbs, hc, os,
1.1       millert  16192:        cols#80,
1.11      millert  16193:        bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
                   16194:
1.1       millert  16195: #
1.11      millert  16196: # Texas Instruments 916 VDT 7 bit control mode
1.1       millert  16197: #
1.11      millert  16198: ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL,
                   16199:        da, db, in, msgr,
                   16200:        cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
                   16201:        cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
                   16202:        cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
                   16203:        cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P,
                   16204:        dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K,
                   16205:        el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
                   16206:        hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
                   16207:        il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
                   16208:        kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
                   16209:        kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
                   16210:        kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
                   16211:        kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
                   16212:        kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p,
1.24    ! millert  16213:        smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
        !          16214:        use=vt220,
1.1       millert  16215: #
1.11      millert  16216: # Texas Instruments 916 VDT 8 bit control mode
1.1       millert  16217: #
1.11      millert  16218: ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL,
                   16219:        kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
                   16220:        kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~,
                   16221:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~,
                   16222:        kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
                   16223:        kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H,
1.24    ! millert  16224:        kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, use=ti916,
1.1       millert  16225: #
1.11      millert  16226: # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
1.1       millert  16227: #
1.11      millert  16228: ti916-132|Texas Instruments 916 VDT vt220 132 column,
                   16229:        cols#132, use=ti916,
1.1       millert  16230: #
1.11      millert  16231: # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
1.1       millert  16232: #
1.11      millert  16233: ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column,
                   16234:        cols#132, use=ti916-8,
                   16235: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
                   16236:        OTbs, am, xon,
                   16237:        cols#80, it#8, lines#24,
                   16238:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   16239:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
                   16240:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   16241:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
                   16242:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   16243:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   16244:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ,
                   16245:        kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~,
                   16246:        kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m,
                   16247:        ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
                   16248:        smul=\E[4m, tbc=\E[3g,
                   16249: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
                   16250:        am, xon,
                   16251:        cols#80, it#8, lines#24,
                   16252:        bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
                   16253:        clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
                   16254:        csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
                   16255:        cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
                   16256:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
                   16257:        il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   16258:        kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>,
                   16259:        kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>,
                   16260:        kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>,
                   16261:        kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM,
                   16262:        rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
                   16263:        smul=\E[4m, tbc=\E[3g,
                   16264: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
                   16265:        cols#132, use=ti924,
                   16266: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
                   16267:        cols#132, use=ti924-8,
                   16268: ti931|Texas Instruments 931 VDT,
                   16269:        OTbs, am, xon,
                   16270:        cols#80, lines#24,
                   16271:        bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED,
                   16272:        cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
                   16273:        cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH,
                   16274:        ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H,
                   16275:        is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC,
                   16276:        kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3,
                   16277:        kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
                   16278:        kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@,
                   16279:        sgr0=\E4@, smso=\E4A, smul=\E4D,
                   16280: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
1.24    ! millert  16281:        csr@, ind=\E[1S, ri=\E[1T, use=ti924,
1.11      millert  16282: # (ti926-8: I corrected this from the broken SCO entry -- esr)
                   16283: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
1.24    ! millert  16284:        csr@, ind=\2331S, ri=\2331T, use=ti924-8,
1.11      millert  16285: ti_ansi|basic entry for ti928,
                   16286:        am, bce, eo, xenl, xon,
                   16287:        colors#8, cols#80, it#8, lines#25, pairs#64,
                   16288:        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H,
                   16289:        cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
                   16290:        cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
                   16291:        dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
                   16292:        il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B,
                   16293:        kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M,
                   16294:        kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
                   16295:        kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
                   16296:        op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
                   16297:        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
                   16298:        smso=\E[7m, smul=\E[4m,
1.1       millert  16299: #
1.11      millert  16300: #       928 VDT 7 bit control mode
1.1       millert  16301: #
1.11      millert  16302: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
                   16303:        kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~,
                   16304:        kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~,
                   16305:        kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
                   16306:        kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
1.24    ! millert  16307:        kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, use=ti_ansi,
1.1       millert  16308: #
1.11      millert  16309: #       928 VDT 8 bit control mode
1.1       millert  16310: #
1.11      millert  16311: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
                   16312:        kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~,
                   16313:        kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~,
                   16314:        kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
                   16315:        kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
                   16316:        kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S,
1.24    ! millert  16317:        kpp=\233T, kprt=\23335~, use=ti_ansi,
1.11      millert  16318:
                   16319: #### Zentec (zen)
1.1       millert  16320: #
1.11      millert  16321:
                   16322: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   16323: # had just <smso>=\EG6 which I think means standout was supposed to be
                   16324: # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
                   16325: # <invis> might work-- esr)
                   16326: zen30|z30|zentec 30,
                   16327:        OTbs, am, mir, ul,
                   16328:        cols#80, lines#24,
                   16329:        bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   16330:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
                   16331:        dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
                   16332:        il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6,
1.24    ! millert  16333:        smul@, use=adm+sgr,
1.11      millert  16334: # (zen50: this had extension capabilities
                   16335: #      :BS=^U:CL=^V:CR=^B:
                   16336: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   16337: # which were also in the original entry -- esr)
                   16338: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   16339: zen50|z50|zentec zephyr,
                   16340:        OTbs, am,
                   16341:        cols#80, lines#24, xmc#1,
                   16342:        clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
                   16343:        cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE,
                   16344:        invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
1.24    ! millert  16345:        rmul@, smul@, use=adm+sgr,
1.11      millert  16346:
                   16347: # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
                   16348: cci|cci1|z8001|zen8001|CCI Custom Zentec 8001,
                   16349:        OTbs, am, bw,
                   16350:        cols#80, lines#24,
                   16351:        blink=\EM", clear=\EH\EJ, cnorm=\EP,
                   16352:        csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J,
                   16353:        cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
                   16354:        cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH,
                   16355:        invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED,
                   16356:        kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R,
                   16357:        rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s,
                   16358:        smso=\EM$, smul=\EM0,
                   16359:
                   16360: ######## OBSOLETE UNIX CONSOLES
1.1       millert  16361: #
                   16362:
1.11      millert  16363: #### Apollo consoles
                   16364: #
                   16365: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   16366: # labeled HP700s now.
1.1       millert  16367: #
                   16368:
1.11      millert  16369: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   16370: apollo|apollo console,
                   16371:        OTbs, am, mir,
                   16372:        cols#88, lines#53,
                   16373:        clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
                   16374:        cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL,
                   16375:        ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED,
                   16376:        rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ,
                   16377:        smso=\ES, smul=\EU, vpa=\EO+\s,
1.1       millert  16378:
1.11      millert  16379: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   16380: # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
                   16381: # both these capabilities.
                   16382: apollo_15P|apollo 15 inch display,
                   16383:        rmir@, smir@, use=vt132,
                   16384: apollo_19L|apollo 19 inch display,
                   16385:        rmir@, smir@, use=vt132,
                   16386: apollo_color|apollo color display,
                   16387:        rmir@, smir@, use=vt132,
1.1       millert  16388:
1.11      millert  16389: #### Convergent Technology
1.1       millert  16390: #
1.11      millert  16391: # Burroughs bought Convergent shortly before it merged with Univac.
                   16392: # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
                   16393: # from 1991 or earlier).
1.1       millert  16394: #
                   16395:
1.11      millert  16396: # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
                   16397: # (aws: removed unknown :dn=^K: -- esr)
                   16398: aws|Convergent Technologies AWS workstation under UTX and Xenix,
                   16399:        am,
                   16400:        OTug#0, cols#80, lines#28, xmc#0,
                   16401:        OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=,
                   16402:        clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A,
                   16403:        dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c,
                   16404:        ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K,
                   16405:        kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF,
                   16406:        rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN,
                   16407:        vpa=\EV%p1%c,
                   16408: awsc|Convergent Technologies AWS workstation under CTOS,
                   16409:        am,
                   16410:        OTug#0, cols#80, lines#24, xmc#0,
                   16411:        OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L,
                   16412:        cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF,
                   16413:        el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A,
                   16414:        rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE,
                   16415:        smul=\EAC,
                   16416:
                   16417: #### DEC consoles
1.1       millert  16418: #
                   16419:
1.11      millert  16420: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   16421: # The digital uVax II's had a graphic display called a qdss.  It was
                   16422: # supposed to be a high performance graphic accelerator, but it was
                   16423: # late to market and barely appeared before faster dumb frame buffers
                   16424: # appeared.  I have only used this display while running X11.  However,
                   16425: # during bootup, it was in text mode, and probably had a terminal emulator
                   16426: # within it.  And that is what your termcap entry is for.  In graphics
                   16427: # mode the screen size is 1024x864 pixels.
                   16428: qdss|qdcons|qdss glass tty,
                   16429:        OTbs, am,
                   16430:        cols#128, lines#57,
                   16431:        clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L,
                   16432:        cup=\E=%p1%c%p2%c, cuu1=^K,
                   16433:
                   16434: #### Fortune Systems consoles
                   16435: #
                   16436: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   16437: # in their day; I (esr) used one myself for a year or so around 1984.
                   16438: # They had no graphics, though, and couldn't compete against Suns and
                   16439: # the like.  R.I.P.
1.1       millert  16440: #
1.11      millert  16441:
                   16442: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   16443: # (This had extension capabilities
                   16444: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   16445: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   16446: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   16447: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   16448: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   16449: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   16450: # to force both magic cookie glitches off.  Once upon a time, I
                   16451: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   16452: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   16453: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   16454: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   16455: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   16456: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   16457: fos|fortune|Fortune system,
                   16458:        OTbs, am, bw,
                   16459:        cols#80, lines#25,
                   16460:        acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E],
                   16461:        clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
                   16462:        cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
                   16463:        cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,
                   16464:        ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z,
                   16465:        ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H,
                   16466:        kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r,
                   16467:        kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
                   16468:        kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r,
                   16469:        khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH,
                   16470:        rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
                   16471:        smso=^\H`, smul=^\HP,
                   16472:
                   16473: #### Masscomp consoles
1.1       millert  16474: #
1.11      millert  16475: # Masscomp has gone out of business.  Their product line was purchased by
                   16476: # comany in Georgia (US) called "XS International", parts and service may
                   16477: # still be available through them.
1.1       millert  16478: #
1.11      millert  16479:
                   16480: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   16481: masscomp|masscomp workstation console,
                   16482:        OTbs, km, mir,
                   16483:        cols#80, it#8, lines#24,
                   16484:        clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
                   16485:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   16486:        ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H,
                   16487:        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l,
                   16488:        rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
                   16489: masscomp1|masscomp large screen version 1,
                   16490:        cols#104, lines#36, use=masscomp,
                   16491: masscomp2|masscomp large screen version 2,
                   16492:        cols#64, lines#21, use=masscomp,
                   16493:
                   16494: ######## OTHER OBSOLETE TYPES
1.1       millert  16495: #
1.11      millert  16496: # These terminals are *long* dead -- these entries are retained for
                   16497: # historical interest only.
1.1       millert  16498: #
                   16499:
1.11      millert  16500: #### Obsolete non-ANSI software emulations
1.1       millert  16501: #
                   16502:
                   16503: # CTRM terminal emulator
                   16504: # 1. underlining is not allowed with colors: first, is is simulated by
                   16505: # black on white, second, it disables background color manipulations.
                   16506: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   16507: # so we have to save their status in the static registers A, B and H
                   16508: # respectively, to be able to restore them when color changes
                   16509: # (because any color change turns off ALL attributes)
                   16510: # 3. <bold> and <rev> sequences alternate modes,
                   16511: # rather then simply  entering them.  Thus we have to check the
                   16512: # static register B and H to determine the status, before sending the
                   16513: # escape sequence.
                   16514: # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
                   16515: # and then reset colors
                   16516: # 5. implementation of the protect mode would badly penalize the performance.
                   16517: # we would have to use \E&bn sequence to turn off colors (as well as all
                   16518: # other attributes), and keep the status of protect mode in yet another
                   16519: # static variable.  If someone really needs this mode, they would have to
                   16520: # create another terminfo entry.
                   16521: # 6. original color-pair is white on black.
                   16522: # store the information about colors into static registers
                   16523: # 7. set foreground color.  it performs the following steps.
                   16524: #   1) turn off all attributes
                   16525: #   2) turn on the background and video attributes that have been turned
                   16526: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   16527: #   3) turn on foreground attributes
                   16528: #   4) store information about foreground into U,V,W static registers
                   16529: # 8. turn on background: similar to turn on foreground above
1.11      millert  16530: ctrm|C terminal emulator,
                   16531:        am, bce, xon,
                   16532:        colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0,
                   16533:        pairs#63, pb#19200, vt#6,
                   16534:        bel=^G, blink=\E&dA%{1}%PA,
                   16535:        bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei,
                   16536:        clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   16537:        cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM,
                   16538:        ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1,
                   16539:        il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r,
                   16540:        kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
                   16541:        kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
                   16542:        kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
                   16543:        op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU,
                   16544:        rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
                   16545:        setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX,
                   16546:        setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU,
                   16547:        sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;,
                   16548:        sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
                   16549:        smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
1.1       millert  16550:
                   16551: # gs6300 - can't use blue foreground, it clashes with underline;
                   16552: # it's simulated with cyan
                   16553: # Bug: The <op> capability probably resets attributes.
                   16554: # (gs6300: commented out <rmln> (no <smln>) --esr)
1.11      millert  16555: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
                   16556:        am, bce, msgr, xon,
                   16557:        colors#8, cols#80, it#8, lines#24, pairs#63,
                   16558:        acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   16559:        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
                   16560:        cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
                   16561:        cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
                   16562:        cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
                   16563:        dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
                   16564:        ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
                   16565:        is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B,
                   16566:        kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
                   16567:        kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
                   16568:        khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
                   16569:        ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
                   16570:        setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m,
                   16571:        sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
1.1       millert  16572:
                   16573: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   16574: # MS-Kermit with Heath-19 emulation mode enabled
                   16575: # (h19k: changed ":pt@:" to ":it@"
                   16576: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
                   16577:        am@, da, db, xt,
                   16578:        it@,
1.11      millert  16579:        ht@, use=h19-u,
1.1       millert  16580:
                   16581: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   16582: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   16583: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   16584: # also be reached at support@synergy.com.
                   16585: versaterm|versaterm vt100 emulator for the macintosh,
                   16586:        am, xenl,
                   16587:        cols#80, it#8, lines#24,
                   16588:        bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
1.11      millert  16589:        clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
                   16590:        cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
                   16591:        cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
                   16592:        dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>,
                   16593:        el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>,
                   16594:        il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
                   16595:        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
                   16596:        kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>,
                   16597:        rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
                   16598:        rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>,
                   16599:        sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>,
                   16600:        smul=\E[4m$<2/>,
1.1       millert  16601:
                   16602: # From: Rick Thomas <ihnp4!btlunix!rbt>
                   16603: # (xtalk: I added <rmam>/<smam> based on the init string.
1.11      millert  16604: xtalk|IBM PC with xtalk communication program (versions up to 3.4),
                   16605:        am, mir, msgr, xon,
                   16606:        cols#80, it#8, lines#24, vt#3, xmc#1,
                   16607:        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
                   16608:        bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
                   16609:        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
                   16610:        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
                   16611:        cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
                   16612:        el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
                   16613:        il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H,
                   16614:        kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
                   16615:        kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx,
                   16616:        kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv,
                   16617:        kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
                   16618:        rmkx=\E[?1l\E>, rmso=\E[m\s,
                   16619:        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
                   16620:        smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s,
                   16621:        tbc=\E[3g,
1.1       millert  16622:
                   16623: # The official PC terminal emulator program of the AT&T Product Centers.
                   16624: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
1.11      millert  16625: simterm|attpc running simterm,
                   16626:        am,
                   16627:        cols#80, lines#24,
                   16628:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
                   16629:        cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER,
                   16630:        dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
                   16631:        rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,
                   16632:
                   16633: #### Daisy wheel printers
                   16634: #
                   16635: # This section collects Diablo, DTC, Xerox, Qume, and other daisy
                   16636: # wheel terminals.  These are now largely obsolete.
                   16637: #
                   16638:
                   16639: # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
                   16640: diablo1620|diablo1720|diablo450|ipsi|diablo 1620,
                   16641:        hc, os,
                   16642:        cols#132, it#8,
                   16643:        cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,
                   16644:        ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,
                   16645: diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,
                   16646:        cols#124,
                   16647:        is2=\r        \E9, use=diablo1620,
                   16648: # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
                   16649: diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,
                   16650:        bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,
                   16651:        use=diablo1620,
                   16652: # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such
                   16653: # file -- esr)
                   16654: diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
                   16655:        cols#124,
                   16656:        rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
                   16657: diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,
                   16658:        use=diablo1640-lm,
                   16659: # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
                   16660: # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
                   16661: # The terminal has tabs, but I'm getting tired of fighting the braindamage.
                   16662: # If no tab is set or the terminal's in a bad mood, it glitches the screen
                   16663: # around all of memory.  Note that return puts a blank ("a return character")
                   16664: # in the space the cursor was at, so we use ^P return (and thus ^P newline for
                   16665: # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
                   16666: # curses won't work (some old BSD versions) because it doesn't clear this bit,
                   16667: # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
                   16668: # I have been unable to get tabs set in all 96 lines - it always leaves at
                   16669: # least one line with no tabs in it, and once you tab through that line,
                   16670: # it completely weirds out.
                   16671: # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
                   16672: dtc382|DTC 382,
                   16673:        am, da, db, xhp,
                   16674:        cols#80, lines#24, lm#96,
                   16675:        bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,
                   16676:        cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,
                   16677:        dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,
                   16678:        home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi,
                   16679:        rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,
                   16680: dtc300s|DTC 300s,
                   16681:        hc, os,
                   16682:        cols#132,
                   16683:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
                   16684:        hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
                   16685: gsi|mystery gsi terminal,
                   16686:        hc, os,
                   16687:        cols#132,
                   16688:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,
                   16689:        ind=^J,
                   16690: aj830|aj832|aj|anderson jacobson,
                   16691:        hc, os,
                   16692:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
                   16693:        ind=^J,
                   16694: # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
                   16695: aj510|Anderson-Jacobson model 510,
                   16696:        am, mir,
                   16697:        cols#80, lines#24,
                   16698:        clear=^L, cub1=^H, cuf1=\EX,
                   16699:        cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,
                   16700:        dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,
                   16701:        il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,
                   16702:        kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,
                   16703:        rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,
                   16704:        smul=\E"U,
                   16705: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   16706: # This is incomplete, but it's a start.
                   16707: nec5520|nec|spinwriter|nec 5520,
                   16708:        hc, os,
                   16709:        cols#132, it#8,
                   16710:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,
                   16711:        hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,
                   16712:        kbs=^H, tbc=\E3,
                   16713: qume5|qume|Qume Sprint 5,
                   16714:        hc, os,
                   16715:        cols#80, it#8,
                   16716:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
                   16717:        hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
                   16718: # I suspect the xerox 1720 is the same as the diablo 1620.
                   16719: xerox1720|x1720|x1750|xerox 1720,
                   16720:        hc, os,
                   16721:        cols#132, it#8,
                   16722:        bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,
                   16723:        tbc=\E2,
1.1       millert  16724:
                   16725: #### Miscellaneous obsolete terminals, manufacturers unknown
                   16726: #
                   16727: # If you have any information about these (like, a manufacturer's name,
                   16728: # and a date on the serial-number plate) please send it!
                   16729:
                   16730: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
1.11      millert  16731:        OTbs, am,
1.1       millert  16732:        cols#73, lines#36,
                   16733:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
                   16734: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
1.11      millert  16735:        OTbs, am,
1.1       millert  16736:        cols#85, lines#39,
                   16737:        clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
1.11      millert  16738:        kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7,
                   16739:        kf4=\E8, rmso=\Em^C, smso=\Em^L,
1.1       millert  16740: cops10|cops|cops-10|cops 10,
                   16741:        am, bw,
                   16742:        cols#80, lines#24,
1.11      millert  16743:        bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
                   16744:        cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V,
                   16745:        ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
                   16746:        khome=^Y,
1.1       millert  16747: # (d132: removed duplicate :ic=\E5:,
                   16748: # merged in capabilities from a BRL entry -- esr)
                   16749: d132|datagraphix|datagraphix 132a,
                   16750:        da, db, in,
                   16751:        cols#80, lines#30,
1.11      millert  16752:        bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J,
                   16753:        cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex,
                   16754:        dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H,
                   16755:        kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew,
1.1       millert  16756: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   16757: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   16758: # mode (which is what this entry looks like) and several other lesser-known
                   16759: # emulations.
                   16760: d800|Direct 800/A,
1.11      millert  16761:        OTbs, am, da, db, msgr, xhp,
1.1       millert  16762:        cols#80, it#8, lines#24,
1.11      millert  16763:        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
1.1       millert  16764:        bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
1.11      millert  16765:        cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
                   16766:        cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D,
                   16767:        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
                   16768:        kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
                   16769:        ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
                   16770:        smacs=\E[1m, smso=\E[7m, smul=\E[4m,
1.1       millert  16771: digilog|digilog 333,
1.11      millert  16772:        OTbs,
                   16773:        cols#80, lines#16,
                   16774:        bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X,
                   16775:        home=^N, ind=^J,
1.1       millert  16776: # The DWK was a terminal manufactured in the Soviet Union c.1986
1.11      millert  16777: dwk|dwk-vt|dwk terminal,
                   16778:        am,
                   16779:        cols#80, it#8, lines#24,
                   16780:        acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_,
                   16781:        bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
                   16782:        cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
                   16783:        ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
                   16784:        kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee,
                   16785:        kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
                   16786:        kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh,
                   16787:        kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX,
                   16788:        sgr0=\EX, smacs=\EF, smso=\ET,
1.1       millert  16789: env230|envision230|envision 230 graphics terminal,
                   16790:        xenl@,
1.11      millert  16791:        mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
1.24    ! millert  16792:        sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
        !          16793:        use=vt100,
1.1       millert  16794: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   16795: # coupler attached, the whole rig fitting in a suitcase and more or less
                   16796: # portable.  Hot stuff for c.1977 :-) -- esr
                   16797: ep48|ep4080|execuport 4080,
1.11      millert  16798:        OTbs, am, os,
1.1       millert  16799:        cols#80,
                   16800:        bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
                   16801: ep40|ep4000|execuport 4000,
1.11      millert  16802:        cols#136, use=ep4080,
1.14      millert  16803: # Adam Thompson <athompso@pangea.ca> tells us:
1.1       millert  16804: # Informer series - these are all portable units, resembling older
                   16805: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   16806: # design, but isn't.  The structure is similar to the Direct terminals,
                   16807: # but only half the width.  The entire unit is only about 10" wide.
                   16808: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   16809: # keyboard.  All the keys are crammed together, much like some laptop
                   16810: # PCs today, but perhaps less well organized...all these units have a
                   16811: # bewildering array of plugs on the back, including a built-in modem.
                   16812: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   16813: # color terminals built for IBM bisync protocols.
                   16814: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   16815: ifmr|Informer D304,
1.11      millert  16816:        OTbs, am,
1.1       millert  16817:        cols#80, lines#24,
                   16818:        clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
1.11      millert  16819:        cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\,
                   16820:        ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK,
                   16821:        smso=\EJ,
1.1       millert  16822: # Entry largely based on wy60 and has the features of wy60ak.
1.11      millert  16823: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
                   16824:        am, bw, hs, km, mir, msgr, ul, xon,
                   16825:        cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80,
                   16826:        acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
                   16827:        cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M,
                   16828:        cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K,
                   16829:        dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r,
                   16830:        ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>,
                   16831:        hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J,
                   16832:        ip=$<3>,
                   16833:        is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12,
                   16834:        kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B,
                   16835:        kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY,
                   16836:        kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r,
                   16837:        kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
                   16838:        kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
                   16839:        kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
                   16840:        kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
                   16841:        mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>,
                   16842:        pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
                   16843:        pfx=\EZ1%p1%{63}%+%c%p2%s\177,
                   16844:        pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
                   16845:        rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11,
                   16846:        rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
                   16847:        rs3=\EwG\Ee($<150>,
                   16848:        sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
                   16849:        sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
                   16850:        smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
                   16851:        smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
1.24    ! millert  16852:        uc=\EG8%p1%c\EG0, use=adm+sgr,
1.1       millert  16853: teletec|Teletec Datascreen,
1.11      millert  16854:        OTbs, am,
1.1       millert  16855:        cols#80, lines#24,
                   16856:        bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
                   16857:        home=^^, ind=^J,
                   16858: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   16859: # This description is for the LANPAR Technologies VISION 3220
                   16860: # terminal from 1984/85.  The function key definitions k0-k5 represent the
                   16861: # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   16862: # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
1.14      millert  16863: #
                   16864: # Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
                   16865: # I had a couple of scopes (3221) like this once where I used to work, around
                   16866: # the 1987 time frame if memory serves me correctly.  These scopes were made
                   16867: # by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
                   16868: # compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
                   16869: # was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
                   16870: # was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
                   16871: # (3221) cost about $1500 each, and one was always broken -- had to be sent
                   16872: # back to the shop for repairs.
                   16873: # The only real advantage these scopes had over the VT-240's were:
                   16874: # 1) They were faster in the Regis display, or at least the ones I did
                   16875: # 2) They had a handy debugging feature where you could split-screen the
                   16876: # scope, the graphics would appear on the top, and the REGIS commands would
                   16877: # appear on the bottom.  I don't remember the VT-240s being able to do that.
                   16878: # I would swear that LANPAR Technologies was in MA someplace, but since I
                   16879: # don't work at the same place anymore, and those terminals and manuals were
                   16880: # long since junked, I cannot be any more sure than that.
                   16881: #
1.1       millert  16882: # (v3220: removed obsolete ":kn#10:",
                   16883: # I added <rmam>/<smam> based on the init string -- esr)
                   16884: v3220|LANPAR Vision II model 3220/3221/3222,
1.11      millert  16885:        OTbs, am, mir, xenl,
1.1       millert  16886:        cols#80, it#8, lines#24,
1.11      millert  16887:        clear=\E[H\E[J, cub1=^H, cuf1=\E[C,
                   16888:        cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
                   16889:        ed=\E[J, el=\E[K, ht=^I, il1=\E[L,
                   16890:        is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B,
                   16891:        kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~,
                   16892:        kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
                   16893:        kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
                   16894:        rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
1.1       millert  16895:        smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
                   16896: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   16897: #
                   16898: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   16899: # are present; the symptom is doubled characters in an update using insert.
                   16900: # These applications are technically correct; in both 4.3BSD termcap and
                   16901: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   16902: # unless the terminal needs both.  To my knowledge, no terminal still in this
                   16903: # file requires both other than the very obsolete dm2500.
                   16904: #
                   16905: # For ncurses-based applications this is not a problem, as ncurses uses
                   16906: # one or the other as appropriate but never mixes the two.  Therefore we
                   16907: # have not corrected entries like `linux' and `xterm' that specify both.
                   16908: # If you see doubled characters from these, use the linux-nic and xterm-nic
                   16909: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   16910: #
                   16911:
                   16912: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
                   16913: #
                   16914: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   16915: # ECMA-48 standards are said to be almost identical, but are not the same
                   16916: # as X3.64 (though for practical purposes they are close supersets of it).
                   16917: #
                   16918: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   16919: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   16920: # Coded Character Sets"), include your snail-mail address, and you should
                   16921: # receive the document in due course.  Don't expect an email acknowledgement.
                   16922: #
                   16923: # Related standards include "X3.4-1977: American National Standard Code for
                   16924: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   16925: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
                   16926: # American National Standard for Information Interchange."  I believe (but
                   16927: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   16928: # respectively.
                   16929: #
                   16930:
                   16931: #### VT100/ANSI/ECMA-48
                   16932: #
                   16933: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
                   16934: # and ECMA-48 Control Functions for Coded Character Sets.
                   16935: #
                   16936: # Much of the content of this comment is adapted from a table prepared by
                   16937: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   16938: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   16939: # have been added.  Control functions described in ECMA-48 only are tagged
                   16940: # with * after their names.
                   16941: #
                   16942: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   16943: # sequences.  In the main table, \E stands for an escape (\033) character,
                   16944: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   16945: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   16946: # semicolons.  Parameter meanings for most parametrized sequences are
                   16947: # decribed in the notes.
                   16948: #
                   16949: # Sequence     Sequence                             Parameter   or
                   16950: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   16951: # -----------------------------------------------------------------------------
                   16952: # APC  Applicatn Program Command \E _                -         Delim  -
                   16953: # BEL  Bell *                    ^G                  -         -      bel
                   16954: # BPH  Break Permitted Here *    \E B                -         *      -
                   16955: # BS   Backpace *                ^H                  -         EF     -
                   16956: # CAN  Cancel *                  ^X                  -         -      -   (A)
                   16957: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   16958: # CCH  Cancel Previous Character \E T                -         -      -
                   16959: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   16960: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   16961: # CMD  Coding Method Delimiter * \E
                   16962: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
                   16963: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
                   16964: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
                   16965: # CSI  Control Sequence Intro    \E [                -         Intro  -
                   16966: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
                   16967: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   16968: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   16969: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
                   16970: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
                   16971: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
                   16972: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
                   16973: # DA   Device Attributes         \E [ Pn c           0         -      -
                   16974: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   16975: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   16976: # DCS  Device Control String     \E P                -         Delim  -
                   16977: # DL   Delete Line               \E [ Pn M           1         eF     dl
                   16978: # DLE  Data Link Escape *        ^P                  -         -      -
                   16979: # DMI  Disable Manual Input      \E \                -         Fs     -
                   16980: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   16981: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   16982: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
                   16983: # ECH  Erase Character           \E [ Pn X           1         eF     ech
                   16984: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
                   16985: # EF   Erase in Field            \E [ Ps N           0         eF     -
                   16986: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
                   16987: # EM   End of Medium *           ^Y                  -         -      -
                   16988: # EMI  Enable Manual Input       \E b                          Fs     -
                   16989: # ENQ  Enquire                   ^E                  -         -      -
                   16990: # EOT  End Of Transmission       ^D                  -         *      -
                   16991: # EPA  End of Protected Area     \E W                -         -      -   (K)
                   16992: # ESA  End of Selected Area      \E G                -         -      -
                   16993: # ESC  Escape                    ^[                  -         -      -
                   16994: # ETB  End Transmission Block    ^W                  -         -      -
                   16995: # ETX  End of Text               ^C                  -         -      -
                   16996: # FF   Form Feed                 ^L                  -         -      -
                   16997: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   16998: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
                   16999: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
                   17000: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
                   17001: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
                   17002: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   17003: # HPB  Char Position Backward    \E [ j              1         FE     -
                   17004: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   17005: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   17006: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
                   17007: # HTS  Horizontal Tab Set        \E H                -         FE     hts
                   17008: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
                   17009: # ICH  Insert Character          \E [ Pn @           1         eF     ich
                   17010: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   17011: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
                   17012: # IL   Insert Line               \E [ Pn L           1         eF     il
                   17013: # IND  Index                     \E D                -         FE     -
                   17014: # INT  Interrupt                 \E a                -         Fs     -
                   17015: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
                   17016: # IS1  Info Separator #1 *       ^_                  -         *      -
                   17017: # IS2  Info Separator #1 *       ^^                  -         *      -
                   17018: # IS3  Info Separator #1 *       ^]                  -         *      -
                   17019: # IS4  Info Separator #1 *       ^\                  -         *      -
                   17020: # LF   Line Feed                 ^J                  -         -      -
                   17021: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   17022: # LS2  Locking Shift 2 *         \E n                -         -      -
                   17023: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   17024: # LS3  Locking Shift 3 *         \E o                -         -      -
                   17025: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   17026: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
                   17027: # MW   Message Waiting           \E U                -         -      -
                   17028: # NAK  Negative Acknowledge *    ^U                  -         *      -
                   17029: # NBH  No Break Here *           \E C                -         -      -
                   17030: # NEL  Next Line                 \E E                -         FE     nel (D)
                   17031: # NP   Next Page                 \E [ Pn U           1         eF     -
                   17032: # NUL  Null *                    ^@                  -         -      -
                   17033: # OSC  Operating System Command  \E ]                -         Delim  -
                   17034: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   17035: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   17036: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   17037: # PLU  Partial Line Up           \E L                -         FE     -   (U)
                   17038: # PM   Privacy Message           \E ^                -         Delim  -
                   17039: # PP   Preceding Page            \E [ Pn V           1         eF     -
                   17040: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   17041: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   17042: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   17043: # PTX  Parallel Texts *          \E [ \              -         -      -
                   17044: # PU1  Private Use 1             \E Q                -         -      -
                   17045: # PU2  Private Use 2             \E R                -         -      -
                   17046: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   17047: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
                   17048: # RI   Reverse Index             \E M                -         FE     -   (V)
                   17049: # RIS  Reset to Initial State    \E c                -         Fs     -
                   17050: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   17051: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   17052: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   17053: # SCI  Single-Char Introducer    \E Z                -         -      -
                   17054: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   17055: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
                   17056: # SD   Scroll Down               \E [ Pn T           1         eF     rin
                   17057: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   17058: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   17059: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
                   17060: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
                   17061: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
                   17062: # SI   Shift In                  ^O                  -         -      -   (P)
                   17063: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
                   17064: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
                   17065: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   17066: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   17067: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   17068: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
                   17069: # SO   Shift Out                 ^N                  -         -      -   (Q)
                   17070: # SOH  Start Of Heading *        ^A                  -         -      -
                   17071: # SOS  Start of String *         \E X                -         -      -
                   17072: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   17073: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   17074: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
                   17075: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
                   17076: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   17077: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
                   17078: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
                   17079: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   17080: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   17081: # SSA  Start of Selected Area    \E F                -         -      -
                   17082: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   17083: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
                   17084: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   17085: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   17086: # ST   String Terminator         \E \                -         Delim  -
                   17087: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
                   17088: # STS  Set Transmit State        \E S                -         -      -
                   17089: # STX  Start pf Text *           ^B                  -         -      -
                   17090: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
                   17091: # SUB  Substitute *              ^Z                  -         -      -
                   17092: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   17093: # SYN  Synchronous Idle *        ^F                  -         -      -
                   17094: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   17095: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   17096: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
                   17097: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
                   17098: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   17099: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
                   17100: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
                   17101: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   17102: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   17103: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   17104: # VT   Vertical Tabulation *     ^K                  -         FE     -
                   17105: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   17106: #
                   17107: # ---------------------------------------------------------------------------
                   17108: #
                   17109: # Notes:
                   17110: #
                   17111: # Some control characters are listed in the ECMA-48 standard without
                   17112: # being assigned functions relevant to terminal control there (they
                   17113: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   17114: # here anyway for completeness.
                   17115: #
                   17116: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
                   17117: #
                   17118: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
                   17119: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
                   17120: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
                   17121: # preserved the CHA abbreviation.
                   17122: #
                   17123: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
                   17124: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
                   17125: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
                   17126: # CHT abbreviation.
                   17127: #
                   17128: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
                   17129: #
                   17130: # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
                   17131: # abbreviation.
                   17132: #
                   17133: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   17134: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   17135: # 5 = clear all char tabs, 6 = clear all line tabs.
                   17136: #
                   17137: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   17138: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
                   17139: # Position Absolute" but retains the HVP abbreviation.
                   17140: #
                   17141: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   17142: # abbreviation.
                   17143: #
                   17144: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   17145: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   17146: # DSR, 6 = request CPR response.
                   17147: #
                   17148: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   17149: # 1 = clear from beginning, 2 = clear.
                   17150: #
                   17151: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
                   17152: #
                   17153: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   17154: #
                   17155: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   17156: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
                   17157: # Position Relative" but retains the HPR abbreviation.
                   17158: #
                   17159: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   17160: # abbreviation.
                   17161: #
                   17162: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   17163: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   17164: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   17165: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   17166: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   17167: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   17168: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   17169: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   17170: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   17171: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   17172: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   17173: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   17174: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   17175: # 61-65 = variable highlights for ideograms.
                   17176: #
                   17177: # (P) SI is also called LSO, Locking Shift Zero.
                   17178: #
                   17179: # (Q) SI is also called LS1, Locking Shift One.
                   17180: #
                   17181: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
                   17182: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
                   17183: # Absolute' but retains the VPA abbreviation.
                   17184: #
                   17185: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   17186: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   17187: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   17188: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   17189: # 7 = start relay to secondary aux device.
                   17190: #
                   17191: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   17192: # abbreviation.
                   17193: #
                   17194: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   17195: # abbreviation.
                   17196: #
                   17197: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   17198: #
                   17199: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   17200: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   17201: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   17202: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   17203: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   17204: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   17205: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   17206: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   17207: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   17208: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   17209: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   17210: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   17211: # from ECMA-48's 5th edition but are listed here for reference.
                   17212: #
                   17213: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   17214: # alphabets.
                   17215: #
                   17216: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   17217: #
                   17218: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   17219: # abbreviation.
                   17220: #
                   17221: # ---------------------------------------------------------------------------
                   17222: #
                   17223: # Abbreviations:
                   17224: #
                   17225: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   17226: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   17227: #
                   17228: # Delim  a Delimiter
                   17229: #
                   17230: # x/y    identifies a character by position in the ASCII table (column/row)
                   17231: #
                   17232: # eF     editor function (see explanation)
                   17233: #
                   17234: # FE     format effector (see explanation)
                   17235: #
                   17236: # F      is a Final character in
                   17237: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   17238: #             a control sequence (F from 4/0 to 7/14)
                   17239: #
                   17240: # Gs     is a graphic character appearing in strings (Gs ranges from
                   17241: #        2/0 to 7/14) in the ASCII table
                   17242: #
                   17243: # Ce     is a control represented as a single bit combination in the C1 set
                   17244: #        of controls in an 8-bit character set
                   17245: #
                   17246: # C0     the familiar set of 7-bit ASCII control characters
                   17247: #
                   17248: # C1     roughly, the set of control chars available only in 8-bit systems.
                   17249: #        This is too complicated to explain fully here, so read Jim Fleming's
                   17250: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   17251: #
                   17252: # Fe     is a Final character of a 2-character Escape sequence that has an
                   17253: #        equivalent representation in an 8-bit environment as a Ce-type
                   17254: #        (Fe ranges from 4/0 to 5/15)
                   17255: #
                   17256: # Fs     is a Final character of a 2-character Escape sequence that is
                   17257: #        standardized internationally with identical representation in 7-bit
                   17258: #        and 8-bit environments and is independent of the currently
                   17259: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   17260: #
                   17261: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   17262: #        ASCII table
                   17263: #
                   17264: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   17265: #        table
                   17266: #
                   17267: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   17268: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   17269: #
                   17270: # Ps     is a variable number of selective parameters in a control sequence
                   17271: #        with each selective parameter separated from the other by the code
                   17272: #        3/11 (which usually represents a semicolon); Ps ranges from
                   17273: #        3/0 to 3/9 and includes 3/11
                   17274: #
                   17275: # *      Not relevant to terminal control, listed for completeness only.
                   17276: #
                   17277: # Format Effectors versus Editor Functions
                   17278: #
                   17279: # A format effector specifies how following output is to be displayed.
                   17280: # An editor function allows you to modify the display.  Informally
                   17281: # format effectors may be destructive; format effectors should not be.
                   17282: #
                   17283: # For instance, a format effector that moves the "active position" (the
                   17284: # cursor or equivalent) one space to the left would be useful when you want to
                   17285: # create an overstrike, a compound character made of two standard characters
                   17286: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   17287: # format effector, so you can do this. But many systems use it in a
                   17288: # nonstandard fashion, as an editor function, deleting the character to the
                   17289: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   17290: # be an editor function, you cannot predict whether its use will create an
                   17291: # overstrike unless you also know whether the output device is in an "insert
                   17292: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   17293: # its effect can always be predicted. The familiar characters carriage
                   17294: # return, linefeed, formfeed, etc., are defined as format effectors.
                   17295: #
                   17296: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   17297: #
                   17298: # Control sequences implemented in the VT100 are as follows:
                   17299: #
                   17300: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   17301: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   17302: #
                   17303: # plus several private DEC commands.
                   17304: #
                   17305: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   17306: #
                   17307: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   17308: #      Erase from beginning of line to cursor     Esc [ 1 K
                   17309: #      Erase line containing cursor               Esc [ 2 K
                   17310: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   17311: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   17312: #      Erase entire screen                        Esc [ 2 J
                   17313: #
                   17314: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   17315: # Esc [ 2 J, but this is wrong; the default is 0.
                   17316: #
                   17317: # The VT100 responds to receiving the DA (Device Attributes) control
                   17318: #
                   17319: #      Esc [ c    (or Esc [ 0 c)
                   17320: #
                   17321: # by transmitting the sequence
                   17322: #
                   17323: #      Esc [ ? l ; Ps c
                   17324: #
                   17325: # where Ps is a character that describes installed options.
                   17326: #
                   17327: # The VT100's cursor location can be read with the DSR (Device Status
                   17328: # Report) control
                   17329: #
                   17330: #      Esc [ 6 n
                   17331: #
                   17332: # The VT100 reports by transmitting the CPR sequence
                   17333: #
                   17334: #      Esc [ Pl ; Pc R
                   17335: #
                   17336: # where Pl is the line number and Pc is the column number (in decimal).
                   17337: #
                   17338: # The specification for the DEC VT100 is document EK-VT100-UG-003.
                   17339:
                   17340: #### ANSI.SYS
                   17341: #
                   17342: # Here is a description of the color and attribute controls supported in the
                   17343: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
                   17344: # terminal emulators for Intel boxes obey these.  They are a proper subset
                   17345: # of the ECMA-48 escapes.
                   17346: #
                   17347: # 0    all attributes off
                   17348: # 1    foreground bright
                   17349: # 4    underscore on
                   17350: # 5    blink on/background bright (not reliable with brown)
                   17351: # 7    reverse-video
                   17352: # 8    set blank (non-display)
                   17353: # 10   set primary font
                   17354: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   17355: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   17356: #
                   17357: #                      Color attribute sets
                   17358: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   17359: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   17360: # Bright black becomes gray.  Bright brown becomes yellow,
                   17361: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
                   17362: #
                   17363: # * If the 5 attribute is on and you set a background color (40-47) it is
                   17364: #   supposed to enable bright background.
                   17365: #
                   17366: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   17367: #   when you try to set a "bright brown" (yellow) background with attribute
                   17368: #   5 (you get a blinking yellow foreground instead).  A few displays
                   17369: #   (including the System V console) support an attribute 6 that undoes this
                   17370: #   braindamage (this is required by iBCS2).
                   17371: #
                   17372: # * Some older versions of ANSI.SYS have a bug that causes thems to require
                   17373: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
                   17374: #   compatible.)
                   17375:
                   17376: #### Intel Binary Compatibility Standard
                   17377: #
                   17378: # For comparison, here are the capabilities implied by the Intel Binary
                   17379: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   17380: # These recommendations are optional.  IBCS2 allows the leading escape to
                   17381: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   17382: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   17383: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   17384: # terminfo entry are followed with the corresponding capability in parens:
                   17385: #
                   17386: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   17387: #      CSI 2h                  lock keyboard
                   17388: #      CSI 2i                  send screen as input
                   17389: #      CSI 2l                  unlock keyboard
                   17390: #      CSI 6m                  enable background color intensity
                   17391: #      CSI <0-2>c              reserved
                   17392: #      CSI <0-59>m             select graphic rendition
                   17393: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   17394: #      CSI <n>;<m>f            cursor to line n and column m
                   17395: #      CSI <n>@        (ich)   insert characters
                   17396: #      CSI <n>A        (cuu)   cursor up n lines
                   17397: #      CSI <n>B        (cud)   cursor down n lines
                   17398: #      CSI <n>C        (cuu)   cursor right n characters
                   17399: #      CSI <n>D        (cud)   cursor left n characters
                   17400: #      CSI <n>E                cursor down n lines and in first column
                   17401: #      CSI <n>F                cursor up n lines and in first column
                   17402: #      CSI <n>G        (hpa)   position cursor at column n-1
                   17403: #      CSI <n>J        (ed)    erase in display
                   17404: #      CSI <n>K        (el)    erase in line
                   17405: #      CSI <n>L        (il)    insert line(s)
                   17406: #      CSI <n>P        (dch)   delete characters
                   17407: #      CSI <n>S        (indn)  scroll up n lines
                   17408: #      CSI <n>T        (rin)   scroll down n lines
                   17409: #      CSI <n>X        (ech)   erase characters
                   17410: #      CSI <n>Z        (cbt)   back up n tab stops
                   17411: #      CSI <n>`                cursor to column n on line
                   17412: #      CSI <n>a        (cuu)   cursor right n characters
                   17413: #      CSI <n>d        (vpa)   cursor to line n
                   17414: #      CSI <n>e                cursor down n lines and in first column
                   17415: #      CSI <n>g        (cbt)   clear all tabs
                   17416: #      CSI <n>z                make virtual terminal n active
                   17417: #      CSI ?7h         (smam)  turn automargin on
                   17418: #      CSI ?7l         (rmam)  turn automargin off
                   17419: #      CSI s                   save cursor position
                   17420: #      CSI u                   restore cursor position to saved value
                   17421: #      CSI =<c>A               set overscan color
                   17422: #      CSI =<c>F               set normal foreground color
                   17423: #      CSI =<c>G               set normal background color
                   17424: #      CSI =<c>H               set reverse foreground color
                   17425: #      CSI =<c>I               set reverse foreground color
                   17426: #      CSI =<c>J               set graphic foreground color
                   17427: #      CSI =<c>K               set graphic foreground color
                   17428: #      CSI =<n>g       (dispc) display n from alternate graphics character set
                   17429: #      CSI =<p>;<d>B           set bell parameters
                   17430: #      CSI =<s>;<e>C           set cursor parameters
                   17431: #      CSI =<x>D               enable/disable intensity of background color
                   17432: #      CSI =<x>E               set/clear blink vs. bold background
                   17433: #      CSI 7           (sc)    (sc) save cursor position
                   17434: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   17435: #      CSI H           (hts)   (hts) set tab stop
                   17436: #      CSI Q<n><string>        define function key string
                   17437: #                              (string must begin and end with delimiter char)
                   17438: #      CSI c           (clear) clear screen
                   17439: #
                   17440: # The lack of any specification for attributes in SGR (among other things)
                   17441: # makes this a wretchedly weak standard. The table above is literally
                   17442: # everything iBSC2 has to say about terminal escape sequences; there is
                   17443: # no further discussion of their meaning or how to set the parameters
                   17444: # in these sequences at all.
                   17445: #
                   17446:
                   17447: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   17448: #
                   17449: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   17450: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   17451: # with the extension names chosen for compatibility with the termcap names
                   17452: # assigned in System V terminfo.  There are some variant extension sets out
                   17453: # there.  We try to describe them here.
                   17454: #
                   17455: # XENIX extensions:
                   17456: #
                   17457: # The XENIX extensions include a set of function-key capabilities as follows:
                   17458: #
                   17459: #       code   XENIX variable name     terminfo name   name clashes?
                   17460: #      ----    -------------------     -------------   -----------------------
                   17461: #      CL      key_char_left
                   17462: #      CR      key_char_right
                   17463: #      CW      key_change_window                       create_window
                   17464: #      EN      key_end                 kend
                   17465: #      HM      key_home                khome
                   17466: #      HP      ??
                   17467: #      LD      key_delete_line         kdl1
                   17468: #      LF      key_linefeed                            label_off
                   17469: #      NU      key_next_unlocked_cell
                   17470: #      PD      key_page_down           knp
                   17471: #      PL      ??
                   17472: #      PN      start_print             mc5
                   17473: #      PR      ??
                   17474: #      PS      stop_print              mc4
                   17475: #      PU      key_page_up             kpp             pulse
                   17476: #      RC      key_recalc                              remove_clock
                   17477: #      RF      key_toggle_ref                          req_for_input
                   17478: #      RT      key_return              kent
                   17479: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   17480: #      WL      key_word_left
                   17481: #      WR      key_word_right
                   17482: #
                   17483: # The XENIX extensions also include the following character-set and highlight
                   17484: # capabilities:
                   17485: #
                   17486: #      XENIX   terminfo        function
                   17487: #      -----   --------        ------------------------------
                   17488: #      GS      smacs           start alternate character set
                   17489: #      GE      rmacs           end alternate character set
                   17490: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   17491: #      bo      blink           begin blink (not used in /etc/termcap)
                   17492: #      be                      end blink (not used in /etc/termcap)
                   17493: #      bb                      blink glitch  (not used in /etc/termcap)
                   17494: #      it      dim             begin dim (not used in /etc/termcap)
                   17495: #      ie                      end dim (not used in /etc/termcap)
                   17496: #      ig                      dim glitch  (not used in /etc/termcap)
                   17497: #
                   17498: # Finally, XENIX also used the following forms-drawing capabilities:
                   17499: #
                   17500: #      single  double  type             ASCII approximation
                   17501: #      ------  ------  -------------    -------------------
                   17502: #      GV      Gv      vertical line             |
                   17503: #      GH      Gv      horizontal line       -   _
                   17504: #      G1      G5      top right corner       _   |
                   17505: #      G2      G6      top left corner       |
                   17506: #      G3      G7      bottom left corner         |_
                   17507: #      G4      G8      bottom right corner   _|
                   17508: #      GD      Gd      down-tick character        T
                   17509: #      GL      Gl      left-tick character   -|
                   17510: #      GR      Gr      right-tick character       |-
                   17511: #      GC      Gc      middle intersection   -|-
                   17512: #      GU      Gu      up-tick character          _|_
                   17513: #
                   17514: # These were invented to take advantage of the IBM PC ROM character set.  One
                   17515: # can compose an acsc string from the single-width characters as follows
                   17516: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
                   17517: # When translating a termcap file, ncurses tic will do this automatically.
                   17518: # The double forms characters don't fit the SVr4 terminfo model.
                   17519: #
                   17520: # AT&T Extensions:
                   17521: #
                   17522: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   17523: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   17524: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   17525: # set.  Comments in the original, and a little cross-checking with other AT&T
                   17526: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   17527: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   17528: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   17529: # cursor invisible), and CV=:ve: (make cursor normal).
                   17530: #
                   17531: # HP Extensions
                   17532: #
                   17533: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   17534: # have the System V capabilities up to SVr1 level.  After that, it supports
                   17535: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   17536: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   17537: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   17538: # HP binary format incompatible with SVr4's.
                   17539: #
                   17540: # IBM Extensions
                   17541: #
                   17542: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   17543: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   17544: # capabilities following prtr_non with the following special capabilties:
                   17545: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   17546: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   17547: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   17548: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   17549: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   17550: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   17551: # correspond to acsc chars, here is the mapping:
                   17552: #
                   17553: #      box1[0]  = ACS_ULCORNER
                   17554: #      box1[1]  = ACS_HLINE
                   17555: #      box1[2]  = ACS_URCORNER
                   17556: #      box1[3]  = ACS_VLINE
                   17557: #      box1[4]  = ACS_LRCORNER
                   17558: #      box1[5]  = ACS_LLCORNER
                   17559: #      box1[6]  = ACS_TTEE
                   17560: #      box1[7]  = ACS_RTEE
                   17561: #      box1[8]  = ACS_BTEE
                   17562: #      box1[9]  = ACS_LTEE
                   17563: #      box1[10] = ACS_PLUS
                   17564: #
                   17565: # The box2 characters are the double-line versions of these forms graphics.
                   17566: # The AIX binary terminfo format is incompatible with SVr4's.
                   17567: #
                   17568: # Iris console extensions:
                   17569: #
                   17570: # HS is half-intensity start; HE is half-intensity end
                   17571: # CT is color terminal type (for Curses & rogue)
                   17572: # CP is color change escape sequence
                   17573: # CZ are color names (for Curses & rogue)
                   17574: #
                   17575: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   17576: #
                   17577: # TC Extensions:
                   17578: #
                   17579: # There is a set of extended termcaps associated with something
                   17580: # called the "Terminal Control" or TC package created by MainStream Systems,
                   17581: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   17582: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   17583: # that flags color terminals.
                   17584: #
                   17585: ######## CHANGE HISTORY
                   17586: #
                   17587: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   17588: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   17589: # project.
                   17590: #
                   17591: # This file contains all the capability information present in John Kunze's
                   17592: # last version of the termcap master file, except as noted in the change
                   17593: # comments at end of file.  Some information about very ancient obsolete
                   17594: # capabilities has been moved to comments.  Some all-numeric names of older
                   17595: # terminals have been retired.
                   17596: #
                   17597: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   17598: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   17599: # used by BSD curses.
                   17600: #
                   17601: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   17602: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   17603: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   17604: # making perfectly synchronized mistakes which I then failed to catch by
                   17605: # eyeball, the translation was correct and perfectly information-preserving.
                   17606: #
                   17607: # Major version number bumps correspond to major version changes in ncurses.
                   17608: #
                   17609: # Here is a log of the changes since then:
                   17610: #
                   17611: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   17612: #      * First terminfo master translated from 8.3.
                   17613: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   17614: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   17615: #
                   17616: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   17617: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   17618: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   17619: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   17620: #      * Contact and history info supplied by Qume.
                   17621: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
                   17622: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
                   17623: #      * Added information on X3.64 and VT100 standard escape sequences.
                   17624: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   17625: #      * Added a correct X11R6 xterm entry.
                   17626: #      * Fixed terminfo translations of padding.
                   17627: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   17628: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   17629: #      * Added u6/u7/u8/u9 capabilities.
                   17630: #      * Added PCVT entry.
                   17631: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   17632: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   17633: #        to use reverse-video standout so Emacs will look right.
                   17634: #      * Added el1 capability to ansi.
                   17635: #      * Added smacs/rmacs to ansi.sys.
                   17636: #
                   17637: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   17638: #      * New mt70 entry.
                   17639: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   17640: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   17641: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   17642: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   17643: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   17644: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   17645: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   17646: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   17647: #      * Restored the old minimal-ansi entry, luna needs it.
                   17648: #      * Fixed some incorrect ip and proportional-padding translations.
                   17649: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   17650: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   17651: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   17652: #        to force a particular height.
                   17653: #      * Added beehive4 and reorganized other Harris entries.
                   17654: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   17655: #      * Merged in DEC's official entries for its terminals.  The only old
                   17656: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   17657: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   17658: #        ones from AT&T's SVr3.
                   17659: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   17660: #      * Added teleray 16, vc415, cops10.
                   17661: #      * Merged in many individual capabilities from SCO terminfo files.
                   17662: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   17663: #      * Typo fixes.
                   17664: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   17665: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   17666: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   17667: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   17668: #        simterm, citoh and variants.
                   17669: #      * Replaced sol entry with sol1 and sol2.
                   17670: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   17671: #        terminfo entries.
                   17672: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   17673: #        and dg200 entries using caps from from SCO.
                   17674: #      * Added the usual set of function-key mappings to ANSI entry.
                   17675: #      * Corrected xterm's function-key capabilities.
                   17676: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   17677: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   17678: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   17679: #      * Fix in xterm entry, get the arrow keys right.
                   17680: #      * Change some \0 escapes to \200.
                   17681: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   17682: #      * Added apple (Videx card), adm1a, oadm31.
                   17683: #      * Fixed malformed ampex csr.
                   17684: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   17685: #      * Changed mandatory to advisory padding in many entries.
                   17686: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   17687: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   17688: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   17689: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   17690: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   17691: #        more efficient (but the entries otherwise identical).
                   17692: #      * Added dg211 from Shuford archive.
                   17693: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   17694: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   17695: #      * Pull SCO's padding into vi200 entry.
                   17696: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   17697: #        entries merged in from SCO's descriptions.
                   17698: #      * Fixed old-style prefix padding on zen50, h1500.
                   17699: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   17700: #        entry from SCO's description.
                   17701: #      * Reorganized the special entries.
                   17702: #      * Added lm#0 to cbunix and virtual entries.
                   17703: #
                   17704: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   17705: #      * Restored cdc456tst.
                   17706: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   17707: #      * Added megatek, beacon, microkit.
                   17708: #      * Freeze for ncurses-1.9 release.
                   17709: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   17710: #      * Added historical data for TAB.
                   17711: #      * Comment fixes from David MacKenzie.
                   17712: #      * Added the new BSDI pc3 entry.
                   17713: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   17714: #      * A change in the tic -C logic now ensures that all entries in
                   17715: #        the termcap translation will fit in < 1024 bytes.
                   17716: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   17717: #        from GNU termcap file.  This merges in all their local information.
                   17718: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   17719: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   17720: #      * Added warnings about entries with long translations (restoring
                   17721: #        all the GNU termcaps pushes a few over the edge).
                   17722: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   17723: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   17724: #        number of long (> 1024) termcap translations back to 0.
                   17725: #
                   17726: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   17727: #      * Added kf13-kf20 to Linux entry.
                   17728: #      * Regularize Prime terminal names.
                   17729: #      * Historical data on Synertek.
                   17730: #      * Freeze for ncurses-1.9.1.
                   17731: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   17732: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   17733: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   17734: #      * Name field changes to shorten some long entries.
                   17735: #      * Termcap translation now automatically generates empty rmir/smir
                   17736: #        when ich1/ich is present (copes with an ancient vi bug).
                   17737: #      * Added `screen' entries from FSF's screen-3.6.2.
                   17738: #      * Added linux-nic and xterm-nic entries.
                   17739: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   17740: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   17741: #        eliminating some special-case code in ncurses.
                   17742: #
                   17743: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   17744: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   17745: #        that captures everything unique from it.
                   17746: #      * Added reorder script generator.
                   17747: #      * Freeze for ncurses 1.9.2 release.
                   17748: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   17749: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   17750: #      * Added Olaf Siebert's corrections for adm12.
                   17751: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   17752: #        entries which use it will inherit them automatically.
                   17753: #      * The linux entry can now recognize the center (keypad 5) key.
                   17754: #      * Removed some junk that found its way into Linux acsc.
                   17755: #
                   17756: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   17757: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   17758: #      * xterm doesn't try to use application keypad mode any more.
                   17759: #      * Freeze for ncurses-1.9.3 release.
                   17760: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   17761: #      * Added corrected sun entry from vendor.
                   17762: #      * Added csr capability to linux entry.
                   17763: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   17764: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   17765: #      * Some commented-out caps in long entries come back in, my code
                   17766: #        for computing string-table lengths had a bug in it.
                   17767: #      * pcansi series modified to fit comm-program reality better.
                   17768: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   17769: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   17770: #      * Correct some bad aliases in the pcansi series
                   17771: #      * Added entry for QNX console.
                   17772: #      * Clean up duplicate long names for use with 4.4 library.
                   17773: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   17774: #        this makes the Emacs status line look better.
                   17775: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   17776: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   17777: #      * Minor surgery, mostly on name strings, to shorten termcap version.
                   17778: #
                   17779: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   17780: #      * Added dec-vt100 for use with the EWAN emulator.
                   17781: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   17782: #      * Freeze for 1.9.5 alpha release.
                   17783: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   17784: #      * Changed xterm lines to 24, the X11R6 default.
                   17785: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   17786: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   17787: #        entry (the pryz{|} characters).
                   17788: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   17789: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   17790: #      * I finally figured out how to translate ko capabilities.  Done.
                   17791: #      * Added tvi921 entries from Tim Theisen.
                   17792: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   17793: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   17794: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   17795: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   17796: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   17797: #        by making them relative to use capabilities
                   17798: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   17799: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   17800: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   17801: #        ampex80,
                   17802: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   17803: #        equivalent.
                   17804: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   17805: #        vt100 and ANSI-like terminals.
                   17806: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   17807: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   17808: #        does this now, too.
                   17809: #      * fviewpoint is gone, it duplicated screwpoint.
                   17810: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   17811: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   17812: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   17813: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   17814: #      * No more embedded commas in name fields.
                   17815: #
                   17816: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   17817: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   17818: #      * Introduced klone+* entries for describing Intel-console behavior.
                   17819: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   17820: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   17821: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   17822: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   17823: #        that it was messing up someone's 3270 emulator.
                   17824: #      * Added some longname fields in order to avoid warning messages from
                   17825: #        older tic implementations.
1.11      millert  17826: #      * According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
1.1       millert  17827: #        it! (This gives us pi, greater than, less than, and a few more.)
                   17828: #      * Freeze for ncurses-1.9.6 release.
                   17829: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   17830: #      * Add xon to a number of console entries, they're memory-mapped and
                   17831: #        don't need padding.
                   17832: #      * Correct the use dependencies in the ansi series.
                   17833: #      * Hand-translate more XENIX capabilities.
                   17834: #      * Added hpterm entry for HP's X terminal emulator.
                   17835: #      * Added aixterm entries.
                   17836: #      * Shortened four names so everything fits in 14 chars.
                   17837: #
                   17838: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   17839: #      * Added ibcs2 entry and info on iBCS2 standard.
                   17840: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   17841: #      * We can handle the HP meml/memu capability now.
                   17842: #      * Added smacs to klone entries, just as documentation.
                   17843: #      * Carrected ansi.sys and cit-500 entries.
                   17844: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   17845: #      * Make pcansi use the ansi.sys invis capability.
                   17846: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   17847: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   17848: #      * X3.64 has been withdrawn, change some references.
                   17849: #      * Removed function keys from ansi-m entry.
                   17850: #      * Corrected ansi.sys entry.
                   17851: #      * Freeze for ncurses-1.9.7 release.
                   17852: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   17853: #      * Added rmam/smam capabilities to many entries based on init strings.
                   17854: #      * Added correct hpa/vpa to linux.
                   17855: #      * Reduced several entries relative to vt52.
                   17856: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   17857: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   17858: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   17859: #        look flat-out incorrect, garbled, or redundant.  These include the
                   17860: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   17861: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   17862: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   17863: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   17864: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   17865: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   17866: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   17867: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   17868: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   17869: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   17870: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   17871: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   17872: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   17873: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   17874: #        <bgrayson@pine.ece.utexas.edu>.
                   17875: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   17876: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   17877: #      * Added kent=\EOM to xterm entry.
                   17878: #
                   17879: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   17880: #      * Corrected gigi entry.
                   17881: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   17882: #        bad hpa/vpa capabilities.
                   17883: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   17884: #        more speed-dependent NUL-padding!
                   17885: #      * terminfo capabilities in comments bracketed with <>.
                   17886: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
                   17887: #      * Replaced pcvt with the 3.31 pcvt entries.
                   17888: #      * Freeze for 1.9.7a.
                   17889: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   17890: #      * Added emu entry from the X11R6 contrib tape sources.
                   17891: #
                   17892: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   17893: #      * Improved iris-ansi and sun entries.
                   17894: #      * More flash string improvements.
                   17895: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   17896: #      * Added dim to at386.
                   17897: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   17898: #        he's ready to start using the termcap generated from this one.
                   17899: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   17900: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   17901: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   17902: #        att610, att620, att630,
                   17903: #      * Changed hazeltine name prefix from h to hz.
                   17904: #      * Sent t500 to the UFI file.
                   17905: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   17906: #      * Freeze for ncurses 1.9.8 release
                   17907: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   17908: #      * Unfreeze, linux kbs needed to be fixed.
                   17909: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   17910: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   17911: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   17912: #        (The broken ones had been shadowed by sgr.)
                   17913: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   17914: #      * Added documentation on ECMA-48 standard.
                   17915: #      * New Amiga entry.
                   17916: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   17917: #      * More ECMA-48 stuff
                   17918: #      * Corrected typo in minix entry, added pc-minix.
                   17919: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   17920: #      * Added rxvt entry.
                   17921: #      * Added 1.3.x color-change capabilities to linux entry.
                   17922: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   17923: #      * Corrected rxvt entry khome/kend.
                   17924: #      * Corrected linux color change capabilities.
                   17925: #      * NeXT entries from Dave Wetzel.
                   17926: #      * Cleaned up if and rf file names (all in /usr/share now).
                   17927: #      * Changed linux op capability to avoid screwing up a background color
                   17928: #        pair set by setterm.
                   17929: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   17930: #      * Added xterm-sun.
                   17931: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   17932: #      * Added visa50.
                   17933: #
                   17934: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   17935: #      * Another sweep through the Shuford archive looking for new info.
                   17936: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   17937: #      * Added st52 from Per Persson.
                   17938: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   17939: #      * Freeze for 1.9.9.
                   17940: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   17941: #      * FreeBSD console entries from Andrew Chernov.
                   17942: #      * Removed duplicate Atari st52 name.
                   17943: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   17944: #      * xterm doesn't actually have ACS_BLOCK.
                   17945: #      * Change klone+color setf/setb to simpler forms that can be
                   17946: #        translated into termcap.
                   17947: #      * Added xterm1.
                   17948: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   17949: #      * Added color support to bsdos.
                   17950: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   17951: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   17952: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   17953: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   17954: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   17955: #        some aliases to <= 14 chars for portability.
                   17956: #      * Added x68k console
                   17957: #      * Added OTbs to several VT-series entries.
                   17958: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   17959: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   17960: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   17961: #      * kterm correction due to Kenji Rikitake.
                   17962: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   17963: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   17964: #      * Sun console entry correction from J.T. Conklin.
                   17965: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   17966: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   17967: #      * Added smul to linux entry (we never noticed it was missing
                   17968: #        because of sgr!).
                   17969: #      * Added rmln to hp+labels (deduced from other HP entries).
                   17970: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   17971: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   17972: #      * Corrected vt220 acsc.
                   17973: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   17974: #        this corresponds to reality and helps prevent some tic warnings.
                   17975: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   17976: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   17977: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   17978: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   17979: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   17980: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   17981: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   17982: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   17983: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   17984: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   17985: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   17986: #      * Added DWK terminal description.
                   17987: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
                   17988: #      * Many entries now have highlights inherited from adm+sgr.
                   17989: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   17990: #      * xtitle and xtitle-twm enable access to the X status line.
                   17991: #      * Added linux-1.3.6 color palette caps in conventional format.
                   17992: #      * Added adm1178 terminal.
                   17993: #      * Move fos and apollo terminals to obsolete category.
                   17994: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   17995: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   17996: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
                   17997: #        cit500, adm11.
                   17998: # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
                   17999: #      * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
                   18000: #        aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
                   18001: #      * Corrected, from BRL termcap file: vi50.
                   18002: #      * Better rxvt entry & corrected xterm entries from Thomas Dickey.
                   18003: # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
                   18004: #      * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
                   18005: #        att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
                   18006: #        (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
                   18007: #        tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
                   18008: #        apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
                   18009: #      * Paired-attribute fixes to various terminals.
                   18010: #      * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
                   18011: #      * xterm entry corrections from Thomas Dickey.
                   18012: # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
                   18013: #      * Added t916 entry, translated from a termcap in SCO's support area.
                   18014: #      * New qnx entry from Michael Hunter.
                   18015: # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
                   18016: #      * Added hpex2 from Ville Sulko.
                   18017: #      * Fixed a bug that ran the qnx and pcvtXX together.
                   18018: # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
                   18019: #      * Added dtterm entry from Solaris CDE.
                   18020: # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
                   18021: #      * corrected pairs#8 typo in dtterm entry.
                   18022: #      * added tvi9065.
                   18023: # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
                   18024: #      * updated xterm entry to cover 3.1.2E's new features.
                   18025: # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
                   18026: #      * Added new minix entry
                   18027: #      * Removed aliases of the form ^[0-9]* for obsolete terminals.
                   18028: #      * Commented out linux-old, nobody's using pre-1.2 kernels now.
                   18029: # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
                   18030: #      * Added Prism entries and kt7ix.
                   18031: #      * Caution notes about EWAN and tabset files.
                   18032: #      * Changed /usr/lib/tabset -> /usr/share/tabset.
                   18033: #      * Added acsc/rmacs/smacs to vt52.
                   18034: # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
                   18035: #      * Merged in Thomas Dickey's reorganization of the xterm entries;
                   18036: #        added technical corrections to avoid warning messages.
                   18037: # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
                   18038: #      * Added rmso=\E[27m in Linux entry.
                   18039: #      * Added koi8-r support for Linux console.
                   18040: #      * Replace xterm entries with canonical ones from XFree86 3.2.
                   18041: # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
                   18042: #      * Added color_xterm from Jacob Mandelson
                   18043: # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
                   18044: #      * Back off the xterm entry to use r6 as a base.
                   18045: # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
                   18046: #      * Added dec-vt220 at Adrian Garside's request.
                   18047: # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
                   18048: #      * Replaced minitel-2 entry.
                   18049: #      * Added MGR, ansi-nt.
                   18050: #      * Minor corrections to xterm entries.
                   18051: #      * Replaced EWAN telnet entry.
                   18052: #      * Dropped the reorder script generator.  It was a fossil.
                   18053: # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
                   18054: #      * Thorsten Lockert added termcap `bs' to a lot of types, working from
                   18055: #        the 4.4BSD Lite2 file.
                   18056: # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
                   18057: #      * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
                   18058: #      * Updated iris-ansi; corrected vt102-w.
                   18059: #      * Switch base xterm entry to 3.3 level.
                   18060: # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
                   18061: #      * Added basic4.
                   18062: #      * Removed rmir/smir from tv92B.
                   18063: #
                   18064: # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
                   18065: #      * add hds200 description (Walter Skorski)
                   18066: #      * add beterm entry (Fred Fish)
                   18067: #      * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
                   18068: #        iris-color entries.
                   18069: #      * add emx entries.
                   18070: #      * Replaced unixpc entry with Benjamin Sittler's corrected version.
                   18071: #      * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
                   18072: #        versions.
                   18073: #      * remove sgr string from qnx based on report by Xiaodan Tang
                   18074: #      * Added u8/u9, removed rmul/smul from sun-il.
                   18075: #      * 4.2 tic displays \0 rather than \200.
                   18076: #      * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
                   18077: #        apparently based on cp-866).
                   18078: #      * Merged in Pavel Roskin's acsc for linux-koi8
1.11      millert  18079: #      * Corrected some erroneous \\'s to \.
1.1       millert  18080: #      * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
                   18081: #      * II -> ii in pcvtXX, screen, xterm.
                   18082: #      * Removed \n chars following ANSI escapes in sgr & friends.
                   18083: #      * Updated Wyse entries.
                   18084: #      * h19 corrections from Tim Pierce.
                   18085: #      * Noted that the dm2500 has both ich and smir.
                   18086: #      * added pccons for the Alpha under OSF/1.
                   18087: #      * Added Sony NEWS workstation entries and cit101e-rv.
                   18088: #      * Reverted `amiga'; to Kent Polk's version, as I'm told
                   18089: #        the Verkuil entry messes up with Amiga Telnet.
                   18090: # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
                   18091: #      * Corrected attributions in 10.2.0 release notes.
                   18092: #      * Scanned the Shuford archive for new terminfos and information.
                   18093: #      * Removed sgr from qnx entry (Thomas Dickey).
                   18094: #      * Added entries for ICL and Kokusai Data Systems terminals.
                   18095: #      * Incorporated NCR terminfos from the Boundless Technology FTP site.
                   18096: #      * Incorporated att700 from the Boundless Technology FTP site.
                   18097: #      * Miscellaneous contact-address and Web-page updates.
1.11      millert  18098: #
                   18099: # 1998/5/9
1.1       millert  18100: #      * add nxterm and xterm-color terminfo description (request by Cristian
                   18101: #        Gafton <gafton@redhat.com>).
1.11      millert  18102: #      * modify rxvt terminfo description to clear alternate screen before
1.1       millert  18103: #        switching back to normal screen, for compatibility with applications
                   18104: #        which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
1.11      millert  18105: #      * modify linux terminfo description to reset color palette (reported
1.1       millert  18106: #        by Telford Tendys <telford@eng.uts.edu.au>).
1.11      millert  18107: #
                   18108: # 1998/7/4
                   18109: #      * merge changes from current XFree86 xterm terminfo descriptions.
                   18110: #
                   18111: # 1998/7/25
1.1       millert  18112: #      * Added minitel1 entries from Alexander Montaron.
                   18113: #      * Added qnxt2 from Federico Bianchi.
1.11      millert  18114: #      * Added arm100 terminfo entries from Dave Millen.
                   18115: #
                   18116: # 1998/8/6
                   18117: #      * Added ncsa telnet entries from Francesco Potorti
                   18118: #
                   18119: # 1998/8/15
                   18120: #      * modify ncsa telnet entry to reflect color, other capabilities based on
                   18121: #        examination of the source code - T.Dickey.
                   18122: #
                   18123: # 1998/8/22
                   18124: #      * Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
                   18125: #
                   18126: # 1998/8/29
                   18127: #      * Added Francesco Potorti's tuned Wyse 99 entries.
1.1       millert  18128: #      * dtterm enacs correction from Alexander V. Lukyanov.
1.11      millert  18129: #      * Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
                   18130: #      * correct a typo in icl6404 entry.
                   18131: #      * add xtermm and xtermc
                   18132: #
                   18133: # 1998/9/26
                   18134: #      * format most %'char' sequences to %{number}
                   18135: #      * adapt IBM AIX 3.2.5 terminfo - T.Dickey
                   18136: #      * merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
                   18137: #
                   18138: # 1998/10/10
                   18139: #      * update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
                   18140: #      * correct initialization string in xterm-r5, add misc other features
                   18141: #        to correspond with xterm patch 84 - TD
                   18142: #
                   18143: # 1998/12/19
                   18144: #      * update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
                   18145: #      * add Mathew Vernon's mach console entries
                   18146: #      * corrections for ncsa function-keys (report by Larry Virden)
                   18147: #
                   18148: # 1998/12/19
                   18149: #      * change linux to use ncv#2, since underline does not work with color - TD
                   18150: #
                   18151: # 1999/1/9
                   18152: #      * add kbt to iris-ansi, document other shift/control functionkeys - TD
                   18153: #      * correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
                   18154: #        application modes, change kent to use the correct keypad code - TD
                   18155: #
                   18156: # 1999/1/10
                   18157: #      * add entry for Tera Term - TD
                   18158: #
                   18159: # 1999/1/23
                   18160: #      * minor improvements for teraterm entry - TD
                   18161: #      * rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
                   18162: #        and bsdos-bold to bsdos-pc (Jeffrey C Honig)
                   18163: #
                   18164: # 1999/2/20
                   18165: #      * resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
                   18166: #        xterm and ncsa entries by removing the unneeded ones.  Note that
                   18167: #        some entries will return kend & khome versus kslt and kfnd, for
                   18168: #        PC-style keyboards versus strict vt220 compatiblity - TD
                   18169: #
                   18170: # 1999/3/13
                   18171: #      * adjust xterm-xfree86 khome/kend to match default PC-style keyboard
                   18172: #        tables - TD
                   18173: #      * add 'crt' entry - TD
                   18174: #      * correct typos in 'linux-c' entry - TD
                   18175: #
                   18176: # 1999/3/14
                   18177: #      * update entries for BSD/OS console to use klone+sgr and klone+color
                   18178: #        (Jeffrey C Honig)
                   18179: #
                   18180: # 1999/3/27
                   18181: #      * adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
                   18182: #
                   18183: # 1999/4/10
                   18184: #      * add linux-lat, from RedHat patches to ncurses 4.2
                   18185: #
                   18186: # 1999/4/17
                   18187: #      * add complete set of default function-key definitions for scoansi - TD.
                   18188: #
                   18189: # 1999/7/3
                   18190: #      * add cnorm, cvvis for Linux 2.2 kernels
                   18191: #
                   18192: # 1999/7/24
                   18193: #      * add kmous to xterm-r5 -TD
                   18194: #      * correct entries xterm+sl and xterm+sl-twm, which were missing the
                   18195: #        parent "use" clause -TD
                   18196: #
                   18197: # 1999/7/31
                   18198: #      * corrected cnorm, added el1 in 'screen' description -TD
                   18199: #
                   18200: # 1999/8/14
                   18201: #      * add ms-vt100 -TD
                   18202: #
                   18203: # 1999/8/21
                   18204: #      * corrections to beterm entry -TD
                   18205: #
                   18206: # 1999/8/28
                   18207: #      * add cygwin entry -TD
                   18208: #
                   18209: # 1999/9/4
                   18210: #      * minor corrections for beterm entry -TD
                   18211: #
                   18212: # 1999/9/18
                   18213: #      * add acsc string to HP 70092 terminfo entry -Joerg Wunsch
                   18214: #
                   18215: # 1999/9/25
                   18216: #      * add amiga-8bit entry
                   18217: #      * add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
                   18218: #        rcons-color, based on
                   18219: #        ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
                   18220: #      * add alias for iris-ansi-net
                   18221: #
                   18222: # 1999/10/2
                   18223: #      * corrected scoansi entry's acsc, some function keys, add color -TD
                   18224: #
                   18225: # 1999/10/23
                   18226: #      * add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
                   18227: #      * reorder ncsa entries to make ncsa-vt220 use the alternate function
                   18228: #        key mapping, leaving Potorti's entries more like he named them -TD
                   18229: #      * remove enter/exit am-mode from cygwin -TD
                   18230: #
                   18231: # 1999/10/30
                   18232: #      * correct typos in several entries (missing '[' from CSI):
                   18233: #        mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
                   18234: #        strings for avt-ns -TD
                   18235: #      * add 'dim' to ncv mask for linux (report by Klaus Weide).
                   18236: #
                   18237: # 1999/11/27
                   18238: #      * correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
                   18239: #      * add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
                   18240: #      * add xterm-88color and xterm-256color -TD
                   18241: #
                   18242: # 1999/12/4
                   18243: #      * add "obsolete" termcap strings -TD
                   18244: #      * add kvt and gnome entries -TD
                   18245: #
                   18246: # 1999/12/11
                   18247: #      * correct cup string for regent100 -TD
                   18248: #
                   18249: # 2000/1/1
                   18250: #      * update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
                   18251: #      * add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
                   18252: #      * change OTrs capabilities to rs2 -TD
                   18253: #      * add obsolete and extended capabilities to 'screen' -TD
1.13      millert  18254: #
                   18255: # 2000/1/5
                   18256: #      * remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
                   18257: #        with kf10 -TD
                   18258: #      * updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
                   18259: #        and adding kcbt -TD
1.14      millert  18260: #
                   18261: # 2000/1/12
                   18262: #      * remove incorrect khome/kend from xterm-xf86-v333, which was based on
                   18263: #        nonstandard resource settings -TD
                   18264: #
                   18265: # 2000/2/26
                   18266: #      * minor fixes for xterm-*, based on Debian #58530 -TD
                   18267: #
                   18268: # 2000/3/4
                   18269: #      * add several terminal types from esr's "11.0", as well as comments.
1.24    ! millert  18270: #        bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
1.14      millert  18271: #        vt220-8bit, vt220-old, wy85-8bit
1.19      millert  18272: #
                   18273: # 2000/3/18
                   18274: #      * add several terminal types from esr's "11.0.1" (ansi-*).
                   18275: #      * update OTxx capabilities for changes on 2000/3/4.
                   18276: #      * revert part of vt220 change (request by Todd C Miller for OpenBSD)
1.20      millert  18277: #
                   18278: # 2000/3/26
                   18279: #      * move screen's AX extension to ecma+color, modify several entries to
                   18280: #        use that, adjusting ncv as needed -TD
1.24    ! millert  18281: #
        !          18282: # 2000/4/8
        !          18283: #      * add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
        !          18284: #      * correct spelling error in entry name: bq300-rv was given as bg300-rv
        !          18285: #        in esr's version.
        !          18286: #
        !          18287: # 2000/4/15
        !          18288: #      * add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
        !          18289: #      * correct color definition for ibm3164, make minor changes to other
        !          18290: #        IBM terminal definitions based on recent terminfo descriptions -TD
        !          18291: #
        !          18292: # 2000/4/22
        !          18293: #      * add mgterm, from NetBSD -TD
        !          18294: #      * add alias sun-cgsix for sun-ss5 as per NetBSD
        !          18295: #      * change cons25w to use rs2 for reset rather than rs1 -TD
        !          18296: #      * add rc/sc to aixterm based on manpage -TD
        !          18297: #
        !          18298: # 2000/5/13
        !          18299: #      * remove ncv from xterm-16color, xterm-256 color
        !          18300: #
        !          18301: # 2000/6/10
        !          18302: #      * add kmous capability to linux to use Joerg Schoen's gpm patch.
1.1       millert  18303: #
                   18304: # The following sets edit modes for GNU EMACS.
                   18305: # Local Variables:
                   18306: # fill-prefix:"\t"
                   18307: # fill-column:75
                   18308: # comment-column:0
                   18309: # comment-start-skip:"^#+"
                   18310: # comment-start:"# "
1.11      millert  18311: # compile-command:"tic -c terminfo.master"
1.1       millert  18312: # End:
                   18313: ######## SHANTIH!  SHANTIH!  SHANTIH!